charPositionInLine property
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;
}
Implementation
set charPositionInLine(int charPositionInLine) {
interpreter!.charPositionInLine = charPositionInLine;
}