Class ASTConstNode
java.lang.Object
|
+----SimpleNode
|
+----ASTConstNode
- public class ASTConstNode
- extends SimpleNode
A node on the parse tree that evaluates to a constant
-
ASTConstNode(int)
-
-
interpret()
- push a constant value on the stack
ASTConstNode
public ASTConstNode(int id)
interpret
public void interpret()
- push a constant value on the stack
- Overrides:
- interpret in class SimpleNode