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.
-
ASTMultiplyNode(int)
-
-
interpret()
- Interpret (evaluate) the two children of this node and replace the top
of the stack with their product.
ASTMultiplyNode
public ASTMultiplyNode(int id)
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