parse.h
上传用户:blenddy
上传日期:2007-01-07
资源大小:6495k
文件大小:5k
源码类别:

数据库系统

开发平台:

Unix_Linux

  1. typedef union
  2. {
  3. double dval;
  4. int ival;
  5. char chr;
  6. char *str;
  7. bool boolean;
  8. bool* pboolean; /* for pg_shadow privileges */
  9. List *list;
  10. Node *node;
  11. Value *value;
  12. Attr *attr;
  13. TypeName *typnam;
  14. DefElem *defelt;
  15. ParamString *param;
  16. SortGroupBy *sortgroupby;
  17. JoinExpr *joinexpr;
  18. IndexElem *ielem;
  19. RangeVar *range;
  20. RelExpr *relexp;
  21. A_Indices *aind;
  22. ResTarget *target;
  23. ParamNo *paramno;
  24. VersionStmt *vstmt;
  25. DefineStmt *dstmt;
  26. RuleStmt *rstmt;
  27. InsertStmt *astmt;
  28. } YYSTYPE;
  29. #define ABSOLUTE 257
  30. #define ACTION 258
  31. #define ADD 259
  32. #define ALL 260
  33. #define ALTER 261
  34. #define AND 262
  35. #define ANY 263
  36. #define AS 264
  37. #define ASC 265
  38. #define BEGIN_TRANS 266
  39. #define BETWEEN 267
  40. #define BOTH 268
  41. #define BY 269
  42. #define CASCADE 270
  43. #define CASE 271
  44. #define CAST 272
  45. #define CHAR 273
  46. #define CHARACTER 274
  47. #define CHECK 275
  48. #define CLOSE 276
  49. #define COALESCE 277
  50. #define COLLATE 278
  51. #define COLUMN 279
  52. #define COMMIT 280
  53. #define CONSTRAINT 281
  54. #define CREATE 282
  55. #define CROSS 283
  56. #define CURRENT 284
  57. #define CURRENT_DATE 285
  58. #define CURRENT_TIME 286
  59. #define CURRENT_TIMESTAMP 287
  60. #define CURRENT_USER 288
  61. #define CURSOR 289
  62. #define DAY_P 290
  63. #define DECIMAL 291
  64. #define DECLARE 292
  65. #define DEFAULT 293
  66. #define DELETE 294
  67. #define DESC 295
  68. #define DISTINCT 296
  69. #define DOUBLE 297
  70. #define DROP 298
  71. #define ELSE 299
  72. #define END_TRANS 300
  73. #define EXCEPT 301
  74. #define EXECUTE 302
  75. #define EXISTS 303
  76. #define EXTRACT 304
  77. #define FALSE_P 305
  78. #define FETCH 306
  79. #define FLOAT 307
  80. #define FOR 308
  81. #define FOREIGN 309
  82. #define FROM 310
  83. #define FULL 311
  84. #define GLOBAL 312
  85. #define GRANT 313
  86. #define GROUP 314
  87. #define HAVING 315
  88. #define HOUR_P 316
  89. #define IN 317
  90. #define INNER_P 318
  91. #define INSENSITIVE 319
  92. #define INSERT 320
  93. #define INTERSECT 321
  94. #define INTERVAL 322
  95. #define INTO 323
  96. #define IS 324
  97. #define ISOLATION 325
  98. #define JOIN 326
  99. #define KEY 327
  100. #define LANGUAGE 328
  101. #define LEADING 329
  102. #define LEFT 330
  103. #define LEVEL 331
  104. #define LIKE 332
  105. #define LOCAL 333
  106. #define MATCH 334
  107. #define MINUTE_P 335
  108. #define MONTH_P 336
  109. #define NAMES 337
  110. #define NATIONAL 338
  111. #define NATURAL 339
  112. #define NCHAR 340
  113. #define NEXT 341
  114. #define NO 342
  115. #define NOT 343
  116. #define NULLIF 344
  117. #define NULL_P 345
  118. #define NUMERIC 346
  119. #define OF 347
  120. #define ON 348
  121. #define ONLY 349
  122. #define OPTION 350
  123. #define OR 351
  124. #define ORDER 352
  125. #define OUTER_P 353
  126. #define PARTIAL 354
  127. #define POSITION 355
  128. #define PRECISION 356
  129. #define PRIMARY 357
  130. #define PRIOR 358
  131. #define PRIVILEGES 359
  132. #define PROCEDURE 360
  133. #define PUBLIC 361
  134. #define READ 362
  135. #define REFERENCES 363
  136. #define RELATIVE 364
  137. #define REVOKE 365
  138. #define RIGHT 366
  139. #define ROLLBACK 367
  140. #define SCROLL 368
  141. #define SECOND_P 369
  142. #define SELECT 370
  143. #define SET 371
  144. #define SUBSTRING 372
  145. #define TABLE 373
  146. #define TEMP 374
  147. #define TEMPORARY 375
  148. #define THEN 376
  149. #define TIME 377
  150. #define TIMESTAMP 378
  151. #define TIMEZONE_HOUR 379
  152. #define TIMEZONE_MINUTE 380
  153. #define TO 381
  154. #define TRAILING 382
  155. #define TRANSACTION 383
  156. #define TRIM 384
  157. #define TRUE_P 385
  158. #define UNION 386
  159. #define UNIQUE 387
  160. #define UPDATE 388
  161. #define USER 389
  162. #define USING 390
  163. #define VALUES 391
  164. #define VARCHAR 392
  165. #define VARYING 393
  166. #define VIEW 394
  167. #define WHEN 395
  168. #define WHERE 396
  169. #define WITH 397
  170. #define WORK 398
  171. #define YEAR_P 399
  172. #define ZONE 400
  173. #define TRIGGER 401
  174. #define COMMITTED 402
  175. #define SERIALIZABLE 403
  176. #define TYPE_P 404
  177. #define ABORT_TRANS 405
  178. #define ACCESS 406
  179. #define AFTER 407
  180. #define AGGREGATE 408
  181. #define ANALYZE 409
  182. #define BACKWARD 410
  183. #define BEFORE 411
  184. #define BINARY 412
  185. #define CACHE 413
  186. #define CLUSTER 414
  187. #define COPY 415
  188. #define CREATEDB 416
  189. #define CREATEUSER 417
  190. #define CYCLE 418
  191. #define DATABASE 419
  192. #define DELIMITERS 420
  193. #define DO 421
  194. #define EACH 422
  195. #define ENCODING 423
  196. #define EXCLUSIVE 424
  197. #define EXPLAIN 425
  198. #define EXTEND 426
  199. #define FORWARD 427
  200. #define FUNCTION 428
  201. #define HANDLER 429
  202. #define INCREMENT 430
  203. #define INDEX 431
  204. #define INHERITS 432
  205. #define INSTEAD 433
  206. #define ISNULL 434
  207. #define LANCOMPILER 435
  208. #define LIMIT 436
  209. #define LISTEN 437
  210. #define LOAD 438
  211. #define LOCATION 439
  212. #define LOCK_P 440
  213. #define MAXVALUE 441
  214. #define MINVALUE 442
  215. #define MODE 443
  216. #define MOVE 444
  217. #define NEW 445
  218. #define NOCREATEDB 446
  219. #define NOCREATEUSER 447
  220. #define NONE 448
  221. #define NOTHING 449
  222. #define NOTIFY 450
  223. #define NOTNULL 451
  224. #define OFFSET 452
  225. #define OIDS 453
  226. #define OPERATOR 454
  227. #define PASSWORD 455
  228. #define PROCEDURAL 456
  229. #define RENAME 457
  230. #define RESET 458
  231. #define RETURNS 459
  232. #define ROW 460
  233. #define RULE 461
  234. #define SEQUENCE 462
  235. #define SERIAL 463
  236. #define SETOF 464
  237. #define SHARE 465
  238. #define SHOW 466
  239. #define START 467
  240. #define STATEMENT 468
  241. #define STDIN 469
  242. #define STDOUT 470
  243. #define TRUSTED 471
  244. #define UNLISTEN 472
  245. #define UNTIL 473
  246. #define VACUUM 474
  247. #define VALID 475
  248. #define VERBOSE 476
  249. #define VERSION 477
  250. #define IDENT 478
  251. #define SCONST 479
  252. #define Op 480
  253. #define ICONST 481
  254. #define PARAM 482
  255. #define FCONST 483
  256. #define OP 484
  257. #define UMINUS 485
  258. #define TYPECAST 486
  259. extern YYSTYPE yylval;