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

KHTML

  • sources
  • kde-4.12
  • kdelibs
  • 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 
PLUS
Definition: parser.h:45
MULOP
Definition: parser.h:43
OR
Definition: parser.h:47
LITERAL
Definition: parser.h:52
PI
Definition: parser.h:50
NUMBER
Definition: parser.h:54
khtml::XPath::LocationPath
Definition: path.h:54
NODETYPE
Definition: parser.h:49
yytokentype
yytokentype
RELOP
Definition: parser.h:42
ERROR
Definition: parser.h:58
SLASHSLASH
Definition: parser.h:56
DOTDOT
Definition: parser.h:55
EQOP
Definition: parser.h:41
VARIABLEREFERENCE
Definition: parser.h:53
MINUS
Definition: parser.h:44
DOM::DOMString
This class implements the basic string we use in the DOM.
Definition: dom_string.h:43
khtmlxpathyylval
YYSTYPE khtmlxpathyylval
khtml::XPath::Step
Definition: step.h:42
AND
Definition: parser.h:46
YYSTYPE
Definition: parser.h:65
NAMETEST
Definition: parser.h:57
FUNCTIONNAME
Definition: parser.h:51
AXISNAME
Definition: parser.h:48
khtml::XPath::Expression
Definition: expression.h:114
khtml::XPath::Step::AxisType
AxisType
Definition: step.h:45
YYSTYPE
union YYSTYPE YYSTYPE
QList< khtml::XPath::Predicate * >
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:22 by doxygen 1.8.7 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 API Reference

Skip menu "kdelibs 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
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



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