public interface Expression
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
Tags getTags()
void setTags(Tags tags)
tags
- Tags to associate with this expressionjava.lang.String getType()
Expression simplify(Env env)
env
- Environment to simplify with respect toValue evaluate(Env env, java.lang.Object... args)
env
- Environmentargs
- Argumentsboolean hasValue()