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.root| Constructor and Description |
|---|
TRegexNFAExecutorNode(NFA nfa) |
| Modifier and Type | Method and Description |
|---|---|
TRegexExecutorLocals |
createLocals(Object input,
int fromIndex,
int index,
int maxIndex) |
Object |
execute(TRegexExecutorLocals abstractLocals,
boolean compactString) |
NFA |
getNFA() |
boolean |
isForward() |
void |
notifyDfaGeneratorBailedOut() |
boolean |
writesCaptureGroups()
Returns
true if this executor may write any new capture group boundaries. |
countUpTo, getAstralProfile, getBMPProfile, getEncoding, getInputLength, getMaxIndex, getMinIndex, getNumberOfCaptureGroups, 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, rewindUpTo, setRootaccept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, toStringpublic TRegexNFAExecutorNode(NFA nfa)
public NFA getNFA()
public void notifyDfaGeneratorBailedOut()
public 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(TRegexExecutorLocals abstractLocals, boolean compactString)
execute in class TRegexExecutorNode