Class SubcommandParser
java.lang.Object
net.orbyfied.j8.command.annotation.SubcommandParser
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final BaseAnnotationProcessorThe base annotation processor.protected final CommandManagerThe command engine.protected final StringThe raw string to parse.protected final NodeThe root command node. -
Constructor Summary
ConstructorsConstructorDescriptionSubcommandParser(BaseAnnotationProcessor bap, CommandManager engine, Node root, String raw) -
Method Summary
-
Field Details
-
engine
The command engine. -
root
The root command node. -
raw
The raw string to parse. -
bap
The base annotation processor.
-
-
Constructor Details
-
SubcommandParser
-
-
Method Details
-
getEngine
-
getRoot
-
getRaw
-
parse
Parses the descriptor string into an actual node tree, returning the last executable node.- Returns:
- The last executable node.
-