|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.nlp.ling.tokensregex.types.Expressions.WrappedExpression
public abstract static class Expressions.WrappedExpression
An expression that is a wrapper around another expression
| Field Summary | |
|---|---|
protected Expression |
expr
|
| Constructor Summary | |
|---|---|
Expressions.WrappedExpression()
|
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Expression expr
| Constructor Detail |
|---|
public Expressions.WrappedExpression()
| Method Detail |
|---|
public Tags getTags()
Expression
getTags in interface Expressionpublic void setTags(Tags tags)
Expression
setTags in interface Expressiontags - Tags to associate with this expressionpublic java.lang.String getType()
Expression
getType in interface Expressionpublic Expression simplify(Env env)
Expression
simplify in interface Expressionenv - Environment to simply with respect to
public boolean hasValue()
Expression
hasValue in interface Expression
public Value evaluate(Env env,
java.lang.Object... args)
Expression
evaluate in interface Expression
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||