Uses of Class
eu.bandm.tools.lexic.NAutomaton

Packages that use NAutomaton
Package
Description
Toolkit for the dynamic construction of lexical analyzers.
  • Uses of NAutomaton in eu.bandm.tools.lexic

    Methods in eu.bandm.tools.lexic that return NAutomaton
    Modifier and Type
    Method
    Description
    NAutomaton.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.
    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.
    NAutomaton.loop(Predicate<? super V> pred)
    Returns an automaton that differs from this automaton by restarting every state with a selected value.
    <W> NAutomaton<W>
    NAutomaton.map(Function<? super V,? extends W> fun)
    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.
    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.
    Methods in eu.bandm.tools.lexic with parameters of type NAutomaton
    Modifier and Type
    Method
    Description
    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.
    (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.
    Method parameters in eu.bandm.tools.lexic with type arguments of type NAutomaton
    Modifier and Type
    Method
    Description
    <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.