Class GreedyPatternParseRule
java.lang.Object
net.minecraft.util.parsing.packrat.commands.GreedyPatternParseRule
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.parsing.packrat.Rule
Rule.RuleAction<S,
T>, Rule.SimpleRuleAction<S, T>, Rule.WrappedTerm<S, T> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DelayedException
<com.mojang.brigadier.exceptions.CommandSyntaxException> private final Pattern
-
Constructor Summary
ConstructorsConstructorDescriptionGreedyPatternParseRule
(Pattern pPattern, DelayedException<com.mojang.brigadier.exceptions.CommandSyntaxException> pError) -
Method Summary
Modifier and TypeMethodDescriptionparse
(ParseState<com.mojang.brigadier.StringReader> pParseState)
-
Field Details
-
pattern
-
error
-
-
Constructor Details
-
GreedyPatternParseRule
public GreedyPatternParseRule(Pattern pPattern, DelayedException<com.mojang.brigadier.exceptions.CommandSyntaxException> pError)
-
-
Method Details