Package picasso.parser
Interface SemanticAnalyzerInterface
-
- All Known Implementing Classes:
AbsAnalyzer,BinaryOperatorAnalyzer,ColorAnalyzer,ConstantAnalyzer,CosAnalyzer,EqualAnalyzer,IdentifierAnalyzer,ImageClipAnalyzer,ImageWrapAnalyzer,NegateAnalyzer,PerlinBWAnalyzer,PerlinColorAnalyzer,RandomFunctionAnalyzer,SemanticAnalyzer,StringAnalyzer,UnaryFunctionAnalyzer,UnaryOperatorAnalyzer
public interface SemanticAnalyzerInterfaceThe interface that all Semantic Analyzers must implement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressionTreeNodegenerateExpressionTree(Stack<Token> tokens)
-
-
-
Method Detail
-
generateExpressionTree
ExpressionTreeNode generateExpressionTree(Stack<Token> tokens)
- Parameters:
tokens- in postfix order- Returns:
- the root node for the expression represented by the top token
-
-