|
def | __init__ (self) |
|
def | SetOutputFormat (self, output_format) |
|
def | SetVerboseLevel (self, level) |
|
def | SetCountingStyle (self, counting_style) |
|
def | SetFilters (self, filters) |
|
def | AddFilters (self, filters) |
|
def | BackupFilters (self) |
|
def | RestoreFilters (self) |
|
def | ResetErrorCounts (self) |
|
def | IncrementErrorCount (self, category) |
|
def | PrintErrorCounts (self) |
|
def | PrintInfo (self, message) |
|
def | PrintError (self, message) |
|
def | AddJUnitFailure (self, filename, linenum, message, category, confidence) |
|
def | FormatJUnitXML (self) |
|
Maintains module-wide state..
Definition at line 964 of file saber_cpplint.py.
◆ __init__()
def saber_cpplint._CppLintState.__init__ |
( |
|
self | ) |
|
◆ AddFilters()
def saber_cpplint._CppLintState.AddFilters |
( |
|
self, |
|
|
|
filters |
|
) |
| |
Adds more filters to the existing list of error-message filters.
Definition at line 1021 of file saber_cpplint.py.
◆ AddJUnitFailure()
def saber_cpplint._CppLintState.AddJUnitFailure |
( |
|
self, |
|
|
|
filename, |
|
|
|
linenum, |
|
|
|
message, |
|
|
|
category, |
|
|
|
confidence |
|
) |
| |
◆ BackupFilters()
def saber_cpplint._CppLintState.BackupFilters |
( |
|
self | ) |
|
◆ FormatJUnitXML()
def saber_cpplint._CppLintState.FormatJUnitXML |
( |
|
self | ) |
|
◆ IncrementErrorCount()
def saber_cpplint._CppLintState.IncrementErrorCount |
( |
|
self, |
|
|
|
category |
|
) |
| |
◆ PrintError()
def saber_cpplint._CppLintState.PrintError |
( |
|
self, |
|
|
|
message |
|
) |
| |
◆ PrintErrorCounts()
def saber_cpplint._CppLintState.PrintErrorCounts |
( |
|
self | ) |
|
Print a summary of errors by category, and the total.
Definition at line 1055 of file saber_cpplint.py.
◆ PrintInfo()
def saber_cpplint._CppLintState.PrintInfo |
( |
|
self, |
|
|
|
message |
|
) |
| |
◆ ResetErrorCounts()
def saber_cpplint._CppLintState.ResetErrorCounts |
( |
|
self | ) |
|
◆ RestoreFilters()
def saber_cpplint._CppLintState.RestoreFilters |
( |
|
self | ) |
|
◆ SetCountingStyle()
def saber_cpplint._CppLintState.SetCountingStyle |
( |
|
self, |
|
|
|
counting_style |
|
) |
| |
◆ SetFilters()
def saber_cpplint._CppLintState.SetFilters |
( |
|
self, |
|
|
|
filters |
|
) |
| |
Sets the error-message filters.
These filters are applied when deciding whether to emit a given
error message.
Args:
filters: A string of comma-separated filters (eg "+whitespace/indent").
Each filter should start with + or -; else we die.
Raises:
ValueError: The comma-separated filters did not all start with '+' or '-'.
E.g. "-,+whitespace,-whitespace/indent,whitespace/badfilter"
Definition at line 1003 of file saber_cpplint.py.
◆ SetOutputFormat()
def saber_cpplint._CppLintState.SetOutputFormat |
( |
|
self, |
|
|
|
output_format |
|
) |
| |
◆ SetVerboseLevel()
def saber_cpplint._CppLintState.SetVerboseLevel |
( |
|
self, |
|
|
|
level |
|
) |
| |
Sets the module's verbosity, and returns the previous setting.
Definition at line 993 of file saber_cpplint.py.
◆ _filters_backup
saber_cpplint._CppLintState._filters_backup |
|
private |
◆ _junit_errors
saber_cpplint._CppLintState._junit_errors |
|
private |
◆ _junit_failures
saber_cpplint._CppLintState._junit_failures |
|
private |
◆ counting
saber_cpplint._CppLintState.counting |
◆ error_count
saber_cpplint._CppLintState.error_count |
◆ errors_by_category
saber_cpplint._CppLintState.errors_by_category |
◆ filters
saber_cpplint._CppLintState.filters |
◆ output_format
saber_cpplint._CppLintState.output_format |
◆ verbose_level
saber_cpplint._CppLintState.verbose_level |
The documentation for this class was generated from the following file: