001 /* Generated By:JJTree&JavaCC: Do not edit this line. JSParserConstants.java */
002 package org.descripter.js.parse;
003 
004 
005 /**
006  * Token literal values and constants.
007  * Generated by org.javacc.parser.OtherFilesGen#start()
008  */
009 public interface JSParserConstants {
010 
011   /** End of File. */
012   int EOF = 0;
013   /** RegularExpression Id. */
014   int TAB = 1;
015   /** RegularExpression Id. */
016   int VT = 2;
017   /** RegularExpression Id. */
018   int FF = 3;
019   /** RegularExpression Id. */
020   int SP = 4;
021   /** RegularExpression Id. */
022   int NBSP = 5;
023   /** RegularExpression Id. */
024   int BOM = 6;
025   /** RegularExpression Id. */
026   int USP = 7;
027   /** RegularExpression Id. */
028   int LF = 8;
029   /** RegularExpression Id. */
030   int CR = 9;
031   /** RegularExpression Id. */
032   int LS = 10;
033   /** RegularExpression Id. */
034   int PS = 11;
035   /** RegularExpression Id. */
036   int SINGLE_LINE_COMMENT = 14;
037   /** RegularExpression Id. */
038   int MULTI_LINE_COMMENT = 15;
039   /** RegularExpression Id. */
040   int BREAK = 17;
041   /** RegularExpression Id. */
042   int DO = 18;
043   /** RegularExpression Id. */
044   int INSTANCEOF = 19;
045   /** RegularExpression Id. */
046   int TYPEOF = 20;
047   /** RegularExpression Id. */
048   int CASE = 21;
049   /** RegularExpression Id. */
050   int ELSE = 22;
051   /** RegularExpression Id. */
052   int NEW = 23;
053   /** RegularExpression Id. */
054   int VAR = 24;
055   /** RegularExpression Id. */
056   int CATCH = 25;
057   /** RegularExpression Id. */
058   int FINALLY = 26;
059   /** RegularExpression Id. */
060   int RETURN = 27;
061   /** RegularExpression Id. */
062   int VOID = 28;
063   /** RegularExpression Id. */
064   int CONTINUE = 29;
065   /** RegularExpression Id. */
066   int FOR = 30;
067   /** RegularExpression Id. */
068   int SWITCH = 31;
069   /** RegularExpression Id. */
070   int WHILE = 32;
071   /** RegularExpression Id. */
072   int DEBUGGER = 33;
073   /** RegularExpression Id. */
074   int FUNCTION = 34;
075   /** RegularExpression Id. */
076   int THIS = 35;
077   /** RegularExpression Id. */
078   int WITH = 36;
079   /** RegularExpression Id. */
080   int DEFAULT_ = 37;
081   /** RegularExpression Id. */
082   int IF = 38;
083   /** RegularExpression Id. */
084   int THROW = 39;
085   /** RegularExpression Id. */
086   int DELETE = 40;
087   /** RegularExpression Id. */
088   int IN = 41;
089   /** RegularExpression Id. */
090   int TRY = 42;
091   /** RegularExpression Id. */
092   int LBRACE = 43;
093   /** RegularExpression Id. */
094   int RBRACE = 44;
095   /** RegularExpression Id. */
096   int LPAREN = 45;
097   /** RegularExpression Id. */
098   int RPAREN = 46;
099   /** RegularExpression Id. */
100   int LBRACKET = 47;
101   /** RegularExpression Id. */
102   int RBRACKET = 48;
103   /** RegularExpression Id. */
104   int DOT = 49;
105   /** RegularExpression Id. */
106   int SEMICOLON = 50;
107   /** RegularExpression Id. */
108   int COMMA = 51;
109   /** RegularExpression Id. */
110   int LT = 52;
111   /** RegularExpression Id. */
112   int GT = 53;
113   /** RegularExpression Id. */
114   int LTE = 54;
115   /** RegularExpression Id. */
116   int GTE = 55;
117   /** RegularExpression Id. */
118   int EQ = 56;
119   /** RegularExpression Id. */
120   int NE = 57;
121   /** RegularExpression Id. */
122   int EQS = 58;
123   /** RegularExpression Id. */
124   int NEQS = 59;
125   /** RegularExpression Id. */
126   int PLUS = 60;
127   /** RegularExpression Id. */
128   int MINUS = 61;
129   /** RegularExpression Id. */
130   int MUL = 62;
131   /** RegularExpression Id. */
132   int MOD = 63;
133   /** RegularExpression Id. */
134   int INC = 64;
135   /** RegularExpression Id. */
136   int DEC = 65;
137   /** RegularExpression Id. */
138   int SHL = 66;
139   /** RegularExpression Id. */
140   int SHR = 67;
141   /** RegularExpression Id. */
142   int SHRU = 68;
143   /** RegularExpression Id. */
144   int AND = 69;
145   /** RegularExpression Id. */
146   int OR = 70;
147   /** RegularExpression Id. */
148   int XOR = 71;
149   /** RegularExpression Id. */
150   int BNOT = 72;
151   /** RegularExpression Id. */
152   int NOT = 73;
153   /** RegularExpression Id. */
154   int BAND = 74;
155   /** RegularExpression Id. */
156   int BOR = 75;
157   /** RegularExpression Id. */
158   int QUEST = 76;
159   /** RegularExpression Id. */
160   int COLON = 77;
161   /** RegularExpression Id. */
162   int ASSIGN = 78;
163   /** RegularExpression Id. */
164   int AADD = 79;
165   /** RegularExpression Id. */
166   int ASUB = 80;
167   /** RegularExpression Id. */
168   int AMUL = 81;
169   /** RegularExpression Id. */
170   int AMOD = 82;
171   /** RegularExpression Id. */
172   int ASHL = 83;
173   /** RegularExpression Id. */
174   int ASHR = 84;
175   /** RegularExpression Id. */
176   int ASHRU = 85;
177   /** RegularExpression Id. */
178   int AAND = 86;
179   /** RegularExpression Id. */
180   int AOR = 87;
181   /** RegularExpression Id. */
182   int AXOR = 88;
183   /** RegularExpression Id. */
184   int DIV = 89;
185   /** RegularExpression Id. */
186   int ADIV = 90;
187   /** RegularExpression Id. */
188   int NULL_LITERAL = 91;
189   /** RegularExpression Id. */
190   int BOOLEAN_LITERAL = 92;
191   /** RegularExpression Id. */
192   int DECIMAL_LITERAL = 93;
193   /** RegularExpression Id. */
194   int DECIMAL_INTEGER_LITERAL = 94;
195   /** RegularExpression Id. */
196   int DECIMAL_DIGITS = 95;
197   /** RegularExpression Id. */
198   int DECIMAL_DIGIT = 96;
199   /** RegularExpression Id. */
200   int NON_ZERO_DIGIT = 97;
201   /** RegularExpression Id. */
202   int EXPONENT_PART = 98;
203   /** RegularExpression Id. */
204   int EXPONENT_INDICATOR = 99;
205   /** RegularExpression Id. */
206   int SIGNED_INTEGER = 100;
207   /** RegularExpression Id. */
208   int HEX_INTEGER_LITERAL = 101;
209   /** RegularExpression Id. */
210   int STRING_LITERAL = 102;
211   /** RegularExpression Id. */
212   int DOUBLE_STRING_CHARACTERS = 103;
213   /** RegularExpression Id. */
214   int SINGLE_STRING_CHARACTERS = 104;
215   /** RegularExpression Id. */
216   int DOUBLE_STRING_CHARACTER = 105;
217   /** RegularExpression Id. */
218   int SINGLE_STRING_CHARACTER = 106;
219   /** RegularExpression Id. */
220   int LINE_CONTINUATION = 107;
221   /** RegularExpression Id. */
222   int ESCAPE_SEQUENCE = 108;
223   /** RegularExpression Id. */
224   int CHARACTER_ESCAPE_SEQUENCE = 109;
225   /** RegularExpression Id. */
226   int SINGLE_ESCAPE_CHARACTER = 110;
227   /** RegularExpression Id. */
228   int NON_ESCAPE_CHARACTER = 111;
229   /** RegularExpression Id. */
230   int HEX_ESCAPE_SEQUENCE = 112;
231   /** RegularExpression Id. */
232   int IDENTIFIER_NAME = 113;
233   /** RegularExpression Id. */
234   int IDENTIFIER_START = 114;
235   /** RegularExpression Id. */
236   int IDENTIFIER_PART = 115;
237   /** RegularExpression Id. */
238   int DOLLAR_SIGN = 116;
239   /** RegularExpression Id. */
240   int UNDER_SCORE = 117;
241   /** RegularExpression Id. */
242   int UNICODE_LETTER = 118;
243   /** RegularExpression Id. */
244   int UNICODE_COMBINING_MARK = 119;
245   /** RegularExpression Id. */
246   int MC = 120;
247   /** RegularExpression Id. */
248   int MN = 121;
249   /** RegularExpression Id. */
250   int UNICODE_DIGIT = 122;
251   /** RegularExpression Id. */
252   int UNICODE_CONNECTOR_PUNCTUATION = 123;
253   /** RegularExpression Id. */
254   int UNICODE_ESCAPE_SEQUENCE = 124;
255   /** RegularExpression Id. */
256   int HEX_DIGIT = 125;
257   /** RegularExpression Id. */
258   int REGULAR_EXPRESSION_LITERAL = 126;
259   /** RegularExpression Id. */
260   int BACKSLASH_SEQUENCE = 127;
261   /** RegularExpression Id. */
262   int JAVA_STATEMENT = 129;
263 
264   /** Lexical state. */
265   int DEFAULT = 0;
266   /** Lexical state. */
267   int IN_SINGLE_LINE_COMMENT = 1;
268   /** Lexical state. */
269   int IN_MULTI_LINE_COMMENT = 2;
270   /** Lexical state. */
271   int IN_JAVA_STATEMENT = 3;
272 
273   /** Literal token values. */
274   String[] tokenImage = {
275     "<EOF>",
276     "<TAB>",
277     "\"\\u000b\"",
278     "<FF>",
279     "<SP>",
280     "\"\\u00a0\"",
281     "\"\\ufeff\"",
282     "<USP>",
283     "\"\\n\"",
284     "\"\\r\"",
285     "\"\\u2028\"",
286     "\"\\u2029\"",
287     "\"//\"",
288     "\"/*\"",
289     "<SINGLE_LINE_COMMENT>",
290     "\"*/\"",
291     "<token of kind 16>",
292     "\"break\"",
293     "\"do\"",
294     "\"instanceof\"",
295     "\"typeof\"",
296     "\"case\"",
297     "\"else\"",
298     "\"new\"",
299     "\"var\"",
300     "\"catch\"",
301     "\"finally\"",
302     "\"return\"",
303     "\"void\"",
304     "\"continue\"",
305     "\"for\"",
306     "\"switch\"",
307     "\"while\"",
308     "\"debugger\"",
309     "\"function\"",
310     "\"this\"",
311     "\"with\"",
312     "\"default\"",
313     "\"if\"",
314     "\"throw\"",
315     "\"delete\"",
316     "\"in\"",
317     "\"try\"",
318     "\"{\"",
319     "\"}\"",
320     "\"(\"",
321     "\")\"",
322     "\"[\"",
323     "\"]\"",
324     "\".\"",
325     "\";\"",
326     "\",\"",
327     "\"<\"",
328     "\">\"",
329     "\"<=\"",
330     "\">=\"",
331     "\"==\"",
332     "\"!=\"",
333     "\"===\"",
334     "\"!==\"",
335     "\"+\"",
336     "\"-\"",
337     "\"*\"",
338     "\"%\"",
339     "\"++\"",
340     "\"--\"",
341     "\"<<\"",
342     "\">>\"",
343     "\">>>\"",
344     "\"&\"",
345     "\"|\"",
346     "\"^\"",
347     "\"!\"",
348     "\"~\"",
349     "\"&&\"",
350     "\"||\"",
351     "\"?\"",
352     "\":\"",
353     "\"=\"",
354     "\"+=\"",
355     "\"-=\"",
356     "\"*=\"",
357     "\"%=\"",
358     "\"<<=\"",
359     "\">>=\"",
360     "\">>>=\"",
361     "\"&=\"",
362     "\"|=\"",
363     "\"^=\"",
364     "\"/\"",
365     "\"/=\"",
366     "\"null\"",
367     "<BOOLEAN_LITERAL>",
368     "<DECIMAL_LITERAL>",
369     "<DECIMAL_INTEGER_LITERAL>",
370     "<DECIMAL_DIGITS>",
371     "<DECIMAL_DIGIT>",
372     "<NON_ZERO_DIGIT>",
373     "<EXPONENT_PART>",
374     "<EXPONENT_INDICATOR>",
375     "<SIGNED_INTEGER>",
376     "<HEX_INTEGER_LITERAL>",
377     "<STRING_LITERAL>",
378     "<DOUBLE_STRING_CHARACTERS>",
379     "<SINGLE_STRING_CHARACTERS>",
380     "<DOUBLE_STRING_CHARACTER>",
381     "<SINGLE_STRING_CHARACTER>",
382     "<LINE_CONTINUATION>",
383     "<ESCAPE_SEQUENCE>",
384     "<CHARACTER_ESCAPE_SEQUENCE>",
385     "<SINGLE_ESCAPE_CHARACTER>",
386     "<NON_ESCAPE_CHARACTER>",
387     "<HEX_ESCAPE_SEQUENCE>",
388     "<IDENTIFIER_NAME>",
389     "<IDENTIFIER_START>",
390     "<IDENTIFIER_PART>",
391     "\"$\"",
392     "\"_\"",
393     "<UNICODE_LETTER>",
394     "<UNICODE_COMBINING_MARK>",
395     "<MC>",
396     "<MN>",
397     "<UNICODE_DIGIT>",
398     "<UNICODE_CONNECTOR_PUNCTUATION>",
399     "<UNICODE_ESCAPE_SEQUENCE>",
400     "<HEX_DIGIT>",
401     "<REGULAR_EXPRESSION_LITERAL>",
402     "<BACKSLASH_SEQUENCE>",
403     "\"#\"",
404     "<JAVA_STATEMENT>",
405     "<token of kind 130>",
406   };
407 
408 }