net.minecraft.util.parsing.packrat

public abstract class ParseState<S>

bmp
net.minecraft.util.parsing.packrat.ParseState
net.minecraft.class_9393
net.minecraft.command.argument.packrat.ParsingState
net.minecraft.src.C_313745_
net.minecraft.util.parsing.packrat.ParseState

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public ErrorCollector<S>
a()
errorCollector()
method_58310()
getErrors()
m_323339_()
public <T> Optional<T>
a(bmk<T> arg0)
parseTopRule(Atom<T> arg0)
method_58312(class_9387<T> arg0)
startParsing(Symbol<T> startSymbol)
m_319664_(C_313419_<T> arg0)
public <T> Optional<T>
b(bmk<T> arg0)
parse(Atom<T> arg0)
method_58316(class_9387<T> arg0)
parse(Symbol<T> symbol)
m_324142_(C_313419_<T> arg0)
private <T> ParseState$CacheEntry<T>
a(bmp$b<T> arg0)
lookupInCache(ParseState$CacheKey<T> arg0)
method_58313(class_9393$class_9395<T> arg0)
getCache(ParsingState$PackratKey<T> key)
m_319809_(C_313745_$C_313397_<T> arg0)
private <T> void
a(bmp$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)
m_323197_(C_313745_$C_313397_<T> p_329813_, Optional<T> arg1)
public abstract S
b()
input()
method_58315()
getReader()
m_322193_()
public abstract int
c()
mark()
method_58317()
getCursor()
m_320129_()
public abstract void
a(int arg0)
restore(int arg0)
method_58311(int arg0)
setCursor(int cursor)
m_321642_(int arg0)