Class ASTIdNode
java.lang.Object
|
+----SimpleNode
|
+----ASTIdNode
- public class ASTIdNode
- extends SimpleNode
A node on the parse tree that gets the value of a variable.
-
ASTIdNode(PotParser, int)
-
-
interpret()
- Add the value of the variable to the top of the stack.
ASTIdNode
public ASTIdNode(PotParser p,
int id)
interpret
public void interpret()
- Add the value of the variable to the top of the stack.
- Overrides:
- interpret in class SimpleNode