Package icyllis.arc3d.compiler.lex
Interface NFAState
- All Known Implementing Classes:
NFAState.Accept,NFAState.Filter,NFAState.Replace
public interface NFAState
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classRepresents an accepting state - if the NFA ends up in this state, we have successfully matched the token indicated by 'mToken'.static classMatches a character that satisfies a character filter.static classA state which serves as a placeholder for the states indicated in 'mShadow'. -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(char c) static @NonNull NFAStateAccept(int token) static @NonNull NFAStateFilter(IntPredicate filter, @Unmodifiable it.unimi.dsi.fastutil.ints.IntList next) @Unmodifiable it.unimi.dsi.fastutil.ints.IntListnext()static @NonNull NFAStateReplace(@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
-
Filter
static @NonNull NFAState Filter(IntPredicate filter, @Unmodifiable it.unimi.dsi.fastutil.ints.IntList next) -
Replace
-