gnu.regexp
Class RETokenChar
java.lang.Object
gnu.regexp.REToken
gnu.regexp.RETokenChar
- All Implemented Interfaces:
- java.io.Serializable
- final class RETokenChar
- extends REToken
Constructor Summary |
(package private) |
RETokenChar(int subIndex,
char c,
boolean ins)
|
Method Summary |
(package private) boolean |
chain(REToken next)
|
(package private) void |
dump(java.lang.StringBuffer os)
|
(package private) void |
dumpAll(java.lang.StringBuffer os)
|
(package private) int |
getMinimumLength()
|
(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 |
next
protected REToken next
uncle
protected REToken uncle
subIndex
protected int subIndex
RETokenChar
RETokenChar(int subIndex,
char c,
boolean ins)
getMinimumLength
int getMinimumLength()
- Overrides:
getMinimumLength
in class REToken
match
boolean match(CharIndexed input,
REMatch mymatch)
- Description copied from class:
REToken
- Returns true if the match succeeded, false if it failed.
- Specified by:
match
in class REToken
chain
boolean chain(REToken next)
- Overrides:
chain
in class REToken
dump
void dump(java.lang.StringBuffer os)
- Specified by:
dump
in class REToken
setUncle
void setUncle(REToken anUncle)
next
protected boolean next(CharIndexed input,
REMatch mymatch)
- Returns true if the rest of the tokens match, false if they fail.
dumpAll
void dumpAll(java.lang.StringBuffer os)