Module brigadier_rs::parsers

source ·
Expand description

Collection of builtin parsers for several basic argument types.

Currently builtin

Currently there are argument type implementations for:

Structs

Boolean argument parser.
Default Then implementation for any argument type.
Default executor for command argument parsers.
Parser that parses a root command followed by " help".
Executor for a custom help message.
Literal argument parser.
Type returned when calling build_exec or build_propagate on a LiteralArgument.
Default Then implementation for argument parsers that return ().
Default executor for LiteralThen.
Numeric argument parser.
Default executor for CommandThen.
Parser wrapper that correctly tries both child parsers.