public abstract class NullHighByteBitSetMatcher extends InvertibleCharMatcher
BitSetMatcher that exists simply because ascii bit set matchers occur often
and we can save one comparison when the high byte is 0x00.EMPTY| Modifier and Type | Method and Description |
|---|---|
static NullHighByteBitSetMatcher |
create(boolean inverse,
CompilationFinalBitSet bitSet) |
int |
estimatedCost()
Conservatively estimate the equivalent number of integer comparisons of calling
CharMatcher.execute(char, boolean). |
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 NullHighByteBitSetMatcher create(boolean inverse, CompilationFinalBitSet bitSet)
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