Warning, file /frameworks/khtml/src/xpath/parser.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* A Bison parser, made by GNU Bison 2.4.2. */ 0002 0003 /* Skeleton interface for Bison's Yacc-like parsers in C 0004 0005 Copyright (C) 1984, 1989-1990, 2000-2006, 2009-2010 Free Software 0006 Foundation, Inc. 0007 0008 This program is free software: you can redistribute it and/or modify 0009 it under the terms of the GNU General Public License as published by 0010 the Free Software Foundation, either version 3 of the License, or 0011 (at your option) any later version. 0012 0013 This program is distributed in the hope that it will be useful, 0014 but WITHOUT ANY WARRANTY; without even the implied warranty of 0015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0016 GNU General Public License for more details. 0017 0018 You should have received a copy of the GNU General Public License 0019 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 0020 0021 /* As a special exception, you may create a larger work that contains 0022 part or all of the Bison parser skeleton and distribute that work 0023 under terms of your choice, so long as that work isn't itself a 0024 parser generator using the skeleton or a modified version thereof 0025 as a parser skeleton. Alternatively, if you modify or redistribute 0026 the parser skeleton itself, you may (at your option) remove this 0027 special exception, which will cause the skeleton and the resulting 0028 Bison output files to be licensed under the GNU General Public 0029 License without this special exception. 0030 0031 This special exception was added by the Free Software Foundation in 0032 version 2.2 of Bison. */ 0033 0034 /* Tokens. */ 0035 #ifndef YYTOKENTYPE 0036 # define YYTOKENTYPE 0037 /* Put the tokens into the symbol table, so that GDB and other debuggers 0038 know about them. */ 0039 enum yytokentype { 0040 EQOP = 258, 0041 RELOP = 259, 0042 MULOP = 260, 0043 MINUS = 261, 0044 PLUS = 262, 0045 AND = 263, 0046 OR = 264, 0047 AXISNAME = 265, 0048 NODETYPE = 266, 0049 PI = 267, 0050 FUNCTIONNAME = 268, 0051 LITERAL = 269, 0052 VARIABLEREFERENCE = 270, 0053 NUMBER = 271, 0054 DOTDOT = 272, 0055 SLASHSLASH = 273, 0056 NAMETEST = 274, 0057 ERROR = 275 0058 }; 0059 #endif 0060 0061 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 0062 typedef union YYSTYPE { 0063 0064 /* Line 1685 of yacc.c */ 0065 #line 39 "parser.y" 0066 0067 khtml::XPath::Step::AxisType axisType; 0068 int num; 0069 DOM::DOMString *str; // we use this and not DOMStringImpl*, so the 0070 // memory management for this is entirely manual, 0071 // and not an RC/manual hybrid 0072 khtml::XPath::Expression *expr; 0073 QList<khtml::XPath::Predicate *> *predList; 0074 QList<khtml::XPath::Expression *> *argList; 0075 khtml::XPath::Step *step; 0076 khtml::XPath::LocationPath *locationPath; 0077 0078 /* Line 1685 of yacc.c */ 0079 #line 86 "parser.tab.h" 0080 } YYSTYPE; 0081 # define YYSTYPE_IS_TRIVIAL 1 0082 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 0083 # define YYSTYPE_IS_DECLARED 1 0084 #endif 0085 0086 extern YYSTYPE khtmlxpathyylval; 0087