Interface Parser
- All Known Implementing Classes:
Parser.DefaultParser
public interface Parser
Interface to parse command line arguments.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Default implementation of aNodeVisitor
.static class
Default implementation of aParser
.static final record
Results from aParser
containing needed information like resolvedCommandRegistration
, list ofCommandOption
instances, errors and directive. -
Method Summary
-
Method Details
-
parse
Parse given arguments into aParser.ParseResult
.- Parameters:
arguments
- the command line arguments- Returns:
- a parsed results
-