public abstract class AbstractExprFunction extends AbstractExpression implements MultipleAryExpression
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Expression> |
exprs |
block, rootSTRUCT_ARRAY, STRUCT_SCALAR, STRUCT_STRUCTURE, TYPE_BOOL, TYPE_DYNAMIC, TYPE_FLOAT, TYPE_INTEGER, TYPE_NUMERIC, TYPE_STRING, TYPE_UNDEF| Constructor and Description |
|---|
AbstractExprFunction(Expression root) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExpression(Expression expr) |
java.util.List<Expression> |
getExpressions() |
java.util.Map<java.lang.String,Variable> |
getVariables()
Return the variables used by this expression.
|
void |
setExpressions(java.util.List<Expression> exprs) |
clone, evalAsBoolean, evalAsFloat, evalAsInt, getParentBlock, getRoot, setParentBlock, setRootequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, eval, evalAsBoolean, evalAsFloat, evalAsInt, getExpression, getExpressionName, getLocalVariable, getLocalVariables, getParentBlock, getResultStructure, getResultType, getRoot, getVariable, getVariable, getVariables, hasVariable, hasVariable, removeVariable, setParentBlockprotected java.util.List<Expression> exprs
public AbstractExprFunction(Expression root)
public void addExpression(Expression expr) throws java.lang.Exception
addExpression in interface MultipleAryExpressionjava.lang.Exceptionpublic void setExpressions(java.util.List<Expression> exprs)
setExpressions in interface MultipleAryExpressionpublic java.util.List<Expression> getExpressions()
getExpressions in interface MultipleAryExpressionpublic java.util.Map<java.lang.String,Variable> getVariables()
Expressionint c=a+b, only "a" and "b" will be returned.getVariables in interface ExpressionCopyright © 2018 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence