Token.line

returns 1-based source line number of token start

class Token
@property
int
line
(
)

Meta