Class ASTLogNode

java.lang.Object
   |
   +----SimpleNode
           |
           +----ASTLogNode

public class ASTLogNode
extends SimpleNode
A node on the parse tree that calculates the logarithm.


Constructor Index

 o ASTLogNode(int)

Method Index

 o interpret()
Interpret (evaluate) the child of this node and replace the top of the stack with its logarithm

Constructors

 o ASTLogNode
 public ASTLogNode(int id)

Methods

 o 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