public final class TRegexDFAExecutorNode extends TRegexExecutorNode
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_MATCH |
| Constructor and Description |
|---|
TRegexDFAExecutorNode(TRegexDFAExecutorProperties props,
int maxNumberOfNFAStates,
DFAAbstractStateNode[] states,
DFACaptureGroupLazyTransition[] cgTransitions) |
TRegexDFAExecutorNode(TRegexDFAExecutorProperties props,
int maxNumberOfNFAStates,
DFAAbstractStateNode[] states,
DFACaptureGroupLazyTransition[] cgTransitions,
TRegexDFAExecutorDebugRecorder debugRecorder) |
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 static final int NO_MATCH
public TRegexDFAExecutorNode(TRegexDFAExecutorProperties props, int maxNumberOfNFAStates, DFAAbstractStateNode[] states, DFACaptureGroupLazyTransition[] cgTransitions, TRegexDFAExecutorDebugRecorder debugRecorder)
public TRegexDFAExecutorNode(TRegexDFAExecutorProperties props, int maxNumberOfNFAStates, DFAAbstractStateNode[] states, DFACaptureGroupLazyTransition[] cgTransitions)
public int getPrefixLength()
public boolean isAnchored()
public boolean isForward()
public boolean isBackward()
public boolean isSearching()
public boolean isSimpleCG()
public boolean isGenericCG()
public boolean isRegressionTestMode()
public DFACaptureGroupLazyTransition[] getCGTransitions()
public int getNumberOfStates()
public int getNumberOfCaptureGroups()
public boolean recordExecution()
public TRegexDFAExecutorDebugRecorder getDebugRecorder()
public TRegexExecutorLocals createLocals(Object input, int fromIndex, int index, int maxIndex)
createLocals in class TRegexExecutorNodepublic Object execute(TRegexExecutorLocals abstractLocals, boolean compactString)
execute in class TRegexExecutorNodepublic void advance(TRegexDFAExecutorLocals locals)
public boolean hasNext(TRegexDFAExecutorLocals locals)
public boolean atBegin(TRegexDFAExecutorLocals locals)
public boolean atEnd(TRegexDFAExecutorLocals locals)
public int rewindUpTo(TRegexDFAExecutorLocals locals, int length)
public TRegexDFAExecutorProperties getProperties()
public int getMaxNumberOfNFAStates()
public double getCGReorderRatio()
public double getCGArrayCopyRatio()