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.


Constructor Index

 o ASTIdNode(PotParser, int)

Method Index

 o interpret()
Add the value of the variable to the top of the stack.

Constructors

 o ASTIdNode
 public ASTIdNode(PotParser p,
                  int id)

Methods

 o interpret
 public void interpret()
Add the value of the variable to the top of the stack.

Overrides:
interpret in class SimpleNode