Matchers.Builder, Matchers.SimpleMatchers, Matchers.UTF16Matchers, Matchers.UTF16RawMatchers, Matchers.UTF8Matchers| Constructor and Description |
|---|
SimpleMatchers(CharMatcher[] matchers,
short noMatchSuccessor) |
| Modifier and Type | Method and Description |
|---|---|
CharMatcher[] |
getMatchers() |
boolean |
match(int i,
int c)
Returns
true iff transition i matches c. |
int |
size()
Returns the number of transitions represented by this object.
|
String |
toString(int i)
Returns a String representation of transition
i. |
getNoMatchSuccessor, matchaccept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, toStringpublic SimpleMatchers(CharMatcher[] matchers, short noMatchSuccessor)
public CharMatcher[] getMatchers()
public int size()
Matcherspublic boolean match(int i,
int c)
Matcherstrue iff transition i matches c.