net.minecraft.util.parsing.packrat

public interface Rule<S, T>

bmq
net.minecraft.util.parsing.packrat.Rule
net.minecraft.class_9396
net.minecraft.command.argument.packrat.ParsingRule
net.minecraft.src.C_313574_
net.minecraft.util.parsing.packrat.Rule

Method summary

Modifier and TypeMethod
Optional<T>
a(bmp<S> arg0)
parse(ParseState<S> arg0)
method_58318(class_9393<S> arg0)
parse(ParsingState<S> state)
m_319437_(C_313745_<S> arg0)
static <S, T> Rule<S, T>
a(bmt<S> arg0, bmq$a<S, T> arg1)
fromTerm(Term<S> arg0, Rule$RuleAction<S, T> arg1)
method_58320(class_9402<S> arg0, class_9396$class_9397<S, T> arg1)
of(Term<S> term, ParsingRule$RuleAction<S, T> action)
m_323835_(C_313597_<S> p_334127_, C_313574_$C_313815_<S, T> p_334890_)
static <S, T> Rule<S, T>
a(bmt<S> arg0, bmq$b<T> arg1)
fromTerm(Term<S> arg0, Rule$SimpleRuleAction<T> arg1)
method_58321(class_9402<S> arg0, class_9396$class_9398<T> arg1)
of(Term<S> term, ParsingRule$StatelessAction<T> action)
m_321433_(C_313597_<S> p_336211_, C_313574_$C_313455_<T> p_332994_)