public abstract static class Expressions.WrappedExpression extends java.lang.Object implements Expression
| Modifier and Type | Field and Description |
|---|---|
protected Expression |
expr |
| Constructor and Description |
|---|
WrappedExpression() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
Value |
evaluate(Env env,
java.lang.Object... args)
Evaluates the expression using the specified environment and
arguments.
|
Tags |
getTags()
Returns tags associated with this expression.
|
java.lang.String |
getType()
Returns a string indicating the type of this expression.
|
int |
hashCode() |
boolean |
hasValue()
Returns whether the expression has already been evaluated to
a Value
|
void |
setTags(Tags tags)
Set the tags associated with this expression.
|
Expression |
simplify(Env env)
Simplifies the expression using the specified environment.
|
protected Expression expr
public Tags getTags()
ExpressiongetTags in interface Expressionpublic void setTags(Tags tags)
ExpressionsetTags in interface Expressiontags - Tags to associate with this expressionpublic java.lang.String getType()
ExpressiongetType in interface Expressionpublic Expression simplify(Env env)
Expressionsimplify in interface Expressionenv - Environment to simplify with respect topublic boolean hasValue()
ExpressionhasValue in interface Expressionpublic Value evaluate(Env env, java.lang.Object... args)
Expressionevaluate in interface Expressionenv - Environmentargs - Argumentspublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object