Interface Term<S>
- All Known Implementing Classes:
Dictionary.Reference
,StringReaderTerms.TerminalCharacters
,StringReaderTerms.TerminalWord
,Term.Alternative
,Term.LookAhead
,Term.Marker
,Term.Maybe
,Term.Repeated
,Term.RepeatedWithSeparator
,Term.Sequence
public interface Term<S>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record
static final record
static final record
static final record
static final record
static final record
static final record
-
Method Summary
Modifier and TypeMethodDescriptionstatic <S> Term
<S> alternative
(Term<S>... pElements) static <S> Term
<S> cut()
static <S> Term
<S> empty()
static <S> Term
<S> static <S,
T> Term <S> static <S> Term
<S> negativeLookahead
(Term<S> pTerm) static <S> Term
<S> boolean
parse
(ParseState<S> pParseState, Scope pScope, Control pControl) static <S> Term
<S> positiveLookahead
(Term<S> pTerm) static <S,
T> Term <S> static <S,
T> Term <S> static <S,
T> Term <S> repeatedWithoutTrailingSeparator
(NamedRule<S, T> pElement, Atom<List<T>> pListName, Term<S> pSeperator) static <S,
T> Term <S> repeatedWithoutTrailingSeparator
(NamedRule<S, T> pElement, Atom<List<T>> pListName, Term<S> pSeperator, int pMinRepetitions) static <S,
T> Term <S> repeatedWithTrailingSeparator
(NamedRule<S, T> pElement, Atom<List<T>> pListName, Term<S> pSeparator) static <S,
T> Term <S> repeatedWithTrailingSeparator
(NamedRule<S, T> pElement, Atom<List<T>> pListName, Term<S> pSeperator, int pMinRepetitions) static <S> Term
<S>
-
Method Details
-
parse
-
marker
-
sequence
-
alternative
-
optional
-
repeated
-
repeated
-
repeatedWithTrailingSeparator
-
repeatedWithTrailingSeparator
-
repeatedWithoutTrailingSeparator
-
repeatedWithoutTrailingSeparator
-
positiveLookahead
-
negativeLookahead
-
cut
-
empty
-
fail
-