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_SCHEMA_HOME_BOSHKINS_NCBI_DEVEL_NCBI_VDB_LIBS_SCHEMA_SCHEMA_TOKENS_H_INCLUDED
34 # define YY_SCHEMA_HOME_BOSHKINS_NCBI_DEVEL_NCBI_VDB_LIBS_SCHEMA_SCHEMA_TOKENS_H_INCLUDED
35 /* Debug traces.  */
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int Schema_debug;
41 #endif
42 
43 /* Token type.  */
44 #ifndef YYTOKENTYPE
45 # define YYTOKENTYPE
46   enum yytokentype
47   {
48     END_SOURCE = 0,
49     UNRECOGNIZED = 258,
50     ELLIPSIS = 259,
51     INCREMENT = 260,
52     DECIMAL = 261,
53     OCTAL = 262,
54     HEX = 263,
55     FLOAT_ = 264,
56     EXP_FLOAT = 265,
57     STRING = 266,
58     ESCAPED_STRING = 267,
59     IDENTIFIER_1_0 = 268,
60     PHYSICAL_IDENTIFIER_1_0 = 269,
61     VERSION = 270,
62     UNTERM_STRING = 271,
63     UNTERM_ESCAPED_STRING = 272,
64     VERS_1_0 = 273,
65     VERS_2_0 = 274,
66     KW___no_header = 275,
67     KW___row_length = 276,
68     KW___untyped = 277,
69     KW_alias = 278,
70     KW_column = 279,
71     KW_const = 280,
72     KW_control = 281,
73     KW_database = 282,
74     KW_decode = 283,
75     KW_default = 284,
76     KW_encode = 285,
77     KW_extern = 286,
78     KW_false = 287,
79     KW_fmtdef = 288,
80     KW_function = 289,
81     KW_include = 290,
82     KW_limit = 291,
83     KW_physical = 292,
84     KW_read = 293,
85     KW_readonly = 294,
86     KW_return = 295,
87     KW_schema = 296,
88     KW_static = 297,
89     KW_table = 298,
90     KW_template = 299,
91     KW_trigger = 300,
92     KW_true = 301,
93     KW_type = 302,
94     KW_typedef = 303,
95     KW_typeset = 304,
96     KW_validate = 305,
97     KW_version = 306,
98     KW_view = 307,
99     KW_virtual = 308,
100     KW_void = 309,
101     KW_write = 310,
102     PT_ASTLIST = 311,
103     PT_PARSE = 312,
104     PT_SOURCE = 313,
105     PT_VERSION_1_0 = 314,
106     PT_VERSION_2 = 315,
107     PT_SCHEMA_1_0 = 316,
108     PT_SCHEMA_2_0 = 317,
109     PT_INCLUDE = 318,
110     PT_TYPEDEF = 319,
111     PT_FQN = 320,
112     PT_IDENT = 321,
113     PT_PHYSIDENT = 322,
114     PT_UINT = 323,
115     PT_TYPESET = 324,
116     PT_TYPESETDEF = 325,
117     PT_FORMAT = 326,
118     PT_CONST = 327,
119     PT_ALIAS = 328,
120     PT_EXTERN = 329,
121     PT_FUNCTION = 330,
122     PT_UNTYPED = 331,
123     PT_ROWLENGTH = 332,
124     PT_FUNCDECL = 333,
125     PT_EMPTY = 334,
126     PT_SCHEMASIG = 335,
127     PT_SCHEMAFORMAL = 336,
128     PT_RETURNTYPE = 337,
129     PT_FACTSIG = 338,
130     PT_FUNCSIG = 339,
131     PT_FUNCPARAMS = 340,
132     PT_FORMALPARAM = 341,
133     PT_ELLIPSIS = 342,
134     PT_FUNCPROLOGUE = 343,
135     PT_RETURN = 344,
136     PT_PRODSTMT = 345,
137     PT_PRODTRIGGER = 346,
138     PT_SCHEMA = 347,
139     PT_VALIDATE = 348,
140     PT_PHYSICAL = 349,
141     PT_PHYSPROLOGUE = 350,
142     PT_PHYSSTMT = 351,
143     PT_PHYSBODYSTMT = 352,
144     PT_TABLE = 353,
145     PT_TABLEPARENTS = 354,
146     PT_TABLEBODY = 355,
147     PT_FUNCEXPR = 356,
148     PT_FACTPARMS = 357,
149     PT_COLUMN = 358,
150     PT_COLUMNEXPR = 359,
151     PT_COLDECL = 360,
152     PT_TYPEDCOL = 361,
153     PT_COLSTMT = 362,
154     PT_DFLTVIEW = 363,
155     PT_PHYSMBR = 364,
156     PT_PHYSCOL = 365,
157     PT_PHYSCOLDEF = 366,
158     PT_COLSCHEMAPARMS = 367,
159     PT_COLSCHEMAPARAM = 368,
160     PT_COLUNTYPED = 369,
161     PT_DATABASE = 370,
162     PT_TYPEEXPR = 371,
163     PT_DBBODY = 372,
164     PT_DBDAD = 373,
165     PT_DBMEMBER = 374,
166     PT_TBLMEMBER = 375,
167     PT_NOHEADER = 376,
168     PT_CASTEXPR = 377,
169     PT_CONSTVECT = 378,
170     PT_NEGATE = 379,
171     PT_UNARYPLUS = 380,
172     PT_VERSNAME = 381,
173     PT_ARRAY = 382,
174     PT_PHYSENCREF = 383,
175     PT_TYPEDCOLEXPR = 384,
176     PT_VIEW = 385,
177     PT_VIEWPARAM = 386,
178     PT_VIEWPARENTS = 387,
179     PT_VIEWPARENT = 388,
180     PT_MEMBEREXPR = 389,
181     PT_JOINEXPR = 390
182   };
183 #endif
184 
185 /* Value type.  */
186 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
187 typedef SchemaToken YYSTYPE;
188 # define YYSTYPE_IS_TRIVIAL 1
189 # define YYSTYPE_IS_DECLARED 1
190 #endif
191 
192 /* Location type.  */
193 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
194 typedef struct YYLTYPE YYLTYPE;
195 struct YYLTYPE
196 {
197   int first_line;
198   int first_column;
199   int last_line;
200   int last_column;
201 };
202 # define YYLTYPE_IS_DECLARED 1
203 # define YYLTYPE_IS_TRIVIAL 1
204 #endif
205 
206 
207 
208 int Schema_parse (ParseTree** root, ErrorReport * errors, struct SchemaScanBlock* sb);
209 
210 #endif /* !YY_SCHEMA_HOME_BOSHKINS_NCBI_DEVEL_NCBI_VDB_LIBS_SCHEMA_SCHEMA_TOKENS_H_INCLUDED  */
211