cppBison.h.prebuilt 14 KB

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