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

Member predicate AccessPath::AccessPath::getToken

Gets the nth token on the access path (if there are no syntax errors).

AccessPathToken getToken(int n)