kexi

sqlparser.h

00001 #ifndef _SQLPARSER_H_
00002 #define _SQLPARSER_H_
00003 #include "field.h"
00004 #include "parser.h"
00005 #include "sqltypes.h"
00006 
00007 bool parseData(KexiDB::Parser *p, const char *data);
00008 /* A Bison parser, made by GNU Bison 2.2.  */
00009 
00010 /* Skeleton interface for Bison's Yacc-like parsers in C
00011 
00012    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
00013    Free Software Foundation, Inc.
00014 
00015    This program is free software; you can redistribute it and/or modify
00016    it under the terms of the GNU General Public License as published by
00017    the Free Software Foundation; either version 2, or (at your option)
00018    any later version.
00019 
00020    This program is distributed in the hope that it will be useful,
00021    but WITHOUT ANY WARRANTY; without even the implied warranty of
00022    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00023    GNU General Public License for more details.
00024 
00025    You should have received a copy of the GNU General Public License
00026    along with this program; if not, write to the Free Software
00027    Foundation, Inc., 51 Franklin Street, Fifth Floor,
00028    Boston, MA 02110-1301, USA.  */
00029 
00030 /* As a special exception, you may create a larger work that contains
00031    part or all of the Bison parser skeleton and distribute that work
00032    under terms of your choice, so long as that work isn't itself a
00033    parser generator using the skeleton or a modified version thereof
00034    as a parser skeleton.  Alternatively, if you modify or redistribute
00035    the parser skeleton itself, you may (at your option) remove this
00036    special exception, which will cause the skeleton and the resulting
00037    Bison output files to be licensed under the GNU General Public
00038    License without this special exception.
00039 
00040    This special exception was added by the Free Software Foundation in
00041    version 2.2 of Bison.  */
00042 
00043 /* Tokens.  */
00044 #ifndef YYTOKENTYPE
00045 # define YYTOKENTYPE
00046    /* Put the tokens into the symbol table, so that GDB and other debuggers
00047       know about them.  */
00048    enum yytokentype {
00049      UMINUS = 258,
00050      SQL_TYPE = 259,
00051      SQL_ABS = 260,
00052      ACOS = 261,
00053      AMPERSAND = 262,
00054      SQL_ABSOLUTE = 263,
00055      ADA = 264,
00056      ADD = 265,
00057      ADD_DAYS = 266,
00058      ADD_HOURS = 267,
00059      ADD_MINUTES = 268,
00060      ADD_MONTHS = 269,
00061      ADD_SECONDS = 270,
00062      ADD_YEARS = 271,
00063      ALL = 272,
00064      ALLOCATE = 273,
00065      ALTER = 274,
00066      AND = 275,
00067      ANY = 276,
00068      ARE = 277,
00069      AS = 278,
00070      ASIN = 279,
00071      ASC = 280,
00072      ASCII = 281,
00073      ASSERTION = 282,
00074      ATAN = 283,
00075      ATAN2 = 284,
00076      AUTHORIZATION = 285,
00077      AUTO_INCREMENT = 286,
00078      AVG = 287,
00079      BEFORE = 288,
00080      SQL_BEGIN = 289,
00081      BETWEEN = 290,
00082      BIGINT = 291,
00083      BINARY = 292,
00084      BIT = 293,
00085      BIT_LENGTH = 294,
00086      BITWISE_SHIFT_LEFT = 295,
00087      BITWISE_SHIFT_RIGHT = 296,
00088      BREAK = 297,
00089      BY = 298,
00090      CASCADE = 299,
00091      CASCADED = 300,
00092      CASE = 301,
00093      CAST = 302,
00094      CATALOG = 303,
00095      CEILING = 304,
00096      CENTER = 305,
00097      SQL_CHAR = 306,
00098      CHAR_LENGTH = 307,
00099      CHARACTER_STRING_LITERAL = 308,
00100      CHECK = 309,
00101      CLOSE = 310,
00102      COALESCE = 311,
00103      COBOL = 312,
00104      COLLATE = 313,
00105      COLLATION = 314,
00106      COLUMN = 315,
00107      COMMIT = 316,
00108      COMPUTE = 317,
00109      CONCAT = 318,
00110      CONCATENATION = 319,
00111      CONNECT = 320,
00112      CONNECTION = 321,
00113      CONSTRAINT = 322,
00114      CONSTRAINTS = 323,
00115      CONTINUE = 324,
00116      CONVERT = 325,
00117      CORRESPONDING = 326,
00118      COS = 327,
00119      COT = 328,
00120      COUNT = 329,
00121      CREATE = 330,
00122      CURDATE = 331,
00123      CURRENT = 332,
00124      CURRENT_DATE = 333,
00125      CURRENT_TIME = 334,
00126      CURRENT_TIMESTAMP = 335,
00127      CURTIME = 336,
00128      CURSOR = 337,
00129      DATABASE = 338,
00130      SQL_DATE = 339,
00131      DATE_FORMAT = 340,
00132      DATE_REMAINDER = 341,
00133      DATE_VALUE = 342,
00134      DAY = 343,
00135      DAYOFMONTH = 344,
00136      DAYOFWEEK = 345,
00137      DAYOFYEAR = 346,
00138      DAYS_BETWEEN = 347,
00139      DEALLOCATE = 348,
00140      DEC = 349,
00141      DECLARE = 350,
00142      DEFAULT = 351,
00143      DEFERRABLE = 352,
00144      DEFERRED = 353,
00145      SQL_DELETE = 354,
00146      DESC = 355,
00147      DESCRIBE = 356,
00148      DESCRIPTOR = 357,
00149      DIAGNOSTICS = 358,
00150      DICTIONARY = 359,
00151      DIRECTORY = 360,
00152      DISCONNECT = 361,
00153      DISPLACEMENT = 362,
00154      DISTINCT = 363,
00155      DOMAIN_TOKEN = 364,
00156      SQL_DOUBLE = 365,
00157      DOUBLE_QUOTED_STRING = 366,
00158      DROP = 367,
00159      ELSE = 368,
00160      END = 369,
00161      END_EXEC = 370,
00162      EQUAL = 371,
00163      ESCAPE = 372,
00164      EXCEPT = 373,
00165      SQL_EXCEPTION = 374,
00166      EXEC = 375,
00167      EXECUTE = 376,
00168      EXISTS = 377,
00169      EXP = 378,
00170      EXPONENT = 379,
00171      EXTERNAL = 380,
00172      EXTRACT = 381,
00173      SQL_FALSE = 382,
00174      FETCH = 383,
00175      FIRST = 384,
00176      SQL_FLOAT = 385,
00177      FLOOR = 386,
00178      FN = 387,
00179      FOR = 388,
00180      FOREIGN = 389,
00181      FORTRAN = 390,
00182      FOUND = 391,
00183      FOUR_DIGITS = 392,
00184      FROM = 393,
00185      FULL = 394,
00186      GET = 395,
00187      GLOBAL = 396,
00188      GO = 397,
00189      GOTO = 398,
00190      GRANT = 399,
00191      GREATER_OR_EQUAL = 400,
00192      HAVING = 401,
00193      HOUR = 402,
00194      HOURS_BETWEEN = 403,
00195      IDENTITY = 404,
00196      IFNULL = 405,
00197      SQL_IGNORE = 406,
00198      IMMEDIATE = 407,
00199      SQL_IN = 408,
00200      INCLUDE = 409,
00201      INDEX = 410,
00202      INDICATOR = 411,
00203      INITIALLY = 412,
00204      INNER = 413,
00205      INPUT = 414,
00206      INSENSITIVE = 415,
00207      INSERT = 416,
00208      INTEGER = 417,
00209      INTERSECT = 418,
00210      INTERVAL = 419,
00211      INTO = 420,
00212      IS = 421,
00213      ISOLATION = 422,
00214      JOIN = 423,
00215      JUSTIFY = 424,
00216      KEY = 425,
00217      LANGUAGE = 426,
00218      LAST = 427,
00219      LCASE = 428,
00220      LEFT = 429,
00221      LENGTH = 430,
00222      LESS_OR_EQUAL = 431,
00223      LEVEL = 432,
00224      LIKE = 433,
00225      LINE_WIDTH = 434,
00226      LOCAL = 435,
00227      LOCATE = 436,
00228      LOG = 437,
00229      SQL_LONG = 438,
00230      LOWER = 439,
00231      LTRIM = 440,
00232      LTRIP = 441,
00233      MATCH = 442,
00234      SQL_MAX = 443,
00235      MICROSOFT = 444,
00236      SQL_MIN = 445,
00237      MINUS = 446,
00238      MINUTE = 447,
00239      MINUTES_BETWEEN = 448,
00240      MOD = 449,
00241      MODIFY = 450,
00242      MODULE = 451,
00243      MONTH = 452,
00244      MONTHS_BETWEEN = 453,
00245      MUMPS = 454,
00246      NAMES = 455,
00247      NATIONAL = 456,
00248      NCHAR = 457,
00249      NEXT = 458,
00250      NODUP = 459,
00251      NONE = 460,
00252      NOT = 461,
00253      NOT_EQUAL = 462,
00254      NOT_EQUAL2 = 463,
00255      NOW = 464,
00256      SQL_NULL = 465,
00257      SQL_IS = 466,
00258      SQL_IS_NULL = 467,
00259      SQL_IS_NOT_NULL = 468,
00260      NULLIF = 469,
00261      NUMERIC = 470,
00262      OCTET_LENGTH = 471,
00263      ODBC = 472,
00264      OF = 473,
00265      SQL_OFF = 474,
00266      SQL_ON = 475,
00267      ONLY = 476,
00268      OPEN = 477,
00269      OPTION = 478,
00270      OR = 479,
00271      ORDER = 480,
00272      OUTER = 481,
00273      OUTPUT = 482,
00274      OVERLAPS = 483,
00275      PAGE = 484,
00276      PARTIAL = 485,
00277      SQL_PASCAL = 486,
00278      PERSISTENT = 487,
00279      CQL_PI = 488,
00280      PLI = 489,
00281      POSITION = 490,
00282      PRECISION = 491,
00283      PREPARE = 492,
00284      PRESERVE = 493,
00285      PRIMARY = 494,
00286      PRIOR = 495,
00287      PRIVILEGES = 496,
00288      PROCEDURE = 497,
00289      PRODUCT = 498,
00290      PUBLIC = 499,
00291      QUARTER = 500,
00292      QUIT = 501,
00293      RAND = 502,
00294      READ_ONLY = 503,
00295      REAL = 504,
00296      REFERENCES = 505,
00297      REPEAT = 506,
00298      REPLACE = 507,
00299      RESTRICT = 508,
00300      REVOKE = 509,
00301      RIGHT = 510,
00302      ROLLBACK = 511,
00303      ROWS = 512,
00304      RPAD = 513,
00305      RTRIM = 514,
00306      SCHEMA = 515,
00307      SCREEN_WIDTH = 516,
00308      SCROLL = 517,
00309      SECOND = 518,
00310      SECONDS_BETWEEN = 519,
00311      SELECT = 520,
00312      SEQUENCE = 521,
00313      SETOPT = 522,
00314      SET = 523,
00315      SHOWOPT = 524,
00316      SIGN = 525,
00317      SIMILAR_TO = 526,
00318      NOT_SIMILAR_TO = 527,
00319      INTEGER_CONST = 528,
00320      REAL_CONST = 529,
00321      DATE_CONST = 530,
00322      DATETIME_CONST = 531,
00323      TIME_CONST = 532,
00324      SIN = 533,
00325      SQL_SIZE = 534,
00326      SMALLINT = 535,
00327      SOME = 536,
00328      SPACE = 537,
00329      SQL = 538,
00330      SQL_TRUE = 539,
00331      SQLCA = 540,
00332      SQLCODE = 541,
00333      SQLERROR = 542,
00334      SQLSTATE = 543,
00335      SQLWARNING = 544,
00336      SQRT = 545,
00337      STDEV = 546,
00338      SUBSTRING = 547,
00339      SUM = 548,
00340      SYSDATE = 549,
00341      SYSDATE_FORMAT = 550,
00342      SYSTEM = 551,
00343      TABLE = 552,
00344      TAN = 553,
00345      TEMPORARY = 554,
00346      THEN = 555,
00347      THREE_DIGITS = 556,
00348      TIME = 557,
00349      TIMESTAMP = 558,
00350      TIMEZONE_HOUR = 559,
00351      TIMEZONE_MINUTE = 560,
00352      TINYINT = 561,
00353      TO = 562,
00354      TO_CHAR = 563,
00355      TO_DATE = 564,
00356      TRANSACTION = 565,
00357      TRANSLATE = 566,
00358      TRANSLATION = 567,
00359      TRUNCATE = 568,
00360      GENERAL_TITLE = 569,
00361      TWO_DIGITS = 570,
00362      UCASE = 571,
00363      UNION = 572,
00364      UNIQUE = 573,
00365      SQL_UNKNOWN = 574,
00366      UPDATE = 575,
00367      UPPER = 576,
00368      USAGE = 577,
00369      USER = 578,
00370      IDENTIFIER = 579,
00371      IDENTIFIER_DOT_ASTERISK = 580,
00372      QUERY_PARAMETER = 581,
00373      USING = 582,
00374      VALUE = 583,
00375      VALUES = 584,
00376      VARBINARY = 585,
00377      VARCHAR = 586,
00378      VARYING = 587,
00379      VENDOR = 588,
00380      VIEW = 589,
00381      WEEK = 590,
00382      WHEN = 591,
00383      WHENEVER = 592,
00384      WHERE = 593,
00385      WHERE_CURRENT_OF = 594,
00386      WITH = 595,
00387      WORD_WRAPPED = 596,
00388      WORK = 597,
00389      WRAPPED = 598,
00390      XOR = 599,
00391      YEAR = 600,
00392      YEARS_BETWEEN = 601,
00393      SCAN_ERROR = 602,
00394      __LAST_TOKEN = 603,
00395      ILIKE = 604
00396    };
00397 #endif
00398 /* Tokens.  */
00399 #define UMINUS 258
00400 #define SQL_TYPE 259
00401 #define SQL_ABS 260
00402 #define ACOS 261
00403 #define AMPERSAND 262
00404 #define SQL_ABSOLUTE 263
00405 #define ADA 264
00406 #define ADD 265
00407 #define ADD_DAYS 266
00408 #define ADD_HOURS 267
00409 #define ADD_MINUTES 268
00410 #define ADD_MONTHS 269
00411 #define ADD_SECONDS 270
00412 #define ADD_YEARS 271
00413 #define ALL 272
00414 #define ALLOCATE 273
00415 #define ALTER 274
00416 #define AND 275
00417 #define ANY 276
00418 #define ARE 277
00419 #define AS 278
00420 #define ASIN 279
00421 #define ASC 280
00422 #define ASCII 281
00423 #define ASSERTION 282
00424 #define ATAN 283
00425 #define ATAN2 284
00426 #define AUTHORIZATION 285
00427 #define AUTO_INCREMENT 286
00428 #define AVG 287
00429 #define BEFORE 288
00430 #define SQL_BEGIN 289
00431 #define BETWEEN 290
00432 #define BIGINT 291
00433 #define BINARY 292
00434 #define BIT 293
00435 #define BIT_LENGTH 294
00436 #define BITWISE_SHIFT_LEFT 295
00437 #define BITWISE_SHIFT_RIGHT 296
00438 #define BREAK 297
00439 #define BY 298
00440 #define CASCADE 299
00441 #define CASCADED 300
00442 #define CASE 301
00443 #define CAST 302
00444 #define CATALOG 303
00445 #define CEILING 304
00446 #define CENTER 305
00447 #define SQL_CHAR 306
00448 #define CHAR_LENGTH 307
00449 #define CHARACTER_STRING_LITERAL 308
00450 #define CHECK 309
00451 #define CLOSE 310
00452 #define COALESCE 311
00453 #define COBOL 312
00454 #define COLLATE 313
00455 #define COLLATION 314
00456 #define COLUMN 315
00457 #define COMMIT 316
00458 #define COMPUTE 317
00459 #define CONCAT 318
00460 #define CONCATENATION 319
00461 #define CONNECT 320
00462 #define CONNECTION 321
00463 #define CONSTRAINT 322
00464 #define CONSTRAINTS 323
00465 #define CONTINUE 324
00466 #define CONVERT 325
00467 #define CORRESPONDING 326
00468 #define COS 327
00469 #define COT 328
00470 #define COUNT 329
00471 #define CREATE 330
00472 #define CURDATE 331
00473 #define CURRENT 332
00474 #define CURRENT_DATE 333
00475 #define CURRENT_TIME 334
00476 #define CURRENT_TIMESTAMP 335
00477 #define CURTIME 336
00478 #define CURSOR 337
00479 #define DATABASE 338
00480 #define SQL_DATE 339
00481 #define DATE_FORMAT 340
00482 #define DATE_REMAINDER 341
00483 #define DATE_VALUE 342
00484 #define DAY 343
00485 #define DAYOFMONTH 344
00486 #define DAYOFWEEK 345
00487 #define DAYOFYEAR 346
00488 #define DAYS_BETWEEN 347
00489 #define DEALLOCATE 348
00490 #define DEC 349
00491 #define DECLARE 350
00492 #define DEFAULT 351
00493 #define DEFERRABLE 352
00494 #define DEFERRED 353
00495 #define SQL_DELETE 354
00496 #define DESC 355
00497 #define DESCRIBE 356
00498 #define DESCRIPTOR 357
00499 #define DIAGNOSTICS 358
00500 #define DICTIONARY 359
00501 #define DIRECTORY 360
00502 #define DISCONNECT 361
00503 #define DISPLACEMENT 362
00504 #define DISTINCT 363
00505 #define DOMAIN_TOKEN 364
00506 #define SQL_DOUBLE 365
00507 #define DOUBLE_QUOTED_STRING 366
00508 #define DROP 367
00509 #define ELSE 368
00510 #define END 369
00511 #define END_EXEC 370
00512 #define EQUAL 371
00513 #define ESCAPE 372
00514 #define EXCEPT 373
00515 #define SQL_EXCEPTION 374
00516 #define EXEC 375
00517 #define EXECUTE 376
00518 #define EXISTS 377
00519 #define EXP 378
00520 #define EXPONENT 379
00521 #define EXTERNAL 380
00522 #define EXTRACT 381
00523 #define SQL_FALSE 382
00524 #define FETCH 383
00525 #define FIRST 384
00526 #define SQL_FLOAT 385
00527 #define FLOOR 386
00528 #define FN 387
00529 #define FOR 388
00530 #define FOREIGN 389
00531 #define FORTRAN 390
00532 #define FOUND 391
00533 #define FOUR_DIGITS 392
00534 #define FROM 393
00535 #define FULL 394
00536 #define GET 395
00537 #define GLOBAL 396
00538 #define GO 397
00539 #define GOTO 398
00540 #define GRANT 399
00541 #define GREATER_OR_EQUAL 400
00542 #define HAVING 401
00543 #define HOUR 402
00544 #define HOURS_BETWEEN 403
00545 #define IDENTITY 404
00546 #define IFNULL 405
00547 #define SQL_IGNORE 406
00548 #define IMMEDIATE 407
00549 #define SQL_IN 408
00550 #define INCLUDE 409
00551 #define INDEX 410
00552 #define INDICATOR 411
00553 #define INITIALLY 412
00554 #define INNER 413
00555 #define INPUT 414
00556 #define INSENSITIVE 415
00557 #define INSERT 416
00558 #define INTEGER 417
00559 #define INTERSECT 418
00560 #define INTERVAL 419
00561 #define INTO 420
00562 #define IS 421
00563 #define ISOLATION 422
00564 #define JOIN 423
00565 #define JUSTIFY 424
00566 #define KEY 425
00567 #define LANGUAGE 426
00568 #define LAST 427
00569 #define LCASE 428
00570 #define LEFT 429
00571 #define LENGTH 430
00572 #define LESS_OR_EQUAL 431
00573 #define LEVEL 432
00574 #define LIKE 433
00575 #define LINE_WIDTH 434
00576 #define LOCAL 435
00577 #define LOCATE 436
00578 #define LOG 437
00579 #define SQL_LONG 438
00580 #define LOWER 439
00581 #define LTRIM 440
00582 #define LTRIP 441
00583 #define MATCH 442
00584 #define SQL_MAX 443
00585 #define MICROSOFT 444
00586 #define SQL_MIN 445
00587 #define MINUS 446
00588 #define MINUTE 447
00589 #define MINUTES_BETWEEN 448
00590 #define MOD 449
00591 #define MODIFY 450
00592 #define MODULE 451
00593 #define MONTH 452
00594 #define MONTHS_BETWEEN 453
00595 #define MUMPS 454
00596 #define NAMES 455
00597 #define NATIONAL 456
00598 #define NCHAR 457
00599 #define NEXT 458
00600 #define NODUP 459
00601 #define NONE 460
00602 #define NOT 461
00603 #define NOT_EQUAL 462
00604 #define NOT_EQUAL2 463
00605 #define NOW 464
00606 #define SQL_NULL 465
00607 #define SQL_IS 466
00608 #define SQL_IS_NULL 467
00609 #define SQL_IS_NOT_NULL 468
00610 #define NULLIF 469
00611 #define NUMERIC 470
00612 #define OCTET_LENGTH 471
00613 #define ODBC 472
00614 #define OF 473
00615 #define SQL_OFF 474
00616 #define SQL_ON 475
00617 #define ONLY 476
00618 #define OPEN 477
00619 #define OPTION 478
00620 #define OR 479
00621 #define ORDER 480
00622 #define OUTER 481
00623 #define OUTPUT 482
00624 #define OVERLAPS 483
00625 #define PAGE 484
00626 #define PARTIAL 485
00627 #define SQL_PASCAL 486
00628 #define PERSISTENT 487
00629 #define CQL_PI 488
00630 #define PLI 489
00631 #define POSITION 490
00632 #define PRECISION 491
00633 #define PREPARE 492
00634 #define PRESERVE 493
00635 #define PRIMARY 494
00636 #define PRIOR 495
00637 #define PRIVILEGES 496
00638 #define PROCEDURE 497
00639 #define PRODUCT 498
00640 #define PUBLIC 499
00641 #define QUARTER 500
00642 #define QUIT 501
00643 #define RAND 502
00644 #define READ_ONLY 503
00645 #define REAL 504
00646 #define REFERENCES 505
00647 #define REPEAT 506
00648 #define REPLACE 507
00649 #define RESTRICT 508
00650 #define REVOKE 509
00651 #define RIGHT 510
00652 #define ROLLBACK 511
00653 #define ROWS 512
00654 #define RPAD 513
00655 #define RTRIM 514
00656 #define SCHEMA 515
00657 #define SCREEN_WIDTH 516
00658 #define SCROLL 517
00659 #define SECOND 518
00660 #define SECONDS_BETWEEN 519
00661 #define SELECT 520
00662 #define SEQUENCE 521
00663 #define SETOPT 522
00664 #define SET 523
00665 #define SHOWOPT 524
00666 #define SIGN 525
00667 #define SIMILAR_TO 526
00668 #define NOT_SIMILAR_TO 527
00669 #define INTEGER_CONST 528
00670 #define REAL_CONST 529
00671 #define DATE_CONST 530
00672 #define DATETIME_CONST 531
00673 #define TIME_CONST 532
00674 #define SIN 533
00675 #define SQL_SIZE 534
00676 #define SMALLINT 535
00677 #define SOME 536
00678 #define SPACE 537
00679 #define SQL 538
00680 #define SQL_TRUE 539
00681 #define SQLCA 540
00682 #define SQLCODE 541
00683 #define SQLERROR 542
00684 #define SQLSTATE 543
00685 #define SQLWARNING 544
00686 #define SQRT 545
00687 #define STDEV 546
00688 #define SUBSTRING 547
00689 #define SUM 548
00690 #define SYSDATE 549
00691 #define SYSDATE_FORMAT 550
00692 #define SYSTEM 551
00693 #define TABLE 552
00694 #define TAN 553
00695 #define TEMPORARY 554
00696 #define THEN 555
00697 #define THREE_DIGITS 556
00698 #define TIME 557
00699 #define TIMESTAMP 558
00700 #define TIMEZONE_HOUR 559
00701 #define TIMEZONE_MINUTE 560
00702 #define TINYINT 561
00703 #define TO 562
00704 #define TO_CHAR 563
00705 #define TO_DATE 564
00706 #define TRANSACTION 565
00707 #define TRANSLATE 566
00708 #define TRANSLATION 567
00709 #define TRUNCATE 568
00710 #define GENERAL_TITLE 569
00711 #define TWO_DIGITS 570
00712 #define UCASE 571
00713 #define UNION 572
00714 #define UNIQUE 573
00715 #define SQL_UNKNOWN 574
00716 #define UPDATE 575
00717 #define UPPER 576
00718 #define USAGE 577
00719 #define USER 578
00720 #define IDENTIFIER 579
00721 #define IDENTIFIER_DOT_ASTERISK 580
00722 #define QUERY_PARAMETER 581
00723 #define USING 582
00724 #define VALUE 583
00725 #define VALUES 584
00726 #define VARBINARY 585
00727 #define VARCHAR 586
00728 #define VARYING 587
00729 #define VENDOR 588
00730 #define VIEW 589
00731 #define WEEK 590
00732 #define WHEN 591
00733 #define WHENEVER 592
00734 #define WHERE 593
00735 #define WHERE_CURRENT_OF 594
00736 #define WITH 595
00737 #define WORD_WRAPPED 596
00738 #define WORK 597
00739 #define WRAPPED 598
00740 #define XOR 599
00741 #define YEAR 600
00742 #define YEARS_BETWEEN 601
00743 #define SCAN_ERROR 602
00744 #define __LAST_TOKEN 603
00745 #define ILIKE 604
00746 
00747 
00748 
00749 
00750 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
00751 typedef union YYSTYPE
00752 #line 511 "sqlparser.y"
00753 {
00754     QString* stringValue;
00755     Q_LLONG integerValue;
00756     bool booleanValue;
00757     struct realType realValue;
00758     KexiDB::Field::Type colType;
00759     KexiDB::Field *field;
00760     KexiDB::BaseExpr *expr;
00761     KexiDB::NArgExpr *exprList;
00762     KexiDB::ConstExpr *constExpr;
00763     KexiDB::QuerySchema *querySchema;
00764     SelectOptionsInternal *selectOptions;
00765     OrderByColumnInternal::List *orderByColumns;
00766     QVariant *variantValue;
00767 }
00768 /* Line 1528 of yacc.c.  */
00769 #line 763 "sqlparser.tab.h"
00770     YYSTYPE;
00771 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
00772 # define YYSTYPE_IS_DECLARED 1
00773 # define YYSTYPE_IS_TRIVIAL 1
00774 #endif
00775 
00776 extern YYSTYPE yylval;
00777 
00778 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys