public abstract class Matchers
extends com.oracle.truffle.api.nodes.Node
| Modifier and Type | Class and Description |
|---|---|
static class |
Matchers.Builder |
static class |
Matchers.SimpleMatchers |
static class |
Matchers.UTF16Matchers |
static class |
Matchers.UTF16RawMatchers |
static class |
Matchers.UTF8Matchers |
| Modifier and Type | Method and Description |
|---|---|
short |
getNoMatchSuccessor() |
int |
match(int c)
Returns the index of the transition that matches the given character
c, or
noMatchSuccessor. |
abstract boolean |
match(int i,
int c)
Returns
true iff transition i matches c. |
abstract int |
size()
Returns the number of transitions represented by this object.
|
abstract String |
toString(int i)
Returns a String representation of transition
i. |
accept, 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 short getNoMatchSuccessor()
public abstract int size()
public abstract boolean match(int i,
int c)
true iff transition i matches c.public int match(int c)
c, or
noMatchSuccessor. For debugging purposes.public abstract String toString(int i)
i.