MCPcopy Create free account
hub / github.com/MhLiao/TextBoxes_plusplus / CloseExpression

Function CloseExpression

scripts/cpp_lint.py:1254–1297  ·  view source on GitHub ↗

If input points to ( or { or [ or <, finds the position that closes it. If lines[linenum][pos] points to a '(' or '{' or '[' or '<', finds the linenum/pos that correspond to the closing of the expression. Args: clean_lines: A CleansedLines instance containing the file. linenum: The n

(clean_lines, linenum, pos)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

CheckSpacingFunction · 0.85
CheckBracesFunction · 0.85
CheckEmptyBlockBodyFunction · 0.85
CheckCheckFunction · 0.85

Calls 2

NumLinesMethod · 0.80

Tested by

no test coverage detected