CodeQL library for Rust
codeql/rust-all 0.2.6 (changelog, source)
Search

Class ClosureParameterNode

The run-time representation of a closure itself at function entry, viewed as a node in a data flow graph.

Import path

import codeql.rust.dataflow.internal.Node

Direct supertypes

Indirect supertypes

Predicates

getCfgScope

Do not call: use getEnclosingCallable() instead.

getLocation

Gets the location of this node.

isParameterOf

Holds if this node is a parameter of c at position pos.

toString

Gets a textual representation of this node.

Inherited predicates

asExpr

Gets the expression that corresponds to this node, if any.

from NodePublic
asParameter

Gets the parameter that corresponds to this node, if any.

from NodePublic
asPat

Gets the pattern that corresponds to this node, if any.

from NodePublic
getAstNode

Gets the AST node that corresponds to this data flow node, if any.

from Node
getEnclosingCallable

Gets the enclosing callable.

from Node

Charpred