Lines Matching refs:endpos
1636 def FindStartOfExpressionInLine(line, endpos, stack): argument
1652 i = endpos
3597 (endline, endlinenum, endpos) = CloseExpression(
3600 if endpos > -1:
3601 trailing_text = endline[endpos:]
3775 (endline, _, endpos) = CloseExpression(clean_lines, linenum, pos)
3776 brace_on_right = endline[endpos:].find('{') != -1
3804 endline, endlinenum, endpos = line, linenum, if_else_match.end()
3809 (endline, endlinenum, endpos) = CloseExpression(clean_lines, linenum, pos)
3812 if (not Match(r'\s*{', endline[endpos:])
3813 and not (Match(r'\s*$', endline[endpos:])
3817 and ';' not in clean_lines.elided[endlinenum][endpos:]):
3819 endpos = 0
3824 endpos = endline.find(';')
3825 if not Match(r';[\s}]*(\\?)$', endline[endpos:]):
3975 (endline, endlinenum, endpos) = CloseExpression(
3977 if endpos > -1 and Match(r'^\s*;', endline[endpos:]):
5059 endpos = line.rfind('>')
5060 if endpos > -1:
5062 clean_lines, linenum, endpos)