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