net.minecraft.util.parsing.packrat

public interface Term<S>

bmt
net.minecraft.util.parsing.packrat.Term
net.minecraft.class_9402
net.minecraft.command.argument.packrat.Term
net.minecraft.src.C_313597_
net.minecraft.util.parsing.packrat.Term

Method summary

Modifier and TypeMethod
boolean
a(bmp<S> arg0, bmr arg1, bml arg2)
parse(ParseState<S> arg0, Scope arg1, Control arg2)
method_58334(class_9393<S> arg0, class_9400 arg1, class_9388 arg2)
matches(ParsingState<S> state, ParseResults results, Cut cut)
m_319964_(C_313745_<S> p_334936_, C_313743_ p_335743_, C_313789_ arg2)
static <S> Term<S>
a(bmk<?> arg0)
named(Atom<?> arg0)
method_58332(class_9387<?> arg0)
symbol(Symbol<?> symbol)
m_321288_(C_313419_<?> p_334806_)
static <S, T> Term<S>
a(bmk<T> arg0, T arg1)
marker(Atom<T> arg0, T arg1)
method_58333(class_9387<T> arg0, T arg1)
always(Symbol<T> symbol, T value)
m_324581_(C_313419_<T> p_333477_, T p_335010_)
static <S> Term<S>
a(bmt<S>... arg0)
sequence(Term<S>... arg0)
method_58336(class_9402<S>... arg0)
sequence(Term<S>... terms)
m_322077_(C_313597_<S>... p_331306_)
static <S> Term<S>
b(bmt<S>... arg0)
alternative(Term<S>... arg0)
method_58338(class_9402<S>... arg0)
anyOf(Term<S>... terms)
m_319180_(C_313597_<S>... p_334441_)
static <S> Term<S>
a(bmt<S> arg0)
optional(Term<S> arg0)
method_58335(class_9402<S> arg0)
optional(Term<S> term)
m_325045_(C_313597_<S> p_335256_)
static <S> Term<S>
a()
cut()
method_58331()
cutting()
m_324824_()
static <S> Term<S>
b()
empty()
method_58337()
epsilon()
m_324056_()