Class SubcommandParser

java.lang.Object
net.orbyfied.j8.command.annotation.SubcommandParser

public class SubcommandParser extends Object
  • Field Details

    • engine

      protected final CommandEngine engine
      The command engine.
    • root

      protected final Node root
      The root command node.
    • raw

      protected final String raw
      The raw string to parse.
    • bap

      protected final BaseAnnotationProcessor bap
      The base annotation processor.
  • Constructor Details

  • Method Details

    • getEngine

      public CommandEngine getEngine()
    • getRoot

      public Node getRoot()
    • getRaw

      public String getRaw()
    • parse

      public Node parse()
      Parses the descriptor string into an actual node tree, returning the last executable node.
      Returns:
      The last executable node.