public static interface CommandParser.CommandParserResults
CommandParser. Basically contains a list of CommandParser.CommandParserResults.| Modifier and Type | Method and Description |
|---|---|
List<CommandParser.CommandParserException> |
errors()
Gets parsing errors.
|
static CommandParser.CommandParserResults |
of(List<CommandParser.CommandParserResult> results,
List<String> positional,
List<CommandParser.CommandParserException> errors)
Gets an instance of a default
CommandParser.CommandParserResults. |
List<String> |
positional()
Gets the unmapped positional arguments.
|
List<CommandParser.CommandParserResult> |
results()
Gets the results.
|
List<CommandParser.CommandParserResult> results()
List<String> positional()
List<CommandParser.CommandParserException> errors()
static CommandParser.CommandParserResults of(List<CommandParser.CommandParserResult> results, List<String> positional, List<CommandParser.CommandParserException> errors)
CommandParser.CommandParserResults.results - the resultspositional - the list of positional argumentserrors - the parsing errorsCopyright © 2023. All rights reserved.