net.minecraft.util.parsing.packrat.commands

public record Grammar<T>

bpc
net.minecraft.util.parsing.packrat.commands.Grammar
net.minecraft.class_9408
net.minecraft.command.argument.packrat.ArgumentParser
net.minecraft.util.parsing.packrat.commands.Grammar

Field summary

Modifier and TypeField
private final Dictionary<com.mojang.brigadier.StringReader>
a
rules
comp_2484
rules
private final Atom<T>
b
top
comp_2485
top

Constructor summary

ModifierConstructor
public (Dictionary<com.mojang.brigadier.StringReader> arg0, Atom<T> arg1)

Method summary

Modifier and TypeMethod
public Optional<T>
a(box<com.mojang.brigadier.StringReader> arg0)
parse(ParseState<com.mojang.brigadier.StringReader> arg0)
method_58340(class_9393<com.mojang.brigadier.StringReader> arg0)
startParsing(ParsingState<com.mojang.brigadier.StringReader> state)
public T
a(com.mojang.brigadier.StringReader arg0)
parseForCommands(com.mojang.brigadier.StringReader arg0)
method_58341(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
parseForSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
method_58342(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
listSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
public Dictionary<com.mojang.brigadier.StringReader>
a()
rules()
comp_2484()
rules()
public Atom<T>
b()
top()
comp_2485()
top()