CodeQL library for Go
codeql/go-all 0.7.12 (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)