Home | History | Annotate | Download | only in Lib

Lines Matching refs:lnum

303     lnum = parenlev = continued = 0
314 lnum += 1
324 strstart, (lnum, end), contline + line)
329 strstart, (lnum, len(line)), contline)
359 (lnum, pos), (lnum, pos + len(comment_token)), line)
361 (lnum, nl_pos), (lnum, len(line)), line)
364 (lnum, pos), (lnum, len(line)), line)
369 yield (INDENT, line[:pos], (lnum, 0), (lnum, pos), line)
374 ("<tokenize>", lnum, pos, line))
376 yield (DEDENT, '', (lnum, pos), (lnum, pos), line)
380 raise TokenError, ("EOF in multi-line statement", (lnum, 0))
387 spos, epos, pos = (lnum, start), (lnum, end), end
407 yield (STRING, token, spos, (lnum, pos), line)
409 strstart = (lnum, start) # multiple lines
417 strstart = (lnum, start)
437 (lnum, pos), (lnum, pos+1), line)
441 yield (DEDENT, '', (lnum, 0), (lnum, 0), '')
442 yield (ENDMARKER, '', (lnum, 0), (lnum, 0), '')