Package picasso.parser
Interface SemanticAnalyzerInterface
-
- All Known Implementing Classes:
AbsAnalyzer,AssignmentAnalyzer,AtanAnalyzer,BinaryOperationAnalyzer,CeilAnalyzer,ClampAnalyzer,ColorAnalyzer,ConstantAnalyzer,CosAnalyzer,DivideAnalyzer,ExpAnalyzer,ExponentiateAnalyzer,FloorAnalyzer,IdentifierAnalyzer,ImageAnalyzer,ImageClipAnalyzer,ImageFunctionAnalyzer,ImageWrapAnalyzer,LogAnalyzer,MinusAnalyzer,ModuloAnalyzer,NegationAnalyzer,NoArgumentFunctionAnalyzer,PerlinBWAnalyzer,PerlinColorAnalyzer,PerlinFunctionAnalyzer,PlusAnalyzer,RandomAnalyzer,RgbToYCrCbAnalyzer,SemanticAnalyzer,SinAnalyzer,TanAnalyzer,TimesAnalyzer,UnaryFunctionAnalyzer,UnaryOperationAnalyzer,WrapAnalyzer,YCrCbToRGBAnalyzer
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
-
-