• Home
  • Raw
  • Download

Lines Matching refs:elided

804         Match(r'^\s*#\s*include\b', clean_lines.elided[linenum - 1])):
1436 self.elided = []
1444 elided = self._CollapseStrings(self.lines_without_raw_strings[linenum])
1445 self.elided.append(CleanseComments(elided))
1452 def _CollapseStrings(elided): argument
1463 if _RE_PATTERN_INCLUDE.match(elided):
1464 return elided
1469 elided = _RE_PATTERN_CLEANSE_LINE_ESCAPES.sub('', elided)
1477 match = Match(r'^([^\'"]*)([\'"])(.*)$', elided)
1479 collapsed += elided
1488 elided = tail[second_quote + 1:]
1492 collapsed += elided
1505 elided = match_literal.group(2)
1510 elided = tail[second_quote + 1:]
1513 collapsed += elided
1620 line = clean_lines.elided[linenum]
1632 line = clean_lines.elided[linenum]
1735 line = clean_lines.elided[linenum]
1747 line = clean_lines.elided[linenum]
2068 line = clean_lines.elided[linenum]
2134 line = clean_lines.elided[linenum]
2157 line = clean_lines.elided[linenum]
2185 line = clean_lines.elided[linenum]
2289 line = clean_lines.elided[i]
2297 if Search('(^|[^:]):($|[^:])', clean_lines.elided[linenum]):
2308 clean_lines.elided[i])
2315 if not Match(r'^\s*$', clean_lines.elided[i]):
2321 indent = Match(r'^( *)\}', clean_lines.elided[linenum])
2485 line = clean_lines.elided[linenum]
2591 line = clean_lines.elided[linenum]
2828 line = clean_lines.elided[linenum]
2949 line = clean_lines.elided[linenum]
3041 clean_lines.elided, line):
3042 CheckItemIndentationInNamespace(filename, clean_lines.elided,
3213 elided = clean_lines.elided
3214 prev_line = elided[linenum - 1]
3234 and Match(r' {6}\w', elided[search_position])):
3237 and elided[search_position][:5] == ' :')
3283 line = clean_lines.elided[linenum]
3308 line = clean_lines.elided[linenum]
3423 line = clean_lines.elided[linenum]
3462 line = clean_lines.elided[linenum]
3533 if clean_lines.elided[first_line].find('template') >= 0:
3544 if Search(typename_pattern, clean_lines.elided[i]):
3562 line = clean_lines.elided[linenum]
3609 trailing_text += clean_lines.elided[offset]
3729 prevline = clean_lines.elided[prevlinenum]
3746 line = clean_lines.elided[linenum] # get rid of comments and strings
3819 and endlinenum < (len(clean_lines.elided) - 1)
3820 and Match(r'\s*{', clean_lines.elided[endlinenum + 1]))):
3821 while (endlinenum < len(clean_lines.elided)
3822 and ';' not in clean_lines.elided[endlinenum][endpos:]):
3825 if endlinenum < len(clean_lines.elided):
3826 endline = clean_lines.elided[endlinenum]
3838 elif endlinenum < len(clean_lines.elided) - 1:
3840 next_line = clean_lines.elided[endlinenum + 1]
3865 line = clean_lines.elided[linenum]
3958 Search(r'\]\s*$', clean_lines.elided[opening_parenthesis[1] - 1])):
4018 line = clean_lines.elided[linenum]
4049 if opening_linenum == len(clean_lines.elided):
4052 opening_line_fragment = clean_lines.elided[opening_linenum]
4054 opening_line = clean_lines.elided[opening_linenum]
4079 body.append(clean_lines.elided[closing_linenum][:closing_pos-1])
4097 if current_linenum == len(clean_lines.elided):
4099 current_line_fragment = clean_lines.elided[current_linenum]
4140 lines = clean_lines.elided
4256 line = clean_lines.elided[linenum]
4358 cleansed_line = clean_lines.elided[linenum]
4707 line = clean_lines.elided[linenum]
4855 line = clean_lines.elided[linenum]
4859 line += clean_lines.elided[linenum + 1].strip()
4916 line = clean_lines.elided[linenum]
4948 match = Match(r'^([^()]*\w+)\(', clean_lines.elided[i])
4969 if Match(r'^([^()]*\w+)\(', clean_lines.elided[i]):
4970 return Match(r'^[^()]*\w+::\w+\(', clean_lines.elided[i]) is not None
4985 line = clean_lines.elided[i]
5032 line = clean_lines.elided[linenum]
5068 clean_lines.elided[linenum - 1])
5072 clean_lines.elided[linenum - 1])
5086 line += clean_lines.elided[i].strip()
5110 previous_line = clean_lines.elided[i]
5142 Search(whitelisted_functions, clean_lines.elided[linenum - i - 1])):
5164 line = clean_lines.elided[linenum]
5253 if x1 >= 0 and clean_lines.elided[y1][x1] == '(':
5256 extended_line = clean_lines.elided[y2][x2:]
5258 extended_line += clean_lines.elided[y2 + 1]
5290 line = clean_lines.elided[linenum]
5304 context = clean_lines.elided[i] + context
5338 line = clean_lines.elided[linenum]
5342 clean_lines.elided[linenum - 1]) or
5344 clean_lines.elided[linenum - 2]) or
5346 clean_lines.elided[linenum - 1]))))
5523 line = clean_lines.elided[linenum]
5615 line = clean_lines.elided[linenum]
5634 line = clean_lines.elided[linenum]
5659 line = clean_lines.elided[start_line][start_col:]
5674 line = clean_lines.elided[i][end_col:]
5700 line = clean_lines.elided[linenum]
5705 if linenum > 1 and clean_lines.elided[linenum - 1].rfind(')') >= 0:
5836 line = clean_lines.elided[linenum]
5888 line = clean_lines.elided[linenum]