Class ASTSinNode

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

public class ASTSinNode
extends SimpleNode
A node on the parse tree that calculates the sine


Constructor Index

 o ASTSinNode(int)

Method Index

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

Constructors

 o ASTSinNode
 public ASTSinNode(int id)

Methods

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

Overrides:
interpret in class SimpleNode