edu.stanford.nlp.ling.tokensregex
Class SequencePattern.MultiNodePatternExpr

java.lang.Object
  extended by edu.stanford.nlp.ling.tokensregex.SequencePattern.PatternExpr
      extended by edu.stanford.nlp.ling.tokensregex.SequencePattern.MultiNodePatternExpr
Enclosing class:
SequencePattern<T>

public static class SequencePattern.MultiNodePatternExpr
extends SequencePattern.PatternExpr


Constructor Summary
SequencePattern.MultiNodePatternExpr(MultiNodePattern nodePattern)
           
 
Method Summary
protected  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  edu.stanford.nlp.ling.tokensregex.SequencePattern.Frag build()
           
protected  SequencePattern.PatternExpr copy()
          Make a deep copy of the sequence pattern expressions
 java.lang.String toString()
           
protected  void updateBindings(edu.stanford.nlp.ling.tokensregex.SequencePattern.VarGroupBindings bindings)
          Updates the binding of group to variable name
 
Methods inherited from class edu.stanford.nlp.ling.tokensregex.SequencePattern.PatternExpr
value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SequencePattern.MultiNodePatternExpr

public SequencePattern.MultiNodePatternExpr(MultiNodePattern nodePattern)
Method Detail

build

protected edu.stanford.nlp.ling.tokensregex.SequencePattern.Frag build()
Specified by:
build in class SequencePattern.PatternExpr

copy

protected SequencePattern.PatternExpr copy()
Description copied from class: SequencePattern.PatternExpr
Make a deep copy of the sequence pattern expressions

Specified by:
copy in class SequencePattern.PatternExpr

assignGroupIds

protected int assignGroupIds(int start)
Description copied from class: SequencePattern.PatternExpr
Assigns group ids to groups embedded in this patterns starting with at the specified number, returns the next available group id

Specified by:
assignGroupIds in class SequencePattern.PatternExpr
Parameters:
start - Group id to start with
Returns:
The next available group id

updateBindings

protected void updateBindings(edu.stanford.nlp.ling.tokensregex.SequencePattern.VarGroupBindings bindings)
Description copied from class: SequencePattern.PatternExpr
Updates the binding of group to variable name

Specified by:
updateBindings in class SequencePattern.PatternExpr

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Stanford NLP Group