source: trunk/src/xmlpatterns/parser/qquerytransformparser_p.h@ 792

Last change on this file since 792 was 651, checked in by Dmitry A. Kuminov, 15 years ago

trunk: Merged in qt 4.6.2 sources.

File size: 8.7 KB
Line 
1/****************************************************************************
2**
3** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4** All rights reserved.
5** Contact: Nokia Corporation ([email protected])
6**
7** This file is part of the QtXmlPatterns module of the Qt Toolkit.
8**
9** $QT_BEGIN_LICENSE:LGPL$
10** Commercial Usage
11** Licensees holding valid Qt Commercial licenses may use this file in
12** accordance with the Qt Commercial License Agreement provided with the
13** Software or, alternatively, in accordance with the terms contained in
14** a written agreement between you and Nokia.
15**
16** GNU Lesser General Public License Usage
17** Alternatively, this file may be used under the terms of the GNU Lesser
18** General Public License version 2.1 as published by the Free Software
19** Foundation and appearing in the file LICENSE.LGPL included in the
20** packaging of this file. Please review the following information to
21** ensure the GNU Lesser General Public License version 2.1 requirements
22** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
23**
24** In addition, as a special exception, Nokia gives you certain additional
25** rights. These rights are described in the Nokia Qt LGPL Exception
26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
27**
28** GNU General Public License Usage
29** Alternatively, this file may be used under the terms of the GNU
30** General Public License version 3.0 as published by the Free Software
31** Foundation and appearing in the file LICENSE.GPL included in the
32** packaging of this file. Please review the following information to
33** ensure the GNU General Public License version 3.0 requirements will be
34** met: http://www.gnu.org/copyleft/gpl.html.
35**
36** If you have questions regarding the use of this file, please contact
37** Nokia at [email protected].
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 {
144 END_OF_FILE = 0,
145 STRING_LITERAL = 258,
146 NON_BOUNDARY_WS = 259,
147 XPATH2_STRING_LITERAL = 260,
148 QNAME = 261,
149 NCNAME = 262,
150 CLARK_NAME = 263,
151 ANY_LOCAL_NAME = 264,
152 ANY_PREFIX = 265,
153 NUMBER = 266,
154 XPATH2_NUMBER = 267,
155 ANCESTOR = 268,
156 ANCESTOR_OR_SELF = 269,
157 AND = 270,
158 APOS = 271,
159 APPLY_TEMPLATE = 272,
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,
169 BEGIN_END_TAG = 282,
170 BOUNDARY_SPACE = 283,
171 BY = 284,
172 CALL_TEMPLATE = 285,
173 CASE = 286,
174 CASTABLE = 287,
175 CAST = 288,
176 CHILD = 289,
177 COLLATION = 290,
178 COLONCOLON = 291,
179 COMMA = 292,
180 COMMENT = 293,
181 COMMENT_START = 294,
182 CONSTRUCTION = 295,
183 COPY_NAMESPACES = 296,
184 CURLY_LBRACE = 297,
185 CURLY_RBRACE = 298,
186 DECLARE = 299,
187 DEFAULT = 300,
188 DESCENDANT = 301,
189 DESCENDANT_OR_SELF = 302,
190 DESCENDING = 303,
191 DIV = 304,
192 DOCUMENT = 305,
193 DOCUMENT_NODE = 306,
194 DOLLAR = 307,
195 DOT = 308,
196 DOTDOT = 309,
197 ELEMENT = 310,
198 ELSE = 311,
199 EMPTY = 312,
200 EMPTY_SEQUENCE = 313,
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,
209 FOLLOWING_SIBLING = 322,
210 FOLLOWS = 323,
211 FOR_APPLY_TEMPLATE = 324,
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,
260 POSITION_SET = 373,
261 PRAGMA_END = 374,
262 PRAGMA_START = 375,
263 PRECEDES = 376,
264 PRECEDING = 377,
265 PRECEDING_SIBLING = 378,
266 PRESERVE = 379,
267 PRIORITY = 380,
268 PROCESSING_INSTRUCTION = 381,
269 QUESTION = 382,
270 QUICK_TAG_END = 383,
271 QUOTE = 384,
272 RBRACKET = 385,
273 RETURN = 386,
274 RPAREN = 387,
275 SATISFIES = 388,
276 SCHEMA_ATTRIBUTE = 389,
277 SCHEMA_ELEMENT = 390,
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,
290 COMMENT_CONTENT = 403,
291 PI_CONTENT = 404,
292 PI_TARGET = 405,
293 XSLT_VERSION = 406,
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,
309 INTERNAL_NAME = 422,
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
325typedef struct YYLTYPE
326{
327 int first_line;
328 int first_column;
329 int last_line;
330 int last_column;
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
Note: See TracBrowser for help on using the repository browser.