Class NfaState

  • Direct Known Subclasses:
    CompositeStateSet

    public class NfaState
    extends Object
    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 Detail

      • getIndex

        public int getIndex()
      • isComposite

        public boolean isComposite()
      • getMovesArrayName

        public String getMovesArrayName()
      • getMethodName

        public String getMethodName()
      • getAsciiMoveRanges

        public List<Integer> getAsciiMoveRanges()
      • getNonAsciiMoveRanges

        public List<Integer> getNonAsciiMoveRanges()
      • getHasAsciiMoves

        public boolean getHasAsciiMoves()
      • getHasNonAsciiMoves

        public boolean getHasNonAsciiMoves()
      • getOrdinal

        public int getOrdinal()
      • getNextState

        public NfaState getNextState()
      • getNextStateIndex

        public int getNextStateIndex()
      • getEpsilonMoves

        public Set<NfaState> getEpsilonMoves()
      • getCanonicalState

        public NfaState getCanonicalState()