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

Member predicate BuiltinOpaqueObjectInternal::calleeAndOffset

Holds if the function scope is called when this object is called and paramOffset is the difference from the parameter position and the argument position. For a normal function paramOffset is 0. For classes and bound-methods it is 1. Used by points-to to help determine flow from arguments to parameters.

predicate calleeAndOffset(Function scope, int paramOffset)