charPositionInLine property

  1. @override
int get charPositionInLine
inherited

Get the index into the current line for the current position in the input stream. The first character on a line has position 0.

@return The line number for the current position in the input stream, or -1 if the current token source does not track character positions.

Implementation

@override
int get charPositionInLine {
  return interpreter!.charPositionInLine;
}
set charPositionInLine (int charPositionInLine)
inherited

Implementation

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