Name | Description | |
---|---|---|
PhpParser Constructor |
The following tables list the members exposed by PhpParser.
Name | Description | |
---|---|---|
PhpParser Constructor |
Name | Description | |
---|---|---|
AltSingleLineComment | Another prefix that can begin a single line comment (Inherited from KellermanSoftware.StaticCodeAnalysis.Languages.BaseLanguageParser) | |
BeginMultiLineComment | Overridden. Characters that begin a multi line comment | |
ContentLineCount | The number of lines of code without comments and blank lines (Inherited from KellermanSoftware.StaticCodeAnalysis.Languages.BaseLanguageParser) | |
ContentLines | Lines of code without comments and blank lines (Inherited from KellermanSoftware.StaticCodeAnalysis.Languages.BaseLanguageParser) | |
ContentText | The code without comments and blank lines (Inherited from KellermanSoftware.StaticCodeAnalysis.Languages.BaseLanguageParser) | |
Directory | The directory portion of the file path (Inherited from KellermanSoftware.StaticCodeAnalysis.Languages.BaseLanguageParser) | |
EndMultiLineComment | Overridden. Characters that end a multi line comment | |
Extensions | Overridden. A list of file extensions this language parser applies to | |
File | The file name portion of the file path (Inherited from KellermanSoftware.StaticCodeAnalysis.Languages.BaseLanguageParser) | |
FilePath | The path to the source file including the directory (Inherited from KellermanSoftware.StaticCodeAnalysis.Languages.BaseLanguageParser) | |
Methods | Get information for all methods in the source code file (Inherited from KellermanSoftware.StaticCodeAnalysis.Languages.BaseLanguageParser) | |
OriginalLineCount | The original line count with comments and blank lines (Inherited from KellermanSoftware.StaticCodeAnalysis.Languages.BaseLanguageParser) | |
OriginalText | The original text of the source code file (Inherited from KellermanSoftware.StaticCodeAnalysis.Languages.BaseLanguageParser) | |
SingleLineComment | Overridden. Characters that begin a single line comment for the language | |
TotalCyclomaticComplexity | Total cyclomatic complexity for all methods in the source code file. This is used internally for calculating averages. (Inherited from KellermanSoftware.StaticCodeAnalysis.Languages.BaseLanguageParser) | |
TotalMethodLineCount | The total lines of code for all methods in the source file. This is used internally for calculating averages. (Inherited from KellermanSoftware.StaticCodeAnalysis.Languages.BaseLanguageParser) | |
TotalMethods | Total number of methods in the source code file (Inherited from KellermanSoftware.StaticCodeAnalysis.Languages.BaseLanguageParser) | |
TotalNesting | The total maximum nesting of all the methods in the source file. This is used internally for calculating averages. (Inherited from KellermanSoftware.StaticCodeAnalysis.Languages.BaseLanguageParser) | |
TotalParameterCount | The total parameters for all methods in the source file. This is used internally for calculating averages. (Inherited from KellermanSoftware.StaticCodeAnalysis.Languages.BaseLanguageParser) |
Name | Description | |
---|---|---|
GetLineNumber | Get the line number of the match text in the original text (Inherited from KellermanSoftware.StaticCodeAnalysis.Languages.BaseLanguageParser) | |
GetMethods | Overridden. Get a list of methods in a file |