Home
last modified time | relevance | path

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

/art/tools/
Dcpplint.py1038 def FindEndOfExpressionInLine(line, startpos, depth, startchar, endchar): argument
1052 if line[i] == startchar:
1080 startchar = line[pos]
1081 if startchar not in '({[':
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)
[all …]