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

Class Flow::SynthesizedCaptureNode

A synthesized data flow node representing the storage of a captured variable.

Import path

import codeql.dataflow.VariableCapture

Direct supertypes

Indirect supertypes

Predicates

getBasicBlock
getEnclosingCallable

Gets the enclosing callable.

isInstanceAccess

Holds if this node is a synthesized instance access.

isVariableAccess

Holds if this node is a synthesized access of v.

Inherited predicates

getLocation

Gets the location of this node.

from ClosureNode
toString

Gets a textual representation of this node.

from ClosureNode