Class ASTCosNode

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

public class ASTCosNode
extends SimpleNode
A node on the parse tree that calculates the cosine.


Constructor Index

 o ASTCosNode(int)

Method Index

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

Constructors

 o ASTCosNode
 public ASTCosNode(int id)

Methods

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

Overrides:
interpret in class SimpleNode