Class ASTExpNode
java.lang.Object
|
+----SimpleNode
|
+----ASTExpNode
- public class ASTExpNode
- extends SimpleNode
A node on the parse tree that calculates the exponential.
-
ASTExpNode(int)
-
-
interpret()
- Interpret (evaluate) the child of this node and replace the top
of the stack with its exponential.
ASTExpNode
public ASTExpNode(int id)
interpret
public void interpret()
- Interpret (evaluate) the child of this node and replace the top
of the stack with its exponential.
- Overrides:
- interpret in class SimpleNode