line property

int line

The line number of the token.

Implementation

int get line => Token.lineAndColumnOf(buffer, start)[0];