CodeQL library for Python
codeql/python-all 3.0.1-dev (changelog, source)
Search

Predicate signature InputSig::decodeUnknownParameterPosition

Gets a parameter position corresponding to the unknown token token.

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

signature ParameterPosition decodeUnknownParameterPosition(AccessPathTokenBase token)