Class ASTMinNode

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

public class ASTMinNode
extends SimpleNode
A node on the parse tree that calculates the minimum of the two values below it.


Constructor Index

 o ASTMinNode(int)

Method Index

 o interpret()
Interpret (evaluate) the two children of this node and replace the top of the stack with the minimum value.

Constructors

 o ASTMinNode
 public ASTMinNode(int id)

Methods

 o interpret
 public void interpret()
Interpret (evaluate) the two children of this node and replace the top of the stack with the minimum value.

Overrides:
interpret in class SimpleNode