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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
static interface
static final record
-
Method Summary
Modifier and TypeMethodDescriptionstatic <S,
T> Rule <S, T> fromTerm
(Term<S> pChild, Rule.RuleAction<S, T> pAction) static <S,
T> Rule <S, T> fromTerm
(Term<S> pChild, Rule.SimpleRuleAction<T> pAction) parse
(ParseState<S> pParseState)
-
Method Details
-
parse
-
fromTerm
-
fromTerm
-