CodeQL library for Python
codeql/python-all 3.0.1-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)