Home | History | Annotate | Download | only in python2.7

Lines Matching refs:lnum

280     lnum = parenlev = continued = 0
291 lnum += 1
301 strstart, (lnum, end), contline + line)
306 strstart, (lnum, len(line)), contline)
336 (lnum, pos), (lnum, pos + len(comment_token)), line)
338 (lnum, nl_pos), (lnum, len(line)), line)
341 (lnum, pos), (lnum, len(line)), line)
346 yield (INDENT, line[:pos], (lnum, 0), (lnum, pos), line)
351 ("<tokenize>", lnum, pos, line))
353 yield (DEDENT, '', (lnum, pos), (lnum, pos), line)
357 raise TokenError, ("EOF in multi-line statement", (lnum, 0))
364 spos, epos, pos = (lnum, start), (lnum, end), end
384 yield (STRING, token, spos, (lnum, pos), line)
386 strstart = (lnum, start) # multiple lines
394 strstart = (lnum, start)
414 (lnum, pos), (lnum, pos+1), line)
418 yield (DEDENT, '', (lnum, 0), (lnum, 0), '')
419 yield (ENDMARKER, '', (lnum, 0), (lnum, 0), '')