Package picasso.parser
Class AtanAnalyzer
- java.lang.Object
-
- picasso.parser.UnaryFunctionAnalyzer
-
- picasso.parser.AtanAnalyzer
-
- All Implemented Interfaces:
SemanticAnalyzerInterface
public class AtanAnalyzer extends UnaryFunctionAnalyzer
Handles parsing the arc tangent function.
-
-
Constructor Summary
Constructors Constructor Description AtanAnalyzer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressionTreeNodegenerateExpressionTree(Stack<Token> tokens)Generates the expression tree for the arc tangent function.
-
-
-
Method Detail
-
generateExpressionTree
public ExpressionTreeNode generateExpressionTree(Stack<Token> tokens)
Generates the expression tree for the arc tangent function.- Specified by:
generateExpressionTreein interfaceSemanticAnalyzerInterface- Specified by:
generateExpressionTreein classUnaryFunctionAnalyzer- Parameters:
tokens- the stack of tokens to process- Returns:
- an ExpressionTreeNode representing the tangent function
-
-