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_328307_, ErrorCollector<com.mojang.brigadier.StringReader> p_327936_, com.mojang.brigadier.StringReader p_332446_) -
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_328307_, ErrorCollector<com.mojang.brigadier.StringReader> p_327936_, com.mojang.brigadier.StringReader p_332446_)
-
-
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_331895_) - Specified by:
restore
in classParseState<com.mojang.brigadier.StringReader>
-