class documentation
class _ClassInfo(_BlockInfo):
Constructor: _ClassInfo(name, class_or_struct, clean_lines, linenum)
Stores information about a class.
Method | __init__ |
Undocumented |
Method |
|
Run checks that applies to text up to the opening brace. |
Method |
|
Run checks that applies to text after the closing brace. |
Instance Variable | access |
Undocumented |
Instance Variable | check |
Undocumented |
Instance Variable | class |
Undocumented |
Instance Variable | is |
Undocumented |
Instance Variable | is |
Undocumented |
Instance Variable | last |
Undocumented |
Instance Variable | name |
Undocumented |
Inherited from _BlockInfo
:
Method |
|
Returns true if this block is a _BlockInfo. |
Instance Variable | inline |
Undocumented |
Instance Variable | open |
Undocumented |
Instance Variable | seen |
Undocumented |
Instance Variable | starting |
Undocumented |
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.
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.