public final class TRegexNFAExecutorNode extends TRegexExecutorNode
TRegexDFAExecutorNode until the
expression is executed TRegexOptions.TRegexGenerateDFAThresholdCalls times, in order to
avoid the costly DFA generation on all expressions that are not on any hot code paths.| Modifier and Type | Method and Description |
|---|---|
static TRegexNFAExecutorNode |
create(NFA nfa) |
TRegexExecutorLocals |
createLocals(Object input,
int fromIndex,
int index,
int maxIndex) |
Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame,
TRegexExecutorLocals abstractLocals,
com.oracle.truffle.api.strings.TruffleString.CodeRange codeRange,
boolean tString) |
String |
getName() |
NFA |
getNFA() |
boolean |
isForward() |
void |
notifyDfaGeneratorBailedOut() |
TRegexNFAExecutorNode |
shallowCopy() |
boolean |
writesCaptureGroups()
Returns
true if this executor may write any new capture group boundaries. |
countUpTo, getAstralProfile, getBMPProfile, getEncoding, getInputLength, getMaxIndex, getMinIndex, getNumberOfCaptureGroups, getNumberOfTransitions, getSource, inputAdvance, inputAtBegin, inputAtEnd, inputHasNext, inputHasNext, inputHasNext, inputHasNext, inputIncNextIndexRaw, inputIncNextIndexRaw, inputIncRaw, inputIncRaw, inputIncRaw, inputIncRaw, inputIncRaw, inputIncRaw, inputIncRaw, inputIncRaw, inputReadAndDecode, inputReadAndDecode, inputReadRaw, inputReadRaw, inputReadRaw, inputReadRaw, inputSkip, inputSkipIntl, inputSkipReverse, inputUTF16IsHighSurrogate, inputUTF16IsLowSurrogate, inputUTF16ToCodePoint, isBooleanMatch, isUTF16, isUTF32, isUTF8, rewindUpTocreateWrapper, isInstrumentableaccept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, toStringpublic static TRegexNFAExecutorNode create(NFA nfa)
public TRegexNFAExecutorNode shallowCopy()
shallowCopy in class TRegexExecutorNodepublic NFA getNFA()
public void notifyDfaGeneratorBailedOut()
public String getName()
getName in class TRegexExecutorNodepublic boolean isForward()
isForward in class TRegexExecutorNodepublic boolean writesCaptureGroups()
TRegexExecutorNodetrue if this executor may write any new capture group boundaries.writesCaptureGroups in class TRegexExecutorNodepublic TRegexExecutorLocals createLocals(Object input, int fromIndex, int index, int maxIndex)
createLocals in class TRegexExecutorNodepublic Object execute(com.oracle.truffle.api.frame.VirtualFrame frame, TRegexExecutorLocals abstractLocals, com.oracle.truffle.api.strings.TruffleString.CodeRange codeRange, boolean tString)
execute in class TRegexExecutorBaseNode