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