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

KHTML

  • sources
  • kde-4.14
  • kdelibs
  • khtml
  • xpath
Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
parser.cpp File Reference
#include "functions.h"
#include "path.h"
#include "predicate.h"
#include "util.h"
#include "tokenizer.h"
#include "expression.h"
#include "variablereference.h"
#include "dom/dom_string.h"
#include "dom/dom_exception.h"
#include "dom/dom3_xpath.h"
#include "xml/dom_stringimpl.h"
#include "xml/dom3_xpathimpl.h"
#include <QList>
#include <QPair>
#include <QtDebug>
#include <stdio.h>
Include dependency graph for parser.cpp:

Go to the source code of this file.

Namespaces

 khtml
 
 khtml::XPath
 

Macros

#define YY_(msgid)   msgid
 
#define YY_LOCATION_PRINT(File, Loc)   ((void) 0)
 
#define YY_REDUCE_PRINT(Rule)
 
#define YY_STACK_PRINT(Bottom, Top)
 
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
 
#define YYABORT   goto yyabortlab
 
#define YYACCEPT   goto yyacceptlab
 
#define YYBACKUP(Token, Value)
 
#define YYBISON   1
 
#define YYBISON_VERSION   "2.4.2"
 
#define yychar   khtmlxpathyychar
 
#define yyclearin   (yychar = YYEMPTY)
 
#define YYCOPY(To, From, Count)
 
#define yydebug   khtmlxpathyydebug
 
#define YYDEBUG   1
 
#define YYDPRINTF(Args)
 
#define YYEMPTY   (-2)
 
#define YYEOF   0
 
#define YYERRCODE   256
 
#define yyerrok   (yyerrstatus = 0)
 
#define yyerror   khtmlxpathyyerror
 
#define YYERROR   goto yyerrorlab
 
#define YYERROR_VERBOSE   0
 
#define YYFAIL   goto yyerrlab
 
#define YYFINAL   43
 
#define YYFPRINTF   fprintf
 
#define YYFREE   free
 
#define YYID(n)   (n)
 
#define YYINITDEPTH   200
 
#define YYLAST   115
 
#define yylex   khtmlxpathyylex
 
#define YYLEX   yylex ()
 
#define YYLLOC_DEFAULT(Current, Rhs, N)
 
#define YYLSP_NEEDED   0
 
#define yylval   khtmlxpathyylval
 
#define YYMALLOC   malloc
 
#define YYMAXDEPTH   10000
 
#define YYMAXUTOK   275
 
#define yynerrs   khtmlxpathyynerrs
 
#define YYNNTS   26
 
#define YYNRULES   60
 
#define YYNSTATES   90
 
#define YYNTOKENS   30
 
#define YYPACT_NINF   -45
 
#define yyparse   khtmlxpathyyparse
 
#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 
#define YYPULL   1
 
#define YYPURE   0
 
#define YYPUSH   0
 
#define YYRECOVERING()   (!!yyerrstatus)
 
#define YYRHSLOC(Rhs, K)   ((Rhs)[K])
 
#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)
 
#define YYSIZE_T   unsigned int
 
#define YYSKELETON_NAME   "yacc.c"
 
#define YYSTACK_ALLOC   YYMALLOC
 
#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM
 
#define YYSTACK_BYTES(N)
 
#define YYSTACK_FREE   YYFREE
 
#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)
 
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
 
#define YYTABLE_NINF   -1
 
#define YYTERROR   1
 
#define YYTOKEN_TABLE   0
 
#define YYTOKENTYPE
 
#define YYTRANSLATE(YYX)   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
 
#define YYUNDEFTOK   2
 
#define YYUSE(e)   ((void) (e))
 

Typedefs

typedef short int yytype_int16
 
typedef short int yytype_int8
 
typedef unsigned short int yytype_uint16
 
typedef unsigned char yytype_uint8
 

Enumerations

enum  yytokentype {
  EQOP = 258, RELOP = 259, MULOP = 260, MINUS = 261,
  PLUS = 262, AND = 263, OR = 264, AXISNAME = 265,
  NODETYPE = 266, PI = 267, FUNCTIONNAME = 268, LITERAL = 269,
  VARIABLEREFERENCE = 270, NUMBER = 271, DOTDOT = 272, SLASHSLASH = 273,
  NAMETEST = 274, ERROR = 275, EQOP = 258, RELOP = 259,
  MULOP = 260, MINUS = 261, PLUS = 262, AND = 263,
  OR = 264, AXISNAME = 265, NODETYPE = 266, PI = 267,
  FUNCTIONNAME = 268, LITERAL = 269, VARIABLEREFERENCE = 270, NUMBER = 271,
  DOTDOT = 272, SLASHSLASH = 273, NAMETEST = 274, ERROR = 275
}
 

Functions

 for (;yybottom<=yytop;yybottom++)
 
 for (yyi=0;yyi< yynrhs;yyi++)
 
 if (!yymsg) yymsg
 
Expression * khtml::XPath::khtmlParseXPathStatement (const DOMString &statement, int &ec)
 
Expression * khtmlParseXPathStatement (const DOM::DOMString &statement, int &ec)
 
void khtml::XPath::khtmlxpathyyerror (const char *str)
 
 switch (yytype)
 
static void yy_reduce_print (yyvsp, yyrule) YYSTYPE *yyvsp
 
static void yy_stack_print (yybottom, yytop) yytype_int16 *yybottom
 
static void yy_symbol_print (yyoutput, yytype, yyvaluep) FILE *yyoutput
 
 YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp)
 
static void yy_symbol_value_print (yyoutput, yytype, yyvaluep) FILE *yyoutput
 
static void yydestruct (yymsg, yytype, yyvaluep) const char *yymsg
 
else YYFPRINTF (yyoutput,"nterm %s (", yytname[yytype])
 
 YYFPRINTF (yyoutput,")")
 
 YYFPRINTF (stderr,"\n")
 
 YYFPRINTF (stderr,"Reducing stack by rule %d (line %lu):\n", yyrule-1, yylno)
 
int yyparse ()
 
 YYUSE (yyoutput)
 

Variables

static Expression * _topExpr
 
static int xpathParseException
 
int yychar
 
static const yytype_int8 yycheck []
 
int yydebug
 
static const yytype_uint8 yydefact []
 
static const yytype_int8 yydefgoto []
 
int yyi
 
unsigned long int yylno = yyrline[yyrule]
 
YYSTYPE yylval
 
int yynerrs
 
static const yytype_int8 yypact []
 
static const yytype_int8 yypgoto []
 
static const yytype_uint8 yyprhs []
 
static const yytype_uint8 yyr1 []
 
static const yytype_uint8 yyr2 []
 
static const yytype_int8 yyrhs []
 
static const yytype_uint16 yyrline []
 
int yyrule
 
static const yytype_uint8 yystos []
 
static const yytype_uint8 yytable []
 
static const char *const yytname []
 
yytype_int16 * yytop
 
static const yytype_uint8 yytranslate []
 
int yytype
 
YYSTYPE const *const yyvaluep
 

Macro Definition Documentation

#define YY_ (   msgid)    msgid

Definition at line 261 of file parser.cpp.

#define YY_LOCATION_PRINT (   File,
  Loc 
)    ((void) 0)

Definition at line 759 of file parser.cpp.

#define YY_REDUCE_PRINT (   Rule)
Value:
do { \
if (yydebug) \
yy_reduce_print (yyvsp, Rule); \
} while (YYID (0))
if
if(!yymsg) yymsg
yydebug
#define yydebug
Definition: parser.cpp:71
yy_reduce_print
static void yy_reduce_print(yyvsp, yyrule) YYSTYPE *yyvsp
YYID
#define YYID(n)
Definition: parser.cpp:274

Definition at line 919 of file parser.cpp.

#define YY_STACK_PRINT (   Bottom,
  Top 
)
Value:
do { \
if (yydebug) \
yy_stack_print ((Bottom), (Top)); \
} while (YYID (0))
if
if(!yymsg) yymsg
yydebug
#define yydebug
Definition: parser.cpp:71
yy_stack_print
static void yy_stack_print(yybottom, yytop) yytype_int16 *yybottom
Top
YYID
#define YYID(n)
Definition: parser.cpp:274

Definition at line 881 of file parser.cpp.

#define YY_SYMBOL_PRINT (   Title,
  Type,
  Value,
  Location 
)
Value:
do { \
if (yydebug) \
{ \
YYFPRINTF (stderr, "%s ", Title); \
yy_symbol_print (stderr, \
Type, Value); \
YYFPRINTF (stderr, "\n"); \
} \
} while (YYID (0))
Type
Type
khtml::XPath::Value
Definition: expression.h:75
yy_symbol_print
static void yy_symbol_print(yyoutput, yytype, yyvaluep) FILE *yyoutput
YYFPRINTF
#define YYFPRINTF
Definition: parser.cpp:777
if
if(!yymsg) yymsg
yydebug
#define yydebug
Definition: parser.cpp:71
YYID
#define YYID(n)
Definition: parser.cpp:274

Definition at line 786 of file parser.cpp.

#define YYABORT   goto yyabortlab

Definition at line 679 of file parser.cpp.

#define YYACCEPT   goto yyacceptlab

Definition at line 678 of file parser.cpp.

#define YYBACKUP (   Token,
  Value 
)
Value:
do \
if (yychar == YYEMPTY && yylen == 1) \
{ \
yychar = (Token); \
yylval = (Value); \
yytoken = YYTRANSLATE (yychar); \
YYPOPSTACK (1); \
goto yybackup; \
} \
else \
{ \
yyerror (YY_("syntax error: cannot back up")); \
YYERROR; \
} \
while (YYID (0))
yylval
#define yylval
Definition: parser.cpp:69
YYTRANSLATE
#define YYTRANSLATE(YYX)
Definition: parser.cpp:434
khtml::XPath::Token
Definition: tokenizer.h:43
yychar
#define yychar
Definition: parser.cpp:70
YY_
#define YY_(msgid)
Definition: parser.cpp:261
khtml::XPath::Value
Definition: expression.h:75
if
if(!yymsg) yymsg
yyerror
#define yyerror
Definition: parser.cpp:68
YYERROR
#define YYERROR
Definition: parser.cpp:680
YYPOPSTACK
#define YYPOPSTACK(N)
YYEMPTY
#define YYEMPTY
Definition: parser.cpp:675
YYID
#define YYID(n)
Definition: parser.cpp:274

Definition at line 700 of file parser.cpp.

#define YYBISON   1

Definition at line 45 of file parser.cpp.

#define YYBISON_VERSION   "2.4.2"

Definition at line 48 of file parser.cpp.

#define yychar   khtmlxpathyychar

Definition at line 70 of file parser.cpp.

#define yyclearin   (yychar = YYEMPTY)

Definition at line 674 of file parser.cpp.

#define YYCOPY (   To,
  From,
  Count 
)
Value:
do \
{ \
YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(To)[yyi] = (From)[yyi]; \
} \
while (YYID (0))
YYSIZE_T
#define YYSIZE_T
Definition: parser.cpp:247
for
for(;yybottom<=yytop;yybottom++)
Definition: parser.cpp:873
yyi
int yyi
Definition: parser.cpp:902
YYID
#define YYID(n)
Definition: parser.cpp:274

Definition at line 387 of file parser.cpp.

#define yydebug   khtmlxpathyydebug

Definition at line 71 of file parser.cpp.

#define YYDEBUG   1

Definition at line 107 of file parser.cpp.

#define YYDPRINTF (   Args)
Value:
do { \
if (yydebug) \
YYFPRINTF Args; \
} while (YYID (0))
YYFPRINTF
#define YYFPRINTF
Definition: parser.cpp:777
if
if(!yymsg) yymsg
yydebug
#define yydebug
Definition: parser.cpp:71
YYID
#define YYID(n)
Definition: parser.cpp:274

Definition at line 780 of file parser.cpp.

#define YYEMPTY   (-2)

Definition at line 675 of file parser.cpp.

#define YYEOF   0

Definition at line 676 of file parser.cpp.

#define YYERRCODE   256

Definition at line 719 of file parser.cpp.

#define yyerrok   (yyerrstatus = 0)

Definition at line 673 of file parser.cpp.

#define yyerror   khtmlxpathyyerror

Definition at line 68 of file parser.cpp.

#define YYERROR   goto yyerrorlab

Definition at line 680 of file parser.cpp.

#define YYERROR_VERBOSE   0

Definition at line 129 of file parser.cpp.

#define YYFAIL   goto yyerrlab

Definition at line 690 of file parser.cpp.

#define YYFINAL   43

Definition at line 417 of file parser.cpp.

#define YYFPRINTF   fprintf

Definition at line 777 of file parser.cpp.

#define YYFREE   free

Definition at line 350 of file parser.cpp.

#define YYID (   n)    (n)

Definition at line 274 of file parser.cpp.

#define YYINITDEPTH   200

Definition at line 938 of file parser.cpp.

#define YYLAST   115

Definition at line 419 of file parser.cpp.

#define yylex   khtmlxpathyylex

Definition at line 67 of file parser.cpp.

#define YYLEX   yylex ()

Definition at line 769 of file parser.cpp.

#define YYLLOC_DEFAULT (   Current,
  Rhs,
  N 
)
Value:
do \
if (YYID (N)) \
{ \
(Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
(Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
(Current).last_line = YYRHSLOC (Rhs, N).last_line; \
(Current).last_column = YYRHSLOC (Rhs, N).last_column; \
} \
else \
{ \
(Current).first_line = (Current).last_line = \
YYRHSLOC (Rhs, 0).last_line; \
(Current).first_column = (Current).last_column = \
YYRHSLOC (Rhs, 0).last_column; \
} \
while (YYID (0))
if
if(!yymsg) yymsg
YYID
#define YYID(n)
Definition: parser.cpp:274
YYRHSLOC
#define YYRHSLOC(Rhs, K)
Definition: parser.cpp:726

Definition at line 728 of file parser.cpp.

#define YYLSP_NEEDED   0

Definition at line 63 of file parser.cpp.

#define yylval   khtmlxpathyylval

Definition at line 69 of file parser.cpp.

#define YYMALLOC   malloc

Definition at line 343 of file parser.cpp.

#define YYMAXDEPTH   10000

Definition at line 949 of file parser.cpp.

#define YYMAXUTOK   275

Definition at line 432 of file parser.cpp.

#define yynerrs   khtmlxpathyynerrs

Definition at line 72 of file parser.cpp.

#define YYNNTS   26

Definition at line 424 of file parser.cpp.

#define YYNRULES   60

Definition at line 426 of file parser.cpp.

#define YYNSTATES   90

Definition at line 428 of file parser.cpp.

#define YYNTOKENS   30

Definition at line 422 of file parser.cpp.

#define YYPACT_NINF   -45

Definition at line 599 of file parser.cpp.

int yyparse   khtmlxpathyyparse

Definition at line 66 of file parser.cpp.

#define YYPOPSTACK (   N)    (yyvsp -= (N), yyssp -= (N))
#define YYPULL   1

Definition at line 60 of file parser.cpp.

#define YYPURE   0

Definition at line 54 of file parser.cpp.

#define YYPUSH   0

Definition at line 57 of file parser.cpp.

#define YYRECOVERING ( )    (!!yyerrstatus)

Definition at line 698 of file parser.cpp.

#define YYRHSLOC (   Rhs,
  K 
)    ((Rhs)[K])

Definition at line 726 of file parser.cpp.

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

Definition at line 251 of file parser.cpp.

#define YYSIZE_T   unsigned int

Definition at line 247 of file parser.cpp.

#define YYSKELETON_NAME   "yacc.c"

Definition at line 51 of file parser.cpp.

#define YYSTACK_ALLOC   YYMALLOC

Definition at line 329 of file parser.cpp.

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

Definition at line 332 of file parser.cpp.

#define YYSTACK_BYTES (   N)
Value:
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
+ YYSTACK_GAP_MAXIMUM)
yytype_int16
short int yytype_int16
Definition: parser.cpp:234
YYSTYPE
union YYSTYPE YYSTYPE
YYSTACK_GAP_MAXIMUM
#define YYSTACK_GAP_MAXIMUM
Definition: parser.cpp:372

Definition at line 376 of file parser.cpp.

#define YYSTACK_FREE   YYFREE

Definition at line 330 of file parser.cpp.

#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)

Definition at line 372 of file parser.cpp.

#define YYSTACK_RELOCATE (   Stack_alloc,
  Stack 
)
Value:
do \
{ \
YYSIZE_T yynewbytes; \
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
while (YYID (0))
YYSIZE_T
#define YYSIZE_T
Definition: parser.cpp:247
YYCOPY
#define YYCOPY(To, From, Count)
Definition: parser.cpp:387
YYID
#define YYID(n)
Definition: parser.cpp:274
YYSTACK_GAP_MAXIMUM
#define YYSTACK_GAP_MAXIMUM
Definition: parser.cpp:372

Definition at line 403 of file parser.cpp.

#define YYTABLE_NINF   -1

Definition at line 625 of file parser.cpp.

#define YYTERROR   1

Definition at line 718 of file parser.cpp.

#define YYTOKEN_TABLE   0

Definition at line 134 of file parser.cpp.

#define YYTOKENTYPE

Definition at line 140 of file parser.cpp.

#define YYTRANSLATE (   YYX)    ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

Definition at line 434 of file parser.cpp.

#define YYUNDEFTOK   2

Definition at line 431 of file parser.cpp.

#define YYUSE (   e)    ((void) (e))

Definition at line 267 of file parser.cpp.

Typedef Documentation

typedef short int yytype_int16

Definition at line 234 of file parser.cpp.

typedef short int yytype_int8

Definition at line 222 of file parser.cpp.

typedef unsigned short int yytype_uint16

Definition at line 228 of file parser.cpp.

typedef unsigned char yytype_uint8

Definition at line 213 of file parser.cpp.

Enumeration Type Documentation

enum yytokentype
Enumerator
EQOP 
RELOP 
MULOP 
MINUS 
PLUS 
AND 
OR 
AXISNAME 
NODETYPE 
PI 
FUNCTIONNAME 
LITERAL 
VARIABLEREFERENCE 
NUMBER 
DOTDOT 
SLASHSLASH 
NAMETEST 
ERROR 
EQOP 
RELOP 
MULOP 
MINUS 
PLUS 
AND 
OR 
AXISNAME 
NODETYPE 
PI 
FUNCTIONNAME 
LITERAL 
VARIABLEREFERENCE 
NUMBER 
DOTDOT 
SLASHSLASH 
NAMETEST 
ERROR 

Definition at line 143 of file parser.cpp.

Function Documentation

for ( ;yybottom<=yytop;yybottom++  )

Definition at line 873 of file parser.cpp.

for ( )

Definition at line 909 of file parser.cpp.

if ( !  yymsg)
Expression* khtmlParseXPathStatement ( const DOM::DOMString &  statement,
int &  ec 
)

Definition at line 2170 of file parser.cpp.

switch ( yytype  )

Definition at line 823 of file parser.cpp.

static void yy_reduce_print ( yyvsp  ,
yyrule   
)
static
static void yy_stack_print ( yybottom  ,
yytop   
)
static
static void yy_symbol_print ( yyoutput  ,
yytype  ,
yyvaluep   
)
static
YY_SYMBOL_PRINT ( yymsg  ,
yytype  ,
yyvaluep  ,
yylocationp   
)
yy_symbol_value_print ( yyoutput  ,
yytype  ,
yyvaluep   
)
static
static void yydestruct ( yymsg  ,
yytype  ,
yyvaluep   
) const
static
else YYFPRINTF ( yyoutput  )
YYFPRINTF ( yyoutput  ,
"   
)
YYFPRINTF ( stderr  ,
"\n"   
)
YYFPRINTF ( stderr  ,
"Reducing stack by rule %d (line %lu):\n"  ,
yyrule-  1,
yylno   
)
int yyparse ( )

Definition at line 1244 of file parser.cpp.

YYUSE ( yyoutput  )

Variable Documentation

Expression* _topExpr
static

Definition at line 111 of file parser.cpp.

int xpathParseException
static

Definition at line 112 of file parser.cpp.

int yychar

Definition at line 1213 of file parser.cpp.

const yytype_int8 yycheck[]
static
Initial value:
=
{
1, 19, 0, 12, 48, 25, 23, 51, 10, 11,
12, 29, 6, 7, 23, 17, 14, 19, 24, 14,
22, 18, 28, 41, 21, 27, 46, 23, 72, 24,
11, 12, 50, 18, 44, 45, 21, 23, 19, 0,
59, 60, 25, 9, 53, 54, 8, 29, 3, 47,
4, 24, 5, 24, 24, 87, 21, 6, 76, 77,
61, 10, 11, 12, 13, 14, 15, 16, 17, 18,
19, 55, 21, 22, 23, 24, 6, 52, 27, 26,
10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
57, 21, 22, 23, 58, -1, 56, 27, 10, 11,
12, 13, 14, 15, 16, 17, 18, 19, -1, 21,
22, 23, -1, -1, -1, 27
}

Definition at line 642 of file parser.cpp.

int yydebug

Definition at line 927 of file parser.cpp.

const yytype_uint8 yydefact[]
static
Initial value:
=
{
0, 0, 16, 0, 0, 0, 30, 28, 31, 27,
25, 18, 5, 17, 0, 26, 0, 40, 4, 3,
8, 0, 11, 0, 15, 44, 32, 59, 38, 41,
2, 46, 48, 50, 52, 54, 57, 60, 0, 0,
0, 6, 0, 1, 0, 0, 13, 0, 12, 22,
7, 45, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 19, 0, 20, 33, 37, 0, 35, 29,
9, 10, 14, 0, 23, 39, 42, 43, 47, 49,
51, 53, 56, 55, 58, 21, 34, 0, 24, 36
}

Definition at line 576 of file parser.cpp.

const yytype_int8 yydefgoto[]
static
Initial value:
=
{
-1, 66, 17, 18, 19, 20, 21, 22, 48, 49,
23, 24, 25, 26, 67, 68, 27, 28, 29, 30,
31, 32, 33, 34, 35, 36
}

Definition at line 590 of file parser.cpp.

int yyi
Initial value:
{
int yynrhs = yyr2[yyrule]
yyr2
static const yytype_uint8 yyr2[]
Definition: parser.cpp:562
yyrule
int yyrule
Definition: parser.cpp:900

Definition at line 902 of file parser.cpp.

unsigned long int yylno = yyrline[yyrule]

Definition at line 905 of file parser.cpp.

YYSTYPE yylval

Definition at line 1216 of file parser.cpp.

int yynerrs

Definition at line 1219 of file parser.cpp.

const yytype_int8 yypact[]
static
Initial value:
=
{
70, 70, -45, -17, 4, 14, -45, -45, -45, -45,
-45, -45, -2, -45, 70, -45, 39, -45, -45, 3,
-45, 19, 17, -2, -45, 17, -45, 18, -45, 15,
34, 38, 45, 46, 6, 47, -45, -45, 27, 5,
51, 3, 29, -45, -2, -2, 17, 70, 17, -45,
3, 17, 88, -2, -2, 70, 70, 70, 70, 70,
70, 70, -45, 30, -45, -45, -45, -6, -45, -45,
-45, -45, 17, 53, -45, -45, 3, 3, 38, 45,
46, 6, 47, 47, -45, -45, -45, 70, -45, -45
}

Definition at line 600 of file parser.cpp.

const yytype_int8 yypgoto[]
static
Initial value:
=
{
-45, 2, -45, -45, -9, -10, -45, 35, -20, -44,
-18, -45, -45, -45, -45, -32, -45, 25, -45, -45,
16, 40, 33, 36, -19, -1
}

Definition at line 614 of file parser.cpp.

const yytype_uint8 yyprhs[]
static
Initial value:
=
{
0, 0, 3, 5, 7, 9, 11, 14, 17, 19,
23, 27, 29, 32, 35, 39, 41, 43, 45, 47,
51, 55, 60, 62, 65, 69, 71, 73, 75, 77,
81, 83, 85, 87, 91, 96, 98, 102, 104, 106,
110, 112, 114, 118, 122, 124, 127, 129, 133, 135,
139, 141, 145, 147, 151, 153, 157, 161, 163, 167,
169
}

Definition at line 473 of file parser.cpp.

const yytype_uint8 yyr1[]
static
Initial value:
=
{
0, 30, 31, 32, 32, 33, 33, 33, 34, 34,
34, 35, 35, 35, 35, 35, 36, 36, 37, 37,
37, 37, 38, 38, 39, 40, 41, 41, 42, 42,
42, 42, 42, 43, 43, 44, 44, 45, 46, 46,
47, 47, 47, 47, 48, 48, 49, 49, 50, 50,
51, 51, 52, 52, 53, 53, 53, 54, 54, 55,
55
}

Definition at line 550 of file parser.cpp.

const yytype_uint8 yyr2[]
static
Initial value:
=
{
0, 2, 1, 1, 1, 1, 2, 2, 1, 3,
3, 1, 2, 2, 3, 1, 1, 1, 1, 3,
3, 4, 1, 2, 3, 1, 1, 1, 1, 3,
1, 1, 1, 3, 4, 1, 3, 1, 1, 3,
1, 1, 3, 3, 1, 2, 1, 3, 1, 3,
1, 3, 1, 3, 1, 3, 3, 1, 3, 1,
2
}

Definition at line 562 of file parser.cpp.

const yytype_int8 yyrhs[]
static
Initial value:
=
{
31, 0, -1, 49, -1, 34, -1, 33, -1, 21,
-1, 21, 34, -1, 40, 34, -1, 35, -1, 34,
21, 35, -1, 34, 40, 35, -1, 37, -1, 37,
38, -1, 36, 37, -1, 36, 37, 38, -1, 41,
-1, 10, -1, 22, -1, 19, -1, 11, 23, 24,
-1, 12, 23, 24, -1, 12, 23, 14, 24, -1,
39, -1, 38, 39, -1, 25, 31, 26, -1, 18,
-1, 27, -1, 17, -1, 15, -1, 23, 31, 24,
-1, 14, -1, 16, -1, 43, -1, 13, 23, 24,
-1, 13, 23, 44, 24, -1, 45, -1, 44, 28,
45, -1, 31, -1, 47, -1, 46, 29, 47, -1,
32, -1, 48, -1, 48, 21, 34, -1, 48, 40,
34, -1, 42, -1, 42, 38, -1, 50, -1, 49,
9, 50, -1, 51, -1, 50, 8, 51, -1, 52,
-1, 51, 3, 52, -1, 53, -1, 52, 4, 53,
-1, 54, -1, 53, 7, 54, -1, 53, 6, 54,
-1, 55, -1, 54, 5, 55, -1, 46, -1, 6,
55, -1
}

Definition at line 485 of file parser.cpp.

const yytype_uint16 yyrline[]
static
Initial value:
=
{
0, 93, 93, 100, 105, 112, 117, 122, 130, 136,
141, 149, 155, 162, 168, 175, 179, 181, 188, 202,
207, 209, 220, 226, 233, 240, 247, 252, 259, 265,
270, 276, 282, 286, 298, 312, 318, 325, 330, 332,
341, 346, 351, 356, 364, 369, 376, 378, 385, 387,
394, 396, 403, 405, 412, 414, 419, 426, 428, 435,
437
}

Definition at line 508 of file parser.cpp.

int yyrule

Definition at line 900 of file parser.cpp.

const yytype_uint8 yystos[]
static
Initial value:
=
{
0, 6, 10, 11, 12, 13, 14, 15, 16, 17,
18, 19, 21, 22, 23, 27, 31, 32, 33, 34,
35, 36, 37, 40, 41, 42, 43, 46, 47, 48,
49, 50, 51, 52, 53, 54, 55, 55, 23, 23,
23, 34, 31, 0, 21, 40, 37, 25, 38, 39,
34, 38, 29, 21, 40, 9, 8, 3, 4, 6,
7, 5, 24, 14, 24, 24, 31, 44, 45, 24,
35, 35, 38, 31, 39, 47, 34, 34, 50, 51,
52, 53, 54, 54, 55, 24, 24, 28, 26, 45
}

Definition at line 660 of file parser.cpp.

const yytype_uint8 yytable[]
static
Initial value:
=
{
37, 45, 16, 41, 74, 51, 38, 74, 2, 3,
4, 54, 59, 60, 50, 9, 42, 11, 86, 63,
13, 10, 87, 45, 44, 15, 72, 39, 74, 64,
3, 4, 45, 10, 70, 71, 53, 40, 11, 43,
82, 83, 47, 55, 76, 77, 56, 52, 57, 73,
58, 62, 61, 69, 85, 89, 46, 1, 45, 45,
84, 2, 3, 4, 5, 6, 7, 8, 9, 10,
11, 78, 12, 13, 14, 65, 1, 75, 15, 88,
2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
80, 12, 13, 14, 81, 0, 79, 15, 2, 3,
4, 5, 6, 7, 8, 9, 10, 11, 0, 12,
13, 14, 0, 0, 0, 15
}

Definition at line 626 of file parser.cpp.

const char* const yytname[]
static
Initial value:
=
{
"$end", "error", "$undefined", "EQOP", "RELOP", "MULOP", "MINUS",
"PLUS", "AND", "OR", "AXISNAME", "NODETYPE", "PI", "FUNCTIONNAME",
"LITERAL", "VARIABLEREFERENCE", "NUMBER", "DOTDOT", "SLASHSLASH",
"NAMETEST", "ERROR", "'/'", "'@'", "'('", "')'", "'['", "']'", "'.'",
"','", "'|'", "$accept", "Expr", "LocationPath", "AbsoluteLocationPath",
"RelativeLocationPath", "Step", "AxisSpecifier", "NodeTest",
"PredicateList", "Predicate", "DescendantOrSelf", "AbbreviatedStep",
"PrimaryExpr", "FunctionCall", "ArgumentList", "Argument", "UnionExpr",
"PathExpr", "FilterExpr", "OrExpr", "AndExpr", "EqualityExpr",
"RelationalExpr", "AdditiveExpr", "MultiplicativeExpr", "UnaryExpr", 0
}

Definition at line 523 of file parser.cpp.

yytype_int16* yytop

Definition at line 869 of file parser.cpp.

const yytype_uint8 yytranslate[]
static

Definition at line 438 of file parser.cpp.

int yytype

Definition at line 811 of file parser.cpp.

YYSTYPE * yyvaluep

Definition at line 812 of file parser.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:20 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • 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