|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.regexp.REToken
gnu.regexp.RETokenRepeated
Field Summary | |
protected REToken |
next
|
protected int |
subIndex
|
protected REToken |
uncle
|
Constructor Summary | |
(package private) |
RETokenRepeated(int subIndex,
REToken token,
int min,
int max)
|
Method Summary | |
(package private) boolean |
chain(REToken token)
|
(package private) void |
dump(java.lang.StringBuffer os)
|
(package private) void |
dumpAll(java.lang.StringBuffer os)
|
(package private) int |
getMinimumLength()
The minimum length of a repeated token is the minimum length of the token multiplied by the minimum number of times it must match. |
(package private) boolean |
isStingy()
Queries if this token has minimal matching enabled. |
(package private) void |
makeStingy()
Sets the minimal matching mode to true. |
(package private) boolean |
match(CharIndexed input,
REMatch mymatch)
Returns true if the match succeeded, false if it failed. |
protected boolean |
next(CharIndexed input,
REMatch mymatch)
Returns true if the rest of the tokens match, false if they fail. |
(package private) void |
setUncle(REToken anUncle)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected REToken next
protected REToken uncle
protected int subIndex
Constructor Detail |
RETokenRepeated(int subIndex, REToken token, int min, int max)
Method Detail |
void makeStingy()
boolean isStingy()
int getMinimumLength()
getMinimumLength
in class REToken
boolean match(CharIndexed input, REMatch mymatch)
REToken
match
in class REToken
void dump(java.lang.StringBuffer os)
dump
in class REToken
void setUncle(REToken anUncle)
protected boolean next(CharIndexed input, REMatch mymatch)
boolean chain(REToken token)
void dumpAll(java.lang.StringBuffer os)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |