Class TRegexNFAExecutorLocals
java.lang.Object
com.oracle.truffle.regex.tregex.nodes.TRegexExecutorLocals
com.oracle.truffle.regex.tregex.nodes.nfa.TRegexNFAExecutorLocals
-
Constructor Summary
ConstructorsConstructorDescriptionTRegexNFAExecutorLocals(com.oracle.truffle.api.strings.TruffleString input, int fromIndex, int maxIndex, int regionFrom, int regionTo, int index, int nCaptureGroups, int nStates, boolean trackLastGroup) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInitialState(int stateId) booleanlong[]getMarks()int[]booleanhasNext()booleanbooleanintnext()voidvoidpushResult(NFAStateTransition t, boolean copy) voidpushSuccessor(NFAStateTransition t, boolean copy) booleantoString()Methods inherited from class com.oracle.truffle.regex.tregex.nodes.TRegexExecutorLocals
getFromIndex, getIndex, getInput, getMaxIndex, getNextIndex, getRegionFrom, getRegionTo, incLoopCount, setIndex, setNextIndex
-
Constructor Details
-
TRegexNFAExecutorLocals
public TRegexNFAExecutorLocals(com.oracle.truffle.api.strings.TruffleString input, int fromIndex, int maxIndex, int regionFrom, int regionTo, int index, int nCaptureGroups, int nStates, boolean trackLastGroup)
-
-
Method Details
-
addInitialState
public void addInitialState(int stateId) -
curStatesEmpty
public boolean curStatesEmpty() -
successorsEmpty
public boolean successorsEmpty() -
hasNext
public boolean hasNext() -
next
public int next() -
getMarks
public long[] getMarks() -
pushSuccessor
-
nextState
public void nextState() -
pushResult
-
hasResult
public boolean hasResult() -
isResultPushed
public boolean isResultPushed() -
getResult
public int[] getResult() -
toString
-