Class ASTExpNode

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

public class ASTExpNode
extends SimpleNode
A node on the parse tree that calculates the exponential.


Constructor Index

 o ASTExpNode(int)

Method Index

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

Constructors

 o ASTExpNode
 public ASTExpNode(int id)

Methods

 o 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