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

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

Predicates

getLocation

Gets the location of this node.

toString

Gets a textual representation of this node.