• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 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
65typedef 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
92extern YYSTYPE khtmlxpathyylval;
93
94
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition dom_string.h:44
QList
khtml::XPath::Expression
Definition expression.h:115
khtml::XPath::LocationPath
Definition path.h:55
khtml::XPath::Step
Definition step.h:43
khtml::XPath::Step::AxisType
AxisType
Definition step.h:45
LITERAL
@ LITERAL
Definition parser.h:52
NAMETEST
@ NAMETEST
Definition parser.h:57
NUMBER
@ NUMBER
Definition parser.h:54
ERROR
@ ERROR
Definition parser.h:58
NODETYPE
@ NODETYPE
Definition parser.h:49
VARIABLEREFERENCE
@ VARIABLEREFERENCE
Definition parser.h:53
SLASHSLASH
@ SLASHSLASH
Definition parser.h:56
PI
@ PI
Definition parser.h:50
RELOP
@ RELOP
Definition parser.h:42
EQOP
@ EQOP
Definition parser.h:41
AND
@ AND
Definition parser.h:46
PLUS
@ PLUS
Definition parser.h:45
OR
@ OR
Definition parser.h:47
DOTDOT
@ DOTDOT
Definition parser.h:55
FUNCTIONNAME
@ FUNCTIONNAME
Definition parser.h:51
MULOP
@ MULOP
Definition parser.h:43
AXISNAME
@ AXISNAME
Definition parser.h:48
MINUS
@ MINUS
Definition parser.h:44
khtmlxpathyylval
YYSTYPE khtmlxpathyylval
YYSTYPE
yytokentype
yytokentype
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Jul 20 2023 00:00:00 by doxygen 1.9.8 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.38 API Reference

Skip menu "kdelibs-4.14.38 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