|
|||||||||
| 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.TypedExpression
public abstract static class Expressions.TypedExpression
An expression with a typename and tags
| Constructor Summary | |
|---|---|
Expressions.TypedExpression(java.lang.String typename,
java.lang.String... tags)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface edu.stanford.nlp.ling.tokensregex.types.Expression |
|---|
evaluate |
| Constructor Detail |
|---|
public Expressions.TypedExpression(java.lang.String typename,
java.lang.String... tags)
| 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||