line property

  1. @override
int line

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.

Implementation

@override
int get line {
  return interpreter!.line;
}
void line=(int line)

Implementation

set line(int line) {
  interpreter!.line = line;
}