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

Predicate signature InputSig::decodeUnknownArgumentPosition

Gets an argument position corresponding to the unknown token token.

The token is unknown because it could not be reverse-encoded using the encodeArgumentPosition predicate. This is useful for example when a single token gives rise to multiple argument positions, such as ranges 0..n.

signature ArgumentPosition decodeUnknownArgumentPosition(AccessPathTokenBase token)