Class StringReaderParserState
java.lang.Object
net.minecraft.util.parsing.packrat.ParseState<com.mojang.brigadier.StringReader>
net.minecraft.util.parsing.packrat.commands.StringReaderParserState
-
Field Summary
-
Constructor Summary
ConstructorDescriptionStringReaderParserState
(Dictionary<com.mojang.brigadier.StringReader> p_336091_, ErrorCollector<com.mojang.brigadier.StringReader> p_335915_, com.mojang.brigadier.StringReader p_335601_) -
Method Summary
Methods inherited from class net.minecraft.util.parsing.packrat.ParseState
errorCollector, parse, parseTopRule
-
Field Details
-
input
private final com.mojang.brigadier.StringReader input
-
-
Constructor Details
-
StringReaderParserState
public StringReaderParserState(Dictionary<com.mojang.brigadier.StringReader> p_336091_, ErrorCollector<com.mojang.brigadier.StringReader> p_335915_, com.mojang.brigadier.StringReader p_335601_)
-
-
Method Details
-
input
public com.mojang.brigadier.StringReader input()- Specified by:
input
in classParseState<com.mojang.brigadier.StringReader>
-
mark
public int mark()- Specified by:
mark
in classParseState<com.mojang.brigadier.StringReader>
-
restore
public void restore(int p_335710_) - Specified by:
restore
in classParseState<com.mojang.brigadier.StringReader>
-