public abstract static class SequencePattern.PatternExpr extends Object
Constructor and Description |
---|
PatternExpr() |
Modifier and Type | Method and Description |
---|---|
protected abstract int |
assignGroupIds(int start)
Assigns group ids to groups embedded in this patterns starting with at the specified number,
returns the next available group id.
|
protected abstract edu.stanford.nlp.ling.tokensregex.SequencePattern.Frag |
build() |
protected abstract SequencePattern.PatternExpr |
copy()
Make a deep copy of the sequence pattern expressions
|
protected SequencePattern.PatternExpr |
optimize()
Returns an optimized version of this pattern - default is a noop
|
protected abstract SequencePattern.PatternExpr |
transform(NodePatternTransformer transformer) |
protected abstract void |
updateBindings(edu.stanford.nlp.ling.tokensregex.SequencePattern.VarGroupBindings bindings)
Updates the binding of group to variable name
|
protected Object |
value() |
protected abstract edu.stanford.nlp.ling.tokensregex.SequencePattern.Frag build()
protected abstract int assignGroupIds(int start)
start
- Group id to start withprotected abstract SequencePattern.PatternExpr copy()
protected abstract void updateBindings(edu.stanford.nlp.ling.tokensregex.SequencePattern.VarGroupBindings bindings)
bindings
- protected Object value()
protected SequencePattern.PatternExpr optimize()
protected abstract SequencePattern.PatternExpr transform(NodePatternTransformer transformer)