Class ErrorCollector.LongestOnly<S>
java.lang.Object
net.minecraft.util.parsing.packrat.ErrorCollector.LongestOnly<S>
- All Implemented Interfaces:
ErrorCollector<S>
- Enclosing interface:
ErrorCollector<S>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.parsing.packrat.ErrorCollector
ErrorCollector.LongestOnly<S>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
cursor()
private void
discardErrorsFromShorterParse
(int p_331637_) List
<ErrorEntry<S>> entries()
void
finish
(int p_334009_) void
store
(int p_331115_, SuggestionSupplier<S> p_329965_, Object p_332125_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.util.parsing.packrat.ErrorCollector
store
-
Field Details
-
entries
-
lastCursor
private int lastCursor
-
-
Constructor Details
-
LongestOnly
public LongestOnly()
-
-
Method Details
-
discardErrorsFromShorterParse
private void discardErrorsFromShorterParse(int p_331637_) -
finish
public void finish(int p_334009_) - Specified by:
finish
in interfaceErrorCollector<S>
-
store
- Specified by:
store
in interfaceErrorCollector<S>
-
entries
-
cursor
public int cursor()
-