Class BackwardDFAStateNode
java.lang.Object
com.oracle.truffle.regex.tregex.nodes.dfa.DFAAbstractStateNode
com.oracle.truffle.regex.tregex.nodes.dfa.DFAStateNode
com.oracle.truffle.regex.tregex.nodes.dfa.BackwardDFAStateNode
-
Field Summary
Fields inherited from class com.oracle.truffle.regex.tregex.nodes.dfa.DFAAbstractStateNode
successors -
Constructor Summary
ConstructorsModifierConstructorDescriptionBackwardDFAStateNode(short id, byte flags, short loopTransitionIndex, short indexOfNodeId, byte indexOfIsFast, short[] successors, Matchers matchers, DFASimpleCG simpleCG) protectedBackwardDFAStateNode(BackwardDFAStateNode copy, short copyID) -
Method Summary
Modifier and TypeMethodDescriptioncreateNodeSplitCopy(short copyID) Creates a copy of this state node, where all attributes are copied shallowly, except for theDFAAbstractStateNode.successorsarray, which is deep-copied, and the node ID, which is replaced by the parameter copyID.Methods inherited from class com.oracle.truffle.regex.tregex.nodes.dfa.DFAStateNode
buildFlags, getIndexOfNodeId, getMatchers, getSequentialMatchers, hasBackwardPrefixState, hasIndexOfNodeId, hasLoopToSelf, isAnchoredFinalState, isFinalState, toJson, toString, utf16MustDecodeMethods inherited from class com.oracle.truffle.regex.tregex.nodes.dfa.DFAAbstractStateNode
getId, getSuccessors
-
Constructor Details
-
BackwardDFAStateNode
public BackwardDFAStateNode(short id, byte flags, short loopTransitionIndex, short indexOfNodeId, byte indexOfIsFast, short[] successors, Matchers matchers, DFASimpleCG simpleCG) -
BackwardDFAStateNode
-
-
Method Details
-
createNodeSplitCopy
Description copied from class:DFAAbstractStateNodeCreates a copy of this state node, where all attributes are copied shallowly, except for theDFAAbstractStateNode.successorsarray, which is deep-copied, and the node ID, which is replaced by the parameter copyID. Used byDFANodeSplit.- Overrides:
createNodeSplitCopyin classDFAStateNode- Parameters:
copyID- new ID for the copy.- Returns:
- an "almost shallow" copy of this node.
-