public class TraceFinderDFAStateNode extends BackwardDFAStateNode
DFAStateNode.LoopOptimizationNode| Modifier and Type | Field and Description |
|---|---|
static byte |
NO_PRE_CALC_RESULT |
matcherssuccessors| Constructor and Description |
|---|
TraceFinderDFAStateNode(short id,
byte flags,
DFAStateNode.LoopOptimizationNode loopOptimizationNode,
short[] successors,
CharMatcher[] matchers,
AllTransitionsInOneTreeMatcher allTransitionsInOneTreeMatcher,
byte preCalculatedUnAnchoredResult,
byte preCalculatedAnchoredResult) |
| 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. |
buildFlags, buildLoopOptimizationNode, checkFinalState, executeFindSuccessor, 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 static final byte NO_PRE_CALC_RESULT
public TraceFinderDFAStateNode(short id,
byte flags,
DFAStateNode.LoopOptimizationNode loopOptimizationNode,
short[] successors,
CharMatcher[] matchers,
AllTransitionsInOneTreeMatcher allTransitionsInOneTreeMatcher,
byte preCalculatedUnAnchoredResult,
byte preCalculatedAnchoredResult)
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 BackwardDFAStateNodecopyID - new ID for the copy.