Class ASTPowNode
java.lang.Object
|
+----SimpleNode
|
+----ASTPowNode
- public class ASTPowNode
- extends SimpleNode
A node on the parse tree that raises a value to a power
-
ASTPowNode(int)
-
-
interpret()
- Interpret (evaluate) the children of this node and replace the top
of the stack with the first value raised to the second.
ASTPowNode
public ASTPowNode(int id)
interpret
public void interpret()
- Interpret (evaluate) the children of this node and replace the top
of the stack with the first value raised to the second.
- Overrides:
- interpret in class SimpleNode