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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcursor()private voiddiscardErrorsFromShorterParse(int p_335634_) List<ErrorEntry<S>> entries()voidfinish(int p_335534_) voidstore(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, waitMethods 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:
finishin interfaceErrorCollector<S>
-
store
- Specified by:
storein interfaceErrorCollector<S>
-
entries
-
cursor
public int cursor()
-