Home
last modified time | relevance | path

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

/art/tools/
Dcpplint.py1064 def FindEndOfExpressionInLine(line, startpos, depth, startchar, endchar): argument
1080 elif line[i] == endchar:
1109 if startchar == '(': endchar = ')'
1110 if startchar == '[': endchar = ']'
1111 if startchar == '{': endchar = '}'
1114 end_pos = FindEndOfExpressionInLine(line, pos, 0, startchar, endchar)
1118 num_open = tail.count(startchar) - tail.count(endchar)
1122 delta = line.count(startchar) - line.count(endchar)
1125 FindEndOfExpressionInLine(line, 0, num_open, startchar, endchar))