Class ASTMultiplyNode

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

public class ASTMultiplyNode
extends SimpleNode
A node on the parse tree that muliplies the two values below it.


Constructor Index

 o ASTMultiplyNode(int)

Method Index

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

Constructors

 o ASTMultiplyNode
 public ASTMultiplyNode(int id)

Methods

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

Overrides:
interpret in class SimpleNode