You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ParserConstants.java 8.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392
  1. /*
  2. * Copyright 2000-2013 Vaadin Ltd.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  5. * use this file except in compliance with the License. You may obtain a copy of
  6. * the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  12. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  13. * License for the specific language governing permissions and limitations under
  14. * the License.
  15. */
  16. /* Generated By:JavaCC: Do not edit this line. ParserConstants.java */
  17. package com.vaadin.sass.internal.parser;
  18. /**
  19. * Token literal values and constants.
  20. * Generated by org.javacc.parser.OtherFilesGen#start()
  21. */
  22. public interface ParserConstants {
  23. /** End of File. */
  24. int EOF = 0;
  25. /** RegularExpression Id. */
  26. int S = 1;
  27. /** RegularExpression Id. */
  28. int SINGLE_LINE_COMMENT = 2;
  29. /** RegularExpression Id. */
  30. int FORMAL_COMMENT = 5;
  31. /** RegularExpression Id. */
  32. int MULTI_LINE_COMMENT = 6;
  33. /** RegularExpression Id. */
  34. int CDO = 8;
  35. /** RegularExpression Id. */
  36. int CDC = 9;
  37. /** RegularExpression Id. */
  38. int LBRACE = 10;
  39. /** RegularExpression Id. */
  40. int RBRACE = 11;
  41. /** RegularExpression Id. */
  42. int DASHMATCH = 12;
  43. /** RegularExpression Id. */
  44. int CARETMATCH = 13;
  45. /** RegularExpression Id. */
  46. int DOLLARMATCH = 14;
  47. /** RegularExpression Id. */
  48. int STARMATCH = 15;
  49. /** RegularExpression Id. */
  50. int INCLUDES = 16;
  51. /** RegularExpression Id. */
  52. int EQ = 17;
  53. /** RegularExpression Id. */
  54. int PLUS = 18;
  55. /** RegularExpression Id. */
  56. int MINUS = 19;
  57. /** RegularExpression Id. */
  58. int COMMA = 20;
  59. /** RegularExpression Id. */
  60. int SEMICOLON = 21;
  61. /** RegularExpression Id. */
  62. int PRECEDES = 22;
  63. /** RegularExpression Id. */
  64. int SIBLING = 23;
  65. /** RegularExpression Id. */
  66. int SUCCEEDS = 24;
  67. /** RegularExpression Id. */
  68. int DIV = 25;
  69. /** RegularExpression Id. */
  70. int LBRACKET = 26;
  71. /** RegularExpression Id. */
  72. int RBRACKET = 27;
  73. /** RegularExpression Id. */
  74. int ANY = 28;
  75. /** RegularExpression Id. */
  76. int MOD = 29;
  77. /** RegularExpression Id. */
  78. int PARENT = 30;
  79. /** RegularExpression Id. */
  80. int DOT = 31;
  81. /** RegularExpression Id. */
  82. int LPARAN = 32;
  83. /** RegularExpression Id. */
  84. int RPARAN = 33;
  85. /** RegularExpression Id. */
  86. int COMPARE = 34;
  87. /** RegularExpression Id. */
  88. int OR = 35;
  89. /** RegularExpression Id. */
  90. int AND = 36;
  91. /** RegularExpression Id. */
  92. int NOT_EQ = 37;
  93. /** RegularExpression Id. */
  94. int COLON = 38;
  95. /** RegularExpression Id. */
  96. int INTERPOLATION = 39;
  97. /** RegularExpression Id. */
  98. int NONASCII = 40;
  99. /** RegularExpression Id. */
  100. int H = 41;
  101. /** RegularExpression Id. */
  102. int UNICODE = 42;
  103. /** RegularExpression Id. */
  104. int ESCAPE = 43;
  105. /** RegularExpression Id. */
  106. int NMSTART = 44;
  107. /** RegularExpression Id. */
  108. int NMCHAR = 45;
  109. /** RegularExpression Id. */
  110. int STRINGCHAR = 46;
  111. /** RegularExpression Id. */
  112. int D = 47;
  113. /** RegularExpression Id. */
  114. int NAME = 48;
  115. /** RegularExpression Id. */
  116. int TO = 49;
  117. /** RegularExpression Id. */
  118. int THROUGH = 50;
  119. /** RegularExpression Id. */
  120. int EACH_IN = 51;
  121. /** RegularExpression Id. */
  122. int FROM = 52;
  123. /** RegularExpression Id. */
  124. int MIXIN_SYM = 53;
  125. /** RegularExpression Id. */
  126. int INCLUDE_SYM = 54;
  127. /** RegularExpression Id. */
  128. int FUNCTION_SYM = 55;
  129. /** RegularExpression Id. */
  130. int RETURN_SYM = 56;
  131. /** RegularExpression Id. */
  132. int DEBUG_SYM = 57;
  133. /** RegularExpression Id. */
  134. int WARN_SYM = 58;
  135. /** RegularExpression Id. */
  136. int FOR_SYM = 59;
  137. /** RegularExpression Id. */
  138. int EACH_SYM = 60;
  139. /** RegularExpression Id. */
  140. int WHILE_SYM = 61;
  141. /** RegularExpression Id. */
  142. int IF_SYM = 62;
  143. /** RegularExpression Id. */
  144. int ELSE_SYM = 63;
  145. /** RegularExpression Id. */
  146. int EXTEND_SYM = 64;
  147. /** RegularExpression Id. */
  148. int MOZ_DOCUMENT_SYM = 65;
  149. /** RegularExpression Id. */
  150. int SUPPORTS_SYM = 66;
  151. /** RegularExpression Id. */
  152. int CONTENT_SYM = 67;
  153. /** RegularExpression Id. */
  154. int MICROSOFT_RULE = 68;
  155. /** RegularExpression Id. */
  156. int IF = 69;
  157. /** RegularExpression Id. */
  158. int GUARDED_SYM = 70;
  159. /** RegularExpression Id. */
  160. int STRING = 71;
  161. /** RegularExpression Id. */
  162. int IDENT = 72;
  163. /** RegularExpression Id. */
  164. int NUMBER = 73;
  165. /** RegularExpression Id. */
  166. int _URL = 74;
  167. /** RegularExpression Id. */
  168. int URL = 75;
  169. /** RegularExpression Id. */
  170. int VARIABLE = 76;
  171. /** RegularExpression Id. */
  172. int PERCENTAGE = 77;
  173. /** RegularExpression Id. */
  174. int PT = 78;
  175. /** RegularExpression Id. */
  176. int MM = 79;
  177. /** RegularExpression Id. */
  178. int CM = 80;
  179. /** RegularExpression Id. */
  180. int PC = 81;
  181. /** RegularExpression Id. */
  182. int IN = 82;
  183. /** RegularExpression Id. */
  184. int PX = 83;
  185. /** RegularExpression Id. */
  186. int EMS = 84;
  187. /** RegularExpression Id. */
  188. int LEM = 85;
  189. /** RegularExpression Id. */
  190. int REM = 86;
  191. /** RegularExpression Id. */
  192. int EXS = 87;
  193. /** RegularExpression Id. */
  194. int DEG = 88;
  195. /** RegularExpression Id. */
  196. int RAD = 89;
  197. /** RegularExpression Id. */
  198. int GRAD = 90;
  199. /** RegularExpression Id. */
  200. int MS = 91;
  201. /** RegularExpression Id. */
  202. int SECOND = 92;
  203. /** RegularExpression Id. */
  204. int HZ = 93;
  205. /** RegularExpression Id. */
  206. int KHZ = 94;
  207. /** RegularExpression Id. */
  208. int DIMEN = 95;
  209. /** RegularExpression Id. */
  210. int HASH = 96;
  211. /** RegularExpression Id. */
  212. int IMPORT_SYM = 97;
  213. /** RegularExpression Id. */
  214. int MEDIA_SYM = 98;
  215. /** RegularExpression Id. */
  216. int CHARSET_SYM = 99;
  217. /** RegularExpression Id. */
  218. int PAGE_SYM = 100;
  219. /** RegularExpression Id. */
  220. int FONT_FACE_SYM = 101;
  221. /** RegularExpression Id. */
  222. int KEY_FRAME_SYM = 102;
  223. /** RegularExpression Id. */
  224. int ATKEYWORD = 103;
  225. /** RegularExpression Id. */
  226. int IMPORTANT_SYM = 104;
  227. /** RegularExpression Id. */
  228. int RANGE0 = 105;
  229. /** RegularExpression Id. */
  230. int RANGE1 = 106;
  231. /** RegularExpression Id. */
  232. int RANGE2 = 107;
  233. /** RegularExpression Id. */
  234. int RANGE3 = 108;
  235. /** RegularExpression Id. */
  236. int RANGE4 = 109;
  237. /** RegularExpression Id. */
  238. int RANGE5 = 110;
  239. /** RegularExpression Id. */
  240. int RANGE6 = 111;
  241. /** RegularExpression Id. */
  242. int RANGE = 112;
  243. /** RegularExpression Id. */
  244. int UNI = 113;
  245. /** RegularExpression Id. */
  246. int UNICODERANGE = 114;
  247. /** RegularExpression Id. */
  248. int REMOVE = 115;
  249. /** RegularExpression Id. */
  250. int APPEND = 116;
  251. /** RegularExpression Id. */
  252. int CONTAINS = 117;
  253. /** RegularExpression Id. */
  254. int FUNCTION = 118;
  255. /** RegularExpression Id. */
  256. int UNKNOWN = 119;
  257. /** Lexical state. */
  258. int DEFAULT = 0;
  259. /** Lexical state. */
  260. int IN_FORMAL_COMMENT = 1;
  261. /** Lexical state. */
  262. int IN_MULTI_LINE_COMMENT = 2;
  263. /** Literal token values. */
  264. String[] tokenImage = {
  265. "<EOF>",
  266. "<S>",
  267. "<SINGLE_LINE_COMMENT>",
  268. "<token of kind 3>",
  269. "\"/*\"",
  270. "\"*/\"",
  271. "\"*/\"",
  272. "<token of kind 7>",
  273. "\"<!--\"",
  274. "\"-->\"",
  275. "\"{\"",
  276. "\"}\"",
  277. "\"|=\"",
  278. "\"^=\"",
  279. "\"$=\"",
  280. "\"*=\"",
  281. "\"~=\"",
  282. "\"=\"",
  283. "\"+\"",
  284. "\"-\"",
  285. "\",\"",
  286. "\";\"",
  287. "\">\"",
  288. "\"~\"",
  289. "\"<\"",
  290. "\"/\"",
  291. "\"[\"",
  292. "\"]\"",
  293. "\"*\"",
  294. "\"%\"",
  295. "\"&\"",
  296. "\".\"",
  297. "\"(\"",
  298. "\")\"",
  299. "\"==\"",
  300. "\"||\"",
  301. "\"&&\"",
  302. "\"!=\"",
  303. "\":\"",
  304. "<INTERPOLATION>",
  305. "<NONASCII>",
  306. "<H>",
  307. "<UNICODE>",
  308. "<ESCAPE>",
  309. "<NMSTART>",
  310. "<NMCHAR>",
  311. "<STRINGCHAR>",
  312. "<D>",
  313. "<NAME>",
  314. "\"to\"",
  315. "\"through\"",
  316. "\"in\"",
  317. "\"from\"",
  318. "\"@mixin\"",
  319. "\"@include\"",
  320. "\"@function\"",
  321. "\"@return\"",
  322. "\"@debug\"",
  323. "\"@warn\"",
  324. "\"@for\"",
  325. "\"@each\"",
  326. "\"@while\"",
  327. "\"@if\"",
  328. "\"@else\"",
  329. "\"@extend\"",
  330. "\"@-moz-document\"",
  331. "\"@supports\"",
  332. "\"@content\"",
  333. "<MICROSOFT_RULE>",
  334. "\"if\"",
  335. "<GUARDED_SYM>",
  336. "<STRING>",
  337. "<IDENT>",
  338. "<NUMBER>",
  339. "<_URL>",
  340. "<URL>",
  341. "<VARIABLE>",
  342. "<PERCENTAGE>",
  343. "<PT>",
  344. "<MM>",
  345. "<CM>",
  346. "<PC>",
  347. "<IN>",
  348. "<PX>",
  349. "<EMS>",
  350. "<LEM>",
  351. "<REM>",
  352. "<EXS>",
  353. "<DEG>",
  354. "<RAD>",
  355. "<GRAD>",
  356. "<MS>",
  357. "<SECOND>",
  358. "<HZ>",
  359. "<KHZ>",
  360. "<DIMEN>",
  361. "<HASH>",
  362. "\"@import\"",
  363. "\"@media\"",
  364. "\"@charset\"",
  365. "\"@page\"",
  366. "\"@font-face\"",
  367. "<KEY_FRAME_SYM>",
  368. "<ATKEYWORD>",
  369. "<IMPORTANT_SYM>",
  370. "<RANGE0>",
  371. "<RANGE1>",
  372. "<RANGE2>",
  373. "<RANGE3>",
  374. "<RANGE4>",
  375. "<RANGE5>",
  376. "<RANGE6>",
  377. "<RANGE>",
  378. "<UNI>",
  379. "<UNICODERANGE>",
  380. "<REMOVE>",
  381. "<APPEND>",
  382. "<CONTAINS>",
  383. "<FUNCTION>",
  384. "<UNKNOWN>",
  385. };
  386. }