getLineNumberFromTokenPos method Null safety
- int tokenPos
This function maps a token position to a line number. The VM considers the first line to be line 1.
Implementation
int? getLineNumberFromTokenPos(int tokenPos) => _tokenToLine[tokenPos];
This function maps a token position to a line number. The VM considers the first line to be line 1.
int? getLineNumberFromTokenPos(int tokenPos) => _tokenToLine[tokenPos];