Lines Matching refs:line
173 if self.start.line < other.line < self.end.line:
176 elif self.start.line == other.line == self.end.line:
179 elif self.start.line == other.line:
183 elif other.line == self.end.line:
295 def __init__(self, line): argument
297 self.parseString(line)
321 token_list.append((token.id, token.location.line,
408 print "%d:%d: %s" % (tok.location.line, tok.location.column, msg)
633 line = "(" + op
635 line += " %d)" % e[1]
637 line += " 0%o)" % e[1]
639 line += " 0x%x)" % e[1]
641 line += " %s)" % e[1]
643 line += " %s)" % e[1]
646 line += " %s [" % arg[0]
652 line += "%s%s" % (prefix, par)
654 line += "])"
656 line += " %s)" % self.dump_node(e[1])
658 line += " %s %s)" % (self.dump_node(e[1]), self.dump_node(e[2]))
660 line += " ?%s)" % repr(e[1])
662 return line
986 self.lineno = self.tokens[0].location.line
1095 for line in lines:
1096 out.write(line + '\n')
1492 return '%d:%d - %d:%d' % (extent.start.line, extent.start.column,
1493 extent.end.line, extent.end.column)
1524 line = tokens[i].location.line
1525 while i < len(tokens) and tokens[i].location.line == line:
1546 "extent=[%s]" % (t.location.line, t.spelling, t.kind,
1587 lineno=t.location.line, identifier=id))
1592 lineno=t.location.line))
1602 lineno=t.location.line))