Class ASTMinNode
java.lang.Object
|
+----SimpleNode
|
+----ASTMinNode
- public class ASTMinNode
- extends SimpleNode
A node on the parse tree that calculates the minimum of the two
values below it.
-
ASTMinNode(int)
-
-
interpret()
- Interpret (evaluate) the two children of this node and replace the
top of the stack with the minimum value.
ASTMinNode
public ASTMinNode(int id)
interpret
public void interpret()
- Interpret (evaluate) the two children of this node and replace the
top of the stack with the minimum value.
- Overrides:
- interpret in class SimpleNode