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.ASTRAL_PROBABILITY, BMP_PROBABILITY, CONTINUE_PROBABILITY, EXIT_PROBABILITY, LATIN1_PROBABILITY| Modifier and Type | Method and Description |
|---|---|
static TRegexNFAExecutorNode |
create(NFA nfa) |
TRegexExecutorLocals |
createLocals(com.oracle.truffle.api.strings.TruffleString 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) |
String |
getName() |
NFA |
getNFA() |
int |
getNumberOfStates() |
boolean |
isForward() |
boolean |
isTrivial() |
void |
notifyDfaGeneratorBailedOut() |
TRegexNFAExecutorNode |
shallowCopy() |
boolean |
writesCaptureGroups()
Returns
true if this executor may write any new capture group boundaries. |
countUpTo, getAstralProfile, getBMPProfile, getInputLength, getMaxIndex, getMinIndex, getNumberOfCaptureGroups, getNumberOfTransitions, getSource, inputAdvance, inputAtBegin, inputAtEnd, inputGetCodePointSize, inputGetCodePointSize, inputHasNext, inputHasNext, inputHasNext, inputHasNext, inputIncNextIndexRaw, inputIncNextIndexRaw, inputIncRaw, inputIncRaw, inputIncRaw, inputIncRaw, inputIncRaw, inputIncRaw, inputIncRaw, inputReadAndDecode, inputReadAndDecode, inputReadRaw, inputReadRaw, inputReadRaw, inputReadRaw, inputSkip, inputSkipIntl, inputSkipReverse, inputUTF16IsHighSurrogate, inputUTF16IsLowSurrogate, inputUTF16ToCodePoint, isSimpleCG, rewindUpTocreateWrapper, getEncoding, isBooleanMatch, isInstrumentable, isUTF16, isUTF32, isUTF8, unwrapaccept, 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 TRegexExecutorBaseNodepublic NFA getNFA()
public void notifyDfaGeneratorBailedOut()
public String getName()
getName in class TRegexExecutorBaseNodepublic boolean isForward()
isForward in class TRegexExecutorBaseNodepublic boolean isTrivial()
isTrivial in class TRegexExecutorBaseNodepublic boolean writesCaptureGroups()
TRegexExecutorBaseNodetrue if this executor may write any new capture group boundaries.writesCaptureGroups in class TRegexExecutorBaseNodepublic int getNumberOfStates()
getNumberOfStates in class TRegexExecutorBaseNodepublic TRegexExecutorLocals createLocals(com.oracle.truffle.api.strings.TruffleString input, int fromIndex, int index, int maxIndex)
createLocals in class TRegexExecutorBaseNodepublic Object execute(com.oracle.truffle.api.frame.VirtualFrame frame, TRegexExecutorLocals abstractLocals, com.oracle.truffle.api.strings.TruffleString.CodeRange codeRange)
execute in class TRegexExecutorBaseNode