public abstract class AbstractUnaryExpression extends AbstractExpression implements UnaryExpression
| Modifier and Type | Field and Description |
|---|---|
protected Expression |
expr
The enclosed expression.
|
block, rootSTRUCT_ARRAY, STRUCT_SCALAR, STRUCT_STRUCTURE, TYPE_BOOL, TYPE_DYNAMIC, TYPE_FLOAT, TYPE_INTEGER, TYPE_NUMERIC, TYPE_STRING, TYPE_UNDEF| Constructor and Description |
|---|
AbstractUnaryExpression(Expression root) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,Variable> |
getVariables()
Return the variables used by this expression.
|
clone, evalAsBoolean, evalAsFloat, evalAsInt, getParentBlock, getRoot, setParentBlock, setRootequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExpression, setExpressionclone, eval, evalAsBoolean, evalAsFloat, evalAsInt, getExpressionName, getLocalVariable, getLocalVariables, getParentBlock, getResultStructure, getResultType, getRoot, getVariable, getVariable, getVariables, hasVariable, hasVariable, removeVariable, setParentBlockprotected Expression expr
public AbstractUnaryExpression(Expression root)
public 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