SABER
|
Public Member Functions | |
def | __init__ (self, name, class_or_struct, clean_lines, linenum) |
def | CheckBegin (self, filename, clean_lines, linenum, error) |
def | CheckEnd (self, filename, clean_lines, linenum, error) |
Public Member Functions inherited from saber_cpplint._BlockInfo | |
def | __init__ (self, linenum, seen_open_brace) |
def | IsBlockInfo (self) |
Public Attributes | |
name | |
is_derived | |
check_namespace_indentation | |
access | |
is_struct | |
class_indent | |
last_line | |
Public Attributes inherited from saber_cpplint._BlockInfo | |
starting_linenum | |
seen_open_brace | |
open_parentheses | |
inline_asm | |
check_namespace_indentation | |
Stores information about a class.
Definition at line 2371 of file saber_cpplint.py.
def saber_cpplint._ClassInfo.__init__ | ( | self, | |
name, | |||
class_or_struct, | |||
clean_lines, | |||
linenum | |||
) |
Definition at line 2374 of file saber_cpplint.py.
def saber_cpplint._ClassInfo.CheckBegin | ( | self, | |
filename, | |||
clean_lines, | |||
linenum, | |||
error | |||
) |
Run checks that applies to text up to the opening brace. This is mostly for checking the text after the class identifier and the "{", usually where the base class is specified. For other blocks, there isn't much to check, so we always pass. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing the file. linenum: The number of the line to check. error: The function to call with any errors found.
Reimplemented from saber_cpplint._BlockInfo.
Definition at line 2404 of file saber_cpplint.py.
def saber_cpplint._ClassInfo.CheckEnd | ( | self, | |
filename, | |||
clean_lines, | |||
linenum, | |||
error | |||
) |
Run checks that applies to text after the closing brace. This is mostly used for checking end of namespace comments. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing the file. linenum: The number of the line to check. error: The function to call with any errors found.
Reimplemented from saber_cpplint._BlockInfo.
Definition at line 2409 of file saber_cpplint.py.
saber_cpplint._ClassInfo.access |
Definition at line 2380 of file saber_cpplint.py.
saber_cpplint._ClassInfo.check_namespace_indentation |
Definition at line 2378 of file saber_cpplint.py.
saber_cpplint._ClassInfo.class_indent |
Definition at line 2388 of file saber_cpplint.py.
saber_cpplint._ClassInfo.is_derived |
Definition at line 2377 of file saber_cpplint.py.
saber_cpplint._ClassInfo.is_struct |
Definition at line 2381 of file saber_cpplint.py.
saber_cpplint._ClassInfo.last_line |
Definition at line 2395 of file saber_cpplint.py.
saber_cpplint._ClassInfo.name |
Definition at line 2376 of file saber_cpplint.py.