net.minecraft.util.packrat

public abstract class ParsingStateImpl<S>

implements ParsingState<S>

net.minecraft.util.parsing.packrat.CachedParseState
net.minecraft.class_10832
net.minecraft.util.packrat.ParsingStateImpl

Field summary

Modifier and TypeField
private ParsingStateImpl$MemoizedData[]
positionCache
field_57509
memoStack
private final ParseErrorList<S>
errorCollector
field_57510
errors
private final ParseResults
scope
field_57511
results
private ParsingStateImpl$Cutter[]
controlCache
field_57512
cutters
private int
nextControlToReturn
field_57513
topCutterIndex
private final ParsingStateImpl<S>.ErrorSuppressing
silent
field_57514
errorSuppressingState

Constructor summary

ModifierConstructor
protected (ParseErrorList<S> errors)

Method summary

Modifier and TypeMethod
public ParseResults
scope()
method_68187()
getResults()
public ParseErrorList<S>
errorCollector()
method_58310()
getErrors()
public <T> T
parse(NamedRule<S, T> rule)
method_68188(class_10842<S, T> arg0)
parse(ParsingRuleEntry<S, T> arg0)
private ParsingStateImpl$MemoizedData
getCacheForPosition(int index)
method_68189(int arg0)
pushMemoizedData(int cursor)
public Cut
acquireControl()
method_68190()
pushCutter()
public void
releaseControl()
method_68191()
popCutter()
public ParsingState<S>
silent()
method_68192()
getErrorSuppressingState()