/bundles/plugins-trunk/XML/sidekick/ecmascript/parser/EcmaScriptConstants.java
Java | 283 lines | 277 code | 5 blank | 1 comment | 0 complexity | eed87566564f59a15e2c2593e0ec960f MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
- /* Generated By:JJTree&JavaCC: Do not edit this line. EcmaScriptConstants.java */
- package sidekick.ecmascript.parser;
- public interface EcmaScriptConstants {
- int EOF = 0;
- int WHITE_SPACE = 1;
- int TAB = 2;
- int VT = 3;
- int FF = 4;
- int SP = 5;
- int NBSP = 6;
- int USP = 7;
- int LINE_TERMINATOR = 8;
- int LF = 9;
- int CR = 10;
- int LS = 11;
- int PS = 12;
- int SINGLE_LINE_COMMENT = 16;
- int MULTI_LINE_COMMENT = 17;
- int JSP_TAG = 18;
- int BREAK = 20;
- int CONTINUE = 21;
- int DELETE = 22;
- int ELSE = 23;
- int FOR = 24;
- int FUNCTION = 25;
- int IF = 26;
- int IN = 27;
- int NEW = 28;
- int RETURN = 29;
- int THIS = 30;
- int TYPEOF = 31;
- int VAR = 32;
- int VOID = 33;
- int WHILE = 34;
- int WITH = 35;
- int CASE = 36;
- int CATCH = 37;
- int CLASS = 38;
- int CONST = 39;
- int DEBUGGER = 40;
- int _DEFAULT = 41;
- int DO = 42;
- int ENUM = 43;
- int EXPORT = 44;
- int EXTENDS = 45;
- int FINALLY = 46;
- int IMPORT = 47;
- int SUPER = 48;
- int SWITCH = 49;
- int THROW = 50;
- int TRY = 51;
- int LBRACE = 52;
- int RBRACE = 53;
- int LPAREN = 54;
- int RPAREN = 55;
- int LBRACKET = 56;
- int RBRACKET = 57;
- int DOT = 58;
- int SEMICOLON = 59;
- int COMMA = 60;
- int LT = 61;
- int GT = 62;
- int LE = 63;
- int GE = 64;
- int EQ = 65;
- int NE = 66;
- int SEQ = 67;
- int SNEQ = 68;
- int PLUS = 69;
- int MINUS = 70;
- int STAR = 71;
- int REM = 72;
- int INCR = 73;
- int DECR = 74;
- int LSHIFT = 75;
- int RSHIFT = 76;
- int RUNSHIFT = 77;
- int BIT_AND = 78;
- int BIT_OR = 79;
- int XOR = 80;
- int BANG = 81;
- int TILDE = 82;
- int SC_AND = 83;
- int SC_OR = 84;
- int HOOK = 85;
- int COLON = 86;
- int ASSIGN = 87;
- int PLUSASSIGN = 88;
- int MINUSASSIGN = 89;
- int STARASSIGN = 90;
- int REMASSIGN = 91;
- int LSHIFTASSIGN = 92;
- int RSIGNEDSHIFTASSIGN = 93;
- int RUNSIGNEDSHIFTASSIGN = 94;
- int ANDASSIGN = 95;
- int ORASSIGN = 96;
- int XORASSIGN = 97;
- int INTANCE_OF = 98;
- int DECIMAL_LITERAL = 99;
- int NON_ZERO_DIGIT = 100;
- int EXPONENT_PART = 101;
- int DECIMAL_INTEGER_LITERAL = 102;
- int HEX_INTEGER_LITERAL = 103;
- int DECIMAL_DIGITS = 104;
- int DECIMAL_DIGIT = 105;
- int NULL_LITERAL = 106;
- int BOOLEAN_LITERAL = 107;
- int STRING_LITERAL = 108;
- int DOUBLE_STRING_CHARACTERS = 109;
- int SINGLE_STRING_CHARACTERS = 110;
- int DOUBLE_STRING_CHARACTER = 111;
- int SINGLE_STRING_CHARACTER = 112;
- int ESCAPE_SEQUENCE = 113;
- int CHARACTER_ESCAPE_SEQUENCE = 114;
- int SINGLE_ESCAPE_CHARACTER = 115;
- int NON_ESCAPE_CHARACTER = 116;
- int HEX_ESCAPE_SEQUENCE = 117;
- int IDENTIFIER_NAME = 118;
- int IDENTIFIER_START = 119;
- int IDENTIFIER_PART = 120;
- int DOLLAR_SIGN = 121;
- int UNDER_SCORE = 122;
- int UNICODE_LETTER = 123;
- int UNICODE_COMBINING_MARK = 124;
- int MC = 125;
- int MN = 126;
- int UNICODE_DIGIT = 127;
- int UNICODE_CONNECTOR_PUNCTUATION = 128;
- int UNICODE_ESCAPE_SEQUENCE = 129;
- int HEX_DIGIT = 130;
- int SLASHASSIGN = 131;
- int SLASH = 132;
- int REGULAR_EXPRESSION_LITERAL = 133;
- int BACKSLASH_SEQUENCE = 134;
- int DEFAULT = 0;
- int IN_REGEX = 1;
- int IN_SINGLE_LINE_COMMENT = 2;
- int IN_MULTI_LINE_COMMENT = 3;
- int IN_JSP_TAG = 4;
- int IN_PATTERN = 5;
- String[] tokenImage = {
- "<EOF>",
- "<WHITE_SPACE>",
- "<TAB>",
- "\"\\u000b\"",
- "<FF>",
- "<SP>",
- "\"\\u00a0\"",
- "<USP>",
- "<LINE_TERMINATOR>",
- "\"\\n\"",
- "\"\\r\"",
- "\"\\u2028\"",
- "\"\\u2029\"",
- "\"//\"",
- "\"/*\"",
- "\"<%\"",
- "<SINGLE_LINE_COMMENT>",
- "\"*/\"",
- "\"%>\"",
- "<token of kind 19>",
- "\"break\"",
- "\"continue\"",
- "\"delete\"",
- "\"else\"",
- "\"for\"",
- "\"function\"",
- "\"if\"",
- "\"in\"",
- "\"new\"",
- "\"return\"",
- "\"this\"",
- "\"typeof\"",
- "\"var\"",
- "\"void\"",
- "\"while\"",
- "\"with\"",
- "\"case\"",
- "\"catch\"",
- "\"class\"",
- "\"const\"",
- "\"debugger\"",
- "\"default\"",
- "\"do\"",
- "\"enum\"",
- "\"export\"",
- "\"extends\"",
- "\"finally\"",
- "\"import\"",
- "\"super\"",
- "\"switch\"",
- "\"throw\"",
- "\"try\"",
- "\"{\"",
- "\"}\"",
- "\"(\"",
- "\")\"",
- "\"[\"",
- "\"]\"",
- "\".\"",
- "\";\"",
- "\",\"",
- "\"<\"",
- "\">\"",
- "\"<=\"",
- "\">=\"",
- "\"==\"",
- "\"!=\"",
- "\"===\"",
- "\"!==\"",
- "\"+\"",
- "\"-\"",
- "\"*\"",
- "\"%\"",
- "\"++\"",
- "\"--\"",
- "\"<<\"",
- "\">>\"",
- "\">>>\"",
- "\"&\"",
- "\"|\"",
- "\"^\"",
- "\"!\"",
- "\"~\"",
- "\"&&\"",
- "\"||\"",
- "\"?\"",
- "\":\"",
- "\"=\"",
- "\"+=\"",
- "\"-=\"",
- "\"*=\"",
- "\"%=\"",
- "\"<<=\"",
- "\">>=\"",
- "\">>>=\"",
- "\"&=\"",
- "\"|=\"",
- "\"^=\"",
- "\"instanceof\"",
- "<DECIMAL_LITERAL>",
- "<NON_ZERO_DIGIT>",
- "<EXPONENT_PART>",
- "<DECIMAL_INTEGER_LITERAL>",
- "<HEX_INTEGER_LITERAL>",
- "<DECIMAL_DIGITS>",
- "<DECIMAL_DIGIT>",
- "\"null\"",
- "<BOOLEAN_LITERAL>",
- "<STRING_LITERAL>",
- "<DOUBLE_STRING_CHARACTERS>",
- "<SINGLE_STRING_CHARACTERS>",
- "<DOUBLE_STRING_CHARACTER>",
- "<SINGLE_STRING_CHARACTER>",
- "<ESCAPE_SEQUENCE>",
- "<CHARACTER_ESCAPE_SEQUENCE>",
- "<SINGLE_ESCAPE_CHARACTER>",
- "<NON_ESCAPE_CHARACTER>",
- "<HEX_ESCAPE_SEQUENCE>",
- "<IDENTIFIER_NAME>",
- "<IDENTIFIER_START>",
- "<IDENTIFIER_PART>",
- "\"$\"",
- "\"_\"",
- "<UNICODE_LETTER>",
- "<UNICODE_COMBINING_MARK>",
- "<MC>",
- "<MN>",
- "<UNICODE_DIGIT>",
- "<UNICODE_CONNECTOR_PUNCTUATION>",
- "<UNICODE_ESCAPE_SEQUENCE>",
- "<HEX_DIGIT>",
- "\"/=\"",
- "\"/\"",
- "<REGULAR_EXPRESSION_LITERAL>",
- "<BACKSLASH_SEQUENCE>",
- };
- }