All Downloads are FREE. Search and download functionalities are using the official Maven repository.

webit.script.core.Tokens Maven / Gradle / Ivy

The newest version!

//----------------------------------------------------
// The following code was generated by CUP v0.12for-WebitScript-only
// Thu Sep 11 20:52:35 CST 2014
//----------------------------------------------------

package webit.script.core;

public interface Tokens {

    /* terminals */
    public static final int EOF = 0;
    public static final int ERROR = 1;
    public static final int VAR = 2;
    public static final int IF = 3;
    public static final int ELSE = 4;
    public static final int FOR = 5;
    public static final int THIS = 6;
    public static final int SUPER = 7;
    public static final int SWITCH = 8;
    public static final int CASE = 9;
    public static final int DEFAULT = 10;
    public static final int DO = 11;
    public static final int WHILE = 12;
    public static final int THROW = 13;
    public static final int TRY = 14;
    public static final int CATCH = 15;
    public static final int FINALLY = 16;
    public static final int NEW = 17;
    public static final int INSTANCEOF = 18;
    public static final int FUNCTION = 19;
    public static final int ECHO = 20;
    public static final int STATIC = 21;
    public static final int NATIVE = 22;
    public static final int IMPORT = 23;
    public static final int INCLUDE = 24;
    public static final int NATIVE_IMPORT = 25;
    public static final int BREAK = 26;
    public static final int CONTINUE = 27;
    public static final int RETURN = 28;
    public static final int PLUSPLUS = 29;
    public static final int MINUSMINUS = 30;
    public static final int PLUS = 31;
    public static final int MINUS = 32;
    public static final int MULT = 33;
    public static final int DIV = 34;
    public static final int MOD = 35;
    public static final int LSHIFT = 36;
    public static final int RSHIFT = 37;
    public static final int URSHIFT = 38;
    public static final int LT = 39;
    public static final int GT = 40;
    public static final int LTEQ = 41;
    public static final int GTEQ = 42;
    public static final int EQEQ = 43;
    public static final int NOTEQ = 44;
    public static final int AND = 45;
    public static final int XOR = 46;
    public static final int OR = 47;
    public static final int COMP = 48;
    public static final int ANDAND = 49;
    public static final int OROR = 50;
    public static final int NOT = 51;
    public static final int QUESTION = 52;
    public static final int QUESTION_COLON = 53;
    public static final int SELFEQ = 54;
    public static final int UMINUS = 55;
    public static final int DOT = 56;
    public static final int COLON = 57;
    public static final int COMMA = 58;
    public static final int SEMICOLON = 59;
    public static final int LBRACE = 60;
    public static final int RBRACE = 61;
    public static final int INTERPOLATION_END = 62;
    public static final int LPAREN = 63;
    public static final int RPAREN = 64;
    public static final int LBRACK = 65;
    public static final int RBRACK = 66;
    public static final int LDEBUG = 67;
    public static final int RDEBUG = 68;
    public static final int LRDEBUG = 69;
    public static final int EQGT = 70;
    public static final int MINUSGT = 71;
    public static final int AT = 72;
    public static final int DOTDOT = 73;
    public static final int EQ = 74;
    public static final int IDENTIFIER = 75;
    public static final int TEXT_STATEMENT = 76;
    public static final int DIRECT_VALUE = 77;
    public static final int CONST = 78;

    /* non terminals */
//    static final int classPureName = 0;
//    static final int className = 1;
//    static final int identiferList = 2;
//    static final int templateAST = 3;
//    static final int statementList = 4;
//    static final int statement = 5;
//    static final int ifStat = 6;
//    static final int block = 7;
//    static final int caseBlockStat = 8;
//    static final int varPart = 9;
//    static final int varAssign = 10;
//    static final int importPart1 = 11;
//    static final int importPart2 = 12;
//    static final int blockPrepare = 13;
//    static final int blockPrepare2 = 14;
//    static final int switchPart = 15;
//    static final int switchPart0 = 16;
//    static final int forInHead = 17;
//    static final int forInBody = 18;
//    static final int forInPart = 19;
//    static final int lambdaForHead = 20;
//    static final int lambdaForHead2 = 21;
//    static final int whilePart = 22;
//    static final int ifPart = 23;
//    static final int expression = 24;
//    static final int expression_statementable = 25;
//    static final int expressionList = 26;
//    static final int expressionList1 = 27;
//    static final int mapValuePart = 28;
//    static final int mapValue = 29;
//    static final int superCount = 30;
//    static final int contextValueExpr = 31;
//    static final int classNameList = 32;
//    static final int classNameList1 = 33;
//    static final int funcExecuteExpr = 34;
//    static final int funcHead = 35;
//    static final int funcStatementHead = 36;
//    static final int lambdaExpr = 37;
//    static final int lambdaExprHead = 38;
//    static final int lambdaForHead1 = 39;
//    static final int lambdaForMapHead1 = 40;
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy