Lines Matching defs:End
725 def End(self):
899 # end of the line. Otherwise, we try to remove spaces from the right side,
938 """We are inside a comment, find the end marker."""
946 def RemoveMultiLineCommentsFromRange(lines, begin, end):
950 for i in range(begin, end):
964 'Could not find end of multi-line comment')
1095 # Did not find endchar before end of file, give up
1230 """Logs an error if there is no newline char at the end of the file.
1244 'Could not find a newline character at the end of the file.')
1383 This is mostly used for checking end of namespace comments.
1407 # Try to find the end of the class. This will be confused by things like:
1436 """Check end of namespace comments."""
1441 # lines. However, do apply checks if there is already an end of
1444 # TODO(unknown): We always want to check end of namespace comments
1454 # Look for matching comment at end of namespace.
1460 # We also accept stuff like "// end of namespace <name>." with the
1461 # period at the end.
1569 # End of #if or #else blocks.
1714 # Perform end of block checks and pop the stack.
2002 elif Match(r'^\}\s*$', line): # function end
2004 function_state.End()
2205 line, don't end a function with a blank line, don't add a blank line
2222 # blank lines at the end of a function (ie, right before a line like '}'
2231 # A warning about missing end of namespace comments will be issued instead.
2272 # Ignore blank lines at the end of a block in a long if-else
2286 'Blank line at the end of a code block. Is this needed?')
2465 # You shouldn't have a space before a semicolon at the end of the line.
2510 # If we didn't find the end of the class, last_line would be zero,
2568 """Looks for misplaced braces (e.g. at the end of line).
2591 '{ should almost always be at the end of the previous line')
2658 # Find the end of the conditional expression
3096 start_pattern must match string having an open punctuation symbol at the end.
3118 start_position = match.end(0)
3437 # that end with backslashes.
3483 remainder = line[match.end(0):]
3717 # by flymake and that file name might end with '_flymake.cc'. In that case,
3830 ['// marker so line numbers end in a known way'])