public abstract class AbstractExpression extends java.lang.Object implements Expression
eval()
methods which cefault to Expression.eval()
.Modifier and Type | Field and Description |
---|---|
protected Expression |
root |
Constructor and Description |
---|
AbstractExpression() |
AbstractExpression(Expression root) |
Modifier and Type | Method and Description |
---|---|
Expression |
getRoot()
Return the root expression.
|
void |
setRoot(Expression root)
Set the root expression.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
eval, getExpression, getExpressionName, getVariable, getVariable, getVariables, getVariables, hasVariable, hasVariable
protected Expression root
public AbstractExpression()
public AbstractExpression(Expression root)
public void setRoot(Expression root)
root
- the root expressionpublic Expression getRoot()
getRoot
in interface Expression
Copyright © 2019-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence