KHtml

css/parser.h
1 /* A Bison parser, made by GNU Bison 2.5.1. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
6 
7  This program is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program. If not, see <http://www.gnu.org/licenses/>. */
19 
20 /* As a special exception, you may create a larger work that contains
21  part or all of the Bison parser skeleton and distribute that work
22  under terms of your choice, so long as that work isn't itself a
23  parser generator using the skeleton or a modified version thereof
24  as a parser skeleton. Alternatively, if you modify or redistribute
25  the parser skeleton itself, you may (at your option) remove this
26  special exception, which will cause the skeleton and the resulting
27  Bison output files to be licensed under the GNU General Public
28  License without this special exception.
29 
30  This special exception was added by the Free Software Foundation in
31  version 2.2 of Bison. */
32 
33 
34 /* Tokens. */
35 #ifndef YYTOKENTYPE
36 # define YYTOKENTYPE
37  /* Put the tokens into the symbol table, so that GDB and other debuggers
38  know about them. */
39  enum yytokentype {
40  REDUCE = 258,
41  S = 259,
42  SGML_CD = 260,
43  INCLUDES = 261,
44  DASHMATCH = 262,
45  BEGINSWITH = 263,
46  ENDSWITH = 264,
47  CONTAINS = 265,
48  STRING = 266,
49  IDENT = 267,
50  NTH = 268,
51  HASH = 269,
52  HEXCOLOR = 270,
53  IMPORT_SYM = 271,
54  PAGE_SYM = 272,
55  MEDIA_SYM = 273,
56  FONT_FACE_SYM = 274,
57  CHARSET_SYM = 275,
58  NAMESPACE_SYM = 276,
59  KHTML_RULE_SYM = 277,
60  KHTML_DECLS_SYM = 278,
61  KHTML_VALUE_SYM = 279,
62  KHTML_MEDIAQUERY_SYM = 280,
63  KHTML_SELECTORS_SYM = 281,
64  IMPORTANT_SYM = 282,
65  MEDIA_ONLY = 283,
66  MEDIA_NOT = 284,
67  MEDIA_AND = 285,
68  QEMS = 286,
69  EMS = 287,
70  EXS = 288,
71  CHS = 289,
72  REMS = 290,
73  PXS = 291,
74  CMS = 292,
75  MMS = 293,
76  INS = 294,
77  PTS = 295,
78  PCS = 296,
79  DEGS = 297,
80  RADS = 298,
81  GRADS = 299,
82  MSECS = 300,
83  SECS = 301,
84  HERZ = 302,
85  KHERZ = 303,
86  DPI = 304,
87  DPCM = 305,
88  DIMEN = 306,
89  PERCENTAGE = 307,
90  FLOAT = 308,
91  INTEGER = 309,
92  URI = 310,
93  FUNCTION = 311,
94  NOTFUNCTION = 312,
95  UNICODERANGE = 313
96  };
97 #endif
98 
99 
100 
101 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
102 typedef union YYSTYPE
103 {
104 
105 
106  CSSRuleImpl *rule;
107  CSSSelector *selector;
108  QList<CSSSelector *> *selectorList;
109  bool ok;
110  MediaListImpl *mediaList;
111  CSSMediaRuleImpl *mediaRule;
112  CSSRuleListImpl *ruleList;
113  ParseString string;
114  double val;
115  int prop_id;
116  unsigned int attribute;
117  unsigned int element;
118  CSSSelector::Relation relation;
119  CSSSelector::Match match;
120  bool b;
121  char tok;
122  Value value;
123  ValueList *valueList;
124 
125  khtml::MediaQuery *mediaQuery;
126  khtml::MediaQueryExp *mediaQueryExp;
127  QList<khtml::MediaQueryExp *> *mediaQueryExpList;
128  khtml::MediaQuery::Restrictor mediaQueryRestrictor;
129 
130 
131 
132 } YYSTYPE;
133 # define YYSTYPE_IS_TRIVIAL 1
134 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
135 # define YYSTYPE_IS_DECLARED 1
136 #endif
137 
138 
139 
140 
The CSSNamespaceRule interface represents an.
Definition: css_rule.h:455
URI
KCOREADDONS_EXPORT Result match(QStringView pattern, QStringView str)
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Oct 26 2021 22:48:06 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.