A control-flow node that wraps a LocalVariableReadAccess AST expression.
Import path
import codeql.ruby.controlflow.CfgNodesDirect supertypes
Fields
Predicates
| getAPrimaryQlClass | Gets the name of the primary QL class for this node. |
| getExpr | Gets the underlying expression. |
| getVariable | Gets the variable that is being accessed. |
Inherited predicates
| asExpr | Gets the expression this control flow node uniquely represents, if any. | from NodeImpl |
| asStmt | Gets the statement this control flow node uniquely represents, if any. | from NodeImpl |
| dominates | Holds if this node dominates | from ControlFlowNode |
| getANormalSuccessor | Gets a normal successor of this node, if any. This includes direct successors and conditional successors. | from ControlFlowNode |
| getAPredecessor | Gets an immediate predecessor, if any. | from CfgNode |
| getAPredecessor | Gets an immediate predecessor node of a given flow type, if any. | from CfgNode |
| getASuccessor | Gets an immediate successor, if any. | from CfgNode |
| getASuccessor | Gets a successor node of a given type, if any. | from CfgNode |
| getAnExceptionSuccessor | Gets an exception successor of this node, if any. | from ControlFlowNode |
| getAstNode | Gets the AST node with which this control flow node is associated. Note that several control flow nodes are usually associated with the same AST node, but each control flow node is associated with a unique AST node. | from AstCfgNode |
| getBasicBlock | Gets the basic block containing this control flow node. | from ControlFlowNode |
| getConstantValue | Gets the constant value of this expression, if any. | from ExprCfgNode |
| getEnclosingCallable | Gets the enclosing callable of this control flow node. | from NodeImpl |
| getIdTag | INTERNAL: Do not use. | from NodeImpl |
| getLocation | Gets the source location for this node. | from NodeImpl |
| injects | Holds if this is the unique control flow node that represents the given AST node. | from NodeImpl |
| isAdditional | Holds if this is an additional control flow node with the given tag for the given AST node. | from NodeImpl |
| isAfter | Holds if this is a node representing the point in the control flow after the normal termination of | from NodeImpl |
| isAfterFalse | Holds if this node indicates that | from ControlFlowNode |
| isAfterTrue | Holds if this node indicates that | from ControlFlowNode |
| isAfterValue | Holds if this node indicates that | from ControlFlowNode |
| isBefore | Holds if this is the node representing the point in the control flow before the execution of | from NodeImpl |
| isIn | Holds if this is the node representing the given AST node when | from NodeImpl |
| postDominates | Holds if this node post-dominates | from ControlFlowNode |
| strictlyDominates | Holds if this node strictly dominates | from ControlFlowNode |
| strictlyPostDominates | Holds if this node strictly post-dominates | from ControlFlowNode |
| toString | Gets a textual representation of this node. | from NodeImpl |