Class ASTSinNode
java.lang.Object
|
+----SimpleNode
|
+----ASTSinNode
- public class ASTSinNode
- extends SimpleNode
A node on the parse tree that calculates the sine
-
ASTSinNode(int)
-
-
interpret()
- Interpret (evaluate) the child of this node and replace the top of
the stack with its sine
ASTSinNode
public ASTSinNode(int id)
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