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

Class CapturedVariablesArgumentNodeAsArgumentNode

A captured variables argument node viewed as an argument node. Needed because argumentOf is a global predicate.

Import path

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

Direct supertypes

Indirect supertypes

Inherited fields

Predicates

argumentOf

Holds if this argument occurs at the given position in the given call.

Inherited predicates

asCfgNode

Gets the control-flow node corresponding to this node, if any.

from Node
asExpr

Gets the expression corresponding to this node, if any.

from Node
getALocalSource

Gets a local source node from which data may flow to this node in zero or more local data-flow steps.

from Node
getCall

Gets the call in which this node is an argument, if any.

from ArgumentNode
getCallNode

Gets the CallNode corresponding to this captured variables argument node.

from SynthCapturedVariablesArgumentNode
getEnclosingCallable

Gets the enclosing callable of this node.

from Node
getLocation

Gets the location of this node

from SynthCapturedVariablesArgumentNode
getScope

Gets the scope of this node.

from SynthCapturedVariablesArgumentNode
getUnderlyingNode

Gets the CfgNode that corresponds to this synthetic node.

from SynthCapturedVariablesArgumentNode
hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

from Node
toString

Gets a textual representation of this element.

from SynthCapturedVariablesArgumentNode