A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/query__parser__bison_8tab_8c_source.html below:

NCBI C++ ToolKit: src/util/qparse/query_parser_bison.tab.c Source File

49 #define YYBISON_VERSION "2.4.1" 52 #define YYSKELETON_NAME "yacc.c" 64 #define YYLSP_NEEDED 0 67 #define yyparse ncbi_q_parse 68 #define yylex ncbi_q_lex 69 #define yyerror ncbi_q_error 70 #define yylval ncbi_q_lval 71 #define yychar ncbi_q_char 72 #define yydebug ncbi_q_debug 73 #define yynerrs ncbi_q_nerrs 79 #line 33 "query_parser_bison.y" 82 #define YYSTYPE CQueryParseTree::TNode* 83 #define YYPARSE_PARAM parm 84 #define YYLEX_PARAM parm 85 #define YYMAXDEPTH 100000 88 #define YYERROR_VERBOSE 1 106  env

->AttachQueryTree(rnode);

107  env

->ForgetPoolNodes(node1, node2);

124  env

->ForgetPoolNodes(node, 0);

137  env

->ForgetPoolNodes(node, 0);

143 #line 144 "query_parser_bison.tab.c" 151 #ifdef YYERROR_VERBOSE 152 # undef YYERROR_VERBOSE 153 # define YYERROR_VERBOSE 1 155 # define YYERROR_VERBOSE 0 159 #ifndef YYTOKEN_TABLE 160 # define YYTOKEN_TABLE 0 200 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 202 # define YYSTYPE_IS_TRIVIAL 1 203 # define yystype YYSTYPE 204 # define YYSTYPE_IS_DECLARED 1 212 #line 213 "query_parser_bison.tab.c" 226 #elif (defined __STDC__ || defined __C99__FUNC__ \ 227  || defined __cplusplus || defined _MSC_VER) 246 # ifdef __SIZE_TYPE__ 247 # define YYSIZE_T __SIZE_TYPE__ 248 # elif defined size_t 249 # define YYSIZE_T size_t 250 # elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \ 251  || defined __cplusplus || defined _MSC_VER) 253 # define YYSIZE_T size_t 255 # define YYSIZE_T unsigned int 259 #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) 264 # include <libintl.h> 265 # define YY_(msgid) dgettext ("bison-runtime"

, msgid)

269 # define YY_(msgid) msgid 274 #if ! defined lint || defined __GNUC__ 275 # define YYUSE(e) ((void) (e)) 284 #if (defined __STDC__ || defined __C99__FUNC__ \ 285  || defined __cplusplus || defined _MSC_VER) 298 #if ! defined yyoverflow || YYERROR_VERBOSE 302 # ifdef YYSTACK_USE_ALLOCA 303 # if YYSTACK_USE_ALLOCA 305 # define YYSTACK_ALLOC __builtin_alloca 306 # elif defined __BUILTIN_VA_ARG_INCR 309 # define YYSTACK_ALLOC __alloca 310 # elif defined _MSC_VER 312 # define alloca _alloca 314 # define YYSTACK_ALLOC alloca 315 # if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ 316  || defined __cplusplus || defined _MSC_VER) 326 # ifdef YYSTACK_ALLOC 328 # define YYSTACK_FREE(Ptr) do { ; } while (YYID (0)) 329 # ifndef YYSTACK_ALLOC_MAXIMUM 334 # define YYSTACK_ALLOC_MAXIMUM 4032 337 # define YYSTACK_ALLOC YYMALLOC 338 # define YYSTACK_FREE YYFREE 339 # ifndef YYSTACK_ALLOC_MAXIMUM 340 # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM 342 # if (defined __cplusplus && ! defined _STDLIB_H \ 343  && ! ((defined YYMALLOC || defined malloc) \ 344  && (defined YYFREE || defined free))) 351 # define YYMALLOC malloc 352 # if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ 353  || defined __cplusplus || defined _MSC_VER) 359 # if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ 360  || defined __cplusplus || defined _MSC_VER) 368 #if (! defined yyoverflow \ 369  && (! defined __cplusplus \ 370  || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) 380 # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) 384 # define YYSTACK_BYTES(N) \ 385  ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ 386  + YYSTACK_GAP_MAXIMUM) 391 # if defined __GNUC__ && 1 < __GNUC__ 392 # define YYCOPY(To, From, Count) \ 393  __builtin_memcpy (To, From, (Count) * sizeof (*(From))) 395 # define YYCOPY(To, From, Count) \ 399  for (yyi = 0; yyi < (Count); yyi++) \ 400  (To)[yyi] = (From)[yyi]; \ 411 # define YYSTACK_RELOCATE(Stack_alloc, Stack) \ 414  YYSIZE_T yynewbytes; \ 415  YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \ 416  Stack = &yyptr->Stack_alloc; \ 417  yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \ 418  yyptr += yynewbytes / sizeof (*yyptr); \ 440 #define YYMAXUTOK 282 442 #define YYTRANSLATE(YYX) \ 443  ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) 448

0, 2, 2, 2, 2, 2, 2, 2, 2, 2,

449

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

450

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

451

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

452

28, 29, 2, 2, 30, 2, 2, 2, 2, 2,

453

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

454

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

455

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

456

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

457

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

458

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

459

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

460

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

461

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

462

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

463

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

464

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

465

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

466

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

467

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

468

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

469

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

470

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

471

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

472

2, 2, 2, 2, 2, 2, 2, 2, 2, 2,

473

2, 2, 2, 2, 2, 2, 1, 2, 3, 4,

474

5, 6, 7, 8, 9, 10, 11, 12, 13, 14,

475

15, 16, 17, 18, 19, 20, 21, 22, 23, 24,

484

0, 0, 3, 5, 7, 13, 14, 17, 22, 26,

485

28, 32, 34, 36, 38, 40, 42, 46, 48, 52,

486

54, 56, 58, 60, 63, 66, 70, 74, 78, 82,

487

86, 92, 98, 102, 106, 110, 116, 122, 126, 130,

488

134, 138, 142, 146, 149, 152, 155, 158, 161, 165,

495

32, 0, -1, 41, -1, 33, -1, 6, 36, 7,

496

36, 34, -1, -1, 8, 41, -1, 9, 28, 39,

497

29, -1, 9, 28, 29, -1, 37, -1, 36, 30,

498

37, -1, 5, -1, 4, -1, 3, -1, 35, -1,

499

37, -1, 38, 30, 37, -1, 41, -1, 39, 30,

500

41, -1, 38, -1, 33, -1, 37, -1, 35, -1,

501

4, 3, -1, 41, 41, -1, 28, 41, 29, -1,

502

41, 10, 41, -1, 41, 13, 41, -1, 41, 12,

503

41, -1, 41, 14, 41, -1, 37, 22, 37, 10,

504

37, -1, 37, 23, 37, 10, 37, -1, 41, 15,

505

41, -1, 37, 24, 37, -1, 37, 25, 37, -1,

506

37, 26, 28, 40, 29, -1, 37, 27, 28, 40,

507

29, -1, 41, 16, 41, -1, 41, 17, 41, -1,

508

41, 18, 41, -1, 41, 19, 41, -1, 41, 20,

509

41, -1, 41, 21, 41, -1, 11, 41, -1, 1,

510

4, -1, 1, 3, -1, 1, 5, -1, 41, 1,

511

-1, 28, 41, 1, -1, 41, 12, 1, -1, 41,

512

14, 1, -1, 41, 11, 1, -1, 41, 10, 1,

519

0, 128, 128, 129, 136, 176, 180, 190, 199, 210,

520

214, 226, 231, 236, 240, 247, 251, 259, 263, 272,

521

274, 278, 283, 288, 296, 307, 317, 322, 327, 332,

522

337, 350, 364, 369, 374, 379, 390, 401, 406, 410,

523

414, 418, 422, 433, 442, 451, 460, 469, 481, 491,

528 #if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE 533  "$end"

,

"error"

,

"$undefined"

,

"IDENT"

,

"STRING"

,

"NUM_INT"

,

"SELECT"

,

534  "FROM"

,

"WHERE"

,

"FUNCTION"

,

"AND"

,

"NOT"

,

"OR"

,

"SUB"

,

"XOR"

,

"RANGE"

,

535  "EQ"

,

"NOTEQ"

,

"GT"

,

"GE"

,

"LT"

,

"LE"

,

"BETWEEN"

,

"NOT_BETWEEN"

,

"LIKE"

,

536  "NOT_LIKE"

,

"IN"

,

"NOT_IN"

,

"'('"

,

"')'"

,

"','"

,

"$accept"

,

"input"

,

537  "select_clause"

,

"opt_where"

,

"functional"

,

"obj_list"

,

"scalar_value"

,

538  "scalar_list"

,

"exp_list"

,

"in_sub_expr"

,

"exp"

, 0

547

0, 256, 257, 258, 259, 260, 261, 262, 263, 264,

548

265, 266, 267, 268, 269, 270, 271, 272, 273, 274,

549

275, 276, 277, 278, 279, 280, 281, 282, 40, 41,

557

0, 31, 32, 32, 33, 34, 34, 35, 35, 36,

558

36, 37, 37, 37, 37, 38, 38, 39, 39, 40,

559

40, 41, 41, 41, 41, 41, 41, 41, 41, 41,

560

41, 41, 41, 41, 41, 41, 41, 41, 41, 41,

561

41, 41, 41, 41, 41, 41, 41, 41, 41, 41,

568

0, 2, 1, 1, 5, 0, 2, 4, 3, 1,

569

3, 1, 1, 1, 1, 1, 3, 1, 3, 1,

570

1, 1, 1, 2, 2, 3, 3, 3, 3, 3,

571

5, 5, 3, 3, 3, 5, 5, 3, 3, 3,

572

3, 3, 3, 2, 2, 2, 2, 2, 3, 3,

581

0, 0, 13, 12, 11, 0, 0, 0, 0, 0,

582

3, 14, 21, 0, 45, 44, 46, 23, 12, 14,

583

0, 9, 0, 0, 0, 1, 0, 0, 0, 0,

584

0, 0, 47, 0, 0, 0, 0, 0, 0, 0,

585

0, 0, 0, 0, 0, 0, 0, 0, 8, 0,

586

0, 47, 25, 0, 0, 33, 34, 0, 0, 52,

587

0, 51, 49, 0, 53, 0, 50, 0, 0, 0,

588

0, 0, 0, 0, 0, 5, 10, 7, 0, 0,

589

0, 20, 15, 19, 0, 0, 0, 4, 0, 30,

596

-1, 9, 81, 87, 11, 20, 12, 83, 49, 84,

602 #define YYPACT_NINF -26 605

503, 46, -26, -1, -26, 62, -19, 512, 512, 14,

606

-26, -26, 71, 461, -26, -26, -26, -26, -26, -26,

607

-6, -26, 59, 109, 482, -26, 62, 62, 62, 62,

608

-11, -7, 46, 521, 532, 541, 550, 561, 512, 512,

609

512, 512, 512, 512, 512, 131, 62, 62, -26, -25,

610

395, 15, -26, 13, 16, -26, -26, 7, 7, 46,

611

153, 46, 46, 175, 46, 197, 46, 219, 241, 263,

612

285, 307, 329, 351, 373, -5, -26, -26, 512, 62,

613

62, -26, -26, 2, 17, 27, 512, -26, 417, -26,

614

-26, 62, -26, -26, 439, -26

620

-26, -26, 57, -26, 1, 23, 26, -26, -26, 3,

628 #define YYTABLE_NINF -49 631

13, 46, 17, 86, 77, 78, 19, 23, 24, 22,

632

2, 18, 4, 5, 25, -48, 6, 57, 14, 15,

633

16, 58, 50, 79, 47, 47, 80, 19, 19, 19,

634

19, 21, 91, 60, 23, 63, 65, 67, 68, 69,

635

70, 71, 72, 73, 74, -48, 92, 19, 19, 14,

636

15, 16, 53, 54, 55, 56, 93, 10, 19, 19,

637

1, 85, 2, 3, 4, 2, 18, 4, 6, 75,

638

7, 6, 21, 76, 0, 0, 0, 0, 88, 0,

639

19, 19, 0, 82, 82, 0, 94, 8, 48, 0,

640

0, 0, 19, 26, 27, 28, 29, 30, 31, 0,

641

0, 0, 0, 0, 0, 89, 90, 0, 0, -43,

642

32, 0, 2, 3, 4, 0, 0, 95, 6, -43,

643

-43, 35, 36, 37, 38, 39, 40, 41, 42, 43,

644

44, -24, 32, 0, 2, 3, 4, 8, -43, -43,

645

6, 33, 34, 35, 36, 37, 38, 39, 40, 41,

646

42, 43, 44, -26, 32, 0, 2, 3, 4, 8,

647

-24, -24, 6, -26, 34, 35, 36, 37, 38, 39,

648

40, 41, 42, 43, 44, -28, 32, 0, 2, 3,

649

4, 8, -26, -26, 6, -28, -28, -28, 36, 37,

650

38, 39, 40, 41, 42, 43, 44, -27, 32, 0,

651

2, 3, 4, 8, -28, -28, 6, -27, -27, -27,

652

-27, 37, 38, 39, 40, 41, 42, 43, 44, -29,

653

32, 0, 2, 3, 4, 8, -27, -27, 6, -29,

654

-29, -29, -29, -29, 38, 39, 40, 41, 42, 43,

655

44, -32, 32, 0, 2, 3, 4, 8, -29, -29,

656

6, -32, -32, -32, -32, -32, -32, 39, 40, 41,

657

42, 43, 44, -37, 32, 0, 2, 3, 4, 8,

658

-32, -32, 6, -37, -37, -37, -37, -37, -37, -37,

659

40, 41, 42, 43, 44, -38, 32, 0, 2, 3,

660

4, 8, -37, -37, 6, -38, -38, -38, -38, -38,

661

-38, -38, -38, 41, 42, 43, 44, -39, 32, 0,

662

2, 3, 4, 8, -38, -38, 6, -39, -39, -39,

663

-39, -39, -39, -39, -39, -39, 42, 43, 44, -40,

664

32, 0, 2, 3, 4, 8, -39, -39, 6, -40,

665

-40, -40, -40, -40, -40, -40, -40, -40, -40, 43,

666

44, -41, 32, 0, 2, 3, 4, 8, -40, -40,

667

6, -41, -41, -41, -41, -41, -41, -41, -41, -41,

668

-41, -41, 44, -42, 32, 0, 2, 3, 4, 8,

669

-41, -41, 6, -42, -42, -42, -42, -42, -42, -42,

670

-42, -42, -42, -42, -42, 0, 32, 0, 2, 3,

671

4, 8, -42, -42, 6, 33, 34, 35, 36, 37,

672

38, 39, 40, 41, 42, 43, 44, 0, 32, 0,

673

2, 3, 4, 8, -17, -17, 6, 33, 34, 35,

674

36, 37, 38, 39, 40, 41, 42, 43, 44, -6,

675

32, 0, 2, 3, 4, 8, -18, -18, 6, 33,

676

34, 35, 36, 37, 38, 39, 40, 41, 42, 43,

677

44, -2, 32, 0, 2, 3, 4, 8, -6, 0,

678

6, 33, 34, 35, 36, 37, 38, 39, 40, 41,

679

42, 43, 44, 51, 0, 2, 3, 4, 0, 8,

680

0, 6, 33, 34, 35, 36, 37, 38, 39, 40,

681

41, 42, 43, 44, 1, 0, 2, 3, 4, 5,

682

8, 52, 6, 1, 7, 2, 3, 4, 0, 0,

683

0, 6, 59, 7, 2, 3, 4, 0, 0, 0,

684

6, 8, 7, 61, 0, 2, 3, 4, 0, 0,

685

8, 6, 62, 7, 2, 3, 4, 0, 0, 8,

686

6, 64, 7, 2, 3, 4, 0, 0, 0, 6,

687

8, 7, 66, 0, 2, 3, 4, 0, 0, 8,

688

6, 0, 7, 0, 0, 0, 0, 0, 8, 0,

689

0, 0, 0, 0, 0, 0, 0, 0, 0, 8

694

0, 7, 3, 8, 29, 30, 5, 7, 8, 28,

695

3, 4, 5, 6, 0, 0, 9, 28, 3, 4,

696

5, 28, 22, 10, 30, 30, 10, 26, 27, 28,

697

29, 5, 30, 33, 34, 35, 36, 37, 38, 39,

698

40, 41, 42, 43, 44, 30, 29, 46, 47, 3,

699

4, 5, 26, 27, 28, 29, 29, 0, 57, 58,

700

1, 58, 3, 4, 5, 3, 4, 5, 9, 46,

701

11, 9, 46, 47, -1, -1, -1, -1, 78, -1,

702

79, 80, -1, 57, 58, -1, 86, 28, 29, -1,

703

-1, -1, 91, 22, 23, 24, 25, 26, 27, -1,

704

-1, -1, -1, -1, -1, 79, 80, -1, -1, 0,

705

1, -1, 3, 4, 5, -1, -1, 91, 9, 10,

706

11, 12, 13, 14, 15, 16, 17, 18, 19, 20,

707

21, 0, 1, -1, 3, 4, 5, 28, 29, 30,

708

9, 10, 11, 12, 13, 14, 15, 16, 17, 18,

709

19, 20, 21, 0, 1, -1, 3, 4, 5, 28,

710

29, 30, 9, 10, 11, 12, 13, 14, 15, 16,

711

17, 18, 19, 20, 21, 0, 1, -1, 3, 4,

712

5, 28, 29, 30, 9, 10, 11, 12, 13, 14,

713

15, 16, 17, 18, 19, 20, 21, 0, 1, -1,

714

3, 4, 5, 28, 29, 30, 9, 10, 11, 12,

715

13, 14, 15, 16, 17, 18, 19, 20, 21, 0,

716

1, -1, 3, 4, 5, 28, 29, 30, 9, 10,

717

11, 12, 13, 14, 15, 16, 17, 18, 19, 20,

718

21, 0, 1, -1, 3, 4, 5, 28, 29, 30,

719

9, 10, 11, 12, 13, 14, 15, 16, 17, 18,

720

19, 20, 21, 0, 1, -1, 3, 4, 5, 28,

721

29, 30, 9, 10, 11, 12, 13, 14, 15, 16,

722

17, 18, 19, 20, 21, 0, 1, -1, 3, 4,

723

5, 28, 29, 30, 9, 10, 11, 12, 13, 14,

724

15, 16, 17, 18, 19, 20, 21, 0, 1, -1,

725

3, 4, 5, 28, 29, 30, 9, 10, 11, 12,

726

13, 14, 15, 16, 17, 18, 19, 20, 21, 0,

727

1, -1, 3, 4, 5, 28, 29, 30, 9, 10,

728

11, 12, 13, 14, 15, 16, 17, 18, 19, 20,

729

21, 0, 1, -1, 3, 4, 5, 28, 29, 30,

730

9, 10, 11, 12, 13, 14, 15, 16, 17, 18,

731

19, 20, 21, 0, 1, -1, 3, 4, 5, 28,

732

29, 30, 9, 10, 11, 12, 13, 14, 15, 16,

733

17, 18, 19, 20, 21, -1, 1, -1, 3, 4,

734

5, 28, 29, 30, 9, 10, 11, 12, 13, 14,

735

15, 16, 17, 18, 19, 20, 21, -1, 1, -1,

736

3, 4, 5, 28, 29, 30, 9, 10, 11, 12,

737

13, 14, 15, 16, 17, 18, 19, 20, 21, 0,

738

1, -1, 3, 4, 5, 28, 29, 30, 9, 10,

739

11, 12, 13, 14, 15, 16, 17, 18, 19, 20,

740

21, 0, 1, -1, 3, 4, 5, 28, 29, -1,

741

9, 10, 11, 12, 13, 14, 15, 16, 17, 18,

742

19, 20, 21, 1, -1, 3, 4, 5, -1, 28,

743

-1, 9, 10, 11, 12, 13, 14, 15, 16, 17,

744

18, 19, 20, 21, 1, -1, 3, 4, 5, 6,

745

28, 29, 9, 1, 11, 3, 4, 5, -1, -1,

746

-1, 9, 1, 11, 3, 4, 5, -1, -1, -1,

747

9, 28, 11, 1, -1, 3, 4, 5, -1, -1,

748

28, 9, 1, 11, 3, 4, 5, -1, -1, 28,

749

9, 1, 11, 3, 4, 5, -1, -1, -1, 9,

750

28, 11, 1, -1, 3, 4, 5, -1, -1, 28,

751

9, -1, 11, -1, -1, -1, -1, -1, 28, -1,

752

-1, -1, -1, -1, -1, -1, -1, -1, -1, 28

759

0, 1, 3, 4, 5, 6, 9, 11, 28, 32,

760

33, 35, 37, 41, 3, 4, 5, 3, 4, 35,

761

36, 37, 28, 41, 41, 0, 22, 23, 24, 25,

762

26, 27, 1, 10, 11, 12, 13, 14, 15, 16,

763

17, 18, 19, 20, 21, 41, 7, 30, 29, 39,

764

41, 1, 29, 37, 37, 37, 37, 28, 28, 1,

765

41, 1, 1, 41, 1, 41, 1, 41, 41, 41,

766

41, 41, 41, 41, 41, 36, 37, 29, 30, 10,

767

10, 33, 37, 38, 40, 40, 8, 34, 41, 37,

768

37, 30, 29, 29, 41, 37

771 #define yyerrok (yyerrstatus = 0) 772 #define yyclearin (yychar = YYEMPTY) 776 #define YYACCEPT goto yyacceptlab 777 #define YYABORT goto yyabortlab 778 #define YYERROR goto yyerrorlab 785 #define YYFAIL goto yyerrlab 787 #define YYRECOVERING() (!!yyerrstatus) 789 #define YYBACKUP(Token, Value) \ 791  if (yychar == YYEMPTY && yylen == 1) \ 795  yytoken = YYTRANSLATE (yychar); \ 801  yyerror (YY_("syntax error: cannot back up"

)); \

808 #define YYERRCODE 256 815 #define YYRHSLOC(Rhs, K) ((Rhs)[K]) 816 #ifndef YYLLOC_DEFAULT 817 # define YYLLOC_DEFAULT(Current, Rhs, N) \ 821  (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \ 822  (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \ 823  (Current).last_line = YYRHSLOC (Rhs, N).last_line; \ 824  (Current).last_column = YYRHSLOC (Rhs, N).last_column; \ 828  (Current).first_line = (Current).last_line = \ 829  YYRHSLOC (Rhs, 0).last_line; \ 830  (Current).first_column = (Current).last_column = \ 831  YYRHSLOC (Rhs, 0).last_column; \ 841 #ifndef YY_LOCATION_PRINT 842 # if YYLTYPE_IS_TRIVIAL 843 # define YY_LOCATION_PRINT(File, Loc) \ 844  fprintf (File, "%d.%d-%d.%d"

, \

845

(Loc).first_line, (Loc).first_column, \

846

(Loc).last_line, (Loc).last_column)

848 # define YY_LOCATION_PRINT(File, Loc) ((void) 0) 856 # define YYLEX yylex (&yylval, YYLEX_PARAM) 858 # define YYLEX yylex (&yylval) 866 # define YYFPRINTF fprintf 869 # define YYDPRINTF(Args) \ 875 # define YY_SYMBOL_PRINT(Title, Type, Value, Location) \ 879  YYFPRINTF (stderr, "%s "

, Title); \

880

yy_symbol_print (stderr, \

882

YYFPRINTF (stderr, "\n"); \

892 #if (defined __STDC__ || defined __C99__FUNC__ \ 893  || defined __cplusplus || defined _MSC_VER) 908

YYPRINT (yyoutput, yytoknum[yytype], *

yyvaluep

);

924 #if (defined __STDC__ || defined __C99__FUNC__ \ 925  || defined __cplusplus || defined _MSC_VER) 950 #if (defined __STDC__ || defined __C99__FUNC__ \ 951  || defined __cplusplus || defined _MSC_VER) 962  for

(; yybottom <= yytop; yybottom++)

964  int

yybot = *yybottom;

970 # define YY_STACK_PRINT(Bottom, Top) \ 973  yy_stack_print ((Bottom), (Top)); \ 981 #if (defined __STDC__ || defined __C99__FUNC__ \ 982  || defined __cplusplus || defined _MSC_VER) 992  int

yynrhs =

yyr2

[yyrule];

994  unsigned long int

yylno =

yyrline

[yyrule];

995  YYFPRINTF

(stderr,

"Reducing stack by rule %d (line %lu):\n"

,

998  for

(yyi = 0; yyi < yynrhs; yyi++)

1000  YYFPRINTF

(stderr,

" $%d = "

, yyi + 1);

1002

&(yyvsp[(yyi + 1) - (yynrhs)])

1008 # define YY_REDUCE_PRINT(Rule) \ 1011  yy_reduce_print (yyvsp, Rule); \ 1018 # define YYDPRINTF(Args) 1019 # define YY_SYMBOL_PRINT(Title, Type, Value, Location) 1020 # define YY_STACK_PRINT(Bottom, Top) 1021 # define YY_REDUCE_PRINT(Rule) 1027 # define YYINITDEPTH 200 1038 # define YYMAXDEPTH 10000 1046 # if defined __GLIBC__ && defined _STRING_H 1047 # define yystrlen strlen 1050 #if (defined __STDC__ || defined __C99__FUNC__ \ 1051  || defined __cplusplus || defined _MSC_VER) 1061  for

(yylen = 0; yystr[yylen]; yylen++)

1069 # if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE 1070 # define yystpcpy stpcpy 1074 #if (defined __STDC__ || defined __C99__FUNC__ \ 1075  || defined __cplusplus || defined _MSC_VER) 1077 yystpcpy

(

char

*yydest,

const char

*yysrc)

1086  const char

*yys = yysrc;

1088  while

((*yyd++ = *yys++) !=

'\0'

)

1110  char const

*yyp = yystr;

1117  goto

do_not_strip_quotes;

1120  if

(*++yyp !=

'\\'

)

1121  goto

do_not_strip_quotes;

1134

do_not_strip_quotes: ;

1140  return yystpcpy

(yyres, yystr) - yyres;

1154  int

yyn =

yypact

[yystate];

1164  int

yysize_overflow = 0;

1165  enum

{ YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };

1166  char const

*yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];

1172  YY_

(

"syntax error, unexpected %s"

);

1173  YY_

(

"syntax error, unexpected %s, expecting %s"

);

1174  YY_

(

"syntax error, unexpected %s, expecting %s or %s"

);

1175  YY_

(

"syntax error, unexpected %s, expecting %s or %s or %s"

);

1176  YY_

(

"syntax error, unexpected %s, expecting %s or %s or %s or %s"

);

1180  static char const

yyunexpected[] =

"syntax error, unexpected %s"

;

1181  static char const

yyexpecting[] =

", expecting %s"

;

1182  static char const

yyor[] =

" or %s"

;

1183  char

yyformat[

sizeof

yyunexpected

1184

+

sizeof

yyexpecting - 1

1185

+ ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2)

1186

* (

sizeof

yyor - 1))];

1187  char const

*yyprefix = yyexpecting;

1191  int

yyxbegin = yyn < 0 ? -yyn : 0;

1194  int

yychecklim =

YYLAST

- yyn + 1;

1199

yyfmt =

yystpcpy

(yyformat, yyunexpected);

1201  for

(yyx = yyxbegin; yyx < yyxend; ++yyx)

1204  if

(yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)

1208

yyformat[

sizeof

yyunexpected - 1] =

'\0'

;

1211

yyarg[yycount++] =

yytname

[yyx];

1213

yysize_overflow |= (yysize1 < yysize);

1215

yyfmt =

yystpcpy

(yyfmt, yyprefix);

1219

yyf =

YY_

(yyformat);

1221

yysize_overflow |= (yysize1 < yysize);

1224  if

(yysize_overflow)

1232  char

*yyp = yyresult;

1234  while

((*yyp = *yyf) !=

'\0'

)

1236  if

(*yyp ==

'%'

&& yyf[1] ==

's'

&& yyi < yycount)

1259 #if (defined __STDC__ || defined __C99__FUNC__ \ 1260  || defined __cplusplus || defined _MSC_VER) 1274

yymsg =

"Deleting"

;

1286 #ifdef YYPARSE_PARAM 1287 #if defined __STDC__ || defined __cplusplus 1293 #if defined __STDC__ || defined __cplusplus 1308 #ifdef YYPARSE_PARAM 1309 #if (defined __STDC__ || defined __C99__FUNC__ \ 1310  || defined __cplusplus || defined _MSC_VER) 1319 #if (defined __STDC__ || defined __C99__FUNC__ \ 1320  || defined __cplusplus || defined _MSC_VER) 1373  char

*yymsg = yymsgbuf;

1374  YYSIZE_T

yymsg_alloc =

sizeof

yymsgbuf;

1377 #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) 1388  YYDPRINTF

((stderr,

"Starting parse\n"

));

1415  if

(yyss + yystacksize - 1 <= yyssp)

1418  YYSIZE_T

yysize = yyssp - yyss + 1;

1432

yyoverflow (

YY_

(

"memory exhausted"

),

1433

&yyss1, yysize *

sizeof

(*yyssp),

1434

&yyvs1, yysize *

sizeof

(*yyvsp),

1441 # ifndef YYSTACK_RELOCATE 1442  goto

yyexhaustedlab;

1446  goto

yyexhaustedlab;

1456  goto

yyexhaustedlab;

1459 # undef YYSTACK_RELOCATE 1466

yyssp =

yyss

+ yysize - 1;

1467

yyvsp =

yyvs

+ yysize - 1;

1469  YYDPRINTF

((stderr,

"Stack size increased to %lu\n"

,

1470

(

unsigned long int

) yystacksize));

1472  if

(

yyss

+ yystacksize - 1 <= yyssp)

1476  YYDPRINTF

((stderr,

"Entering state %d\n"

, yystate));

1501  YYDPRINTF

((stderr,

"Reading a token: "

));

1508  YYDPRINTF

((stderr,

"Now at end of input.\n"

));

1572

yyval = yyvsp[1-yylen];

1581 #line 137 "query_parser_bison.y" 1596

(yyvsp[(1) - (5)])->

AddNode

((yyvsp[(3) - (5)]));

1597

(yyvsp[(3) - (5)])->MoveSubnodes((yyvsp[(4) - (5)]));

1598

(yyvsp[(3) - (5)])->InsertNode((yyvsp[(3) - (5)])->SubNodeBegin(), (yyvsp[(4) - (5)]));

1599  if

((yyvsp[(5) - (5)])) {

1600

(yyvsp[(1) - (5)])->

AddNode

((yyvsp[(5) - (5)]));

1603  env

->ForgetPoolNode((yyvsp[(1) - (5)]));

1604  env

->ForgetPoolNode((yyvsp[(2) - (5)]));

1605  env

->ForgetPoolNode((yyvsp[(3) - (5)]));

1606  env

->ForgetPoolNode((yyvsp[(4) - (5)]));

1607  env

->ForgetPoolNode((yyvsp[(5) - (5)]));

1609  env

->SetSELECT_Context(0);

1610  env

->SetContext(0);

1611  env

->SetFROM_Context(0);

1613

(yyval) = (yyvsp[(1) - (5)]);

1614  env

->AttachQueryTree((yyval));

1622 #line 176 "query_parser_bison.y" 1631 #line 181 "query_parser_bison.y" 1634

(yyvsp[(1) - (2)])->

AddNode

((yyvsp[(2) - (2)]));

1635  env

->ForgetPoolNode((yyvsp[(2) - (2)]));

1636

(yyval) = (yyvsp[(1) - (2)]);

1643 #line 191 "query_parser_bison.y" 1645

(yyval) = (yyvsp[(1) - (4)]);

1647  env

->AttachQueryTree((yyval));

1648

(yyval)->InsertNode((yyval)->SubNodeBegin(), (yyvsp[(3) - (4)]));

1649  env

->SetContext(0);

1650  env

->ForgetPoolNodes((yyvsp[(1) - (4)]), (yyvsp[(3) - (4)]));

1657 #line 200 "query_parser_bison.y" 1659

(yyval) = (yyvsp[(1) - (3)]);

1661  env

->AttachQueryTree((yyval));

1662  env

->SetContext(0);

1663  env

->ForgetPoolNode((yyvsp[(1) - (3)]));

1670 #line 211 "query_parser_bison.y" 1672

(yyval) = (yyvsp[(1) - (1)]);

1679 #line 215 "query_parser_bison.y" 1681

(yyval) = (yyvsp[(1) - (3)]);

1685  env

->ForgetPoolNode((yyvsp[(3) - (3)]));

1692 #line 227 "query_parser_bison.y" 1694

(yyval) = (yyvsp[(1) - (1)]);

1701 #line 232 "query_parser_bison.y" 1703

(yyval) = (yyvsp[(1) - (1)]);

1710 #line 237 "query_parser_bison.y" 1712

(yyval) = (yyvsp[(1) - (1)]);

1719 #line 241 "query_parser_bison.y" 1721

(yyval) = (yyvsp[(1) - (1)]);

1728 #line 248 "query_parser_bison.y" 1730

(yyval) = (yyvsp[(1) - (1)]);

1737 #line 252 "query_parser_bison.y" 1739

(yyval) = (yyvsp[(1) - (3)]);

1747 #line 260 "query_parser_bison.y" 1749

(yyval) = (yyvsp[(1) - (1)]);

1756 #line 264 "query_parser_bison.y" 1758

(yyval) = (yyvsp[(1) - (3)]);

1766 #line 279 "query_parser_bison.y" 1768

(yyval) = (yyvsp[(1) - (1)]);

1775 #line 284 "query_parser_bison.y" 1777

(yyval) = (yyvsp[(1) - (1)]);

1784 #line 289 "query_parser_bison.y" 1788  env

->AttachQueryTree((yyval));

1789  env

->ForgetPoolNodes((yyvsp[(1) - (2)]), (yyvsp[(2) - (2)]));

1796 #line 297 "query_parser_bison.y" 1801

(yyval)->GetValue().SetExplicit(

false

);

1802  env

->AttachQueryTree((yyval));

1803  env

->ForgetPoolNodes((yyvsp[(1) - (2)]), (yyvsp[(2) - (2)]));

1810 #line 308 "query_parser_bison.y" 1812

(yyval) = (yyvsp[(2) - (3)]);

1819 #line 318 "query_parser_bison.y" 1821  QTreeAddNode

(parm, (yyval) = (yyvsp[(2) - (3)]), (yyvsp[(1) - (3)]), (yyvsp[(3) - (3)]));

1828 #line 323 "query_parser_bison.y" 1830  QTreeAddNode

(parm, (yyval) = (yyvsp[(2) - (3)]), (yyvsp[(1) - (3)]), (yyvsp[(3) - (3)]));

1837 #line 328 "query_parser_bison.y" 1839  QTreeAddNode

(parm, (yyval) = (yyvsp[(2) - (3)]), (yyvsp[(1) - (3)]), (yyvsp[(3) - (3)]));

1846 #line 333 "query_parser_bison.y" 1848  QTreeAddNode

(parm, (yyval) = (yyvsp[(2) - (3)]), (yyvsp[(1) - (3)]), (yyvsp[(3) - (3)]));

1855 #line 338 "query_parser_bison.y" 1857

(yyval) = (yyvsp[(2) - (5)]);

1858

(yyval)->

AddNode

((yyvsp[(1) - (5)]));

1859

(yyval)->

AddNode

((yyvsp[(3) - (5)]));

1860

(yyval)->

AddNode

((yyvsp[(5) - (5)]));

1863  env

->AttachQueryTree((yyval));

1864  env

->ForgetPoolNodes((yyvsp[(1) - (5)]), (yyvsp[(3) - (5)]));

1865  env

->ForgetPoolNodes((yyvsp[(1) - (5)]), (yyvsp[(5) - (5)]));

1872 #line 351 "query_parser_bison.y" 1874

(yyval) = (yyvsp[(2) - (5)]);

1875

(yyval)->

AddNode

((yyvsp[(1) - (5)]));

1876

(yyval)->

AddNode

((yyvsp[(3) - (5)]));

1877

(yyval)->

AddNode

((yyvsp[(5) - (5)]));

1880  env

->AttachQueryTree((yyval));

1881  env

->ForgetPoolNodes((yyvsp[(1) - (5)]), (yyvsp[(3) - (5)]));

1882  env

->ForgetPoolNodes((yyvsp[(1) - (5)]), (yyvsp[(5) - (5)]));

1889 #line 365 "query_parser_bison.y" 1891  QTreeAddNode

(parm, (yyval) = (yyvsp[(2) - (3)]), (yyvsp[(1) - (3)]), (yyvsp[(3) - (3)]));

1898 #line 370 "query_parser_bison.y" 1900  QTreeAddNode

(parm, (yyval) = (yyvsp[(2) - (3)]), (yyvsp[(1) - (3)]), (yyvsp[(3) - (3)]));

1907 #line 375 "query_parser_bison.y" 1909  QTreeAddNode

(parm, (yyval) = (yyvsp[(2) - (3)]), (yyvsp[(1) - (3)]), (yyvsp[(3) - (3)]));

1916 #line 380 "query_parser_bison.y" 1918

(yyval) = (yyvsp[(2) - (5)]);

1920  env

->AttachQueryTree((yyval));

1921  env

->ForgetPoolNodes((yyvsp[(1) - (5)]), (yyvsp[(4) - (5)]));

1922

(yyval)->InsertNode((yyval)->SubNodeBegin(), (yyvsp[(4) - (5)]));

1923

(yyval)->InsertNode((yyval)->SubNodeBegin(), (yyvsp[(1) - (5)]));

1924  env

->SetIN_Context(0);

1931 #line 391 "query_parser_bison.y" 1933

(yyval) = (yyvsp[(2) - (5)]);

1935  env

->AttachQueryTree((yyval));

1936  env

->ForgetPoolNodes((yyvsp[(1) - (5)]), (yyvsp[(4) - (5)]));

1937

(yyval)->InsertNode((yyval)->SubNodeBegin(), (yyvsp[(4) - (5)]));

1938

(yyval)->InsertNode((yyval)->SubNodeBegin(), (yyvsp[(1) - (5)]));

1939  env

->SetIN_Context(0);

1946 #line 402 "query_parser_bison.y" 1948  QTreeAddNode

(parm, (yyval) = (yyvsp[(2) - (3)]), (yyvsp[(1) - (3)]), (yyvsp[(3) - (3)]));

1955 #line 407 "query_parser_bison.y" 1957  QTreeAddNode

(parm, (yyval) = (yyvsp[(2) - (3)]), (yyvsp[(1) - (3)]), (yyvsp[(3) - (3)]));

1964 #line 411 "query_parser_bison.y" 1966  QTreeAddNode

(parm, (yyval) = (yyvsp[(2) - (3)]), (yyvsp[(1) - (3)]), (yyvsp[(3) - (3)]));

1973 #line 415 "query_parser_bison.y" 1975  QTreeAddNode

(parm, (yyval) = (yyvsp[(2) - (3)]), (yyvsp[(1) - (3)]), (yyvsp[(3) - (3)]));

1982 #line 419 "query_parser_bison.y" 1984  QTreeAddNode

(parm, (yyval) = (yyvsp[(2) - (3)]), (yyvsp[(1) - (3)]), (yyvsp[(3) - (3)]));

1991 #line 423 "query_parser_bison.y" 1993  QTreeAddNode

(parm, (yyval) = (yyvsp[(2) - (3)]), (yyvsp[(1) - (3)]), (yyvsp[(3) - (3)]));

2000 #line 434 "query_parser_bison.y" 2002  QTreeAddNode

(parm, (yyval) = (yyvsp[(1) - (2)]), (yyvsp[(2) - (2)]), 0);

2009 #line 443 "query_parser_bison.y" 2016  QTreeAddNode

(parm, (yyval) = (yyvsp[(2) - (2)]), 0, 0);

2023 #line 452 "query_parser_bison.y" 2030  QTreeAddNode

(parm, (yyval) = (yyvsp[(2) - (2)]), 0, 0);

2037 #line 461 "query_parser_bison.y" 2044  QTreeAddNode

(parm, (yyval) = (yyvsp[(2) - (2)]), 0, 0);

2051 #line 470 "query_parser_bison.y" 2058  QTreeAddNode

(parm, (yyval) = (yyvsp[(1) - (2)]), 0, 0);

2065 #line 482 "query_parser_bison.y" 2071  "Syntax error. Unbalanced parenthesis"

);

2073  QTreeAddNode

(parm, (yyval) = (yyvsp[(2) - (3)]), 0, 0);

2080 #line 492 "query_parser_bison.y" 2088  QTreeAddNode

(parm, (yyval) = (yyvsp[(1) - (3)]), 0, 0);

2095 #line 502 "query_parser_bison.y" 2103  QTreeAddNode

(parm, (yyval) = (yyvsp[(1) - (3)]), 0, 0);

2110 #line 512 "query_parser_bison.y" 2118  QTreeAddNode

(parm, (yyval) = (yyvsp[(1) - (3)]), 0, 0);

2125 #line 522 "query_parser_bison.y" 2133  QTreeAddNode

(parm, (yyval) = (yyvsp[(1) - (3)]), 0, 0);

2140 #line 532 "query_parser_bison.y" 2148  QTreeAddNode

(parm, (yyval) = (yyvsp[(1) - (3)]), 0, 0);

2155 #line 2156 "query_parser_bison.tab.c" 2173  if

(0 <= yystate && yystate <=

YYLAST

&&

yycheck

[yystate] == *yyssp)

2189 #if ! YYERROR_VERBOSE 2199  if

(yymsg != yymsgbuf)

2207

yymsg_alloc =

sizeof

yymsgbuf;

2211  if

(0 < yysize && yysize <= yymsg_alloc)

2220  goto

yyexhaustedlab;

2228  if

(yyerrstatus == 3)

2298  yystos

[yystate], yyvsp);

2328 #if !defined(yyoverflow) || YYERROR_VERBOSE 2340  yydestruct

(

"Cleanup: discarding lookahead"

,

2346  while

(yyssp !=

yyss

)

2357  if

(yymsg != yymsgbuf)

2361  return YYID

(yyresult);

2367 #line 554 "query_parser_bison.y"

Class passed to Lex/Bison (yylex/yyparse) functions.

definition of a Culling tree

#define NCBI_THROW(exception_class, err_code, message)

Generic macro to throw an exception, given the exception class, error code and message string.

@ eSyntaxCheck

Best possible check for errors.

TNodeList_CI SubNodeBegin(void) const

Return first const iterator on subnode list.

void AddNode(TTreeType *subnode)

Add new subnode.

void InsertNode(TNodeList_I it, TTreeType *subnode)

Insert new subnode before the specified location in the subnode list.

unsigned short int yytype_uint16

static const yytype_uint8 yyr1[]

#define YY_SYMBOL_PRINT(Title, Type, Value, Location)

static void yy_stack_print(yytype_int16 *yybottom, yytype_int16 *yytop)

static const yytype_uint8 yytranslate[]

static const yytype_int8 yycheck[]

static unsigned int yytnamerr(char *yyres, const char *yystr)

static void yy_symbol_value_print(FILE *yyoutput, int yytype, CQueryParseTree::TNode *const *const yyvaluep)

#define YY_REDUCE_PRINT(Rule)

static void AddIn_Arg(void *parm, CQueryParseTree::TNode *node)

static const yytype_int16 yypact[]

static const yytype_uint16 yyrline[]

static void AddFunc_Arg(void *parm, CQueryParseTree::TNode *node)

Add node to a list if parser environment is in the list parsing context.

unsigned char yytype_uint8

static char * yystpcpy(char *yydest, const char *yysrc)

#define YY_STACK_PRINT(Bottom, Top)

#define YYSTACK_ALLOC_MAXIMUM

static void QTreeAddNode(void *parm, CQueryParseTree::TNode *rnode, CQueryParseTree::TNode *node1, CQueryParseTree::TNode *node2)

Add child node(s) to the parent.

static const yytype_int8 yytable[]

static unsigned int yysyntax_error(char *yyresult, int yystate, int ncbi_q_char)

static unsigned int yystrlen(char *yystr) const

static const yytype_uint8 yyr2[]

static void yy_reduce_print(CQueryParseTree::TNode **yyvsp, int yyrule)

static const yytype_int8 yyrhs[]

static const yytype_uint8 yyprhs[]

static const char *const yytname[]

static const yytype_int8 yypgoto[]

static const yytype_uint8 yystos[]

static void yydestruct(char *yymsg, int yytype, CQueryParseTree::TNode **yyvaluep) const

static const yytype_int8 yydefgoto[]

#define YYSTACK_RELOCATE(Stack_alloc, Stack)

static const yytype_uint8 yydefact[]

static void yy_symbol_print(FILE *yyoutput, int yytype, CQueryParseTree::TNode *const *const yyvaluep)

static void AddNode(TaxonomyTreeMap *taxTree, const Sequence *seq, int taxid, const CTaxon2_data *taxData, int parent)

CQueryParseTree::TNode * yyvs_alloc


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4