@@ -0,0 +1,1475 @@
+//@@author A0144939R%0Apackage seedu.task.logic.parser;%0A%0Aimport static seedu.task.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;%0A%0Aimport seedu.task.logic.commands.AliasCommand;%0Aimport seedu.task.logic.commands.Command;%0Aimport seedu.task.logic.commands.IncorrectCommand;%0A%0Apublic class AliasParser extends BaseParser %7B%0A    %0A    private final String FLAG_ALIAS_COMMAND = %22aliasCommand%22;%0A    private final String FLAG_ALIAS_VALUE =%22aliasValue%22;%0A    private final int FLAG_ALIAS_COMMAND_LENGTH = 2;%0A%0A    @Override%0A    public Command parse(String command, String arguments) %7B%0A        this.extractArguments(arguments);%0A        if(getSingleKeywordArgValue(FLAG_ALIAS_COMMAND) != null && getSingleKeywordArgValue(FLAG_ALIAS_VALUE) != null) %7B%0A            return new AliasCommand(getSingleKeywordArgValue(FLAG_ALIAS_COMMAND), getSingleKeywordArgValue(FLAG_ALIAS_VALUE));%0A        %7D else %7B%0A            return new IncorrectCommand(String.format(MESSAGE_INVALID_COMMAND_FORMAT, AliasCommand.MESSAGE_USAGE)); %0A        %7D%0A%0A    %7D%0A    %0A    @Override%0A    protected void extractArguments(String args) %7B%0A        argumentsTable.clear();%0A        String%5B%5D segments = args.trim().split(%22 %22);%0A        if(segments.length == FLAG_ALIAS_COMMAND_LENGTH) %7B%0A            addToArgumentsTable(FLAG_ALIAS_COMMAND, segments%5B0%5D);%0A            addToArgumentsTable(FLAG_ALIAS_VALUE, segments%5B1%5D);%0A        %7D else %7B%0A            //do nothing. The parse method will detect if there's an error.%0A        %7D%0A    %7D%0A    %0A%7D%0A

Implement alias parser