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

Class NodePublic

An element, viewed as a node in a data flow graph.

Import path

import codeql.rust.dataflow.internal.Node

Direct supertypes

Known direct subtypes

Predicates

asExpr

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

asParameter

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

asPat

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

getLocation

Gets the location of this node.

toString

Gets a textual representation of this node.