public abstract class AbstractExpressionAnalyzer extends AbstractAnalyzer<Expression> implements ExpressionAnalyzer
Constructor and Description |
---|
AbstractExpressionAnalyzer() |
Modifier and Type | Method and Description |
---|---|
Expression |
analyze() |
Factory |
getFactory() |
protected abstract Integer |
getMaximumPriority() |
protected abstract Map<String,Class<? extends AbstractBinaryOperator>> |
getOperatorMap(Integer priority) |
void |
setFactory(Factory factory)
When a factory creates an instance of a class implementing this interface
this method is called to register the factory that created the instance.
|
public Factory getFactory()
getFactory
in class AbstractAnalyzer<Expression>
public void setFactory(Factory factory)
FactoryManaged
setFactory
in interface FactoryManaged
factory
- the factory that manages the instance.protected abstract Integer getMaximumPriority()
protected abstract Map<String,Class<? extends AbstractBinaryOperator>> getOperatorMap(Integer priority)
public Expression analyze() throws AnalysisException
analyze
in interface Analyzer<Expression>
analyze
in interface ExpressionAnalyzer
AnalysisException
Copyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.