Class NFAState.Replace

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

public static class NFAState.Replace extends Object implements NFAState
A state which serves as a placeholder for the states indicated in 'mShadow'. When we transition to this state, we instead transition to all of the 'mShadow' states.
  • Field Details

    • mShadow

      public final @Unmodifiable it.unimi.dsi.fastutil.ints.IntList mShadow
  • 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