public class CoreMapExpressionNodePattern extends NodePattern<CoreMap>
NodePattern.AnyNodePattern<T>, NodePattern.ConjNodePattern<T>, NodePattern.DisjNodePattern<T>, NodePattern.EqualsNodePattern<T>, NodePattern.NegateNodePattern<T>
ANY_NODE, CASE_INSENSITIVE, NORMALIZE, UNICODE_CASE
Constructor and Description |
---|
CoreMapExpressionNodePattern() |
CoreMapExpressionNodePattern(Env env,
Expression expression) |
Modifier and Type | Method and Description |
---|---|
boolean |
match(CoreMap token)
Returns true if the input node matches this pattern
|
java.lang.String |
toString() |
static CoreMapExpressionNodePattern |
valueOf(Env env,
Expression expression) |
static CoreMapExpressionNodePattern |
valueOf(Expression expression) |
matchWithResult
public CoreMapExpressionNodePattern()
public CoreMapExpressionNodePattern(Env env, Expression expression)
public static CoreMapExpressionNodePattern valueOf(Expression expression)
public static CoreMapExpressionNodePattern valueOf(Env env, Expression expression)
public boolean match(CoreMap token)
NodePattern
match
in class NodePattern<CoreMap>
token
- - node to matchpublic java.lang.String toString()
toString
in class java.lang.Object