1 /****************************************************************************
3 ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
4 ** Contact: http://www.qt-project.org/legal
6 ** This file is part of the QtXmlPatterns module of the Qt Toolkit.
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.
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.
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.
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.
40 ****************************************************************************/
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.
52 /* A Bison parser, made by GNU Bison 2.3a. */
54 /* Skeleton interface for Bison's Yacc-like parsers in C
56 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
57 Free Software Foundation, Inc.
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)
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.
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. */
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.
84 This special exception was added by the Free Software Foundation in
85 version 2.2 of Bison. */
88 /* These tokens are defined to nothing on Windows because they're
89 * used in their documentation parser, for use in things like:
91 * int foo(IN char* name, OUT char* path);
93 * Hence this un-break fix. Note that this file was auto generated. */
106 /* These tokens are defined in VxWorks kernel mode
108 * Hence this un-break fix. Note that this file was auto generated. */
119 /* These tokens are defined to nothing on Windows because they're
120 * used in their documentation parser, for use in things like:
122 * int foo(IN char* name, OUT char* path);
124 * Hence this un-break fix. Note that this file was auto generated. */
141 /* Put the tokens into the symbol table, so that GDB and other debuggers
145 STRING_LITERAL = 258,
146 NON_BOUNDARY_WS = 259,
147 XPATH2_STRING_LITERAL = 260,
151 ANY_LOCAL_NAME = 264,
156 ANCESTOR_OR_SELF = 269,
159 APPLY_TEMPLATE = 272,
170 BOUNDARY_SPACE = 283,
183 COPY_NAMESPACES = 296,
189 DESCENDANT_OR_SELF = 302,
200 EMPTY_SEQUENCE = 313,
209 FOLLOWING_SIBLING = 322,
211 FOR_APPLY_TEMPLATE = 324,
265 PRECEDING_SIBLING = 378,
268 PROCESSING_INSTRUCTION = 381,
276 SCHEMA_ATTRIBUTE = 389,
277 SCHEMA_ELEMENT = 390,
290 COMMENT_CONTENT = 403,
316 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
318 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
319 # define YYSTYPE_IS_DECLARED 1
324 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
325 typedef struct YYLTYPE
332 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
333 # define YYLTYPE_IS_DECLARED 1
334 # define YYLTYPE_IS_TRIVIAL 1