示例#1
0
  /**
   * Interpret what the user had entered
   *
   * @param userInput the input that the user entered which will be decipher into task and command
   * @throws InvalidCommandException
   */
  public ParseResult interpret(String userInput) {

    ParserManager parserManager = new ParserManager();
    return parserManager.interpret(userInput);
  }
示例#2
0
 public DynamicParseResult dynamicParse(String userInput) {
   ParserManager parserManager = new ParserManager();
   return parserManager.dynamicParsing(userInput);
 }