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