Home | History | Annotate | Download | only in pgen2

Lines Matching refs:lnum

363     lnum = parenlev = continued = 0
380 lnum = lnum + 1
390 strstart, (lnum, end), contline + line)
395 strstart, (lnum, len(line)), contline)
424 (lnum, pos), (lnum, pos + len(comment_token)), line)
426 (lnum, nl_pos), (lnum, len(line)), line)
429 (lnum, pos), (lnum, len(line)), line)
434 yield (INDENT, line[:pos], (lnum, 0), (lnum, pos), line)
439 ("<tokenize>", lnum, pos, line))
447 yield (DEDENT, '', (lnum, pos), (lnum, pos), line)
456 raise TokenError("EOF in multi-line statement", (lnum, 0))
463 spos, epos, pos = (lnum, start), (lnum, end), end
495 yield (STRING, token, spos, (lnum, pos), line)
497 strstart = (lnum, start) # multiple lines
505 strstart = (lnum, start)
551 yield (NL, token, spos, (lnum, pos), line)
562 (lnum, pos), (lnum, pos+1), line)
570 yield (DEDENT, '', (lnum, 0), (lnum, 0), '')
571 yield (ENDMARKER, '', (lnum, 0), (lnum, 0), '')