public class TRegexNFAExecutorNode extends TRegexExecutorNode
TRegexDFAExecutorNode until the
expression is executed TRegexOptions.TRegexGenerateDFAThreshold times, in order to avoid
the costly DFA generation on all expressions that are not on any hot code paths.| Constructor and Description |
|---|
TRegexNFAExecutorNode(NFA nfa,
int numberOfCaptureGroups) |
| Modifier and Type | Method and Description |
|---|---|
TRegexExecutorLocals |
createLocals(Object input,
int fromIndex,
int index,
int maxIndex) |
Object |
execute(TRegexExecutorLocals abstractLocals,
boolean compactString) |
NFA |
getNFA() |
int |
getNumberOfCaptureGroups() |
getChar, getCharAt, getInputLength, setRootaccept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, toStringpublic TRegexNFAExecutorNode(NFA nfa, int numberOfCaptureGroups)
public NFA getNFA()
public int getNumberOfCaptureGroups()
public TRegexExecutorLocals createLocals(Object input, int fromIndex, int index, int maxIndex)
createLocals in class TRegexExecutorNodepublic Object execute(TRegexExecutorLocals abstractLocals, boolean compactString)
execute in class TRegexExecutorNode