📄 parse.c
字号:
/* 210 */ 962, 974, 1018, 937, 939, 945, 993, 999, 966, 1001, /* 220 */ 995, 1002, 1019, 1020, 1021, 1022, 981, 977, 983, 984, /* 230 */ 1031, 1037, 1039, 1040, 1034, 1023, 996, 1024, 1025, 1026, /* 240 */ 1027, 975, 1048, 1049, 1028, 1029, 1032, 1030, 1035, 1036, /* 250 */ 1041, 1042, 1043, 1044, 1050, 991, 992, 1047, 1051, 1056, /* 260 */ 1057, 1055, 1063, 1078, 1080, 1082, 1081, 1086, 1089, 1033, /* 270 */ 1045, 1091, 1092, 1062, 1064, 1046, 1053, 1097, 1065, 1066, /* 280 */ 1069, 1070, 1060, 1071, 1054, 1099, 1052, 1059, 1108, 1114, /* 290 */ 1072, 1104, 1090, 1093, 1075, 1079,};static const YYACTIONTYPE yy_default[] = { /* 0 */ 603, 832, 913, 719, 913, 832, 913, 913, 859, 913, /* 10 */ 723, 888, 830, 913, 913, 913, 913, 804, 913, 859, /* 20 */ 913, 635, 859, 859, 755, 913, 913, 913, 913, 913, /* 30 */ 913, 913, 913, 756, 913, 834, 829, 825, 827, 826, /* 40 */ 833, 757, 746, 753, 760, 735, 872, 762, 763, 769, /* 50 */ 770, 889, 887, 792, 791, 810, 913, 913, 913, 913, /* 60 */ 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, /* 70 */ 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, /* 80 */ 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, /* 90 */ 913, 913, 913, 913, 913, 913, 913, 794, 816, 793, /* 100 */ 803, 628, 795, 796, 688, 623, 913, 913, 797, 913, /* 110 */ 798, 811, 812, 813, 913, 913, 913, 913, 913, 913, /* 120 */ 603, 719, 913, 719, 913, 913, 913, 913, 913, 913, /* 130 */ 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, /* 140 */ 913, 913, 913, 913, 913, 913, 713, 723, 906, 913, /* 150 */ 913, 679, 913, 913, 913, 913, 913, 913, 913, 913, /* 160 */ 913, 913, 611, 609, 913, 711, 913, 913, 637, 913, /* 170 */ 913, 721, 913, 913, 913, 726, 727, 913, 913, 913, /* 180 */ 913, 913, 913, 913, 913, 625, 913, 913, 700, 913, /* 190 */ 865, 913, 913, 913, 879, 913, 913, 913, 877, 913, /* 200 */ 913, 913, 702, 765, 845, 913, 892, 894, 913, 913, /* 210 */ 711, 720, 913, 913, 913, 828, 749, 749, 737, 749, /* 220 */ 658, 749, 913, 749, 913, 661, 759, 737, 737, 759, /* 230 */ 608, 608, 608, 608, 678, 913, 759, 750, 752, 742, /* 240 */ 754, 913, 728, 728, 736, 741, 736, 741, 690, 690, /* 250 */ 675, 690, 661, 690, 838, 842, 842, 675, 690, 690, /* 260 */ 690, 838, 620, 728, 620, 728, 620, 728, 728, 869, /* 270 */ 871, 620, 728, 692, 692, 771, 759, 728, 699, 699, /* 280 */ 699, 699, 759, 692, 771, 728, 891, 891, 728, 728, /* 290 */ 899, 645, 663, 663, 906, 911, 913, 913, 913, 913, /* 300 */ 778, 913, 913, 913, 913, 913, 913, 913, 913, 913, /* 310 */ 913, 913, 913, 913, 852, 913, 913, 913, 913, 783, /* 320 */ 779, 913, 780, 913, 705, 913, 913, 913, 913, 913, /* 330 */ 913, 913, 913, 913, 913, 831, 913, 743, 913, 751, /* 340 */ 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, /* 350 */ 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, /* 360 */ 913, 913, 913, 913, 913, 913, 867, 868, 913, 913, /* 370 */ 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, /* 380 */ 913, 913, 913, 913, 913, 913, 913, 913, 913, 913, /* 390 */ 913, 898, 913, 913, 901, 604, 913, 599, 601, 602, /* 400 */ 606, 607, 610, 632, 633, 634, 612, 613, 614, 615, /* 410 */ 616, 617, 618, 624, 626, 644, 646, 630, 648, 709, /* 420 */ 710, 775, 703, 704, 708, 631, 786, 777, 781, 782, /* 430 */ 784, 785, 799, 800, 802, 808, 815, 818, 801, 806, /* 440 */ 807, 809, 814, 817, 706, 707, 821, 638, 639, 642, /* 450 */ 643, 855, 857, 856, 858, 641, 640, 787, 790, 823, /* 460 */ 824, 880, 881, 882, 883, 884, 819, 729, 822, 805, /* 470 */ 744, 747, 748, 745, 712, 722, 731, 732, 733, 734, /* 480 */ 717, 718, 724, 740, 773, 774, 738, 739, 725, 714, /* 490 */ 715, 716, 820, 776, 788, 789, 649, 650, 783, 651, /* 500 */ 652, 653, 691, 694, 695, 696, 654, 673, 676, 677, /* 510 */ 655, 662, 656, 657, 664, 665, 666, 669, 670, 671, /* 520 */ 672, 667, 668, 839, 840, 843, 841, 659, 660, 674, /* 530 */ 647, 636, 629, 680, 683, 684, 685, 686, 687, 689, /* 540 */ 681, 682, 627, 619, 621, 730, 861, 870, 866, 862, /* 550 */ 863, 864, 622, 835, 836, 693, 767, 768, 860, 873, /* 560 */ 875, 772, 876, 878, 874, 903, 697, 698, 701, 844, /* 570 */ 885, 758, 761, 764, 766, 846, 847, 848, 849, 850, /* 580 */ 853, 854, 851, 886, 890, 893, 895, 896, 897, 900, /* 590 */ 902, 907, 908, 909, 912, 910, 605, 600,};#define YY_SZ_ACTTAB (int)(sizeof(yy_action)/sizeof(yy_action[0]))/* The next table maps tokens into fallback tokens. If a construct** like the following:** ** %fallback ID X Y Z.**** appears in the grammar, then ID becomes a fallback token for X, Y,** and Z. Whenever one of the tokens X, Y, or Z is input to the parser** but it does not parse, the type of the token is changed to ID and** the parse is retried before an error is thrown.*/#ifdef YYFALLBACKstatic const YYCODETYPE yyFallback[] = { 0, /* $ => nothing */ 0, /* SEMI => nothing */ 23, /* EXPLAIN => ID */ 23, /* QUERY => ID */ 23, /* PLAN => ID */ 23, /* BEGIN => ID */ 0, /* TRANSACTION => nothing */ 23, /* DEFERRED => ID */ 23, /* IMMEDIATE => ID */ 23, /* EXCLUSIVE => ID */ 0, /* COMMIT => nothing */ 23, /* END => ID */ 0, /* ROLLBACK => nothing */ 0, /* CREATE => nothing */ 0, /* TABLE => nothing */ 23, /* IF => ID */ 0, /* NOT => nothing */ 0, /* EXISTS => nothing */ 23, /* TEMP => ID */ 0, /* LP => nothing */ 0, /* RP => nothing */ 0, /* AS => nothing */ 0, /* COMMA => nothing */ 0, /* ID => nothing */ 23, /* ABORT => ID */ 23, /* AFTER => ID */ 23, /* ANALYZE => ID */ 23, /* ASC => ID */ 23, /* ATTACH => ID */ 23, /* BEFORE => ID */ 23, /* CASCADE => ID */ 23, /* CAST => ID */ 23, /* CONFLICT => ID */ 23, /* DATABASE => ID */ 23, /* DESC => ID */ 23, /* DETACH => ID */ 23, /* EACH => ID */ 23, /* FAIL => ID */ 23, /* FOR => ID */ 23, /* IGNORE => ID */ 23, /* INITIALLY => ID */ 23, /* INSTEAD => ID */ 23, /* LIKE_KW => ID */ 23, /* MATCH => ID */ 23, /* KEY => ID */ 23, /* OF => ID */ 23, /* OFFSET => ID */ 23, /* PRAGMA => ID */ 23, /* RAISE => ID */ 23, /* REPLACE => ID */ 23, /* RESTRICT => ID */ 23, /* ROW => ID */ 23, /* TRIGGER => ID */ 23, /* VACUUM => ID */ 23, /* VIEW => ID */ 23, /* VIRTUAL => ID */ 23, /* REINDEX => ID */ 23, /* RENAME => ID */ 23, /* CTIME_KW => ID */ 0, /* ANY => nothing */ 0, /* OR => nothing */ 0, /* AND => nothing */ 0, /* IS => nothing */ 0, /* BETWEEN => nothing */ 0, /* IN => nothing */ 0, /* ISNULL => nothing */ 0, /* NOTNULL => nothing */ 0, /* NE => nothing */ 0, /* EQ => nothing */ 0, /* GT => nothing */ 0, /* LE => nothing */ 0, /* LT => nothing */ 0, /* GE => nothing */ 0, /* ESCAPE => nothing */ 0, /* BITAND => nothing */ 0, /* BITOR => nothing */ 0, /* LSHIFT => nothing */ 0, /* RSHIFT => nothing */ 0, /* PLUS => nothing */ 0, /* MINUS => nothing */ 0, /* STAR => nothing */ 0, /* SLASH => nothing */ 0, /* REM => nothing */ 0, /* CONCAT => nothing */ 0, /* COLLATE => nothing */ 0, /* UMINUS => nothing */ 0, /* UPLUS => nothing */ 0, /* BITNOT => nothing */ 0, /* STRING => nothing */ 0, /* JOIN_KW => nothing */ 0, /* CONSTRAINT => nothing */ 0, /* DEFAULT => nothing */ 0, /* NULL => nothing */ 0, /* PRIMARY => nothing */ 0, /* UNIQUE => nothing */ 0, /* CHECK => nothing */ 0, /* REFERENCES => nothing */ 0, /* AUTOINCR => nothing */ 0, /* ON => nothing */ 0, /* DELETE => nothing */ 0, /* UPDATE => nothing */ 0, /* INSERT => nothing */ 0, /* SET => nothing */ 0, /* DEFERRABLE => nothing */ 0, /* FOREIGN => nothing */ 0, /* DROP => nothing */ 0, /* UNION => nothing */ 0, /* ALL => nothing */ 0, /* EXCEPT => nothing */ 0, /* INTERSECT => nothing */ 0, /* SELECT => nothing */ 0, /* DISTINCT => nothing */ 0, /* DOT => nothing */ 0, /* FROM => nothing */ 0, /* JOIN => nothing */ 0, /* INDEXED => nothing */ 0, /* BY => nothing */ 0, /* USING => nothing */ 0, /* ORDER => nothing */ 0, /* GROUP => nothing */ 0, /* HAVING => nothing */ 0, /* LIMIT => nothing */ 0, /* WHERE => nothing */ 0, /* INTO => nothing */ 0, /* VALUES => nothing */ 0, /* INTEGER => nothing */ 0, /* FLOAT => nothing */ 0, /* BLOB => nothing */ 0, /* REGISTER => nothing */ 0, /* VARIABLE => nothing */ 0, /* CASE => nothing */ 0, /* WHEN => nothing */ 0, /* THEN => nothing */ 0, /* ELSE => nothing */ 0, /* INDEX => nothing */ 0, /* ALTER => nothing */ 0, /* TO => nothing */ 0, /* ADD => nothing */ 0, /* COLUMNKW => nothing */};#endif /* YYFALLBACK *//* The following structure represents a single element of the** parser's stack. Information stored includes:**** + The state number for the parser at this level of the stack.**** + The value of the token stored at this level of the stack.** (In other words, the "major" token.)**** + The semantic value stored at this level of the stack. This is** the information used by the action routines in the grammar.** It is sometimes called the "minor" token.*/struct yyStackEntry { YYACTIONTYPE stateno; /* The state-number */ YYCODETYPE major; /* The major token value. This is the code ** number for the token at this stack level */ YYMINORTYPE minor; /* The user-supplied minor token value. This ** is the value of the token */};typedef struct yyStackEntry yyStackEntry;/* The state of the parser is completely contained in an instance of** the following structure */struct yyParser { int yyidx; /* Index of top element in stack */#ifdef YYTRACKMAXSTACKDEPTH int yyidxMax; /* Maximum value of yyidx */#endif int yyerrcnt; /* Shifts left before out of the error */ sqlite3ParserARG_SDECL /* A place to hold %extra_argument */#if YYSTACKDEPTH<=0 int yystksz; /* Current side of the stack */ yyStackEntry *yystack; /* The parser's stack */#else yyStackEntry yystack[YYSTACKDEPTH]; /* The parser's stack */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -