net.minecraft.util.parsing.packrat

public abstract class ParseState<S>

box
net.minecraft.util.parsing.packrat.ParseState
net.minecraft.class_9393
net.minecraft.command.argument.packrat.ParsingState
net.minecraft.util.parsing.packrat.ParseState

Field summary

Modifier and TypeField
private final Map<ParseState$CacheKey<?>, ParseState$CacheEntry<?>>
a
ruleCache
field_49963
packrats
private final Dictionary<S>
b
dictionary
field_49964
rules
private final ErrorCollector<S>
c
errorCollector
field_49965
errors

Constructor summary

ModifierConstructor
protected (Dictionary<S> rules, ErrorCollector<S> errors)

Method summary

Modifier and TypeMethod
public ErrorCollector<S>
a()
errorCollector()
method_58310()
getErrors()
public <T> Optional<T>
a(bos<T> arg0)
parseTopRule(Atom<T> arg0)
method_58312(class_9387<T> arg0)
startParsing(Symbol<T> startSymbol)
public <T> Optional<T>
b(bos<T> arg0)
parse(Atom<T> arg0)
method_58316(class_9387<T> arg0)
parse(Symbol<T> symbol)
private <T> ParseState$CacheEntry<T>
a(box$b<T> arg0)
lookupInCache(ParseState$CacheKey<T> arg0)
method_58313(class_9393$class_9395<T> arg0)
getCache(ParsingState$PackratKey<T> key)
private <T> void
a(box$b<T> arg0, Optional<T> arg1)
storeInCache(ParseState$CacheKey<T> arg0, Optional<T> arg1)
method_58314(class_9393$class_9395<T> arg0, Optional<T> arg1)
putCache(ParsingState$PackratKey<T> key, Optional<T> value)
public abstract S
b()
input()
method_58315()
getReader()
public abstract int
c()
mark()
method_58317()
getCursor()
public abstract void
a(int arg0)
restore(int arg0)
method_58311(int arg0)
setCursor(int cursor)