Add new udafs and RMR support to gsprintconsole_ves
[com/gs-lite.git] / src / ftacmp / fta.tab.cc.h
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_FTAPARSER_FTA_TAB_CC_H_INCLUDED
34 # define YY_FTAPARSER_FTA_TAB_CC_H_INCLUDED
35 /* Debug traces.  */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int FtaParserdebug;
41 #endif
42
43 /* Token type.  */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
46   enum yytokentype
47   {
48     NAME = 258,
49     STRING_TOKEN = 259,
50     INTNUM = 260,
51     LONGINTNUM = 261,
52     APPROXNUM = 262,
53     OR = 263,
54     AND = 264,
55     NOT = 265,
56     COMPARISON = 266,
57     SHIFT_OP = 267,
58     UMINUS = 268,
59     SEMICOLON = 269,
60     LEFTBRACE = 270,
61     RIGHTBRACE = 271,
62     BY = 272,
63     AS = 273,
64     AGGR = 274,
65     FROM = 275,
66     INNER_JOIN = 276,
67     FILTER_JOIN = 277,
68     OUTER_JOIN = 278,
69     LEFT_OUTER_JOIN = 279,
70     RIGHT_OUTER_JOIN = 280,
71     WATCHLIST_JOIN = 281,
72     GROUP = 282,
73     HAVING = 283,
74     IN = 284,
75     SELECT = 285,
76     WATCHLIST = 286,
77     WHERE = 287,
78     SUPERGROUP = 288,
79     CLEANING_WHEN = 289,
80     CLEANING_BY = 290,
81     CLOSING_WHEN = 291,
82     SUCH = 292,
83     THAT = 293,
84     CUBE = 294,
85     ROLLUP = 295,
86     GROUPING_SETS = 296,
87     TRUE_V = 297,
88     FALSE_V = 298,
89     TIMEVAL_L = 299,
90     HEX_L = 300,
91     LHEX_L = 301,
92     IP_L = 302,
93     IPV6_L = 303,
94     MERGE = 304,
95     SLACK = 305,
96     DEFINE_SEC = 306,
97     PARAM_SEC = 307,
98     PROTOCOL = 308,
99     TABLE = 309,
100     STREAM = 310,
101     FTA = 311,
102     UNPACK_FCNS = 312,
103     OPERATOR = 313,
104     OPERATOR_VIEW = 314,
105     FIELDS = 315,
106     SUBQUERIES = 316,
107     SELECTION_PUSHDOWN = 317
108   };
109 #endif
110
111 /* Value type.  */
112 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
113
114 union YYSTYPE
115 {
116 #line 52 "fta.y" /* yacc.c:1909  */
117
118         int intval;
119         double floatval;
120         char *strval;
121         int subtok;
122
123         string_t *stringval;
124
125 /*                      for FTA definition.     */
126         literal_t *litval;
127         scalarexp_t *scalarval;
128         se_list_t *se_listval;
129         select_list_t *select_listval;
130         table_exp_t *tblp;
131         predicate_t *predp;
132         literal_list_t *lit_l;
133         tablevar_t *table;
134         tablevar_list_t *tbl_list;
135         colref_t *colref;
136         ifpref_t *ifpref;
137         colref_list_t *clist;
138         var_defs_t *var_defs;
139         var_pair_t *var_pair;
140         gb_t *gb_val;
141         gb_list_t *gb_list;
142         list_of_gb_list_t *list_of_gb_list;
143         extended_gb_t *extended_gb;
144         extended_gb_list_t *extended_gb_list;
145
146         query_list_t *q_list;
147
148 /*              For table definition    */
149         field_entry *field_t;
150         field_entry_list *field_list_t;
151         table_def *table_def_t;
152         table_list *table_list_schema;
153         param_list *plist_t;
154         name_vec  *namevec_t;
155         subquery_spec *subq_spec_t;
156         subqueryspec_list *subqueryspec_list_t;
157         unpack_fcn      *ufcn;
158         unpack_fcn_list *ufcnl;
159
160
161 #line 162 "fta.tab.cc.h" /* yacc.c:1909  */
162 };
163
164 typedef union YYSTYPE YYSTYPE;
165 # define YYSTYPE_IS_TRIVIAL 1
166 # define YYSTYPE_IS_DECLARED 1
167 #endif
168
169
170 extern YYSTYPE FtaParserlval;
171
172 int FtaParserparse (void);
173
174 #endif /* !YY_FTAPARSER_FTA_TAB_CC_H_INCLUDED  */