Home | History | Annotate | Download | only in pgen2

Lines Matching refs:lnum

351     lnum = parenlev = continued = 0
367 lnum = lnum + 1
377 strstart, (lnum, end), contline + line)
382 strstart, (lnum, len(line)), contline)
411 (lnum, pos), (lnum, pos + len(comment_token)), line)
413 (lnum, nl_pos), (lnum, len(line)), line)
416 (lnum, pos), (lnum, len(line)), line)
421 yield (INDENT, line[:pos], (lnum, 0), (lnum, pos), line)
426 ("<tokenize>", lnum, pos, line))
434 yield (DEDENT, '', (lnum, pos), (lnum, pos), line)
443 raise TokenError("EOF in multi-line statement", (lnum, 0))
450 spos, epos, pos = (lnum, start), (lnum, end), end
482 yield (STRING, token, spos, (lnum, pos), line)
484 strstart = (lnum, start) # multiple lines
492 strstart = (lnum, start)
538 yield (NL, token, spos, (lnum, pos), line)
549 (lnum, pos), (lnum, pos+1), line)
557 yield (DEDENT, '', (lnum, 0), (lnum, 0), '')
558 yield (ENDMARKER, '', (lnum, 0), (lnum, 0), '')