Class LiveVarNode
java.lang.Object
org.checkerframework.dataflow.livevariable.LiveVarNode
A LiveVarNode contains a CFG node, which can only be a LocalVariableNode or FieldAccessNode. It
is used to represent the estimate of live variables at certain CFG block during dataflow
analysis. We override `.equals` in this class to compare nodes by value equality rather than
reference equality. We want two different nodes with the same value (that is, two nodes refer to
the same live variable in the program) to be regarded as the same.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Node
A live variable is represented by a node, which can be aLocalVariableNode
orFieldAccessNode
. -
Constructor Summary
-
Method Summary
-
Field Details
-
liveVariable
A live variable is represented by a node, which can be aLocalVariableNode
orFieldAccessNode
.
-
-
Constructor Details
-
LiveVarNode
Create a new live variable.- Parameters:
n
- a node
-
-
Method Details