Uses of Interface
net.minecraft.util.packrat.Term
Packages that use Term
-
Uses of Term in net.minecraft.util.packrat
Classes in net.minecraft.util.packrat that implement TermModifier and TypeClassDescriptionstatic classstatic final classprivate static final recordstatic final recordTerm.AlwaysTerm<S,T> static final recordstatic final recordstatic final recordstatic final recordTerm.RepeatedTerm<S,T> static final recordstatic final recordFields in net.minecraft.util.packrat declared as TermModifier and TypeFieldDescriptionParsingRule.SimpleRule.childThe field for thechildrecord component.Term.AnyOfTerm.elementsThe field for theelementsrecord component.Term.SequenceTerm.elementsThe field for theelementsrecord component.Term.RepeatWithSeparatorTerm.separatorThe field for theseparatorrecord component.Term.LookaheadTerm.termThe field for thetermrecord component.Term.OptionalTerm.termThe field for thetermrecord component.Methods in net.minecraft.util.packrat that return TermModifier and TypeMethodDescriptionstatic <S,T> Term <S> static <S> Term<S> static Term<com.mojang.brigadier.StringReader> Literals.character(char c) static Term<com.mojang.brigadier.StringReader> Literals.character(char c1, char c2) ParsingRule.SimpleRule.child()Returns the value of thechildrecord component.static <S> Term<S> Term.cutting()Term.AnyOfTerm.elements()Returns the value of theelementsrecord component.Term.SequenceTerm.elements()Returns the value of theelementsrecord component.static <S> Term<S> Term.epsilon()static <S> Term<S> static <S> Term<S> Term.negativeLookahead(Term<S> term) static <S> Term<S> static <S> Term<S> Term.positiveLookahead(Term<S> term) static <S,T> Term <S> Term.repeated(ParsingRuleEntry<S, T> element, Symbol<List<T>> listName) static <S,T> Term <S> Term.repeated(ParsingRuleEntry<S, T> element, Symbol<List<T>> listName, int minRepetitions) static <S,T> Term <S> Term.repeatWithPossiblyTrailingSeparator(ParsingRuleEntry<S, T> element, Symbol<List<T>> listName, Term<S> separator) static <S,T> Term <S> Term.repeatWithPossiblyTrailingSeparator(ParsingRuleEntry<S, T> element, Symbol<List<T>> listName, Term<S> separator, int minRepetitions) static <S,T> Term <S> Term.repeatWithSeparator(ParsingRuleEntry<S, T> element, Symbol<List<T>> listName, Term<S> separator) static <S,T> Term <S> Term.repeatWithSeparator(ParsingRuleEntry<S, T> element, Symbol<List<T>> listName, Term<S> separator, int minRepetitions) Term.RepeatWithSeparatorTerm.separator()Returns the value of theseparatorrecord component.static <S> Term<S> static Term<com.mojang.brigadier.StringReader> Term.LookaheadTerm.term()Returns the value of thetermrecord component.Term.OptionalTerm.term()Returns the value of thetermrecord component.Methods in net.minecraft.util.packrat with parameters of type TermModifier and TypeMethodDescriptionstatic <S> Term<S> static <S> Term<S> Term.negativeLookahead(Term<S> term) static <S,T> ParsingRule <S, T> ParsingRule.of(Term<S> term, ParsingRule.RuleAction<S, T> action) static <S,T> ParsingRule <S, T> ParsingRule.of(Term<S> term, ParsingRule.StatelessAction<S, T> action) static <S> Term<S> static <S> Term<S> Term.positiveLookahead(Term<S> term) static <S,T> Term <S> Term.repeatWithPossiblyTrailingSeparator(ParsingRuleEntry<S, T> element, Symbol<List<T>> listName, Term<S> separator) static <S,T> Term <S> Term.repeatWithPossiblyTrailingSeparator(ParsingRuleEntry<S, T> element, Symbol<List<T>> listName, Term<S> separator, int minRepetitions) static <S,T> Term <S> Term.repeatWithSeparator(ParsingRuleEntry<S, T> element, Symbol<List<T>> listName, Term<S> separator) static <S,T> Term <S> Term.repeatWithSeparator(ParsingRuleEntry<S, T> element, Symbol<List<T>> listName, Term<S> separator, int minRepetitions) static <S> Term<S> <T> ParsingRuleEntry<S, T> <T> ParsingRuleEntry<S, T> Constructors in net.minecraft.util.packrat with parameters of type TermModifierConstructorDescriptionCreates an instance of aAnyOfTermrecord class.LookaheadTerm(Term<S> term, boolean positive) Creates an instance of aLookaheadTermrecord class.OptionalTerm(Term<S> term) Creates an instance of aOptionalTermrecord class.RepeatWithSeparatorTerm(ParsingRuleEntry<S, T> element, Symbol<List<T>> listName, Term<S> separator, int minRepetitions, boolean allowTrailingSeparator) Creates an instance of aRepeatWithSeparatorTermrecord class.SequenceTerm(Term<S>[] elements) Creates an instance of aSequenceTermrecord class.SimpleRule(ParsingRule.RuleAction<S, T> action, Term<S> child) Creates an instance of aSimpleRulerecord class.