Package com.javacc.core
Class NfaState
java.lang.Object
com.javacc.core.NfaState
- Direct Known Subclasses:
CompositeStateSet
Class representing a single state of a Non-deterministic Finite Automaton (NFA)
Note that any given lexical state is implemented as an NFA.
Thus, any given NfaState object is associated with one lexical state.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanintgetIndex()intintgetType()booleanbooleanoverlaps(Collection<NfaState> states)
-
Method Details
-
getIndex
public int getIndex() -
isComposite
public boolean isComposite() -
getMovesArrayName
-
getMethodName
-
getMoveRanges
-
getAsciiMoveRanges
-
getNonAsciiMoveRanges
-
getHasAsciiMoves
public boolean getHasAsciiMoves() -
getHasNonAsciiMoves
public boolean getHasNonAsciiMoves() -
getOrdinal
public int getOrdinal() -
getType
-
getLexicalState
-
getNextState
-
getNextStateType
-
getNextStateIndex
public int getNextStateIndex() -
getEpsilonMoves
-
getCanonicalState
-
overlaps
-