java.io.Serializable
RE
, RETokenAny
, RETokenBackRef
, RETokenChar
, RETokenEnd
, RETokenEndSub
, RETokenLookAhead
, RETokenOneOf
, RETokenPOSIX
, RETokenRange
, RETokenRepeated
, RETokenStart
, RETokenWordBoundary
abstract class REToken
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field | Description |
---|---|---|
protected REToken |
next |
|
protected int |
subIndex |
|
protected REToken |
uncle |
Modifier | Constructor | Description |
---|---|---|
protected |
REToken(int subIndex) |
Modifier and Type | Method | Description |
---|---|---|
(package private) boolean |
chain(REToken token) |
|
(package private) abstract void |
dump(java.lang.StringBuffer os) |
|
(package private) void |
dumpAll(java.lang.StringBuffer os) |
|
(package private) int |
getMinimumLength() |
|
(package private) 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.
|
(package private) void |
setUncle(REToken anUncle) |
protected REToken next
protected REToken uncle
protected int subIndex
int getMinimumLength()
void setUncle(REToken anUncle)
abstract boolean match(CharIndexed input, REMatch mymatch)
protected boolean next(CharIndexed input, REMatch mymatch)
boolean chain(REToken token)
abstract void dump(java.lang.StringBuffer os)
void dumpAll(java.lang.StringBuffer os)