cppBison.h.prebuilt 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  1. /* A Bison parser, made by GNU Bison 3.0.4. */
  2. /* Bison interface for Yacc-like parsers in C
  3. Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>. */
  14. /* As a special exception, you may create a larger work that contains
  15. part or all of the Bison parser skeleton and distribute that work
  16. under terms of your choice, so long as that work isn't itself a
  17. parser generator using the skeleton or a modified version thereof
  18. as a parser skeleton. Alternatively, if you modify or redistribute
  19. the parser skeleton itself, you may (at your option) remove this
  20. special exception, which will cause the skeleton and the resulting
  21. Bison output files to be licensed under the GNU General Public
  22. License without this special exception.
  23. This special exception was added by the Free Software Foundation in
  24. version 2.2 of Bison. */
  25. #ifndef YY_CPPYY_BUILT_TMP_CPPBISON_YXX_H_INCLUDED
  26. # define YY_CPPYY_BUILT_TMP_CPPBISON_YXX_H_INCLUDED
  27. /* Debug traces. */
  28. #ifndef YYDEBUG
  29. # define YYDEBUG 0
  30. #endif
  31. #if YYDEBUG
  32. extern int cppyydebug;
  33. #endif
  34. /* Token type. */
  35. #ifndef YYTOKENTYPE
  36. # define YYTOKENTYPE
  37. enum yytokentype
  38. {
  39. REAL = 258,
  40. INTEGER = 259,
  41. CHAR_TOK = 260,
  42. SIMPLE_STRING = 261,
  43. SIMPLE_IDENTIFIER = 262,
  44. STRING_LITERAL = 263,
  45. CUSTOM_LITERAL = 264,
  46. IDENTIFIER = 265,
  47. TYPENAME_IDENTIFIER = 266,
  48. TYPEPACK_IDENTIFIER = 267,
  49. SCOPING = 268,
  50. TYPEDEFNAME = 269,
  51. ELLIPSIS = 270,
  52. OROR = 271,
  53. ANDAND = 272,
  54. EQCOMPARE = 273,
  55. NECOMPARE = 274,
  56. LECOMPARE = 275,
  57. GECOMPARE = 276,
  58. LSHIFT = 277,
  59. RSHIFT = 278,
  60. POINTSAT_STAR = 279,
  61. DOT_STAR = 280,
  62. UNARY = 281,
  63. UNARY_NOT = 282,
  64. UNARY_NEGATE = 283,
  65. UNARY_MINUS = 284,
  66. UNARY_PLUS = 285,
  67. UNARY_STAR = 286,
  68. UNARY_REF = 287,
  69. POINTSAT = 288,
  70. SCOPE = 289,
  71. PLUSPLUS = 290,
  72. MINUSMINUS = 291,
  73. TIMESEQUAL = 292,
  74. DIVIDEEQUAL = 293,
  75. MODEQUAL = 294,
  76. PLUSEQUAL = 295,
  77. MINUSEQUAL = 296,
  78. OREQUAL = 297,
  79. ANDEQUAL = 298,
  80. XOREQUAL = 299,
  81. LSHIFTEQUAL = 300,
  82. RSHIFTEQUAL = 301,
  83. ATTR_LEFT = 302,
  84. ATTR_RIGHT = 303,
  85. KW_ALIGNAS = 304,
  86. KW_ALIGNOF = 305,
  87. KW_AUTO = 306,
  88. KW_BEGIN_PUBLISH = 307,
  89. KW_BLOCKING = 308,
  90. KW_BOOL = 309,
  91. KW_CATCH = 310,
  92. KW_CHAR = 311,
  93. KW_CHAR16_T = 312,
  94. KW_CHAR32_T = 313,
  95. KW_CLASS = 314,
  96. KW_CONST = 315,
  97. KW_CONSTEXPR = 316,
  98. KW_CONST_CAST = 317,
  99. KW_DECLTYPE = 318,
  100. KW_DEFAULT = 319,
  101. KW_DELETE = 320,
  102. KW_DOUBLE = 321,
  103. KW_DYNAMIC_CAST = 322,
  104. KW_ELSE = 323,
  105. KW_END_PUBLISH = 324,
  106. KW_ENUM = 325,
  107. KW_EXTENSION = 326,
  108. KW_EXTERN = 327,
  109. KW_EXPLICIT = 328,
  110. KW_PUBLISHED = 329,
  111. KW_FALSE = 330,
  112. KW_FINAL = 331,
  113. KW_FLOAT = 332,
  114. KW_FRIEND = 333,
  115. KW_FOR = 334,
  116. KW_GOTO = 335,
  117. KW_HAS_VIRTUAL_DESTRUCTOR = 336,
  118. KW_IF = 337,
  119. KW_INLINE = 338,
  120. KW_INT = 339,
  121. KW_IS_ABSTRACT = 340,
  122. KW_IS_BASE_OF = 341,
  123. KW_IS_CLASS = 342,
  124. KW_IS_CONSTRUCTIBLE = 343,
  125. KW_IS_CONVERTIBLE_TO = 344,
  126. KW_IS_DESTRUCTIBLE = 345,
  127. KW_IS_EMPTY = 346,
  128. KW_IS_ENUM = 347,
  129. KW_IS_FINAL = 348,
  130. KW_IS_FUNDAMENTAL = 349,
  131. KW_IS_POD = 350,
  132. KW_IS_POLYMORPHIC = 351,
  133. KW_IS_STANDARD_LAYOUT = 352,
  134. KW_IS_TRIVIAL = 353,
  135. KW_IS_UNION = 354,
  136. KW_LONG = 355,
  137. KW_MAKE_MAP_KEYS_SEQ = 356,
  138. KW_MAKE_MAP_PROPERTY = 357,
  139. KW_MAKE_PROPERTY = 358,
  140. KW_MAKE_PROPERTY2 = 359,
  141. KW_MAKE_SEQ = 360,
  142. KW_MAKE_SEQ_PROPERTY = 361,
  143. KW_MUTABLE = 362,
  144. KW_NAMESPACE = 363,
  145. KW_NEW = 364,
  146. KW_NOEXCEPT = 365,
  147. KW_NULLPTR = 366,
  148. KW_OPERATOR = 367,
  149. KW_OVERRIDE = 368,
  150. KW_PRIVATE = 369,
  151. KW_PROTECTED = 370,
  152. KW_PUBLIC = 371,
  153. KW_REGISTER = 372,
  154. KW_REINTERPRET_CAST = 373,
  155. KW_RETURN = 374,
  156. KW_SHORT = 375,
  157. KW_SIGNED = 376,
  158. KW_SIZEOF = 377,
  159. KW_STATIC = 378,
  160. KW_STATIC_ASSERT = 379,
  161. KW_STATIC_CAST = 380,
  162. KW_STRUCT = 381,
  163. KW_TEMPLATE = 382,
  164. KW_THREAD_LOCAL = 383,
  165. KW_THROW = 384,
  166. KW_TRUE = 385,
  167. KW_TRY = 386,
  168. KW_TYPEDEF = 387,
  169. KW_TYPEID = 388,
  170. KW_TYPENAME = 389,
  171. KW_UNDERLYING_TYPE = 390,
  172. KW_UNION = 391,
  173. KW_UNSIGNED = 392,
  174. KW_USING = 393,
  175. KW_VIRTUAL = 394,
  176. KW_VOID = 395,
  177. KW_VOLATILE = 396,
  178. KW_WCHAR_T = 397,
  179. KW_WHILE = 398,
  180. START_CPP = 399,
  181. START_CONST_EXPR = 400,
  182. START_TYPE = 401
  183. };
  184. #endif
  185. /* Tokens. */
  186. #define REAL 258
  187. #define INTEGER 259
  188. #define CHAR_TOK 260
  189. #define SIMPLE_STRING 261
  190. #define SIMPLE_IDENTIFIER 262
  191. #define STRING_LITERAL 263
  192. #define CUSTOM_LITERAL 264
  193. #define IDENTIFIER 265
  194. #define TYPENAME_IDENTIFIER 266
  195. #define TYPEPACK_IDENTIFIER 267
  196. #define SCOPING 268
  197. #define TYPEDEFNAME 269
  198. #define ELLIPSIS 270
  199. #define OROR 271
  200. #define ANDAND 272
  201. #define EQCOMPARE 273
  202. #define NECOMPARE 274
  203. #define LECOMPARE 275
  204. #define GECOMPARE 276
  205. #define LSHIFT 277
  206. #define RSHIFT 278
  207. #define POINTSAT_STAR 279
  208. #define DOT_STAR 280
  209. #define UNARY 281
  210. #define UNARY_NOT 282
  211. #define UNARY_NEGATE 283
  212. #define UNARY_MINUS 284
  213. #define UNARY_PLUS 285
  214. #define UNARY_STAR 286
  215. #define UNARY_REF 287
  216. #define POINTSAT 288
  217. #define SCOPE 289
  218. #define PLUSPLUS 290
  219. #define MINUSMINUS 291
  220. #define TIMESEQUAL 292
  221. #define DIVIDEEQUAL 293
  222. #define MODEQUAL 294
  223. #define PLUSEQUAL 295
  224. #define MINUSEQUAL 296
  225. #define OREQUAL 297
  226. #define ANDEQUAL 298
  227. #define XOREQUAL 299
  228. #define LSHIFTEQUAL 300
  229. #define RSHIFTEQUAL 301
  230. #define ATTR_LEFT 302
  231. #define ATTR_RIGHT 303
  232. #define KW_ALIGNAS 304
  233. #define KW_ALIGNOF 305
  234. #define KW_AUTO 306
  235. #define KW_BEGIN_PUBLISH 307
  236. #define KW_BLOCKING 308
  237. #define KW_BOOL 309
  238. #define KW_CATCH 310
  239. #define KW_CHAR 311
  240. #define KW_CHAR16_T 312
  241. #define KW_CHAR32_T 313
  242. #define KW_CLASS 314
  243. #define KW_CONST 315
  244. #define KW_CONSTEXPR 316
  245. #define KW_CONST_CAST 317
  246. #define KW_DECLTYPE 318
  247. #define KW_DEFAULT 319
  248. #define KW_DELETE 320
  249. #define KW_DOUBLE 321
  250. #define KW_DYNAMIC_CAST 322
  251. #define KW_ELSE 323
  252. #define KW_END_PUBLISH 324
  253. #define KW_ENUM 325
  254. #define KW_EXTENSION 326
  255. #define KW_EXTERN 327
  256. #define KW_EXPLICIT 328
  257. #define KW_PUBLISHED 329
  258. #define KW_FALSE 330
  259. #define KW_FINAL 331
  260. #define KW_FLOAT 332
  261. #define KW_FRIEND 333
  262. #define KW_FOR 334
  263. #define KW_GOTO 335
  264. #define KW_HAS_VIRTUAL_DESTRUCTOR 336
  265. #define KW_IF 337
  266. #define KW_INLINE 338
  267. #define KW_INT 339
  268. #define KW_IS_ABSTRACT 340
  269. #define KW_IS_BASE_OF 341
  270. #define KW_IS_CLASS 342
  271. #define KW_IS_CONSTRUCTIBLE 343
  272. #define KW_IS_CONVERTIBLE_TO 344
  273. #define KW_IS_DESTRUCTIBLE 345
  274. #define KW_IS_EMPTY 346
  275. #define KW_IS_ENUM 347
  276. #define KW_IS_FINAL 348
  277. #define KW_IS_FUNDAMENTAL 349
  278. #define KW_IS_POD 350
  279. #define KW_IS_POLYMORPHIC 351
  280. #define KW_IS_STANDARD_LAYOUT 352
  281. #define KW_IS_TRIVIAL 353
  282. #define KW_IS_UNION 354
  283. #define KW_LONG 355
  284. #define KW_MAKE_MAP_KEYS_SEQ 356
  285. #define KW_MAKE_MAP_PROPERTY 357
  286. #define KW_MAKE_PROPERTY 358
  287. #define KW_MAKE_PROPERTY2 359
  288. #define KW_MAKE_SEQ 360
  289. #define KW_MAKE_SEQ_PROPERTY 361
  290. #define KW_MUTABLE 362
  291. #define KW_NAMESPACE 363
  292. #define KW_NEW 364
  293. #define KW_NOEXCEPT 365
  294. #define KW_NULLPTR 366
  295. #define KW_OPERATOR 367
  296. #define KW_OVERRIDE 368
  297. #define KW_PRIVATE 369
  298. #define KW_PROTECTED 370
  299. #define KW_PUBLIC 371
  300. #define KW_REGISTER 372
  301. #define KW_REINTERPRET_CAST 373
  302. #define KW_RETURN 374
  303. #define KW_SHORT 375
  304. #define KW_SIGNED 376
  305. #define KW_SIZEOF 377
  306. #define KW_STATIC 378
  307. #define KW_STATIC_ASSERT 379
  308. #define KW_STATIC_CAST 380
  309. #define KW_STRUCT 381
  310. #define KW_TEMPLATE 382
  311. #define KW_THREAD_LOCAL 383
  312. #define KW_THROW 384
  313. #define KW_TRUE 385
  314. #define KW_TRY 386
  315. #define KW_TYPEDEF 387
  316. #define KW_TYPEID 388
  317. #define KW_TYPENAME 389
  318. #define KW_UNDERLYING_TYPE 390
  319. #define KW_UNION 391
  320. #define KW_UNSIGNED 392
  321. #define KW_USING 393
  322. #define KW_VIRTUAL 394
  323. #define KW_VOID 395
  324. #define KW_VOLATILE 396
  325. #define KW_WCHAR_T 397
  326. #define KW_WHILE 398
  327. #define START_CPP 399
  328. #define START_CONST_EXPR 400
  329. #define START_TYPE 401
  330. /* Value type. */
  331. /* Location type. */
  332. #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
  333. typedef struct YYLTYPE YYLTYPE;
  334. struct YYLTYPE
  335. {
  336. int first_line;
  337. int first_column;
  338. int last_line;
  339. int last_column;
  340. };
  341. # define YYLTYPE_IS_DECLARED 1
  342. # define YYLTYPE_IS_TRIVIAL 1
  343. #endif
  344. int cppyyparse (void);
  345. #endif /* !YY_CPPYY_BUILT_TMP_CPPBISON_YXX_H_INCLUDED */