Home
last modified time | relevance | path

Searched refs:endchar (Results 1 – 1 of 1) sorted by relevance

/art/tools/
Dcpplint.py1038 def FindEndOfExpressionInLine(line, startpos, depth, startchar, endchar): argument
1054 elif line[i] == endchar:
1083 if startchar == '(': endchar = ')'
1084 if startchar == '[': endchar = ']'
1085 if startchar == '{': endchar = '}'
1088 end_pos = FindEndOfExpressionInLine(line, pos, 0, startchar, endchar)
1092 num_open = tail.count(startchar) - tail.count(endchar)
1096 delta = line.count(startchar) - line.count(endchar)
1099 FindEndOfExpressionInLine(line, 0, num_open, startchar, endchar))