File indexing completed on 2024-04-28 15:22:51
0001 /* A Bison parser, made by GNU Bison 2.5.1. */ 0002 0003 /* Bison interface for Yacc-like parsers in C 0004 0005 Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc. 0006 0007 This program is free software: you can redistribute it and/or modify 0008 it under the terms of the GNU General Public License as published by 0009 the Free Software Foundation, either version 3 of the License, or 0010 (at your option) any later version. 0011 0012 This program is distributed in the hope that it will be useful, 0013 but WITHOUT ANY WARRANTY; without even the implied warranty of 0014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0015 GNU General Public License for more details. 0016 0017 You should have received a copy of the GNU General Public License 0018 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 0019 0020 /* As a special exception, you may create a larger work that contains 0021 part or all of the Bison parser skeleton and distribute that work 0022 under terms of your choice, so long as that work isn't itself a 0023 parser generator using the skeleton or a modified version thereof 0024 as a parser skeleton. Alternatively, if you modify or redistribute 0025 the parser skeleton itself, you may (at your option) remove this 0026 special exception, which will cause the skeleton and the resulting 0027 Bison output files to be licensed under the GNU General Public 0028 License without this special exception. 0029 0030 This special exception was added by the Free Software Foundation in 0031 version 2.2 of Bison. */ 0032 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 REDUCE = 258, 0041 S = 259, 0042 SGML_CD = 260, 0043 INCLUDES = 261, 0044 DASHMATCH = 262, 0045 BEGINSWITH = 263, 0046 ENDSWITH = 264, 0047 CONTAINS = 265, 0048 STRING = 266, 0049 IDENT = 267, 0050 NTH = 268, 0051 HASH = 269, 0052 HEXCOLOR = 270, 0053 IMPORT_SYM = 271, 0054 PAGE_SYM = 272, 0055 MEDIA_SYM = 273, 0056 FONT_FACE_SYM = 274, 0057 CHARSET_SYM = 275, 0058 NAMESPACE_SYM = 276, 0059 KHTML_RULE_SYM = 277, 0060 KHTML_DECLS_SYM = 278, 0061 KHTML_VALUE_SYM = 279, 0062 KHTML_MEDIAQUERY_SYM = 280, 0063 KHTML_SELECTORS_SYM = 281, 0064 IMPORTANT_SYM = 282, 0065 MEDIA_ONLY = 283, 0066 MEDIA_NOT = 284, 0067 MEDIA_AND = 285, 0068 QEMS = 286, 0069 EMS = 287, 0070 EXS = 288, 0071 CHS = 289, 0072 REMS = 290, 0073 PXS = 291, 0074 CMS = 292, 0075 MMS = 293, 0076 INS = 294, 0077 PTS = 295, 0078 PCS = 296, 0079 DEGS = 297, 0080 RADS = 298, 0081 GRADS = 299, 0082 MSECS = 300, 0083 SECS = 301, 0084 HERZ = 302, 0085 KHERZ = 303, 0086 DPI = 304, 0087 DPCM = 305, 0088 DIMEN = 306, 0089 PERCENTAGE = 307, 0090 FLOAT = 308, 0091 INTEGER = 309, 0092 URI = 310, 0093 FUNCTION = 311, 0094 NOTFUNCTION = 312, 0095 UNICODERANGE = 313 0096 }; 0097 #endif 0098 0099 0100 0101 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 0102 typedef union YYSTYPE 0103 { 0104 0105 0106 CSSRuleImpl *rule; 0107 CSSSelector *selector; 0108 QList<CSSSelector *> *selectorList; 0109 bool ok; 0110 MediaListImpl *mediaList; 0111 CSSMediaRuleImpl *mediaRule; 0112 CSSRuleListImpl *ruleList; 0113 ParseString string; 0114 double val; 0115 int prop_id; 0116 unsigned int attribute; 0117 unsigned int element; 0118 CSSSelector::Relation relation; 0119 CSSSelector::Match match; 0120 bool b; 0121 char tok; 0122 Value value; 0123 ValueList *valueList; 0124 0125 khtml::MediaQuery *mediaQuery; 0126 khtml::MediaQueryExp *mediaQueryExp; 0127 QList<khtml::MediaQueryExp *> *mediaQueryExpList; 0128 khtml::MediaQuery::Restrictor mediaQueryRestrictor; 0129 0130 0131 0132 } YYSTYPE; 0133 # define YYSTYPE_IS_TRIVIAL 1 0134 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 0135 # define YYSTYPE_IS_DECLARED 1 0136 #endif 0137 0138 0139 0140