Home | History | Annotate | Download | only in pgen2

Lines Matching refs:lnum

361     lnum = parenlev = continued = 0
372 lnum = lnum + 1
382 strstart, (lnum, end), contline + line)
387 strstart, (lnum, len(line)), contline)
412 (lnum, pos), (lnum, pos + len(comment_token)), line)
414 (lnum, nl_pos), (lnum, len(line)), line)
417 (lnum, pos), (lnum, len(line)), line)
422 yield (INDENT, line[:pos], (lnum, 0), (lnum, pos), line)
427 ("<tokenize>", lnum, pos, line))
429 yield (DEDENT, '', (lnum, pos), (lnum, pos), line)
433 raise TokenError, ("EOF in multi-line statement", (lnum, 0))
440 spos, epos, pos = (lnum, start), (lnum, end), end
460 yield (STRING, token, spos, (lnum, pos), line)
462 strstart = (lnum, start) # multiple lines
470 strstart = (lnum, start)
482 yield (NL, token, spos, (lnum, pos), line)
490 (lnum, pos), (lnum, pos+1), line)
494 yield (DEDENT, '', (lnum, 0), (lnum, 0), '')
495 yield (ENDMARKER, '', (lnum, 0), (lnum, 0), '')