• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.8 API Reference
  • KDE Home
  • Contact Us
 

KHTML

  • khtml
  • xpath
parser.h
Go to the documentation of this file.
1 /* A Bison parser, made by GNU Bison 2.4.2. */
2 
3 /* Skeleton interface for Bison's Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2006, 2009-2010 Free Software
6  Foundation, Inc.
7 
8  This program is free software: you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation, either version 3 of the License, or
11  (at your option) any later version.
12 
13  This program is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 
21 /* As a special exception, you may create a larger work that contains
22  part or all of the Bison parser skeleton and distribute that work
23  under terms of your choice, so long as that work isn't itself a
24  parser generator using the skeleton or a modified version thereof
25  as a parser skeleton. Alternatively, if you modify or redistribute
26  the parser skeleton itself, you may (at your option) remove this
27  special exception, which will cause the skeleton and the resulting
28  Bison output files to be licensed under the GNU General Public
29  License without this special exception.
30 
31  This special exception was added by the Free Software Foundation in
32  version 2.2 of Bison. */
33 
34 
35 /* Tokens. */
36 #ifndef YYTOKENTYPE
37 # define YYTOKENTYPE
38  /* Put the tokens into the symbol table, so that GDB and other debuggers
39  know about them. */
40  enum yytokentype {
41  EQOP = 258,
42  RELOP = 259,
43  MULOP = 260,
44  MINUS = 261,
45  PLUS = 262,
46  AND = 263,
47  OR = 264,
48  AXISNAME = 265,
49  NODETYPE = 266,
50  PI = 267,
51  FUNCTIONNAME = 268,
52  LITERAL = 269,
53  VARIABLEREFERENCE = 270,
54  NUMBER = 271,
55  DOTDOT = 272,
56  SLASHSLASH = 273,
57  NAMETEST = 274,
58  ERROR = 275
59  };
60 #endif
61 
62 
63 
64 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
65 typedef union YYSTYPE
66 {
67 
68 /* Line 1685 of yacc.c */
69 #line 39 "parser.y"
70 
71  khtml::XPath::Step::AxisType axisType;
72  int num;
73  DOM::DOMString *str; // we use this and not DOMStringImpl*, so the
74  // memory management for this is entirely manual,
75  // and not an RC/manual hybrid
76  khtml::XPath::Expression *expr;
77  QList<khtml::XPath::Predicate *> *predList;
78  QList<khtml::XPath::Expression *> *argList;
79  khtml::XPath::Step *step;
80  khtml::XPath::LocationPath *locationPath;
81 
82 
83 
84 /* Line 1685 of yacc.c */
85 #line 86 "parser.tab.h"
86 } YYSTYPE;
87 # define YYSTYPE_IS_TRIVIAL 1
88 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
89 # define YYSTYPE_IS_DECLARED 1
90 #endif
91 
92 extern YYSTYPE khtmlxpathyylval;
93 
94 
EQOP
Definition: parser.cpp:144
NAMETEST
Definition: parser.cpp:160
AND
Definition: parser.cpp:149
ERROR
Definition: parser.cpp:161
MULOP
Definition: parser.cpp:146
OR
Definition: parser.cpp:150
khtml::XPath::LocationPath
Definition: path.h:54
DOTDOT
Definition: parser.cpp:158
FUNCTIONNAME
Definition: parser.cpp:154
yytokentype
yytokentype
VARIABLEREFERENCE
Definition: parser.cpp:156
NUMBER
Definition: parser.cpp:157
AXISNAME
Definition: parser.cpp:151
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition: dom_string.h:43
SLASHSLASH
Definition: parser.cpp:159
khtmlxpathyylval
YYSTYPE khtmlxpathyylval
khtml::XPath::Step
Definition: step.h:42
PI
Definition: parser.cpp:153
RELOP
Definition: parser.cpp:145
YYSTYPE
Definition: parser.h:65
PLUS
Definition: parser.cpp:148
LITERAL
Definition: parser.cpp:155
khtml::XPath::Expression
Definition: expression.h:114
khtml::XPath::Step::AxisType
AxisType
Definition: step.h:45
YYSTYPE
union YYSTYPE YYSTYPE
NODETYPE
Definition: parser.cpp:152
MINUS
Definition: parser.cpp:147
QList< khtml::XPath::Predicate * >
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Tue May 23 2017 01:08:06 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.14.8 API Reference

Skip menu "kdelibs-4.14.8 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal