Package icyllis.arc3d.compiler.lex

# Interface NFAState

All Known Implementing Classes:
  `NFAState.Accept`, `NFAState.Filter`, `NFAState.Replace`

public interface NFAState

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static class`
  `NFAState.Accept`
  Represents an accepting state - if the NFA ends up in this state, we have successfully matched the token indicated by 'mToken'.
  `static class`
  `NFAState.Filter`
  Matches a character that satisfies a character filter.
  `static class`
  `NFAState.Replace`
  A state which serves as a placeholder for the states indicated in 'mShadow'.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `accept(char c)`
  `static NFAState`
  `Accept(int token)`
  `static NFAState`
  `Filter(IntPredicate filter, @Unmodifiable it.unimi.dsi.fastutil.ints.IntList next)`
  `@Unmodifiable it.unimi.dsi.fastutil.ints.IntList`
  `next()`
  `static NFAState`
  `Replace(@Unmodifiable it.unimi.dsi.fastutil.ints.IntList shadow)`

- ## Method Details

  - ### accept

    boolean accept(char c)

  - ### next

    @Unmodifiable it.unimi.dsi.fastutil.ints.IntList next()

  - ### Accept

    @Nonnull static NFAState Accept(int token)

  - ### Filter

    @Nonnull static NFAState Filter(IntPredicate filter, @Unmodifiable it.unimi.dsi.fastutil.ints.IntList next)

  - ### Replace

    @Nonnull static NFAState Replace(@Unmodifiable it.unimi.dsi.fastutil.ints.IntList shadow)