public class CGTrackingDFAStateNode extends DFAStateNode
DFAStateNode.LoopOptimizationNodematcherssuccessors| Constructor and Description |
|---|
CGTrackingDFAStateNode(short id,
byte flags,
DFAStateNode.LoopOptimizationNode loopOptimizationNode,
short[] successors,
CharMatcher[] matchers,
AllTransitionsInOneTreeMatcher allTransitionsInOneTreeMatcher,
short[] captureGroupTransitions,
short[] precedingCaptureGroupTransitions,
DFACaptureGroupPartialTransition anchoredFinalStateTransition,
DFACaptureGroupPartialTransition unAnchoredFinalStateTransition) |
| Modifier and Type | Method and Description |
|---|---|
DFAStateNode |
createNodeSplitCopy(short copyID)
Creates a copy of this state node, where all attributes are copied shallowly, except for the
DFAAbstractStateNode.successors array, which is deep-copied, and the node ID, which is replaced by the
parameter copyID. |
void |
executeFindSuccessor(TRegexDFAExecutorLocals locals,
TRegexDFAExecutorNode executor,
boolean compactString)
Calculates this state's successor by finding a transition that matches the current input.
|
buildFlags, buildLoopOptimizationNode, checkFinalState, getMatchers, getStateReachedProfile, hasBackwardPrefixState, hasLoopToSelf, isAnchoredFinalState, isFinalState, toJson, toStringgetId, getSuccessorsaccept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecializepublic CGTrackingDFAStateNode(short id,
byte flags,
DFAStateNode.LoopOptimizationNode loopOptimizationNode,
short[] successors,
CharMatcher[] matchers,
AllTransitionsInOneTreeMatcher allTransitionsInOneTreeMatcher,
short[] captureGroupTransitions,
short[] precedingCaptureGroupTransitions,
DFACaptureGroupPartialTransition anchoredFinalStateTransition,
DFACaptureGroupPartialTransition unAnchoredFinalStateTransition)
public DFAStateNode createNodeSplitCopy(short copyID)
DFAAbstractStateNodeDFAAbstractStateNode.successors array, which is deep-copied, and the node ID, which is replaced by the
parameter copyID. Used by DFANodeSplit.createNodeSplitCopy in class DFAStateNodecopyID - new ID for the copy.public void executeFindSuccessor(TRegexDFAExecutorLocals locals, TRegexDFAExecutorNode executor, boolean compactString)
DFAStateNodeCGTrackingDFAStateNode.executeFindSuccessor in class DFAStateNodelocals - a virtual frame as described by TRegexDFAExecutorProperties.executor - this node's parent TRegexDFAExecutorNode.compactString - true if the input string is a compact string, must be partial
evaluation constant.