Package com.scriptbasic.syntax
Class AbstractGenericListAnalyzer<T extends GenericList<Z>,K extends T,Z extends AnalysisResult,A extends Analyzer<Z>>
- java.lang.Object
-
- com.scriptbasic.syntax.AbstractGenericListAnalyzer<T,K,Z,A>
-
- Type Parameters:
T- is the interface that defines the list of somethingK- is the implementation of T actually used to manage the list of the somethingZ- is the analyzed something that the analyzerAreturnsA- is the analyzer to analyze the something.
- All Implemented Interfaces:
Analyzer<T>,ListAnalyzer<T>
- Direct Known Subclasses:
BasicExpressionListAnalyzer,BasicSimpleLeftValueListAnalyzer
public abstract class AbstractGenericListAnalyzer<T extends GenericList<Z>,K extends T,Z extends AnalysisResult,A extends Analyzer<Z>> extends java.lang.Object implements ListAnalyzer<T>
An abstract class to analyze a list of something. A list is several something separated by commas.- Author:
- Peter Verhas date June 14, 2012
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractGenericListAnalyzer(Context ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Tanalyze(K list, A analyzer)
-
-
-
Field Detail
-
ctx
protected final Context ctx
-
-
Constructor Detail
-
AbstractGenericListAnalyzer
protected AbstractGenericListAnalyzer(Context ctx)
-
-
Method Detail
-
analyze
protected T analyze(K list, A analyzer) throws AnalysisException
- Throws:
AnalysisException
-
-