Class SubCommandArgumentTree<S>
java.lang.Object
io.github.mqzn.commands.base.syntax.tree.SubCommandArgumentTree<S>
This class represents the tree of subcommands arguments relations
it's very beneficial in cases of complex inheritance between subcommands;
while loading/parsing a single subcommand , it's essential to know 2 sets of arguments, which are
the arguments of the subcommand being loaded specifically AND the all arguments related to the subcommand being loaded.
All arguments related to the subcommand are loaded using the parents of this subcommand
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionLinkedList<Argument<?>>
static <S> SubCommandArgumentTree<S>
wrap
(Command<S> command, CommandTree<S> tree)
-
Method Details
-
wrap
-
getSubCommandArguments
-