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