Class AstNodeNode
A data flow node that corresponds directly to an AST node.
Import path
import codeql.rust.dataflow.internal.NodeDirect supertypes
Indirect supertypes
Known direct subtypes
Fields
Predicates
| getAstNode | Gets the AST node that corresponds to this data flow node, if any. |
| getCfgScope | Do not call: use |
| getLocation | Gets the location of this node. |
| 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 |
| getEnclosingCallable | Gets the enclosing callable. | from Node |