|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExpressionElement
Method Summary | |
---|---|
MathematicalElement |
evaluate(TreeElement element,
Catalog catalog,
OperatorManager operatorManager,
Parameters parameters,
ExpressionModel model)
Evaluate the value of the current expression element |
java.lang.String |
getName()
get the name of the element (like integer, variable ...) |
boolean |
parseElement(java.lang.String expression,
ExpressionModel expressionModel,
ParseInfo parseInfo,
Catalog catalog,
java.util.List functionParameters,
int priorityOperatorLevel)
Parse an element of an expression like term, real, integer ... |
java.lang.String |
toString(TreeElement element,
ExpressionModel expressionModel)
Create the String object associated to the expression element. |
Method Detail |
---|
boolean parseElement(java.lang.String expression, ExpressionModel expressionModel, ParseInfo parseInfo, Catalog catalog, java.util.List functionParameters, int priorityOperatorLevel) throws ParsingException
expression
- expression to parse.expressionModel
- meta model of expression.parseInfo
- info about parsingcatalog
- function and constant catalogfunctionParameters
- parameters of the function (f(x), x is a parameter)priorityOperatorLevel
- priority of current operator.
true
if the expression content the element at the given position.
ParsingException
java.lang.String getName()
MathematicalElement evaluate(TreeElement element, Catalog catalog, OperatorManager operatorManager, Parameters parameters, ExpressionModel model) throws EvalException
element
- tree element of the expression.operatorManager
- operator manager of the current expression.parameters
- parameters given to the expression.
EvalException
java.lang.String toString(TreeElement element, ExpressionModel expressionModel)
element
- element properties for convertion.expressionModel
- expression model to use for current expression element.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |