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

Class Flow::ClosureNode

A data flow node that we need to reference in the step relations for captured variables.

Note that only the SynthesizedCaptureNode subclass is expected to be added as additional nodes in DataFlow::Node. The other subclasses are expected to already be present and are included here in order to reference them in the step relations.

Import path

import codeql.dataflow.VariableCapture

Direct supertypes

Known direct subtypes



Gets the location of this node.


Gets a textual representation of this node.