public final class DFANodeSplit extends Object implements StateIndex<com.oracle.truffle.regex.tregex.nodesplitter.GraphNode>
| Modifier and Type | Field and Description |
|---|---|
static int |
EXTRA_INITIAL_CAPACITY |
| Modifier and Type | Method and Description |
|---|---|
void |
addGraphNode(com.oracle.truffle.regex.tregex.nodesplitter.GraphNode graphNode) |
static DFAAbstractStateNode[] |
createReducibleGraph(DFAAbstractStateNode[] nodes) |
static DFAAbstractStateNode[] |
createReducibleGraphAndUpdateDFAGen(DFAGenerator dfaGen,
DFAAbstractStateNode[] nodes) |
int |
getId(com.oracle.truffle.regex.tregex.nodesplitter.GraphNode state) |
int |
getNumberOfStates() |
com.oracle.truffle.regex.tregex.nodesplitter.GraphNode |
getState(int id) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEmptypublic static final int EXTRA_INITIAL_CAPACITY
public void addGraphNode(com.oracle.truffle.regex.tregex.nodesplitter.GraphNode graphNode)
public static DFAAbstractStateNode[] createReducibleGraph(DFAAbstractStateNode[] nodes) throws DFANodeSplitBailoutException
DFANodeSplitBailoutExceptionpublic static DFAAbstractStateNode[] createReducibleGraphAndUpdateDFAGen(DFAGenerator dfaGen, DFAAbstractStateNode[] nodes) throws DFANodeSplitBailoutException
DFANodeSplitBailoutExceptionpublic int getNumberOfStates()
getNumberOfStates in interface StateIndex<com.oracle.truffle.regex.tregex.nodesplitter.GraphNode>public int getId(com.oracle.truffle.regex.tregex.nodesplitter.GraphNode state)
getId in interface StateIndex<com.oracle.truffle.regex.tregex.nodesplitter.GraphNode>public com.oracle.truffle.regex.tregex.nodesplitter.GraphNode getState(int id)
getState in interface StateIndex<com.oracle.truffle.regex.tregex.nodesplitter.GraphNode>