Lines Matching refs:start
19 operators. Additionally, all token lists start with an ENCODING token
46 class TokenInfo(collections.namedtuple('TokenInfo', 'type string start end line')):
49 return ('TokenInfo(type=%s, string=%r, start=%r, end=%r, line=%r)' %
174 def add_whitespace(self, start):
175 row, col = start
177 raise ValueError("start ({},{}) precedes previous end ({},{})"
195 tok_type, token, start, end, line = t
212 if start[1] >= len(indent):
216 self.add_whitespace(start)
531 start, end = pseudomatch.span(1)
532 spos, epos, pos = (lnum, start), (lnum, end), end
533 if start == end:
535 token, initial = line[start:end], line[start]
555 token = line[start:pos]
558 strstart = (lnum, start) # multiple lines
559 contstr = line[start:]
564 # they're in the single_quoted set. If so, they start
567 # "rb'" (for example) at the start of the token. If
577 strstart = (lnum, start)
587 contstr, needcont = line[start:], 1
666 token_range = "%d,%d-%d,%d:" % (token.start + token.end)