Class ExprNode
A node in the data flow graph that corresponds to an expression in the AST.
Note that because of control flow splitting, one Expr may correspond
to multiple ExprNodes, just like it may correspond to multiple
ControlFlow::Nodes.
Import path
import codeql.rust.dataflow.internal.NodeDirect supertypes
Indirect supertypes
Known direct subtypes
Fields
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 AstNodeNode |
| getCfgScope | Do not call: use | from AstNodeNode |
| getEnclosingCallable | Gets the enclosing callable. | from Node |
| getLocation | Gets the location of this node. | from AstNodeNode |
| toString | Gets a textual representation of this node. | from AstNodeNode |