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