Uses of Class
eu.bandm.tools.lexic.NAutomaton
-
Uses of NAutomaton in eu.bandm.tools.lexic
Modifier and TypeMethodDescriptionNAutomaton.complement
(V negValue) Returns an automaton that differs from this automaton by switching accepted and rejected inputs.static <V> NAutomaton<V>
NAutomaton.consume
(int codePoint, NAutomaton<V> next) Returns an automaton that accepts only a given input code point and then behaves like a given automaton.static <V> NAutomaton<V>
NAutomaton.consume
(String text, NAutomaton<V> next) Returns an automaton that accepts only a given sequence of input code point and then behaves like a given automaton.static <V> NAutomaton<V>
NAutomaton.consumeAnyOf
(int[] codePoints, NAutomaton<V> next) Returns an automaton that accepts any one of some given input code points and then behaves like a given automaton.static <V> NAutomaton<V>
NAutomaton.consumeExcept
(int[] codePoints, NAutomaton<V> next) Returns an automaton that accepts any one except some given input code points and then behaves like a given automaton.NAutomaton.copy()
Returns an automaton that is equivalent to this automaton, but uses a set of fresh states.(package private) NAutomaton<V>
NAutomaton.copyPartial
(Predicate<? super Automaton.State> mustCopy) Returns an automaton that is equivalent to this automaton, but uses fresh states as required.<W> NAutomaton<W>
NAutomaton.disjoin
(NAutomaton<W> aut) static <V> NAutomaton<V>
NAutomaton.empty()
Returns an automaton that accepts no input.<W> NAutomaton<W>
NAutomaton.flatMap
(Function<? super V, NAutomaton<W>> fun) Returns an automaton that differs from this automaton by having each label value expanded into a subautomaton.TokenFragment.getImplementation()
Returns the accepting automaton that implements this fragment.(package private) NAutomaton<T>
TokenRule.getImplementation()
Returns the automaton that implements the syntax fragment of this rule.NAutomaton.loop()
Returns an automaton that differs from this automaton by restarting from every accepting state.Returns an automaton that differs from this automaton by restarting every state with a selected value.<W> NAutomaton<W>
Returns an automaton that differs from this automaton by having a function applied to all values.DAutomaton.nondeterminate()
Returns a nondeterministic automaton that is equivalent to this automaton.static <V> NAutomaton<V>
NAutomaton.of
(V value) Returns an automaton that accepts an input of length zero with the given value.(package private) NAutomaton<V>
NAutomaton.orElse
(NAutomaton<V> other) Returns an automaton that combines the successful transitions and value sets of this and another automaton.NAutomaton.prune()
static <V> NAutomaton<V>
NAutomaton.union
(NAutomaton<V>... parts) static <V> NAutomaton<V>
NAutomaton.union
(Collection<NAutomaton<V>> parts) Returns an automaton that combines the successful transitions and value sets of the given automata.Modifier and TypeMethodDescriptionstatic <V> NAutomaton<V>
NAutomaton.consume
(int codePoint, NAutomaton<V> next) Returns an automaton that accepts only a given input code point and then behaves like a given automaton.static <V> NAutomaton<V>
NAutomaton.consume
(String text, NAutomaton<V> next) Returns an automaton that accepts only a given sequence of input code point and then behaves like a given automaton.static <V> NAutomaton<V>
NAutomaton.consumeAnyOf
(int[] codePoints, NAutomaton<V> next) Returns an automaton that accepts any one of some given input code points and then behaves like a given automaton.static <V> NAutomaton<V>
NAutomaton.consumeExcept
(int[] codePoints, NAutomaton<V> next) Returns an automaton that accepts any one except some given input code points and then behaves like a given automaton.<W> NAutomaton<W>
NAutomaton.disjoin
(NAutomaton<W> aut) (package private) NAutomaton<V>
NAutomaton.orElse
(NAutomaton<V> other) Returns an automaton that combines the successful transitions and value sets of this and another automaton.static <V> NAutomaton<V>
NAutomaton.union
(NAutomaton<V>... parts) Modifier and TypeMethodDescription<W> NAutomaton<W>
NAutomaton.flatMap
(Function<? super V, NAutomaton<W>> fun) Returns an automaton that differs from this automaton by having each label value expanded into a subautomaton.static <V> NAutomaton<V>
NAutomaton.union
(Collection<NAutomaton<V>> parts) Returns an automaton that combines the successful transitions and value sets of the given automata.