public class CGTrackingDFAStateNode extends DFAStateNode
DFAStateNode.IndexOfAnyByteCall, DFAStateNode.IndexOfAnyCall, DFAStateNode.IndexOfAnyCharCall, DFAStateNode.IndexOfAnyIntCall, DFAStateNode.IndexOfCall, DFAStateNode.IndexOfStringCallindexOfCallsuccessors| Constructor and Description |
|---|
CGTrackingDFAStateNode(short id,
byte flags,
short loopTransitionIndex,
DFAStateNode.IndexOfCall indexOfCall,
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. |
short[] |
getLastTransitionIndex() |
buildFlags, getMatchers, getSequentialMatchers, hasBackwardPrefixState, hasLoopToSelf, isAnchoredFinalState, isFinalState, toJson, toString, utf16MustDecodegetId, getSuccessorspublic CGTrackingDFAStateNode(short id,
byte flags,
short loopTransitionIndex,
DFAStateNode.IndexOfCall indexOfCall,
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.