getColumnNumberFromTokenPos method

int? getColumnNumberFromTokenPos(
  1. int tokenPos
)

This function maps a token position to a column number. The VM considers the first column to be column 1.

Implementation

int? getColumnNumberFromTokenPos(int tokenPos) => _tokenToColumn[tokenPos];