Record Class ParserLiteral.WithSuggestions

java.lang.Object
java.lang.Record
dev.jorel.commandapi.arguments.parser.ParserLiteral.WithSuggestions
Record Components:
base - The ParserLiteral that defines the parsing behavior.
suggestions - The SuggestionProvider that will generate the suggestions.
All Implemented Interfaces:
Parser<Result.Void>, ParserLiteral
Enclosing interface:
ParserLiteral

public static record ParserLiteral.WithSuggestions(ParserLiteral base, SuggestionProvider suggestions) extends Record implements ParserLiteral
A ParserLiteral that also places suggestions at the cursor of the StringReader when invoked.