TokenSource.getLine

@uml Get the line number for the current position in the input stream. The first line in the input is line 1.

@return The line number for the current position in the input stream, or 0 if the current token source does not track line numbers.

interface TokenSource
int
getLine
()

Meta