matchAndExecute

Constructs the graph of the given command types, ...

  1. int matchAndExecute(Tokenizer tokenizer, TErrorHandler errorHandler)
    template matchAndExecute(alias bindArgument, alias Graph)
    int
    matchAndExecute
    (
    Tokenizer : ArgTokenizer!T
    T
    TErrorHandler
    )
    (
    scope ref Tokenizer tokenizer
    ,
    scope ref TErrorHandler errorHandler
    )
  2. int matchAndExecute(string[] args)
  3. int matchAndExecute(Tokenizer tokenizer)

Members

Functions

matchAndExecute
int matchAndExecute(Tokenizer tokenizer, TErrorHandler errorHandler)

Forwards.

matchAndExecute
int matchAndExecute(string[] args)

Resolves the invoked command by parsing the arguments array. Executes the onExecute method of any intermediate commands (command groups). Returns the result of the execution, and whether there were errors.

matchAndExecute
int matchAndExecute(Tokenizer tokenizer)

ditto Uses the default error handler.

Meta