Package picasso.parser
Class PerlinBWAnalyzer
- java.lang.Object
-
- picasso.parser.BinaryFunctionAnalyzer
-
- picasso.parser.PerlinBWAnalyzer
-
- All Implemented Interfaces:
SemanticAnalyzerInterface
public class PerlinBWAnalyzer extends BinaryFunctionAnalyzer
handles parsing the perlinBW function
-
-
Constructor Summary
Constructors Constructor Description PerlinBWAnalyzer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressionTreeNodegenerateExpressionTree(Stack<Token> tokens)the method is meant to only instantiate xExp and yExp for child classes to access.
-
-
-
Method Detail
-
generateExpressionTree
public ExpressionTreeNode generateExpressionTree(Stack<Token> tokens)
Description copied from class:BinaryFunctionAnalyzerthe method is meant to only instantiate xExp and yExp for child classes to access. Method should be overriden by all child classes to change the return value.- Specified by:
generateExpressionTreein interfaceSemanticAnalyzerInterface- Overrides:
generateExpressionTreein classBinaryFunctionAnalyzer- Parameters:
tokens- in postfix order- Returns:
- null
-
-