Class ASTSubtractNode

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

public class ASTSubtractNode
extends SimpleNode
A node on the parse tree that subtracts two values


Constructor Index

 o ASTSubtractNode(int)

Method Index

 o interpret()
Interpret (evaluate) the children of this node and replace the top of the stack with their difference.

Constructors

 o ASTSubtractNode
 public ASTSubtractNode(int id)

Methods

 o interpret
 public void interpret()
Interpret (evaluate) the children of this node and replace the top of the stack with their difference.

Overrides:
interpret in class SimpleNode