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_335634_) List
<ErrorEntry<S>> entries()
void
finish
(int p_335534_) void
store
(int p_335763_, SuggestionSupplier<S> p_336144_, Object p_335736_) 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_335634_) -
finish
public void finish(int p_335534_) - Specified by:
finish
in interfaceErrorCollector<S>
-
store
- Specified by:
store
in interfaceErrorCollector<S>
-
entries
-
cursor
public int cursor()
-