Class NFAState.Accept

java.lang.Object
icyllis.arc3d.compiler.lex.NFAState.Accept
All Implemented Interfaces:
NFAState
Enclosing interface:
NFAState

public static class NFAState.Accept extends Object implements NFAState
Represents an accepting state - if the NFA ends up in this state, we have successfully matched the token indicated by 'mToken'.
  • Field Details

    • mToken

      public final int mToken
  • Method Details

    • accept

      public boolean accept(char c)
      Specified by:
      accept in interface NFAState
    • next

      public it.unimi.dsi.fastutil.ints.IntList next()
      Specified by:
      next in interface NFAState