webengine/osswebengine/DerivedSources/WebCore/CSSGrammar.h
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 #ifndef CSSGrammar_h
       
     2 #define CSSGrammar_h
       
     3 /* A Bison parser, made by GNU Bison 2.3.  */
       
     4 
       
     5 /* Skeleton interface for Bison's Yacc-like parsers in C
       
     6 
       
     7    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
       
     8    Free Software Foundation, Inc.
       
     9 
       
    10    This program is free software; you can redistribute it and/or modify
       
    11    it under the terms of the GNU General Public License as published by
       
    12    the Free Software Foundation; either version 2, or (at your option)
       
    13    any later version.
       
    14 
       
    15    This program is distributed in the hope that it will be useful,
       
    16    but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    17    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    18    GNU General Public License for more details.
       
    19 
       
    20    You should have received a copy of the GNU General Public License
       
    21    along with this program; if not, write to the Free Software
       
    22    Foundation, Inc., 51 Franklin Street, Fifth Floor,
       
    23    Boston, MA 02110-1301, USA.  */
       
    24 
       
    25 /* As a special exception, you may create a larger work that contains
       
    26    part or all of the Bison parser skeleton and distribute that work
       
    27    under terms of your choice, so long as that work isn't itself a
       
    28    parser generator using the skeleton or a modified version thereof
       
    29    as a parser skeleton.  Alternatively, if you modify or redistribute
       
    30    the parser skeleton itself, you may (at your option) remove this
       
    31    special exception, which will cause the skeleton and the resulting
       
    32    Bison output files to be licensed under the GNU General Public
       
    33    License without this special exception.
       
    34 
       
    35    This special exception was added by the Free Software Foundation in
       
    36    version 2.2 of Bison.  */
       
    37 
       
    38 /* Tokens.  */
       
    39 #ifndef YYTOKENTYPE
       
    40 # define YYTOKENTYPE
       
    41    /* Put the tokens into the symbol table, so that GDB and other debuggers
       
    42       know about them.  */
       
    43    enum yytokentype {
       
    44      UNIMPORTANT_TOK = 258,
       
    45      WHITESPACE = 259,
       
    46      SGML_CD = 260,
       
    47      INCLUDES = 261,
       
    48      DASHMATCH = 262,
       
    49      BEGINSWITH = 263,
       
    50      ENDSWITH = 264,
       
    51      CONTAINS = 265,
       
    52      STRING = 266,
       
    53      IDENT = 267,
       
    54      HEX = 268,
       
    55      IDSEL = 269,
       
    56      IMPORT_SYM = 270,
       
    57      PAGE_SYM = 271,
       
    58      MEDIA_SYM = 272,
       
    59      FONT_FACE_SYM = 273,
       
    60      CHARSET_SYM = 274,
       
    61      NAMESPACE_SYM = 275,
       
    62      WEBKIT_RULE_SYM = 276,
       
    63      WEBKIT_DECLS_SYM = 277,
       
    64      WEBKIT_VALUE_SYM = 278,
       
    65      WEBKIT_MEDIAQUERY_SYM = 279,
       
    66      IMPORTANT_SYM = 280,
       
    67      MEDIA_ONLY = 281,
       
    68      MEDIA_NOT = 282,
       
    69      MEDIA_AND = 283,
       
    70      QEMS = 284,
       
    71      EMS = 285,
       
    72      EXS = 286,
       
    73      PXS = 287,
       
    74      CMS = 288,
       
    75      MMS = 289,
       
    76      INS = 290,
       
    77      PTS = 291,
       
    78      PCS = 292,
       
    79      DEGS = 293,
       
    80      RADS = 294,
       
    81      GRADS = 295,
       
    82      MSECS = 296,
       
    83      SECS = 297,
       
    84      HERZ = 298,
       
    85      KHERZ = 299,
       
    86      DIMEN = 300,
       
    87      PERCENTAGE = 301,
       
    88      FLOATTOKEN = 302,
       
    89      INTEGER = 303,
       
    90      URI = 304,
       
    91      FUNCTION = 305,
       
    92      NOTFUNCTION = 306,
       
    93      UNICODERANGE = 307
       
    94    };
       
    95 #endif
       
    96 /* Tokens.  */
       
    97 #define UNIMPORTANT_TOK 258
       
    98 #define WHITESPACE 259
       
    99 #define SGML_CD 260
       
   100 #define INCLUDES 261
       
   101 #define DASHMATCH 262
       
   102 #define BEGINSWITH 263
       
   103 #define ENDSWITH 264
       
   104 #define CONTAINS 265
       
   105 #define STRING 266
       
   106 #define IDENT 267
       
   107 #define HEX 268
       
   108 #define IDSEL 269
       
   109 #define IMPORT_SYM 270
       
   110 #define PAGE_SYM 271
       
   111 #define MEDIA_SYM 272
       
   112 #define FONT_FACE_SYM 273
       
   113 #define CHARSET_SYM 274
       
   114 #define NAMESPACE_SYM 275
       
   115 #define WEBKIT_RULE_SYM 276
       
   116 #define WEBKIT_DECLS_SYM 277
       
   117 #define WEBKIT_VALUE_SYM 278
       
   118 #define WEBKIT_MEDIAQUERY_SYM 279
       
   119 #define IMPORTANT_SYM 280
       
   120 #define MEDIA_ONLY 281
       
   121 #define MEDIA_NOT 282
       
   122 #define MEDIA_AND 283
       
   123 #define QEMS 284
       
   124 #define EMS 285
       
   125 #define EXS 286
       
   126 #define PXS 287
       
   127 #define CMS 288
       
   128 #define MMS 289
       
   129 #define INS 290
       
   130 #define PTS 291
       
   131 #define PCS 292
       
   132 #define DEGS 293
       
   133 #define RADS 294
       
   134 #define GRADS 295
       
   135 #define MSECS 296
       
   136 #define SECS 297
       
   137 #define HERZ 298
       
   138 #define KHERZ 299
       
   139 #define DIMEN 300
       
   140 #define PERCENTAGE 301
       
   141 #define FLOATTOKEN 302
       
   142 #define INTEGER 303
       
   143 #define URI 304
       
   144 #define FUNCTION 305
       
   145 #define NOTFUNCTION 306
       
   146 #define UNICODERANGE 307
       
   147 
       
   148 
       
   149 
       
   150 
       
   151 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
       
   152 typedef union YYSTYPE
       
   153 #line 128 "/cygdrive/z/sf/mw/web/WEBENG~1/OSSWEB~1/WebCore/css/CSSGrammar.y"
       
   154 {
       
   155     CSSRule* rule;
       
   156     CSSSelector* selector;
       
   157     bool ok;
       
   158     MediaList *mediaList;
       
   159     CSSMediaRule* mediaRule;
       
   160     CSSRuleList* ruleList;
       
   161     ParseString string;
       
   162     float val;
       
   163     int prop_id;
       
   164     int attribute;
       
   165     CSSSelector::Relation relation;
       
   166     bool b;
       
   167     int i;
       
   168     char tok;
       
   169     Value value;
       
   170     ValueList* valueList;
       
   171 
       
   172     MediaQuery* mediaQuery;
       
   173     MediaQueryExp* mediaQueryExp;
       
   174     Vector<MediaQueryExp*>* mediaQueryExpList;
       
   175     MediaQuery::Restrictor mediaQueryRestrictor;
       
   176 }
       
   177 /* Line 1489 of yacc.c.  */
       
   178 #line 177 "CSSGrammar.hpp"
       
   179 	YYSTYPE;
       
   180 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
       
   181 # define YYSTYPE_IS_DECLARED 1
       
   182 # define YYSTYPE_IS_TRIVIAL 1
       
   183 #endif
       
   184 
       
   185 
       
   186 
       
   187 #endif