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 cu
(self, filename, clean_lines, linenum, error)
| 1761 | self.inline_asm = _NO_ASM |
| 1762 | |
| 1763 | def CheckBegin(self, filename, clean_lines, linenum, error): |
| 1764 | """Run checks that applies to text up to the opening brace. |
| 1765 | |
| 1766 | This is mostly for checking the text after the class identifier |
| 1767 | and the "{", usually where the base class is specified. For other |
| 1768 | blocks, there isn't much to check, so we always pass. |
| 1769 | |
| 1770 | Args: |
| 1771 | filename: The name of the current file. |
| 1772 | clean_lines: A CleansedLines instance containing the file. |
| 1773 | linenum: The number of the line to check. |
| 1774 | error: The function to call with any errors found. |
| 1775 | """ |
| 1776 | pass |
| 1777 | |
| 1778 | def CheckEnd(self, filename, clean_lines, linenum, error): |
| 1779 | """Run checks that applies to text after the closing brace. |