Package com.scriptbasic.syntax.leftvalue
Class AbstractLeftValueAnalyzer
- java.lang.Object
-
- com.scriptbasic.syntax.leftvalue.AbstractLeftValueAnalyzer
-
- All Implemented Interfaces:
Analyzer<LeftValue>,LeftValueAnalyzer
- Direct Known Subclasses:
BasicLeftValueAnalyzer
public abstract class AbstractLeftValueAnalyzer extends java.lang.Object implements LeftValueAnalyzer
Left value is defined asLEFTVALUE ::= identifier modifier* modifier ::= '[' expression_list '] | '.' id
- Author:
- Peter Verhas date June 12, 2012
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractLeftValueAnalyzer(Context ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LeftValueanalyze()
-
-
-
Field Detail
-
ctx
protected final Context ctx
-
-
Constructor Detail
-
AbstractLeftValueAnalyzer
protected AbstractLeftValueAnalyzer(Context ctx)
-
-
Method Detail
-
analyze
public LeftValue analyze() throws AnalysisException
- Specified by:
analyzein interfaceAnalyzer<LeftValue>- Specified by:
analyzein interfaceLeftValueAnalyzer- Returns:
- the analysis result.
- Throws:
AnalysisException- in case of exception
-
-