|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Expression
This interfaces represents an expression that can be evaluated to obtain a value
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
Tags getTags()
void setTags(Tags tags)
tags - Tags to associate with this expressionjava.lang.String getType()
Expression simplify(Env env)
env - Environment to simply with respect to
Value evaluate(Env env,
java.lang.Object... args)
env - args -
boolean hasValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||