1 /****************************************************************************
3 ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
4 ** Contact: http://www.qt-project.org/
6 ** This file is part of the QtXmlPatterns module of the Qt Toolkit.
8 ** $QT_BEGIN_LICENSE:LGPL$
9 ** GNU Lesser General Public License Usage
10 ** This file may be used under the terms of the GNU Lesser General Public
11 ** License version 2.1 as published by the Free Software Foundation and
12 ** appearing in the file LICENSE.LGPL included in the packaging of this
13 ** file. Please review the following information to ensure the GNU Lesser
14 ** General Public License version 2.1 requirements will be met:
15 ** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
17 ** In addition, as a special exception, Nokia gives you certain additional
18 ** rights. These rights are described in the Nokia Qt LGPL Exception
19 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
21 ** GNU General Public License Usage
22 ** Alternatively, this file may be used under the terms of the GNU General
23 ** Public License version 3.0 as published by the Free Software Foundation
24 ** and appearing in the file LICENSE.GPL included in the packaging of this
25 ** file. Please review the following information to ensure the GNU General
26 ** Public License version 3.0 requirements will be met:
27 ** http://www.gnu.org/copyleft/gpl.html.
30 ** Alternatively, this file may be used in accordance with the terms and
31 ** conditions contained in a signed written agreement between you and Nokia.
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