Class ASTConstNode

java.lang.Object
   |
   +----SimpleNode
           |
           +----ASTConstNode

public class ASTConstNode
extends SimpleNode
A node on the parse tree that evaluates to a constant


Constructor Index

 o ASTConstNode(int)

Method Index

 o interpret()
push a constant value on the stack

Constructors

 o ASTConstNode
 public ASTConstNode(int id)

Methods

 o interpret
 public void interpret()
push a constant value on the stack

Overrides:
interpret in class SimpleNode