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.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  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. Generated by
  20. * 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 FORMAL_COMMENT = 7;
  29. /** RegularExpression Id. */
  30. int MULTI_LINE_COMMENT = 8;
  31. /** RegularExpression Id. */
  32. int CDO = 10;
  33. /** RegularExpression Id. */
  34. int CDC = 11;
  35. /** RegularExpression Id. */
  36. int LBRACE = 12;
  37. /** RegularExpression Id. */
  38. int RBRACE = 13;
  39. /** RegularExpression Id. */
  40. int DASHMATCH = 14;
  41. /** RegularExpression Id. */
  42. int CARETMATCH = 15;
  43. /** RegularExpression Id. */
  44. int DOLLARMATCH = 16;
  45. /** RegularExpression Id. */
  46. int STARMATCH = 17;
  47. /** RegularExpression Id. */
  48. int INCLUDES = 18;
  49. /** RegularExpression Id. */
  50. int EQ = 19;
  51. /** RegularExpression Id. */
  52. int PLUS = 20;
  53. /** RegularExpression Id. */
  54. int MINUS = 21;
  55. /** RegularExpression Id. */
  56. int COMMA = 22;
  57. /** RegularExpression Id. */
  58. int SEMICOLON = 23;
  59. /** RegularExpression Id. */
  60. int PRECEDES = 24;
  61. /** RegularExpression Id. */
  62. int SIBLING = 25;
  63. /** RegularExpression Id. */
  64. int SUCCEEDS = 26;
  65. /** RegularExpression Id. */
  66. int DIV = 27;
  67. /** RegularExpression Id. */
  68. int LBRACKET = 28;
  69. /** RegularExpression Id. */
  70. int RBRACKET = 29;
  71. /** RegularExpression Id. */
  72. int ANY = 30;
  73. /** RegularExpression Id. */
  74. int MOD = 31;
  75. /** RegularExpression Id. */
  76. int PARENT = 32;
  77. /** RegularExpression Id. */
  78. int DOT = 33;
  79. /** RegularExpression Id. */
  80. int LPARAN = 34;
  81. /** RegularExpression Id. */
  82. int RPARAN = 35;
  83. /** RegularExpression Id. */
  84. int COMPARE = 36;
  85. /** RegularExpression Id. */
  86. int OR = 37;
  87. /** RegularExpression Id. */
  88. int AND = 38;
  89. /** RegularExpression Id. */
  90. int NOT_EQ = 39;
  91. /** RegularExpression Id. */
  92. int COLON = 40;
  93. /** RegularExpression Id. */
  94. int INTERPOLATION = 41;
  95. /** RegularExpression Id. */
  96. int NONASCII = 42;
  97. /** RegularExpression Id. */
  98. int H = 43;
  99. /** RegularExpression Id. */
  100. int UNICODE = 44;
  101. /** RegularExpression Id. */
  102. int ESCAPE = 45;
  103. /** RegularExpression Id. */
  104. int NMSTART = 46;
  105. /** RegularExpression Id. */
  106. int NMCHAR = 47;
  107. /** RegularExpression Id. */
  108. int STRINGCHAR = 48;
  109. /** RegularExpression Id. */
  110. int D = 49;
  111. /** RegularExpression Id. */
  112. int NAME = 50;
  113. /** RegularExpression Id. */
  114. int TO = 51;
  115. /** RegularExpression Id. */
  116. int THROUGH = 52;
  117. /** RegularExpression Id. */
  118. int EACH_IN = 53;
  119. /** RegularExpression Id. */
  120. int FROM = 54;
  121. /** RegularExpression Id. */
  122. int MIXIN_SYM = 55;
  123. /** RegularExpression Id. */
  124. int INCLUDE_SYM = 56;
  125. /** RegularExpression Id. */
  126. int FUNCTION_SYM = 57;
  127. /** RegularExpression Id. */
  128. int RETURN_SYM = 58;
  129. /** RegularExpression Id. */
  130. int DEBUG_SYM = 59;
  131. /** RegularExpression Id. */
  132. int WARN_SYM = 60;
  133. /** RegularExpression Id. */
  134. int FOR_SYM = 61;
  135. /** RegularExpression Id. */
  136. int EACH_SYM = 62;
  137. /** RegularExpression Id. */
  138. int WHILE_SYM = 63;
  139. /** RegularExpression Id. */
  140. int IF_SYM = 64;
  141. /** RegularExpression Id. */
  142. int ELSE_SYM = 65;
  143. /** RegularExpression Id. */
  144. int EXTEND_SYM = 66;
  145. /** RegularExpression Id. */
  146. int MOZ_DOCUMENT_SYM = 67;
  147. /** RegularExpression Id. */
  148. int SUPPORTS_SYM = 68;
  149. /** RegularExpression Id. */
  150. int MICROSOFT_RULE = 69;
  151. /** RegularExpression Id. */
  152. int IF = 70;
  153. /** RegularExpression Id. */
  154. int GUARDED_SYM = 71;
  155. /** RegularExpression Id. */
  156. int STRING = 72;
  157. /** RegularExpression Id. */
  158. int IDENT = 73;
  159. /** RegularExpression Id. */
  160. int NUMBER = 74;
  161. /** RegularExpression Id. */
  162. int _URL = 75;
  163. /** RegularExpression Id. */
  164. int URL = 76;
  165. /** RegularExpression Id. */
  166. int VARIABLE = 77;
  167. /** RegularExpression Id. */
  168. int PERCENTAGE = 78;
  169. /** RegularExpression Id. */
  170. int PT = 79;
  171. /** RegularExpression Id. */
  172. int MM = 80;
  173. /** RegularExpression Id. */
  174. int CM = 81;
  175. /** RegularExpression Id. */
  176. int PC = 82;
  177. /** RegularExpression Id. */
  178. int IN = 83;
  179. /** RegularExpression Id. */
  180. int PX = 84;
  181. /** RegularExpression Id. */
  182. int EMS = 85;
  183. /** RegularExpression Id. */
  184. int LEM = 86;
  185. /** RegularExpression Id. */
  186. int REM = 87;
  187. /** RegularExpression Id. */
  188. int EXS = 88;
  189. /** RegularExpression Id. */
  190. int DEG = 89;
  191. /** RegularExpression Id. */
  192. int RAD = 90;
  193. /** RegularExpression Id. */
  194. int GRAD = 91;
  195. /** RegularExpression Id. */
  196. int MS = 92;
  197. /** RegularExpression Id. */
  198. int SECOND = 93;
  199. /** RegularExpression Id. */
  200. int HZ = 94;
  201. /** RegularExpression Id. */
  202. int KHZ = 95;
  203. /** RegularExpression Id. */
  204. int DIMEN = 96;
  205. /** RegularExpression Id. */
  206. int HASH = 97;
  207. /** RegularExpression Id. */
  208. int IMPORT_SYM = 98;
  209. /** RegularExpression Id. */
  210. int MEDIA_SYM = 99;
  211. /** RegularExpression Id. */
  212. int CHARSET_SYM = 100;
  213. /** RegularExpression Id. */
  214. int PAGE_SYM = 101;
  215. /** RegularExpression Id. */
  216. int FONT_FACE_SYM = 102;
  217. /** RegularExpression Id. */
  218. int KEY_FRAME_SYM = 103;
  219. /** RegularExpression Id. */
  220. int ATKEYWORD = 104;
  221. /** RegularExpression Id. */
  222. int IMPORTANT_SYM = 105;
  223. /** RegularExpression Id. */
  224. int RANGE0 = 106;
  225. /** RegularExpression Id. */
  226. int RANGE1 = 107;
  227. /** RegularExpression Id. */
  228. int RANGE2 = 108;
  229. /** RegularExpression Id. */
  230. int RANGE3 = 109;
  231. /** RegularExpression Id. */
  232. int RANGE4 = 110;
  233. /** RegularExpression Id. */
  234. int RANGE5 = 111;
  235. /** RegularExpression Id. */
  236. int RANGE6 = 112;
  237. /** RegularExpression Id. */
  238. int RANGE = 113;
  239. /** RegularExpression Id. */
  240. int UNI = 114;
  241. /** RegularExpression Id. */
  242. int UNICODERANGE = 115;
  243. /** RegularExpression Id. */
  244. int REMOVE = 116;
  245. /** RegularExpression Id. */
  246. int APPEND = 117;
  247. /** RegularExpression Id. */
  248. int CONTAINS = 118;
  249. /** RegularExpression Id. */
  250. int FUNCTION = 119;
  251. /** RegularExpression Id. */
  252. int UNKNOWN = 120;
  253. /** Lexical state. */
  254. int DEFAULT = 0;
  255. /** Lexical state. */
  256. int IN_SINGLE_LINE_COMMENT = 1;
  257. /** Lexical state. */
  258. int IN_FORMAL_COMMENT = 2;
  259. /** Lexical state. */
  260. int IN_MULTI_LINE_COMMENT = 3;
  261. /** Literal token values. */
  262. String[] tokenImage = { "<EOF>", "<S>", "\"//\"", "<token of kind 3>",
  263. "<token of kind 4>", "<token of kind 5>", "\"/*\"", "\"*/\"",
  264. "\"*/\"", "<token of kind 9>", "\"<!--\"", "\"-->\"", "\"{\"",
  265. "\"}\"", "\"|=\"", "\"^=\"", "\"$=\"", "\"*=\"", "\"~=\"", "\"=\"",
  266. "\"+\"", "\"-\"", "\",\"", "\";\"", "\">\"", "\"~\"", "\"<\"",
  267. "\"/\"", "\"[\"", "\"]\"", "\"*\"", "\"%\"", "\"&\"", "\".\"",
  268. "\"(\"", "\")\"", "\"==\"", "\"||\"", "\"&&\"", "\"!=\"", "\":\"",
  269. "<INTERPOLATION>", "<NONASCII>", "<H>", "<UNICODE>", "<ESCAPE>",
  270. "<NMSTART>", "<NMCHAR>", "<STRINGCHAR>", "<D>", "<NAME>", "\"to\"",
  271. "\"through\"", "\"in\"", "\"from\"", "\"@mixin\"", "\"@include\"",
  272. "\"@function\"", "\"@return\"", "\"@debug\"", "\"@warn\"",
  273. "\"@for\"", "\"@each\"", "\"@while\"", "\"@if\"", "\"@else\"",
  274. "\"@extend\"", "\"@-moz-document\"", "\"@supports\"",
  275. "<MICROSOFT_RULE>", "\"if\"", "<GUARDED_SYM>", "<STRING>",
  276. "<IDENT>", "<NUMBER>", "<_URL>", "<URL>", "<VARIABLE>",
  277. "<PERCENTAGE>", "<PT>", "<MM>", "<CM>", "<PC>", "<IN>", "<PX>",
  278. "<EMS>", "<LEM>", "<REM>", "<EXS>", "<DEG>", "<RAD>", "<GRAD>",
  279. "<MS>", "<SECOND>", "<HZ>", "<KHZ>", "<DIMEN>", "<HASH>",
  280. "\"@import\"", "\"@media\"", "\"@charset\"", "\"@page\"",
  281. "\"@font-face\"", "<KEY_FRAME_SYM>", "<ATKEYWORD>",
  282. "<IMPORTANT_SYM>", "<RANGE0>", "<RANGE1>", "<RANGE2>", "<RANGE3>",
  283. "<RANGE4>", "<RANGE5>", "<RANGE6>", "<RANGE>", "<UNI>",
  284. "<UNICODERANGE>", "<REMOVE>", "<APPEND>", "<CONTAINS>",
  285. "<FUNCTION>", "<UNKNOWN>", };
  286. }