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