public abstract class MultiBitSetMatcher extends InvertibleCharMatcher
EMPTY| Modifier and Type | Method and Description |
|---|---|
int |
estimatedCost()
Conservatively estimate the equivalent number of integer comparisons of calling
CharMatcher.execute(char, boolean). |
static MultiBitSetMatcher |
fromRanges(boolean inverse,
char[] ranges)
Constructs a new
MultiBitSetMatcher. |
protected boolean |
match(char c,
boolean compactString) |
String |
toString() |
modifiersToString, resultexecuteaccept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecializepublic static MultiBitSetMatcher fromRanges(boolean inverse, char[] ranges)
MultiBitSetMatcher.inverse - see InvertibleCharMatcher.ranges - a sorted array of character ranges in the form [lower inclusive bound of range
0, higher inclusive bound of range 0, lower inclusive bound of range 1, higher
inclusive bound of range 1, ...]. The array contents are not modified by this
method.MultiBitSetMatcher.protected boolean match(char c,
boolean compactString)
public int estimatedCost()
CharMatcherCharMatcher.execute(char, boolean).estimatedCost in class CharMatcherCharMatcher.execute(char, boolean) is
roughly equivalent to. Array loads are treated as two comparisons.public String toString()
toString in class com.oracle.truffle.api.nodes.Node