All Classes and Interfaces
Class
Description
Represents a response that is reported via a parser when a mapped key is ambiguous
Argument context is general context for all arguments
Used for all commands and other system like Flag system and compound parser
Retrieves the argument from the context
Maps the command arguments into the parameters required by the sub command
Base class for all parsers
Parse Result is the content of the parsing
Tsb completion result is the content of the tab completion
A token that represents an argument parser.
Represents a root command
Represents the context of a command after it has been processed
The Command lexer tokenize commands, and then we could use it to parse the command
To be implemented by command classes to provide general functionality
Annotations should be annotated with this annotation to specify their underlying factory impl
Represents the context of processing the command's arguments
Annotations should be annotated with this annotation to specify their underlying factory impl
Command token for parsing commands
Command token supplier
CommandTokenType represents the type of command token
Contextual Map-based parser that map of keyword to value
When Map entry not found report
NoSuchElementInMapResponseThis annotation is used to provide a short description for a class or method.
Represents the context in which a command is evaluated and processed during registration.
A generic node interface
Is use for objects that are related to commands or other commands related objects like compound parsers and flags
A parser that parses an integer range
Represents a response that is reported via a parser
A Keyword token that represents an keyword
This annotation is used to provide a long description for a class or method.
Map-based parser that map of keyword to value
When Map entry not found report
NoSuchElementInMapResponse
Unlike ContextualMapBasedParser MapBasedParser doesn't care for contextRepresents a response that is reported via a parser when a mapped key is not found
Parsers that let you press strings that are more than one word and are limited by using quotation marks and has support for new lines
Example
Input
Output
Example
Input
/test Hello\nWorld
Output
Hello
World
A factory associated with specific annotations to create argument parsers based on annotations present in the command class
Represents a parser to be registered
Parser variant is a variant of compound parser
Quoted string parser
Parsers that let you press strings that are more than one word and are limited by using quotation marks
Examples
Input
Input
Examples
Input
/test hello
Output hello
Input
/test "hello world"
Output hello world A register argument parser is a wrapper for an argument parser
Used for registering argument parsers
because we need extra information for register argument parser
Registered variant for a command
Parameter represent a parameter of the command after has been parsed
Represents a requirement to run a command or a sub command, eg a permission, sender type (player / console etc)
Represents the result of a requirement check
This class encapsulates whether a requirement has been met, and optionally provides an error response and additional values if the requirement was met
Represents a value associated with a requirement result.
Immutable set of command requirements
Represents the scope of a parser factory
Represents a command sender
Result of mapping arguments to index
A simple argument parser token is a token that represents an argument parser
A simple command lexer tokenize commands, and then we could use it to parse the command
A simple implementation of
CommandProcessingContextA simple keyword token that represents a keyword
Registers a source parser for a specific method that give that class access to it
Represents a sub command to be registered under a command
This annotation is used to provide a usage for a class or method.
A DTO for commands, a serializable form of commands used to send command definition between applications
Used to construct instances of
VirtualCommandDefinitionRepresents a variant in a virtual command
Specifies metadata for a command or command variant.
Registers a parser for a specific command