Package picasso.parser
Class LogAnalyzer
- java.lang.Object
-
- picasso.parser.UnaryFunctionAnalyzer
-
- picasso.parser.LogAnalyzer
-
- All Implemented Interfaces:
SemanticAnalyzerInterface
public class LogAnalyzer extends UnaryFunctionAnalyzer
Handles parsing the Log function.
-
-
Constructor Summary
Constructors Constructor Description LogAnalyzer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressionTreeNode
generateExpressionTree(Stack<Token> tokens)
-
-
-
Method Detail
-
generateExpressionTree
public ExpressionTreeNode generateExpressionTree(Stack<Token> tokens)
- Specified by:
generateExpressionTree
in interfaceSemanticAnalyzerInterface
- Specified by:
generateExpressionTree
in classUnaryFunctionAnalyzer
- Parameters:
tokens
- in postfix order- Returns:
- the root node for the expression represented by the top token
-
-