cppBison.h.prebuilt 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  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_PROPERTY = 356,
  138. KW_MAKE_PROPERTY = 357,
  139. KW_MAKE_PROPERTY2 = 358,
  140. KW_MAKE_SEQ = 359,
  141. KW_MAKE_SEQ_PROPERTY = 360,
  142. KW_MUTABLE = 361,
  143. KW_NAMESPACE = 362,
  144. KW_NEW = 363,
  145. KW_NOEXCEPT = 364,
  146. KW_NULLPTR = 365,
  147. KW_OPERATOR = 366,
  148. KW_OVERRIDE = 367,
  149. KW_PRIVATE = 368,
  150. KW_PROTECTED = 369,
  151. KW_PUBLIC = 370,
  152. KW_REGISTER = 371,
  153. KW_REINTERPRET_CAST = 372,
  154. KW_RETURN = 373,
  155. KW_SHORT = 374,
  156. KW_SIGNED = 375,
  157. KW_SIZEOF = 376,
  158. KW_STATIC = 377,
  159. KW_STATIC_ASSERT = 378,
  160. KW_STATIC_CAST = 379,
  161. KW_STRUCT = 380,
  162. KW_TEMPLATE = 381,
  163. KW_THREAD_LOCAL = 382,
  164. KW_THROW = 383,
  165. KW_TRUE = 384,
  166. KW_TRY = 385,
  167. KW_TYPEDEF = 386,
  168. KW_TYPEID = 387,
  169. KW_TYPENAME = 388,
  170. KW_UNDERLYING_TYPE = 389,
  171. KW_UNION = 390,
  172. KW_UNSIGNED = 391,
  173. KW_USING = 392,
  174. KW_VIRTUAL = 393,
  175. KW_VOID = 394,
  176. KW_VOLATILE = 395,
  177. KW_WCHAR_T = 396,
  178. KW_WHILE = 397,
  179. START_CPP = 398,
  180. START_CONST_EXPR = 399,
  181. START_TYPE = 400
  182. };
  183. #endif
  184. /* Tokens. */
  185. #define REAL 258
  186. #define INTEGER 259
  187. #define CHAR_TOK 260
  188. #define SIMPLE_STRING 261
  189. #define SIMPLE_IDENTIFIER 262
  190. #define STRING_LITERAL 263
  191. #define CUSTOM_LITERAL 264
  192. #define IDENTIFIER 265
  193. #define TYPENAME_IDENTIFIER 266
  194. #define TYPEPACK_IDENTIFIER 267
  195. #define SCOPING 268
  196. #define TYPEDEFNAME 269
  197. #define ELLIPSIS 270
  198. #define OROR 271
  199. #define ANDAND 272
  200. #define EQCOMPARE 273
  201. #define NECOMPARE 274
  202. #define LECOMPARE 275
  203. #define GECOMPARE 276
  204. #define LSHIFT 277
  205. #define RSHIFT 278
  206. #define POINTSAT_STAR 279
  207. #define DOT_STAR 280
  208. #define UNARY 281
  209. #define UNARY_NOT 282
  210. #define UNARY_NEGATE 283
  211. #define UNARY_MINUS 284
  212. #define UNARY_PLUS 285
  213. #define UNARY_STAR 286
  214. #define UNARY_REF 287
  215. #define POINTSAT 288
  216. #define SCOPE 289
  217. #define PLUSPLUS 290
  218. #define MINUSMINUS 291
  219. #define TIMESEQUAL 292
  220. #define DIVIDEEQUAL 293
  221. #define MODEQUAL 294
  222. #define PLUSEQUAL 295
  223. #define MINUSEQUAL 296
  224. #define OREQUAL 297
  225. #define ANDEQUAL 298
  226. #define XOREQUAL 299
  227. #define LSHIFTEQUAL 300
  228. #define RSHIFTEQUAL 301
  229. #define ATTR_LEFT 302
  230. #define ATTR_RIGHT 303
  231. #define KW_ALIGNAS 304
  232. #define KW_ALIGNOF 305
  233. #define KW_AUTO 306
  234. #define KW_BEGIN_PUBLISH 307
  235. #define KW_BLOCKING 308
  236. #define KW_BOOL 309
  237. #define KW_CATCH 310
  238. #define KW_CHAR 311
  239. #define KW_CHAR16_T 312
  240. #define KW_CHAR32_T 313
  241. #define KW_CLASS 314
  242. #define KW_CONST 315
  243. #define KW_CONSTEXPR 316
  244. #define KW_CONST_CAST 317
  245. #define KW_DECLTYPE 318
  246. #define KW_DEFAULT 319
  247. #define KW_DELETE 320
  248. #define KW_DOUBLE 321
  249. #define KW_DYNAMIC_CAST 322
  250. #define KW_ELSE 323
  251. #define KW_END_PUBLISH 324
  252. #define KW_ENUM 325
  253. #define KW_EXTENSION 326
  254. #define KW_EXTERN 327
  255. #define KW_EXPLICIT 328
  256. #define KW_PUBLISHED 329
  257. #define KW_FALSE 330
  258. #define KW_FINAL 331
  259. #define KW_FLOAT 332
  260. #define KW_FRIEND 333
  261. #define KW_FOR 334
  262. #define KW_GOTO 335
  263. #define KW_HAS_VIRTUAL_DESTRUCTOR 336
  264. #define KW_IF 337
  265. #define KW_INLINE 338
  266. #define KW_INT 339
  267. #define KW_IS_ABSTRACT 340
  268. #define KW_IS_BASE_OF 341
  269. #define KW_IS_CLASS 342
  270. #define KW_IS_CONSTRUCTIBLE 343
  271. #define KW_IS_CONVERTIBLE_TO 344
  272. #define KW_IS_DESTRUCTIBLE 345
  273. #define KW_IS_EMPTY 346
  274. #define KW_IS_ENUM 347
  275. #define KW_IS_FINAL 348
  276. #define KW_IS_FUNDAMENTAL 349
  277. #define KW_IS_POD 350
  278. #define KW_IS_POLYMORPHIC 351
  279. #define KW_IS_STANDARD_LAYOUT 352
  280. #define KW_IS_TRIVIAL 353
  281. #define KW_IS_UNION 354
  282. #define KW_LONG 355
  283. #define KW_MAKE_MAP_PROPERTY 356
  284. #define KW_MAKE_PROPERTY 357
  285. #define KW_MAKE_PROPERTY2 358
  286. #define KW_MAKE_SEQ 359
  287. #define KW_MAKE_SEQ_PROPERTY 360
  288. #define KW_MUTABLE 361
  289. #define KW_NAMESPACE 362
  290. #define KW_NEW 363
  291. #define KW_NOEXCEPT 364
  292. #define KW_NULLPTR 365
  293. #define KW_OPERATOR 366
  294. #define KW_OVERRIDE 367
  295. #define KW_PRIVATE 368
  296. #define KW_PROTECTED 369
  297. #define KW_PUBLIC 370
  298. #define KW_REGISTER 371
  299. #define KW_REINTERPRET_CAST 372
  300. #define KW_RETURN 373
  301. #define KW_SHORT 374
  302. #define KW_SIGNED 375
  303. #define KW_SIZEOF 376
  304. #define KW_STATIC 377
  305. #define KW_STATIC_ASSERT 378
  306. #define KW_STATIC_CAST 379
  307. #define KW_STRUCT 380
  308. #define KW_TEMPLATE 381
  309. #define KW_THREAD_LOCAL 382
  310. #define KW_THROW 383
  311. #define KW_TRUE 384
  312. #define KW_TRY 385
  313. #define KW_TYPEDEF 386
  314. #define KW_TYPEID 387
  315. #define KW_TYPENAME 388
  316. #define KW_UNDERLYING_TYPE 389
  317. #define KW_UNION 390
  318. #define KW_UNSIGNED 391
  319. #define KW_USING 392
  320. #define KW_VIRTUAL 393
  321. #define KW_VOID 394
  322. #define KW_VOLATILE 395
  323. #define KW_WCHAR_T 396
  324. #define KW_WHILE 397
  325. #define START_CPP 398
  326. #define START_CONST_EXPR 399
  327. #define START_TYPE 400
  328. /* Value type. */
  329. /* Location type. */
  330. #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
  331. typedef struct YYLTYPE YYLTYPE;
  332. struct YYLTYPE
  333. {
  334. int first_line;
  335. int first_column;
  336. int last_line;
  337. int last_column;
  338. };
  339. # define YYLTYPE_IS_DECLARED 1
  340. # define YYLTYPE_IS_TRIVIAL 1
  341. #endif
  342. int cppyyparse (void);
  343. #endif /* !YY_CPPYY_BUILT_TMP_CPPBISON_YXX_H_INCLUDED */