Package gnu.regexp
Class REToken
java.lang.Object
gnu.regexp.REToken
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RE
,RETokenAny
,RETokenBackRef
,RETokenChar
,RETokenEnd
,RETokenEndSub
,RETokenLookAhead
,RETokenOneOf
,RETokenPOSIX
,RETokenRange
,RETokenRepeated
,RETokenStart
,RETokenWordBoundary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) boolean
(package private) abstract void
dump
(StringBuffer os) (package private) void
dumpAll
(StringBuffer os) (package private) int
(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
-
Field Details
-
next
-
uncle
-
subIndex
protected int subIndex
-
-
Constructor Details
-
REToken
protected REToken(int subIndex)
-
-
Method Details
-
getMinimumLength
int getMinimumLength() -
setUncle
-
match
Returns true if the match succeeded, false if it failed. -
next
Returns true if the rest of the tokens match, false if they fail. -
chain
-
dump
-
dumpAll
-