Interface Term<S>

All Known Implementing Classes:
StringReaderTerms.TerminalCharacter, StringReaderTerms.TerminalWord, Term.Alternative, Term.Marker, Term.Maybe, Term.Reference, Term.Sequence

public interface Term<S>
  • Method Details

    • parse

      boolean parse(ParseState<S> p_334989_, Scope p_334936_, Control p_335743_)
    • named

      static <S> Term<S> named(Atom<?> p_334806_)
    • marker

      static <S, T> Term<S> marker(Atom<T> p_333477_, T p_335010_)
    • sequence

      @SafeVarargs static <S> Term<S> sequence(Term<S>... p_331306_)
    • alternative

      @SafeVarargs static <S> Term<S> alternative(Term<S>... p_334441_)
    • optional

      static <S> Term<S> optional(Term<S> p_335256_)
    • cut

      static <S> Term<S> cut()
    • empty

      static <S> Term<S> empty()