300 lines
5.5 KiB
Java
300 lines
5.5 KiB
Java
/* Generated By:JavaCC: Do not edit this line. CSJavaCCParserConstants.java */
|
|
/**
|
|
* This file contains the code for CSJavaCCParser generated
|
|
* by CSJavaCCParser itself.
|
|
*/
|
|
|
|
package csjavacc.parser;
|
|
|
|
public interface CSJavaCCParserConstants {
|
|
|
|
int EOF = 0;
|
|
int _OPTIONS = 1;
|
|
int _LOOKAHEAD = 2;
|
|
int _IGNORE_CASE = 3;
|
|
int _PARSER_BEGIN = 4;
|
|
int _PARSER_END = 5;
|
|
int _CSCODE = 6;
|
|
int _TOKEN = 7;
|
|
int _SPECIAL_TOKEN = 8;
|
|
int _MORE = 9;
|
|
int _SKIP = 10;
|
|
int _TOKEN_MGR_DECLS = 11;
|
|
int _EOF = 12;
|
|
int SINGLE_LINE_COMMENT = 23;
|
|
int PRAGMA = 24;
|
|
int FORMAL_COMMENT = 25;
|
|
int MULTI_LINE_COMMENT = 26;
|
|
int ABSTRACT = 28;
|
|
int BOOLEAN = 29;
|
|
int BREAK = 30;
|
|
int BYTE = 31;
|
|
int CASE = 32;
|
|
int CATCH = 33;
|
|
int CHAR = 34;
|
|
int CLASS = 35;
|
|
int CONST = 36;
|
|
int CONTINUE = 37;
|
|
int _DEFAULT = 38;
|
|
int DO = 39;
|
|
int DOUBLE = 40;
|
|
int ELSE = 41;
|
|
int ENUM = 42;
|
|
int FALSE = 43;
|
|
int OVERRIDE = 44;
|
|
int FLOAT = 45;
|
|
int FOR = 46;
|
|
int GOTO = 47;
|
|
int IF = 48;
|
|
int IMPORT = 49;
|
|
int INT = 50;
|
|
int INTERFACE = 51;
|
|
int LONG = 52;
|
|
int NEW = 53;
|
|
int NULL = 54;
|
|
int NAMESPACE = 55;
|
|
int OUT = 56;
|
|
int PRIVATE = 57;
|
|
int PROTECTED = 58;
|
|
int PUBLIC = 59;
|
|
int REF = 60;
|
|
int RETURN = 61;
|
|
int SHORT = 62;
|
|
int STATIC = 63;
|
|
int BASE = 64;
|
|
int SWITCH = 65;
|
|
int THIS = 66;
|
|
int THROW = 67;
|
|
int TRUE = 68;
|
|
int TRY = 69;
|
|
int VOID = 70;
|
|
int WHILE = 71;
|
|
int FOREACH = 72;
|
|
int PARTIAL = 73;
|
|
int YIELD = 74;
|
|
int INTERNAL = 75;
|
|
int DELEGATE = 76;
|
|
int READONLY = 77;
|
|
int FIXED = 78;
|
|
int UNSAFE = 79;
|
|
int VAR = 80;
|
|
int INTEGER_LITERAL = 81;
|
|
int DECIMAL_LITERAL = 82;
|
|
int HEX_LITERAL = 83;
|
|
int OCTAL_LITERAL = 84;
|
|
int FLOATING_POINT_LITERAL = 85;
|
|
int DECIMAL_FLOATING_POINT_LITERAL = 86;
|
|
int DECIMAL_EXPONENT = 87;
|
|
int HEXADECIMAL_FLOATING_POINT_LITERAL = 88;
|
|
int HEXADECIMAL_EXPONENT = 89;
|
|
int CHARACTER_LITERAL = 90;
|
|
int STRING_LITERAL = 91;
|
|
int LPAREN = 92;
|
|
int RPAREN = 93;
|
|
int LBRACE = 94;
|
|
int RBRACE = 95;
|
|
int LBRACKET = 96;
|
|
int RBRACKET = 97;
|
|
int SEMICOLON = 98;
|
|
int COMMA = 99;
|
|
int DOT = 100;
|
|
int ASSIGN = 101;
|
|
int LT = 102;
|
|
int BANG = 103;
|
|
int TILDE = 104;
|
|
int HOOK = 105;
|
|
int COLON = 106;
|
|
int EQ = 107;
|
|
int LE = 108;
|
|
int GE = 109;
|
|
int NE = 110;
|
|
int SC_OR = 111;
|
|
int SC_AND = 112;
|
|
int INCR = 113;
|
|
int DECR = 114;
|
|
int PLUS = 115;
|
|
int MINUS = 116;
|
|
int STAR = 117;
|
|
int SLASH = 118;
|
|
int BIT_AND = 119;
|
|
int BIT_OR = 120;
|
|
int XOR = 121;
|
|
int REM = 122;
|
|
int PLUSASSIGN = 123;
|
|
int MINUSASSIGN = 124;
|
|
int STARASSIGN = 125;
|
|
int SLASHASSIGN = 126;
|
|
int ANDASSIGN = 127;
|
|
int ORASSIGN = 128;
|
|
int XORASSIGN = 129;
|
|
int REMASSIGN = 130;
|
|
int RUNSIGNEDSHIFT = 131;
|
|
int RSIGNEDSHIFT = 132;
|
|
int GT = 133;
|
|
int LANGLE = 102;
|
|
int RANGLE = 133;
|
|
int IDENTIFIER = 146;
|
|
int LETTER = 147;
|
|
int PART_LETTER = 148;
|
|
|
|
int DEFAULT = 0;
|
|
int AFTER_EGEN = 1;
|
|
int IN_SINGLE_LINE_COMMENT = 2;
|
|
int IN_PRAGMA = 3;
|
|
int IN_FORMAL_COMMENT = 4;
|
|
int IN_MULTI_LINE_COMMENT = 5;
|
|
|
|
String[] tokenImage = {
|
|
"<EOF>",
|
|
"\"options\"",
|
|
"\"LOOKAHEAD\"",
|
|
"\"IGNORE_CASE\"",
|
|
"\"PARSER_BEGIN\"",
|
|
"\"PARSER_END\"",
|
|
"\"CSCODE\"",
|
|
"\"TOKEN\"",
|
|
"\"SPECIAL_TOKEN\"",
|
|
"\"MORE\"",
|
|
"\"SKIP\"",
|
|
"\"TOKEN_MGR_DECLS\"",
|
|
"\"EOF\"",
|
|
"\" \"",
|
|
"\"\\t\"",
|
|
"\"\\n\"",
|
|
"\"\\r\"",
|
|
"\"\\f\"",
|
|
"<token of kind 18>",
|
|
"\"//\"",
|
|
"<token of kind 20>",
|
|
"\"/*\"",
|
|
"<token of kind 22>",
|
|
"<SINGLE_LINE_COMMENT>",
|
|
"<PRAGMA>",
|
|
"\"*/\"",
|
|
"\"*/\"",
|
|
"<token of kind 27>",
|
|
"\"abstract\"",
|
|
"\"bool\"",
|
|
"\"break\"",
|
|
"\"byte\"",
|
|
"\"case\"",
|
|
"\"catch\"",
|
|
"\"char\"",
|
|
"\"class\"",
|
|
"\"const\"",
|
|
"\"continue\"",
|
|
"\"default\"",
|
|
"\"do\"",
|
|
"\"double\"",
|
|
"\"else\"",
|
|
"\"enum\"",
|
|
"\"false\"",
|
|
"\"override\"",
|
|
"\"single\"",
|
|
"\"for\"",
|
|
"\"goto\"",
|
|
"\"if\"",
|
|
"\"using\"",
|
|
"\"int\"",
|
|
"\"interface\"",
|
|
"\"long\"",
|
|
"\"new\"",
|
|
"\"null\"",
|
|
"\"namespace\"",
|
|
"\"out\"",
|
|
"\"private\"",
|
|
"\"protected\"",
|
|
"\"public\"",
|
|
"\"ref\"",
|
|
"\"return\"",
|
|
"\"short\"",
|
|
"\"static\"",
|
|
"\"base\"",
|
|
"\"switch\"",
|
|
"\"this\"",
|
|
"\"throw\"",
|
|
"\"true\"",
|
|
"\"try\"",
|
|
"\"void\"",
|
|
"\"while\"",
|
|
"\"foreach\"",
|
|
"\"partial\"",
|
|
"\"yield\"",
|
|
"\"internal\"",
|
|
"\"delegate\"",
|
|
"\"readonly\"",
|
|
"\"fixed\"",
|
|
"\"unsafe\"",
|
|
"\"var\"",
|
|
"<INTEGER_LITERAL>",
|
|
"<DECIMAL_LITERAL>",
|
|
"<HEX_LITERAL>",
|
|
"<OCTAL_LITERAL>",
|
|
"<FLOATING_POINT_LITERAL>",
|
|
"<DECIMAL_FLOATING_POINT_LITERAL>",
|
|
"<DECIMAL_EXPONENT>",
|
|
"<HEXADECIMAL_FLOATING_POINT_LITERAL>",
|
|
"<HEXADECIMAL_EXPONENT>",
|
|
"<CHARACTER_LITERAL>",
|
|
"<STRING_LITERAL>",
|
|
"\"(\"",
|
|
"\")\"",
|
|
"\"{\"",
|
|
"\"}\"",
|
|
"\"[\"",
|
|
"\"]\"",
|
|
"\";\"",
|
|
"\",\"",
|
|
"\".\"",
|
|
"\"=\"",
|
|
"\"<\"",
|
|
"\"!\"",
|
|
"\"~\"",
|
|
"\"?\"",
|
|
"\":\"",
|
|
"\"==\"",
|
|
"\"<=\"",
|
|
"\">=\"",
|
|
"\"!=\"",
|
|
"\"||\"",
|
|
"\"&&\"",
|
|
"\"++\"",
|
|
"\"--\"",
|
|
"\"+\"",
|
|
"\"-\"",
|
|
"\"*\"",
|
|
"\"/\"",
|
|
"\"&\"",
|
|
"\"|\"",
|
|
"\"^\"",
|
|
"\"%\"",
|
|
"\"+=\"",
|
|
"\"-=\"",
|
|
"\"*=\"",
|
|
"\"/=\"",
|
|
"\"&=\"",
|
|
"\"|=\"",
|
|
"\"^=\"",
|
|
"\"%=\"",
|
|
"\">>>\"",
|
|
"\">>\"",
|
|
"\">\"",
|
|
"\"#\"",
|
|
"\"get\"",
|
|
"\"set\"",
|
|
"\"...\"",
|
|
"\"<<=\"",
|
|
"\">>=\"",
|
|
"\">>>=\"",
|
|
"\"is\"",
|
|
"\"<<\"",
|
|
"\"lock\"",
|
|
"\"in\"",
|
|
"\"finally\"",
|
|
"<IDENTIFIER>",
|
|
"<LETTER>",
|
|
"<PART_LETTER>",
|
|
};
|
|
|
|
}
|