package seedu.tasklist.logic.parser;

import java.util.regex.Pattern;

import seedu.tasklist.logic.parser.ArgumentTokenizer.Prefix;

/**
 * Contains Command Line Interface (CLI) syntax definitions common to multiple commands
 */
public class CliSyntax {

    /* Prefix definitions */
    public static final Prefix PREFIX_DATE = new Prefix("d/");
    public static final Prefix PREFIX_COMMENT = new Prefix("c/");
    public static final Prefix PREFIX_PRIORITY = new Prefix("p/");
    public static final Prefix PREFIX_TAG = new Prefix("t/");


    /* Patterns definitions */
    public static final Pattern KEYWORDS_ARGS_FORMAT =
            Pattern.compile("(?<keywords>\\S+(?:\\s+\\S+)*)"); // one or more keywords separated by whitespace

}

@@ -535,16 +535,217 @@
 (%22t/%22);%0A
+    public static final Prefix PREFIX_NAME = new Prefix(%22n/%22);%0A    public static final Prefix PREFIX_STARTDATE = new Prefix(%22sd/%22);%0A    public static final Prefix PREFIX_ENDDATE = new Prefix(%22ed/%22);%0A%0A%0A
 %0A%0A    /*

Add new Prefix in CliSyntax.java