PageRenderTime 68ms CodeModel.GetById 56ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 0ms

/bundles/plugins-trunk/XML/sidekick/ecmascript/parser/EcmaScriptConstants.java

#
Java | 283 lines | 277 code | 5 blank | 1 comment | 0 complexity | eed87566564f59a15e2c2593e0ec960f MD5 | raw file
  1/* Generated By:JJTree&JavaCC: Do not edit this line. EcmaScriptConstants.java */
  2package sidekick.ecmascript.parser;
  3
  4public interface EcmaScriptConstants {
  5
  6  int EOF = 0;
  7  int WHITE_SPACE = 1;
  8  int TAB = 2;
  9  int VT = 3;
 10  int FF = 4;
 11  int SP = 5;
 12  int NBSP = 6;
 13  int USP = 7;
 14  int LINE_TERMINATOR = 8;
 15  int LF = 9;
 16  int CR = 10;
 17  int LS = 11;
 18  int PS = 12;
 19  int SINGLE_LINE_COMMENT = 16;
 20  int MULTI_LINE_COMMENT = 17;
 21  int JSP_TAG = 18;
 22  int BREAK = 20;
 23  int CONTINUE = 21;
 24  int DELETE = 22;
 25  int ELSE = 23;
 26  int FOR = 24;
 27  int FUNCTION = 25;
 28  int IF = 26;
 29  int IN = 27;
 30  int NEW = 28;
 31  int RETURN = 29;
 32  int THIS = 30;
 33  int TYPEOF = 31;
 34  int VAR = 32;
 35  int VOID = 33;
 36  int WHILE = 34;
 37  int WITH = 35;
 38  int CASE = 36;
 39  int CATCH = 37;
 40  int CLASS = 38;
 41  int CONST = 39;
 42  int DEBUGGER = 40;
 43  int _DEFAULT = 41;
 44  int DO = 42;
 45  int ENUM = 43;
 46  int EXPORT = 44;
 47  int EXTENDS = 45;
 48  int FINALLY = 46;
 49  int IMPORT = 47;
 50  int SUPER = 48;
 51  int SWITCH = 49;
 52  int THROW = 50;
 53  int TRY = 51;
 54  int LBRACE = 52;
 55  int RBRACE = 53;
 56  int LPAREN = 54;
 57  int RPAREN = 55;
 58  int LBRACKET = 56;
 59  int RBRACKET = 57;
 60  int DOT = 58;
 61  int SEMICOLON = 59;
 62  int COMMA = 60;
 63  int LT = 61;
 64  int GT = 62;
 65  int LE = 63;
 66  int GE = 64;
 67  int EQ = 65;
 68  int NE = 66;
 69  int SEQ = 67;
 70  int SNEQ = 68;
 71  int PLUS = 69;
 72  int MINUS = 70;
 73  int STAR = 71;
 74  int REM = 72;
 75  int INCR = 73;
 76  int DECR = 74;
 77  int LSHIFT = 75;
 78  int RSHIFT = 76;
 79  int RUNSHIFT = 77;
 80  int BIT_AND = 78;
 81  int BIT_OR = 79;
 82  int XOR = 80;
 83  int BANG = 81;
 84  int TILDE = 82;
 85  int SC_AND = 83;
 86  int SC_OR = 84;
 87  int HOOK = 85;
 88  int COLON = 86;
 89  int ASSIGN = 87;
 90  int PLUSASSIGN = 88;
 91  int MINUSASSIGN = 89;
 92  int STARASSIGN = 90;
 93  int REMASSIGN = 91;
 94  int LSHIFTASSIGN = 92;
 95  int RSIGNEDSHIFTASSIGN = 93;
 96  int RUNSIGNEDSHIFTASSIGN = 94;
 97  int ANDASSIGN = 95;
 98  int ORASSIGN = 96;
 99  int XORASSIGN = 97;
100  int INTANCE_OF = 98;
101  int DECIMAL_LITERAL = 99;
102  int NON_ZERO_DIGIT = 100;
103  int EXPONENT_PART = 101;
104  int DECIMAL_INTEGER_LITERAL = 102;
105  int HEX_INTEGER_LITERAL = 103;
106  int DECIMAL_DIGITS = 104;
107  int DECIMAL_DIGIT = 105;
108  int NULL_LITERAL = 106;
109  int BOOLEAN_LITERAL = 107;
110  int STRING_LITERAL = 108;
111  int DOUBLE_STRING_CHARACTERS = 109;
112  int SINGLE_STRING_CHARACTERS = 110;
113  int DOUBLE_STRING_CHARACTER = 111;
114  int SINGLE_STRING_CHARACTER = 112;
115  int ESCAPE_SEQUENCE = 113;
116  int CHARACTER_ESCAPE_SEQUENCE = 114;
117  int SINGLE_ESCAPE_CHARACTER = 115;
118  int NON_ESCAPE_CHARACTER = 116;
119  int HEX_ESCAPE_SEQUENCE = 117;
120  int IDENTIFIER_NAME = 118;
121  int IDENTIFIER_START = 119;
122  int IDENTIFIER_PART = 120;
123  int DOLLAR_SIGN = 121;
124  int UNDER_SCORE = 122;
125  int UNICODE_LETTER = 123;
126  int UNICODE_COMBINING_MARK = 124;
127  int MC = 125;
128  int MN = 126;
129  int UNICODE_DIGIT = 127;
130  int UNICODE_CONNECTOR_PUNCTUATION = 128;
131  int UNICODE_ESCAPE_SEQUENCE = 129;
132  int HEX_DIGIT = 130;
133  int SLASHASSIGN = 131;
134  int SLASH = 132;
135  int REGULAR_EXPRESSION_LITERAL = 133;
136  int BACKSLASH_SEQUENCE = 134;
137
138  int DEFAULT = 0;
139  int IN_REGEX = 1;
140  int IN_SINGLE_LINE_COMMENT = 2;
141  int IN_MULTI_LINE_COMMENT = 3;
142  int IN_JSP_TAG = 4;
143  int IN_PATTERN = 5;
144
145  String[] tokenImage = {
146    "<EOF>",
147    "<WHITE_SPACE>",
148    "<TAB>",
149    "\"\\u000b\"",
150    "<FF>",
151    "<SP>",
152    "\"\\u00a0\"",
153    "<USP>",
154    "<LINE_TERMINATOR>",
155    "\"\\n\"",
156    "\"\\r\"",
157    "\"\\u2028\"",
158    "\"\\u2029\"",
159    "\"//\"",
160    "\"/*\"",
161    "\"<%\"",
162    "<SINGLE_LINE_COMMENT>",
163    "\"*/\"",
164    "\"%>\"",
165    "<token of kind 19>",
166    "\"break\"",
167    "\"continue\"",
168    "\"delete\"",
169    "\"else\"",
170    "\"for\"",
171    "\"function\"",
172    "\"if\"",
173    "\"in\"",
174    "\"new\"",
175    "\"return\"",
176    "\"this\"",
177    "\"typeof\"",
178    "\"var\"",
179    "\"void\"",
180    "\"while\"",
181    "\"with\"",
182    "\"case\"",
183    "\"catch\"",
184    "\"class\"",
185    "\"const\"",
186    "\"debugger\"",
187    "\"default\"",
188    "\"do\"",
189    "\"enum\"",
190    "\"export\"",
191    "\"extends\"",
192    "\"finally\"",
193    "\"import\"",
194    "\"super\"",
195    "\"switch\"",
196    "\"throw\"",
197    "\"try\"",
198    "\"{\"",
199    "\"}\"",
200    "\"(\"",
201    "\")\"",
202    "\"[\"",
203    "\"]\"",
204    "\".\"",
205    "\";\"",
206    "\",\"",
207    "\"<\"",
208    "\">\"",
209    "\"<=\"",
210    "\">=\"",
211    "\"==\"",
212    "\"!=\"",
213    "\"===\"",
214    "\"!==\"",
215    "\"+\"",
216    "\"-\"",
217    "\"*\"",
218    "\"%\"",
219    "\"++\"",
220    "\"--\"",
221    "\"<<\"",
222    "\">>\"",
223    "\">>>\"",
224    "\"&\"",
225    "\"|\"",
226    "\"^\"",
227    "\"!\"",
228    "\"~\"",
229    "\"&&\"",
230    "\"||\"",
231    "\"?\"",
232    "\":\"",
233    "\"=\"",
234    "\"+=\"",
235    "\"-=\"",
236    "\"*=\"",
237    "\"%=\"",
238    "\"<<=\"",
239    "\">>=\"",
240    "\">>>=\"",
241    "\"&=\"",
242    "\"|=\"",
243    "\"^=\"",
244    "\"instanceof\"",
245    "<DECIMAL_LITERAL>",
246    "<NON_ZERO_DIGIT>",
247    "<EXPONENT_PART>",
248    "<DECIMAL_INTEGER_LITERAL>",
249    "<HEX_INTEGER_LITERAL>",
250    "<DECIMAL_DIGITS>",
251    "<DECIMAL_DIGIT>",
252    "\"null\"",
253    "<BOOLEAN_LITERAL>",
254    "<STRING_LITERAL>",
255    "<DOUBLE_STRING_CHARACTERS>",
256    "<SINGLE_STRING_CHARACTERS>",
257    "<DOUBLE_STRING_CHARACTER>",
258    "<SINGLE_STRING_CHARACTER>",
259    "<ESCAPE_SEQUENCE>",
260    "<CHARACTER_ESCAPE_SEQUENCE>",
261    "<SINGLE_ESCAPE_CHARACTER>",
262    "<NON_ESCAPE_CHARACTER>",
263    "<HEX_ESCAPE_SEQUENCE>",
264    "<IDENTIFIER_NAME>",
265    "<IDENTIFIER_START>",
266    "<IDENTIFIER_PART>",
267    "\"$\"",
268    "\"_\"",
269    "<UNICODE_LETTER>",
270    "<UNICODE_COMBINING_MARK>",
271    "<MC>",
272    "<MN>",
273    "<UNICODE_DIGIT>",
274    "<UNICODE_CONNECTOR_PUNCTUATION>",
275    "<UNICODE_ESCAPE_SEQUENCE>",
276    "<HEX_DIGIT>",
277    "\"/=\"",
278    "\"/\"",
279    "<REGULAR_EXPRESSION_LITERAL>",
280    "<BACKSLASH_SEQUENCE>",
281  };
282
283}