public class CGTrackingDFAStateNode extends DFAStateNode
successors| Constructor and Description |
|---|
CGTrackingDFAStateNode(short id,
byte flags,
short loopTransitionIndex,
short indexOfNodeId,
byte indexOfIsFast,
short[] successors,
Matchers matchers,
short[] lastTransitionIndex,
DFACaptureGroupLazyTransition[] lazyTransitions,
DFACaptureGroupLazyTransition preAnchoredFinalStateTransition,
DFACaptureGroupLazyTransition preUnAnchoredFinalStateTransition,
DFACaptureGroupPartialTransition anchoredFinalStateTransition,
DFACaptureGroupPartialTransition unAnchoredFinalStateTransition,
DFACaptureGroupPartialTransition cgLoopToSelf) |
| 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. |
int |
getCGTrackingCost() |
short[] |
getLastTransitionIndex() |
buildFlags, getIndexOfNodeId, getMatchers, getSequentialMatchers, hasBackwardPrefixState, hasIndexOfNodeId, hasLoopToSelf, isAnchoredFinalState, isFinalState, toJson, toString, utf16MustDecodegetId, getSuccessorspublic CGTrackingDFAStateNode(short id,
byte flags,
short loopTransitionIndex,
short indexOfNodeId,
byte indexOfIsFast,
short[] successors,
Matchers matchers,
short[] lastTransitionIndex,
DFACaptureGroupLazyTransition[] lazyTransitions,
DFACaptureGroupLazyTransition preAnchoredFinalStateTransition,
DFACaptureGroupLazyTransition preUnAnchoredFinalStateTransition,
DFACaptureGroupPartialTransition anchoredFinalStateTransition,
DFACaptureGroupPartialTransition unAnchoredFinalStateTransition,
DFACaptureGroupPartialTransition cgLoopToSelf)
public short[] getLastTransitionIndex()
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 int getCGTrackingCost()