line property

  1. @override
int get line
inherited

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;
}
set line (int line)
inherited

Implementation

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