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


Constructor Index

 o ASTPowNode(int)

Method Index

 o interpret()
Interpret (evaluate) the children of this node and replace the top of the stack with the first value raised to the second.

Constructors

 o ASTPowNode
 public ASTPowNode(int id)

Methods

 o 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