CodeQL library for Go
codeql/go-all 2.1.3 (changelog, source)
Search

Member predicate GoModLine::getRawToken

Gets the ith token on this line, 0-based.

Generally, one should use getToken, as that accounts for lines inside of line blocks.

string getRawToken(int i)