edu.stanford.nlp.ling.tokensregex.types
Class Expressions.RegexMatchResultVarExpression

java.lang.Object
  extended by edu.stanford.nlp.ling.tokensregex.types.Expressions.TypedExpression
      extended by edu.stanford.nlp.ling.tokensregex.types.Expressions.SimpleExpression
          extended by edu.stanford.nlp.ling.tokensregex.types.Expressions.RegexMatchResultVarExpression
All Implemented Interfaces:
Expression, java.io.Serializable
Enclosing class:
Expressions

public static class Expressions.RegexMatchResultVarExpression
extends Expressions.SimpleExpression

See Also:
Serialized Form

Constructor Summary
Expressions.RegexMatchResultVarExpression(java.lang.Integer groupid, java.lang.String... tags)
           
Expressions.RegexMatchResultVarExpression(java.lang.String groupname, java.lang.String... tags)
           
 
Method Summary
 Value evaluate(Env env, java.lang.Object... args)
          Evaluates the expression using the specified environment and arguments.
static Expressions.RegexMatchResultVarExpression valueOf(java.lang.String group)
           
 
Methods inherited from class edu.stanford.nlp.ling.tokensregex.types.Expressions.SimpleExpression
get, toString
 
Methods inherited from class edu.stanford.nlp.ling.tokensregex.types.Expressions.TypedExpression
getTags, getType, hasValue, setTags, simplify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Expressions.RegexMatchResultVarExpression

public Expressions.RegexMatchResultVarExpression(java.lang.String groupname,
                                                 java.lang.String... tags)

Expressions.RegexMatchResultVarExpression

public Expressions.RegexMatchResultVarExpression(java.lang.Integer groupid,
                                                 java.lang.String... tags)
Method Detail

valueOf

public static Expressions.RegexMatchResultVarExpression valueOf(java.lang.String group)

evaluate

public Value evaluate(Env env,
                      java.lang.Object... args)
Description copied from interface: Expression
Evaluates the expression using the specified environment and arguments. Arguments are additional context not provided by the environment.

Returns:
Evaluated value


Stanford NLP Group