1 | /* A Bison parser, made by GNU Bison 3.0.4. */ |
2 | |
3 | /* Bison interface for Yacc-like parsers in C |
4 | |
5 | Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. |
6 | |
7 | This program is free software: you can redistribute it and/or modify |
8 | it under the terms of the GNU General Public License as published by |
9 | the Free Software Foundation, either version 3 of the License, or |
10 | (at your option) any later version. |
11 | |
12 | This program is distributed in the hope that it will be useful, |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | GNU General Public License for more details. |
16 | |
17 | You should have received a copy of the GNU General Public License |
18 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
19 | |
20 | /* As a special exception, you may create a larger work that contains |
21 | part or all of the Bison parser skeleton and distribute that work |
22 | under terms of your choice, so long as that work isn't itself a |
23 | parser generator using the skeleton or a modified version thereof |
24 | as a parser skeleton. Alternatively, if you modify or redistribute |
25 | the parser skeleton itself, you may (at your option) remove this |
26 | special exception, which will cause the skeleton and the resulting |
27 | Bison output files to be licensed under the GNU General Public |
28 | License without this special exception. |
29 | |
30 | This special exception was added by the Free Software Foundation in |
31 | version 2.2 of Bison. */ |
32 | |
33 | #ifndef YY_YY_PARS0GRM_TAB_H_INCLUDED |
34 | # define YY_YY_PARS0GRM_TAB_H_INCLUDED |
35 | /* Debug traces. */ |
36 | #ifndef YYDEBUG |
37 | # define YYDEBUG 0 |
38 | #endif |
39 | #if YYDEBUG |
40 | extern int yydebug; |
41 | #endif |
42 | |
43 | /* Token type. */ |
44 | #ifndef YYTOKENTYPE |
45 | # define YYTOKENTYPE |
46 | enum yytokentype |
47 | { |
48 | PARS_INT_LIT = 258, |
49 | PARS_FLOAT_LIT = 259, |
50 | PARS_STR_LIT = 260, |
51 | PARS_NULL_LIT = 261, |
52 | PARS_ID_TOKEN = 262, |
53 | PARS_AND_TOKEN = 263, |
54 | PARS_OR_TOKEN = 264, |
55 | PARS_NOT_TOKEN = 265, |
56 | PARS_GE_TOKEN = 266, |
57 | PARS_LE_TOKEN = 267, |
58 | PARS_NE_TOKEN = 268, |
59 | PARS_PROCEDURE_TOKEN = 269, |
60 | PARS_IN_TOKEN = 270, |
61 | PARS_OUT_TOKEN = 271, |
62 | PARS_BINARY_TOKEN = 272, |
63 | PARS_BLOB_TOKEN = 273, |
64 | PARS_INT_TOKEN = 274, |
65 | PARS_FLOAT_TOKEN = 275, |
66 | PARS_CHAR_TOKEN = 276, |
67 | PARS_IS_TOKEN = 277, |
68 | PARS_BEGIN_TOKEN = 278, |
69 | PARS_END_TOKEN = 279, |
70 | PARS_IF_TOKEN = 280, |
71 | PARS_THEN_TOKEN = 281, |
72 | PARS_ELSE_TOKEN = 282, |
73 | PARS_ELSIF_TOKEN = 283, |
74 | PARS_LOOP_TOKEN = 284, |
75 | PARS_WHILE_TOKEN = 285, |
76 | PARS_RETURN_TOKEN = 286, |
77 | PARS_SELECT_TOKEN = 287, |
78 | PARS_SUM_TOKEN = 288, |
79 | PARS_COUNT_TOKEN = 289, |
80 | PARS_DISTINCT_TOKEN = 290, |
81 | PARS_FROM_TOKEN = 291, |
82 | PARS_WHERE_TOKEN = 292, |
83 | PARS_FOR_TOKEN = 293, |
84 | PARS_DDOT_TOKEN = 294, |
85 | PARS_READ_TOKEN = 295, |
86 | PARS_ORDER_TOKEN = 296, |
87 | PARS_BY_TOKEN = 297, |
88 | PARS_ASC_TOKEN = 298, |
89 | PARS_DESC_TOKEN = 299, |
90 | PARS_INSERT_TOKEN = 300, |
91 | PARS_INTO_TOKEN = 301, |
92 | PARS_VALUES_TOKEN = 302, |
93 | PARS_UPDATE_TOKEN = 303, |
94 | PARS_SET_TOKEN = 304, |
95 | PARS_DELETE_TOKEN = 305, |
96 | PARS_CURRENT_TOKEN = 306, |
97 | PARS_OF_TOKEN = 307, |
98 | PARS_CREATE_TOKEN = 308, |
99 | PARS_TABLE_TOKEN = 309, |
100 | PARS_INDEX_TOKEN = 310, |
101 | PARS_UNIQUE_TOKEN = 311, |
102 | PARS_CLUSTERED_TOKEN = 312, |
103 | PARS_ON_TOKEN = 313, |
104 | PARS_ASSIGN_TOKEN = 314, |
105 | PARS_DECLARE_TOKEN = 315, |
106 | PARS_CURSOR_TOKEN = 316, |
107 | PARS_SQL_TOKEN = 317, |
108 | PARS_OPEN_TOKEN = 318, |
109 | PARS_FETCH_TOKEN = 319, |
110 | PARS_CLOSE_TOKEN = 320, |
111 | PARS_NOTFOUND_TOKEN = 321, |
112 | PARS_TO_CHAR_TOKEN = 322, |
113 | PARS_TO_NUMBER_TOKEN = 323, |
114 | PARS_TO_BINARY_TOKEN = 324, |
115 | PARS_BINARY_TO_NUMBER_TOKEN = 325, |
116 | PARS_SUBSTR_TOKEN = 326, |
117 | PARS_REPLSTR_TOKEN = 327, |
118 | PARS_CONCAT_TOKEN = 328, |
119 | PARS_INSTR_TOKEN = 329, |
120 | PARS_LENGTH_TOKEN = 330, |
121 | PARS_SYSDATE_TOKEN = 331, |
122 | PARS_PRINTF_TOKEN = 332, |
123 | PARS_ASSERT_TOKEN = 333, |
124 | PARS_RND_TOKEN = 334, |
125 | PARS_RND_STR_TOKEN = 335, |
126 | PARS_ROW_PRINTF_TOKEN = 336, |
127 | PARS_COMMIT_TOKEN = 337, |
128 | PARS_ROLLBACK_TOKEN = 338, |
129 | PARS_WORK_TOKEN = 339, |
130 | PARS_UNSIGNED_TOKEN = 340, |
131 | PARS_EXIT_TOKEN = 341, |
132 | PARS_FUNCTION_TOKEN = 342, |
133 | PARS_LOCK_TOKEN = 343, |
134 | PARS_SHARE_TOKEN = 344, |
135 | PARS_MODE_TOKEN = 345, |
136 | PARS_LIKE_TOKEN = 346, |
137 | PARS_LIKE_TOKEN_EXACT = 347, |
138 | PARS_LIKE_TOKEN_PREFIX = 348, |
139 | PARS_LIKE_TOKEN_SUFFIX = 349, |
140 | PARS_LIKE_TOKEN_SUBSTR = 350, |
141 | PARS_TABLE_NAME_TOKEN = 351, |
142 | PARS_COMPACT_TOKEN = 352, |
143 | PARS_BLOCK_SIZE_TOKEN = 353, |
144 | PARS_BIGINT_TOKEN = 354, |
145 | NEG = 355 |
146 | }; |
147 | #endif |
148 | |
149 | /* Value type. */ |
150 | #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED |
151 | typedef int YYSTYPE; |
152 | # define YYSTYPE_IS_TRIVIAL 1 |
153 | # define YYSTYPE_IS_DECLARED 1 |
154 | #endif |
155 | |
156 | |
157 | extern YYSTYPE yylval; |
158 | |
159 | int yyparse (void); |
160 | |
161 | #endif /* !YY_YY_PARS0GRM_TAB_H_INCLUDED */ |
162 | |