parser.h

00001 /* A Bison parser, made by GNU Bison 1.875d.  */
00002 
00003 /* Skeleton parser for Yacc-like parsing with Bison,
00004    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License as published by
00008    the Free Software Foundation; either version 2, or (at your option)
00009    any later version.
00010 
00011    This program is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014    GNU General Public License for more details.
00015 
00016    You should have received a copy of the GNU General Public License
00017    along with this program; if not, write to the Free Software
00018    Foundation, Inc., 59 Temple Place - Suite 330,
00019    Boston, MA 02111-1307, USA.  */
00020 
00021 /* As a special exception, when this file is copied by Bison into a
00022    Bison output file, you may use that output file without restriction.
00023    This special exception was added by the Free Software Foundation
00024    in version 1.24 of Bison.  */
00025 
00026 /* Tokens.  */
00027 #ifndef YYTOKENTYPE
00028 # define YYTOKENTYPE
00029    /* Put the tokens into the symbol table, so that GDB and other debuggers
00030       know about them.  */
00031    enum yytokentype {
00032      UNIMPORTANT_TOK = 258,
00033      S = 259,
00034      SGML_CD = 260,
00035      INCLUDES = 261,
00036      DASHMATCH = 262,
00037      BEGINSWITH = 263,
00038      ENDSWITH = 264,
00039      CONTAINS = 265,
00040      STRING = 266,
00041      IDENT = 267,
00042      NTH = 268,
00043      HASH = 269,
00044      IMPORT_SYM = 270,
00045      PAGE_SYM = 271,
00046      MEDIA_SYM = 272,
00047      FONT_FACE_SYM = 273,
00048      CHARSET_SYM = 274,
00049      NAMESPACE_SYM = 275,
00050      KHTML_RULE_SYM = 276,
00051      KHTML_DECLS_SYM = 277,
00052      KHTML_VALUE_SYM = 278,
00053      IMPORTANT_SYM = 279,
00054      QEMS = 280,
00055      EMS = 281,
00056      EXS = 282,
00057      PXS = 283,
00058      CMS = 284,
00059      MMS = 285,
00060      INS = 286,
00061      PTS = 287,
00062      PCS = 288,
00063      DEGS = 289,
00064      RADS = 290,
00065      GRADS = 291,
00066      MSECS = 292,
00067      SECS = 293,
00068      HERZ = 294,
00069      KHERZ = 295,
00070      DIMEN = 296,
00071      PERCENTAGE = 297,
00072      FLOAT = 298,
00073      INTEGER = 299,
00074      URI = 300,
00075      FUNCTION = 301,
00076      NOTFUNCTION = 302,
00077      UNICODERANGE = 303
00078    };
00079 #endif
00080 #define UNIMPORTANT_TOK 258
00081 #define S 259
00082 #define SGML_CD 260
00083 #define INCLUDES 261
00084 #define DASHMATCH 262
00085 #define BEGINSWITH 263
00086 #define ENDSWITH 264
00087 #define CONTAINS 265
00088 #define STRING 266
00089 #define IDENT 267
00090 #define NTH 268
00091 #define HASH 269
00092 #define IMPORT_SYM 270
00093 #define PAGE_SYM 271
00094 #define MEDIA_SYM 272
00095 #define FONT_FACE_SYM 273
00096 #define CHARSET_SYM 274
00097 #define NAMESPACE_SYM 275
00098 #define KHTML_RULE_SYM 276
00099 #define KHTML_DECLS_SYM 277
00100 #define KHTML_VALUE_SYM 278
00101 #define IMPORTANT_SYM 279
00102 #define QEMS 280
00103 #define EMS 281
00104 #define EXS 282
00105 #define PXS 283
00106 #define CMS 284
00107 #define MMS 285
00108 #define INS 286
00109 #define PTS 287
00110 #define PCS 288
00111 #define DEGS 289
00112 #define RADS 290
00113 #define GRADS 291
00114 #define MSECS 292
00115 #define SECS 293
00116 #define HERZ 294
00117 #define KHERZ 295
00118 #define DIMEN 296
00119 #define PERCENTAGE 297
00120 #define FLOAT 298
00121 #define INTEGER 299
00122 #define URI 300
00123 #define FUNCTION 301
00124 #define NOTFUNCTION 302
00125 #define UNICODERANGE 303
00126 
00127 
00128 
00129 
00130 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
00131 
00132 typedef union YYSTYPE {
00133     CSSRuleImpl *rule;
00134     CSSSelector *selector;
00135     QPtrList<CSSSelector> *selectorList;
00136     bool ok;
00137     MediaListImpl *mediaList;
00138     CSSMediaRuleImpl *mediaRule;
00139     CSSRuleListImpl *ruleList;
00140     ParseString string;
00141     float val;
00142     int prop_id;
00143     unsigned int attribute;
00144     unsigned int element;
00145     unsigned int ns;
00146     CSSSelector::Relation relation;
00147     CSSSelector::Match match;
00148     bool b;
00149     char tok;
00150     Value value;
00151     ValueList *valueList;
00152 } YYSTYPE;
00153 /* Line 1285 of yacc.c.  */
00154 
00155 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
00156 # define YYSTYPE_IS_DECLARED 1
00157 # define YYSTYPE_IS_TRIVIAL 1
00158 #endif
00159 
00160 
00161 
00162 
00163 
KDE Home | KDE Accessibility Home | Description of Access Keys