KHTML
parser.h
Go to the documentation of this file.
00001 /* A Bison parser, made by GNU Bison 2.4.2. */ 00002 00003 /* Skeleton interface for Bison's Yacc-like parsers in C 00004 00005 Copyright (C) 1984, 1989-1990, 2000-2006, 2009-2010 Free Software 00006 Foundation, Inc. 00007 00008 This program is free software: you can redistribute it and/or modify 00009 it under the terms of the GNU General Public License as published by 00010 the Free Software Foundation, either version 3 of the License, or 00011 (at your option) any later version. 00012 00013 This program is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00020 00021 /* As a special exception, you may create a larger work that contains 00022 part or all of the Bison parser skeleton and distribute that work 00023 under terms of your choice, so long as that work isn't itself a 00024 parser generator using the skeleton or a modified version thereof 00025 as a parser skeleton. Alternatively, if you modify or redistribute 00026 the parser skeleton itself, you may (at your option) remove this 00027 special exception, which will cause the skeleton and the resulting 00028 Bison output files to be licensed under the GNU General Public 00029 License without this special exception. 00030 00031 This special exception was added by the Free Software Foundation in 00032 version 2.2 of Bison. */ 00033 00034 00035 /* Tokens. */ 00036 #ifndef YYTOKENTYPE 00037 # define YYTOKENTYPE 00038 /* Put the tokens into the symbol table, so that GDB and other debuggers 00039 know about them. */ 00040 enum yytokentype { 00041 EQOP = 258, 00042 RELOP = 259, 00043 MULOP = 260, 00044 MINUS = 261, 00045 PLUS = 262, 00046 AND = 263, 00047 OR = 264, 00048 AXISNAME = 265, 00049 NODETYPE = 266, 00050 PI = 267, 00051 FUNCTIONNAME = 268, 00052 LITERAL = 269, 00053 VARIABLEREFERENCE = 270, 00054 NUMBER = 271, 00055 DOTDOT = 272, 00056 SLASHSLASH = 273, 00057 NAMETEST = 274, 00058 ERROR = 275 00059 }; 00060 #endif 00061 00062 00063 00064 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 00065 typedef union YYSTYPE 00066 { 00067 00068 /* Line 1685 of yacc.c */ 00069 #line 39 "parser.y" 00070 00071 khtml::XPath::Step::AxisType axisType; 00072 int num; 00073 DOM::DOMString *str; // we use this and not DOMStringImpl*, so the 00074 // memory management for this is entirely manual, 00075 // and not an RC/manual hybrid 00076 khtml::XPath::Expression *expr; 00077 QList<khtml::XPath::Predicate *> *predList; 00078 QList<khtml::XPath::Expression *> *argList; 00079 khtml::XPath::Step *step; 00080 khtml::XPath::LocationPath *locationPath; 00081 00082 00083 00084 /* Line 1685 of yacc.c */ 00085 #line 86 "parser.tab.h" 00086 } YYSTYPE; 00087 # define YYSTYPE_IS_TRIVIAL 1 00088 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 00089 # define YYSTYPE_IS_DECLARED 1 00090 #endif 00091 00092 extern YYSTYPE khtmlxpathyylval; 00093 00094
KDE 4.6 API Reference