Qt 4.8
qquerytransformparser_p.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
4 ** Contact: http://www.qt-project.org/legal
5 **
6 ** This file is part of the QtXmlPatterns module of the Qt Toolkit.
7 **
8 ** $QT_BEGIN_LICENSE:LGPL$
9 ** Commercial License Usage
10 ** Licensees holding valid commercial Qt licenses may use this file in
11 ** accordance with the commercial license agreement provided with the
12 ** Software or, alternatively, in accordance with the terms contained in
13 ** a written agreement between you and Digia. For licensing terms and
14 ** conditions see http://qt.digia.com/licensing. For further information
15 ** use the contact form at http://qt.digia.com/contact-us.
16 **
17 ** GNU Lesser General Public License Usage
18 ** Alternatively, this file may be used under the terms of the GNU Lesser
19 ** General Public License version 2.1 as published by the Free Software
20 ** Foundation and appearing in the file LICENSE.LGPL included in the
21 ** packaging of this file. Please review the following information to
22 ** ensure the GNU Lesser General Public License version 2.1 requirements
23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
24 **
25 ** In addition, as a special exception, Digia gives you certain additional
26 ** rights. These rights are described in the Digia Qt LGPL Exception
27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
28 **
29 ** GNU General Public License Usage
30 ** Alternatively, this file may be used under the terms of the GNU
31 ** General Public License version 3.0 as published by the Free Software
32 ** Foundation and appearing in the file LICENSE.GPL included in the
33 ** packaging of this file. Please review the following information to
34 ** ensure the GNU General Public License version 3.0 requirements will be
35 ** met: http://www.gnu.org/copyleft/gpl.html.
36 **
37 **
38 ** $QT_END_LICENSE$
39 **
40 ****************************************************************************/
41 
42 //
43 // W A R N I N G
44 // -------------
45 //
46 // This file is not part of the Qt API. It exists purely as an
47 // implementation detail. This header file may change from version to
48 // version without notice, or even be removed.
49 //
50 // We mean it.
51 
52 /* A Bison parser, made by GNU Bison 2.3a. */
53 
54 /* Skeleton interface for Bison's Yacc-like parsers in C
55 
56  Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
57  Free Software Foundation, Inc.
58 
59  This program is free software; you can redistribute it and/or modify
60  it under the terms of the GNU General Public License as published by
61  the Free Software Foundation; either version 2, or (at your option)
62  any later version.
63 
64  This program is distributed in the hope that it will be useful,
65  but WITHOUT ANY WARRANTY; without even the implied warranty of
66  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
67  GNU General Public License for more details.
68 
69  You should have received a copy of the GNU General Public License
70  along with this program; if not, write to the Free Software
71  Foundation, Inc., 51 Franklin Street, Fifth Floor,
72  Boston, MA 02110-1301, USA. */
73 
74 /* As a special exception, you may create a larger work that contains
75  part or all of the Bison parser skeleton and distribute that work
76  under terms of your choice, so long as that work isn't itself a
77  parser generator using the skeleton or a modified version thereof
78  as a parser skeleton. Alternatively, if you modify or redistribute
79  the parser skeleton itself, you may (at your option) remove this
80  special exception, which will cause the skeleton and the resulting
81  Bison output files to be licensed under the GNU General Public
82  License without this special exception.
83 
84  This special exception was added by the Free Software Foundation in
85  version 2.2 of Bison. */
86 
87 
88 /* These tokens are defined to nothing on Windows because they're
89  * used in their documentation parser, for use in things like:
90  *
91  * int foo(IN char* name, OUT char* path);
92  *
93  * Hence this un-break fix. Note that this file was auto generated. */
94 #ifdef IN
95 # undef IN
96 #endif
97 #ifdef INSTANCE
98 # undef INSTANCE
99 #endif
100 #ifdef STRICT
101 # undef STRICT
102 #endif
103 #ifdef SELF
104 # undef SELF
105 #endif
106 /* These tokens are defined in VxWorks kernel mode
107  *
108  * Hence this un-break fix. Note that this file was auto generated. */
109 #ifdef ERROR
110 # undef ERROR
111 #endif
112 #ifdef IMPORT
113 # undef IMPORT
114 #endif
115 #ifdef MAP
116 # undef MAP
117 #endif
118 
119 /* These tokens are defined to nothing on Windows because they're
120  * used in their documentation parser, for use in things like:
121  *
122  * int foo(IN char* name, OUT char* path);
123  *
124  * Hence this un-break fix. Note that this file was auto generated. */
125 #ifdef IN
126 # undef IN
127 #endif
128 #ifdef INSTANCE
129 # undef INSTANCE
130 #endif
131 #ifdef STRICT
132 # undef STRICT
133 #endif
134 #ifdef SELF
135 # undef SELF
136 #endif
137 
138 /* Tokens. */
139 #ifndef YYTOKENTYPE
140 # define YYTOKENTYPE
141  /* Put the tokens into the symbol table, so that GDB and other debuggers
142  know about them. */
143  enum yytokentype {
148  QNAME = 261,
149  NCNAME = 262,
150  CLARK_NAME = 263,
152  ANY_PREFIX = 265,
153  NUMBER = 266,
155  ANCESTOR = 268,
157  AND = 270,
158  APOS = 271,
160  AS = 273,
161  ASCENDING = 274,
162  ASSIGN = 275,
163  AT = 276,
164  AT_SIGN = 277,
165  ATTRIBUTE = 278,
166  AVT = 279,
167  BAR = 280,
168  BASEURI = 281,
171  BY = 284,
173  CASE = 286,
174  CASTABLE = 287,
175  CAST = 288,
176  CHILD = 289,
177  COLLATION = 290,
178  COLONCOLON = 291,
179  COMMA = 292,
180  COMMENT = 293,
186  DECLARE = 299,
187  DEFAULT = 300,
188  DESCENDANT = 301,
190  DESCENDING = 303,
191  DIV = 304,
192  DOCUMENT = 305,
194  DOLLAR = 307,
195  DOT = 308,
196  DOTDOT = 309,
197  ELEMENT = 310,
198  ELSE = 311,
199  EMPTY = 312,
201  ENCODING = 314,
202  END_SORT = 315,
203  EQ = 316,
204  ERROR = 317,
205  EVERY = 318,
206  EXCEPT = 319,
207  EXTERNAL = 320,
208  FOLLOWING = 321,
210  FOLLOWS = 323,
212  FOR = 325,
213  FUNCTION = 326,
214  GE = 327,
215  G_EQ = 328,
216  G_GE = 329,
217  G_GT = 330,
218  G_LE = 331,
219  G_LT = 332,
220  G_NE = 333,
221  GREATEST = 334,
222  GT = 335,
223  IDIV = 336,
224  IF = 337,
225  IMPORT = 338,
226  INHERIT = 339,
227  IN = 340,
228  INSTANCE = 341,
229  INTERSECT = 342,
230  IS = 343,
231  ITEM = 344,
232  LAX = 345,
233  LBRACKET = 346,
234  LEAST = 347,
235  LE = 348,
236  LET = 349,
237  LPAREN = 350,
238  LT = 351,
239  MAP = 352,
240  MATCHES = 353,
241  MINUS = 354,
242  MODE = 355,
243  MOD = 356,
244  MODULE = 357,
245  NAME = 358,
246  NAMESPACE = 359,
247  NE = 360,
248  NODE = 361,
249  NO_INHERIT = 362,
250  NO_PRESERVE = 363,
251  OF = 364,
252  OPTION = 365,
253  ORDERED = 366,
254  ORDERING = 367,
255  ORDER = 368,
256  OR = 369,
257  PARENT = 370,
258  PI_START = 371,
259  PLUS = 372,
261  PRAGMA_END = 374,
263  PRECEDES = 376,
264  PRECEDING = 377,
266  PRESERVE = 379,
267  PRIORITY = 380,
269  QUESTION = 382,
271  QUOTE = 384,
272  RBRACKET = 385,
273  RETURN = 386,
274  RPAREN = 387,
275  SATISFIES = 388,
278  SCHEMA = 391,
279  SELF = 392,
280  SEMI_COLON = 393,
281  SLASH = 394,
282  SLASHSLASH = 395,
283  SOME = 396,
284  SORT = 397,
285  STABLE = 398,
286  STAR = 399,
287  STRICT = 400,
288  STRIP = 401,
289  SUCCESS = 402,
291  PI_CONTENT = 404,
292  PI_TARGET = 405,
294  TEMPLATE = 407,
295  TEXT = 408,
296  THEN = 409,
297  TO = 410,
298  TREAT = 411,
299  TUNNEL = 412,
300  TYPESWITCH = 413,
301  UNION = 414,
302  UNORDERED = 415,
303  VALIDATE = 416,
304  VARIABLE = 417,
305  VERSION = 418,
306  WHERE = 419,
307  XQUERY = 420,
308  INTERNAL = 421,
310  CURRENT = 423
311  };
312 #endif
313 
314 
315 
316 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
317 
318 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
319 # define YYSTYPE_IS_DECLARED 1
320 #endif
321 
322 
323 
324 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
325 typedef struct YYLTYPE
326 {
331 } YYLTYPE;
332 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
333 # define YYLTYPE_IS_DECLARED 1
334 # define YYLTYPE_IS_TRIVIAL 1
335 #endif
336 
337 
338 
struct YYLTYPE YYLTYPE