Interface Rule<S,T>
- All Known Implementing Classes:
ComponentPredicateParser.ComponentLookupRule
,ComponentPredicateParser.ElementLookupRule
,ComponentPredicateParser.PredicateLookupRule
,ComponentPredicateParser.TagLookupRule
,ResourceLocationParseRule
,ResourceLookupRule
,Rule.WrappedTerm
,TagParseRule
public interface Rule<S,T>
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
static final record
-
Method Summary
Modifier and TypeMethodDescriptionstatic <S,
T> Rule <S, T> fromTerm
(Term<S> p_335422_, Rule.RuleAction<S, T> p_335862_) static <S,
T> Rule <S, T> fromTerm
(Term<S> p_335465_, Rule.SimpleRuleAction<T> p_336053_) parse
(ParseState<S> p_335819_)
-
Method Details
-
parse
-
fromTerm
-
fromTerm
-