Modifier and Type | Field and Description |
---|---|
Expression<E> |
expr |
Constructor and Description |
---|
Match.Group(Expression<E> expr) |
Match.Group(Expression<E> expr,
E token,
int pos) |
Match.Group(Expression<E> expr,
java.util.List<edu.washington.cs.knowitall.regex.Match.Group.Token<E>> tokens) |
Modifier and Type | Method and Description |
---|---|
protected void |
addTokens(Match.Group<E> group)
Add tokens to the group.
|
int |
endIndex() |
int |
startIndex() |
java.lang.String |
text()
A string representation of the group.
|
int |
tokenCount() |
java.util.List<E> |
tokens() |
java.lang.String |
toString() |
public final Expression<E> expr
public Match.Group(Expression<E> expr, E token, int pos)
public Match.Group(Expression<E> expr, java.util.List<edu.washington.cs.knowitall.regex.Match.Group.Token<E>> tokens)
public Match.Group(Expression<E> expr)
protected void addTokens(Match.Group<E> group)
group
- public java.util.List<E> tokens()
public int startIndex()
public int endIndex()
public java.lang.String text()
public int tokenCount()
public java.lang.String toString()
toString
in class java.lang.Object