public final class TRegexNFAExecutorLocals extends TRegexExecutorLocals
| Constructor and Description |
|---|
TRegexNFAExecutorLocals(com.oracle.truffle.api.strings.TruffleString input,
int fromIndex,
int index,
int maxIndex,
int nCaptureGroups,
int nStates,
boolean trackLastGroup) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInitialState(int stateId) |
boolean |
curStatesEmpty() |
long[] |
getMarks() |
int[] |
getResult() |
boolean |
hasNext() |
boolean |
hasResult() |
boolean |
isResultPushed() |
int |
next() |
void |
nextState() |
void |
pushResult(NFAStateTransition t,
boolean copy) |
void |
pushSuccessor(NFAStateTransition t,
boolean copy) |
boolean |
successorsEmpty() |
String |
toString() |
getFromIndex, getIndex, getInput, getMaxIndex, getNextIndex, incLoopCount, setIndex, setNextIndexpublic TRegexNFAExecutorLocals(com.oracle.truffle.api.strings.TruffleString input,
int fromIndex,
int index,
int maxIndex,
int nCaptureGroups,
int nStates,
boolean trackLastGroup)
public void addInitialState(int stateId)
public boolean curStatesEmpty()
public boolean successorsEmpty()
public boolean hasNext()
public int next()
public long[] getMarks()
public void pushSuccessor(NFAStateTransition t, boolean copy)
public void nextState()
public void pushResult(NFAStateTransition t, boolean copy)
public boolean hasResult()
public boolean isResultPushed()
public int[] getResult()