public interface IExprParserFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_OPERATOR_CHARACTERS
The default set of characters, which could form an operator
|
Modifier and Type | Method and Description |
---|---|
AbstractExprOperator |
get(java.lang.String identifier)
Get the operator for a given identifier string like Times, Plus, Sin,...
|
java.util.Map<java.lang.String,AbstractExprOperator> |
getIdentifier2OperatorMap()
Get the identifier to operator map
|
java.util.Map<java.lang.String,java.util.ArrayList<AbstractExprOperator>> |
getOperator2ListMap()
Get the operator-string to possible operator-list map
|
java.lang.String |
getOperatorCharacters()
The set of characters, which could form an operator
|
java.util.List<AbstractExprOperator> |
getOperatorList(java.lang.String operatorString)
Get the operator-list for a given operator-string
|
boolean |
isValidIdentifier(java.lang.String identifier)
Check if the identifier name is valid.
|
static final java.lang.String DEFAULT_OPERATOR_CHARACTERS
java.lang.String getOperatorCharacters()
java.util.Map<java.lang.String,AbstractExprOperator> getIdentifier2OperatorMap()
java.util.Map<java.lang.String,java.util.ArrayList<AbstractExprOperator>> getOperator2ListMap()
AbstractExprOperator get(java.lang.String identifier)
identifier
- java.util.List<AbstractExprOperator> getOperatorList(java.lang.String operatorString)
boolean isValidIdentifier(java.lang.String identifier)
identifier
- the currently parsed identifierfalse
if the identifier is not valid (in this case the parser creates a SyntaxError exception);
otherwise return true