CodeQL library for Ruby
codeql/ruby-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)