Lines Matching refs:startchar
1031 def FindEndOfExpressionInLine(line, startpos, depth, startchar, endchar): argument
1045 if line[i] == startchar:
1073 startchar = line[pos]
1074 if startchar not in '({[':
1076 if startchar == '(': endchar = ')'
1077 if startchar == '[': endchar = ']'
1078 if startchar == '{': endchar = '}'
1081 end_pos = FindEndOfExpressionInLine(line, pos, 0, startchar, endchar)
1085 num_open = tail.count(startchar) - tail.count(endchar)
1089 delta = line.count(startchar) - line.count(endchar)
1092 FindEndOfExpressionInLine(line, 0, num_open, startchar, endchar))