Home | History | Annotate | Download | only in tools

Lines Matching refs:brace

1255     A tuple (line, linenum, pos) pointer *past* the closing brace, or
1328 A tuple (line, linenum, pos) pointer *at* the opening brace, or
1329 (line, 0, -1) if we never find the matching opening brace. Note
1653 """Run checks that applies to text up to the opening brace.
1668 """Run checks that applies to text after the closing brace.
1724 # Check that closing brace is aligned with beginning of the class.
1725 # Only do this if the closing brace is indented by only whitespaces.
1734 'Closing brace should be aligned with beginning of %s' % parent)
1821 """Check if we have seen the opening brace for the innermost block.
1824 True if we have seen the opening brace, False if the innermost
1825 block is still expecting an opening brace.
1982 # If we have not yet seen the opening brace for the innermost block,
2015 # Match first brace, semicolon, or closed parenthesis.
2022 # If namespace or class hasn't seen a opening brace yet, mark
2032 # If we haven't seen an opening brace yet, but we already saw
2036 # Similarly, if we haven't seen an opening brace yet, but we
2070 # get in the way of brace matching. See the testBuildClass test in
2597 # closing paren, without the opening paren, followed by an opening brace
2801 # Except after an opening paren, or after another opening brace (in case of
2807 # Try a bit harder to check for brace initialization. This
2817 # We check for the character following the closing brace, and
2823 # warning on first sight of closing brace, because that would
2971 # We allow an open brace to start a line in the case where someone is using
2974 # used for brace initializers inside function calls. We don't detect this
2984 # An else clause should be on the same line as the preceding closing brace.
3000 if endline[endpos:].find('{') == -1: # must be brace after if
3002 'If an else has a brace on one side, it should have it on both')
3005 'If an else has a brace on one side, it should have it on both')
3018 # brace initialization, there are more places where semicolons are
3116 # Check matching closing brace
3125 # outputting warnings for the matching closing brace, if there are
3144 # do-while-loops, since those lines should start with closing brace.