Record Class ParserArgument.WithSuggestions<T>

java.lang.Object
java.lang.Record
dev.jorel.commandapi.arguments.parser.ParserArgument.WithSuggestions<T>
Type Parameters:
T - The type of object that parse(StringReader) returns.
Record Components:
base - The ParserArgument that defines the parsing behavior.
suggestions - The SuggestionProvider that will generate the suggestions.
All Implemented Interfaces:
Parser<T>, ParserArgument<T>
Enclosing interface:
ParserArgument<T>

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