gnu.regexp
abstract class REToken extends Object implements Serializable
Field Summary | |
---|---|
protected REToken | next |
protected int | subIndex |
protected REToken | uncle |
Constructor Summary | |
---|---|
protected | REToken(int subIndex) |
Method Summary | |
---|---|
boolean | chain(REToken token) |
abstract void | dump(StringBuffer os) |
void | dumpAll(StringBuffer os) |
int | getMinimumLength() |
abstract 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. |
void | setUncle(REToken anUncle) |