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.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 |
writesCaptureGroups()
Returns
true if this executor may write any new capture group boundaries. |
getChar, getCharAt, getInputLength, getNumberOfCaptureGroups, 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)
public NFA getNFA()
public 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