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

Class ArgumentPosition

An argument position.

Import path

import semmle.python.dataflow.new.internal.DataFlowDispatch

Direct supertypes

Predicates

isDictSplat

Holds if this position represents a **kwargs argument.

isKeyword

Holds if this position represents a keyword argument named name.

isLambdaSelf

Holds if this position represents a lambda self argument. Only used for tracking flow through captured variables.

isPositional

Holds if this position represents a positional argument at (0-based) index.

isSelf

Holds if this position represents a self/cls argument.

isStarArgs

Holds if this position represents a *args argument at (0-based) index.

toString

Gets a textual representation of this element.