KHTML
#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>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 } |
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 | ) |
Definition at line 919 of file parser.cpp.
| #define YY_STACK_PRINT | ( | Bottom, | |
| Top | |||
| ) |
Definition at line 881 of file parser.cpp.
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.
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.
Definition at line 674 of file parser.cpp.
| #define YYCOPY | ( | To, | |
| From, | |||
| Count | |||
| ) |
| #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 | ) |
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 | |||
| ) |
Definition at line 728 of file parser.cpp.
| #define YYLSP_NEEDED 0 |
Definition at line 63 of file parser.cpp.
| yyreturn & 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.
| #define yyparse khtmlxpathyyparse |
Definition at line 66 of file parser.cpp.
Definition at line 1289 of file parser.cpp.
| #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 | ) |
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 | |||
| ) |
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 |
Definition at line 143 of file parser.cpp.
Function Documentation
Definition at line 873 of file parser.cpp.
| for | ( | ) |
Definition at line 909 of file parser.cpp.
| for | ( | ;; | ) |
Definition at line 2075 of file parser.cpp.
| if | ( | yyss+yystacksize-1<= | yyssp | ) |
Definition at line 1327 of file parser.cpp.
Definition at line 1411 of file parser.cpp.
| if | ( | yychar<= | YYEOF | ) |
Definition at line 1417 of file parser.cpp.
| if | ( | yyn<= | 0 | ) |
Definition at line 1434 of file parser.cpp.
| if | ( | yyerrstatus | = = 3 | ) |
Definition at line 2025 of file parser.cpp.
| 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.
| switch | ( | yyn | ) |
Definition at line 1488 of file parser.cpp.
| while | ( | yyssp! | = yyss | ) |
Definition at line 2143 of file parser.cpp.
| YY_REDUCE_PRINT | ( | yyn | ) |
| YY_SYMBOL_PRINT | ( | "Next token is" | , |
| yytoken | , | ||
| & | yylval, | ||
| & | yylloc | ||
| ) |
| YY_SYMBOL_PRINT | ( | "Shifting" | , |
| yytoken | , | ||
| & | yylval, | ||
| & | yylloc | ||
| ) |
| YY_SYMBOL_PRINT | ( | ) |
| YYDPRINTF | ( | (stderr,"Starting parse\n") | ) |
| YYDPRINTF | ( | (stderr,"Entering state %d\n", yystate) | ) |
| yyerror | ( | YY_("syntax error") | ) |
| YYFPRINTF | ( | yyoutput | , |
| " | |||
| ) |
| YYFPRINTF | ( | stderr | , |
| "\n" | |||
| ) |
| return YYID | ( | yyresult | ) |
| int yyparse | ( | ) |
| YYPOPSTACK | ( | yylen | ) |
| YYSTACK_FREE | ( | yyss | ) |
| YYUSE | ( | yyoutput | ) |
Variable Documentation
| yynewstate __pad0__ |
Definition at line 1322 of file parser.cpp.
| yyexhaustedlab __pad10__ |
Definition at line 2130 of file parser.cpp.
| yyreturn __pad11__ |
Definition at line 2137 of file parser.cpp.
| yysetstate __pad1__ |
Definition at line 1325 of file parser.cpp.
| yybackup __pad2__ |
Definition at line 1404 of file parser.cpp.
| yydefault __pad3__ |
Definition at line 1463 of file parser.cpp.
| yyreduce __pad4__ |
Definition at line 1474 of file parser.cpp.
| yyerrlab __pad5__ |
Definition at line 1985 of file parser.cpp.
| yyerrorlab __pad6__ |
Definition at line 2058 of file parser.cpp.
| yyerrlab1 __pad7__ |
Definition at line 2073 of file parser.cpp.
| yyacceptlab __pad8__ |
Definition at line 2115 of file parser.cpp.
| yyabortlab __pad9__ |
Definition at line 2122 of file parser.cpp.
|
static |
Definition at line 111 of file parser.cpp.
| else |
Definition at line 1423 of file parser.cpp.
| int |
Definition at line 1248 of file parser.cpp.
|
static |
Definition at line 112 of file parser.cpp.
| YYACCEPT |
Definition at line 1391 of file parser.cpp.
| goto yybackup |
Definition at line 1393 of file parser.cpp.
|
static |
Definition at line 868 of file parser.cpp.
| yychar = YYEMPTY |
Definition at line 1213 of file parser.cpp.
|
static |
Definition at line 642 of file parser.cpp.
| int yydebug |
Definition at line 927 of file parser.cpp.
|
static |
Definition at line 576 of file parser.cpp.
| goto yydefault |
Definition at line 1406 of file parser.cpp.
|
static |
Definition at line 590 of file parser.cpp.
| goto yyerrlab |
Definition at line 1465 of file parser.cpp.
| goto yyerrlab1 |
Definition at line 2046 of file parser.cpp.
| yyerrstatus = 0 |
Definition at line 1253 of file parser.cpp.
| int yyi |
Definition at line 902 of file parser.cpp.
| yylen = 0 |
Definition at line 1293 of file parser.cpp.
Definition at line 905 of file parser.cpp.
| yyreturn & yylval |
Definition at line 1216 of file parser.cpp.
|
static |
Definition at line 1177 of file parser.cpp.
| yyn = yytoken |
Definition at line 1274 of file parser.cpp.
| yynerrs = 0 |
Definition at line 1219 of file parser.cpp.
| goto yynewstate |
Definition at line 1456 of file parser.cpp.
|
static |
Definition at line 810 of file parser.cpp.
|
static |
Definition at line 600 of file parser.cpp.
|
static |
Definition at line 614 of file parser.cpp.
|
static |
Definition at line 473 of file parser.cpp.
|
static |
Definition at line 550 of file parser.cpp.
|
static |
Definition at line 562 of file parser.cpp.
| goto yyreduce |
Definition at line 1466 of file parser.cpp.
| yyresult = 2 |
Definition at line 1275 of file parser.cpp.
| goto yyreturn |
Definition at line 2116 of file parser.cpp.
|
static |
Definition at line 485 of file parser.cpp.
|
static |
Definition at line 508 of file parser.cpp.
| int yyrule |
Definition at line 900 of file parser.cpp.
| goto yysetstate |
Definition at line 1314 of file parser.cpp.
| yyss = yyssa |
Definition at line 1264 of file parser.cpp.
| yytype_int16 yyssa[YYINITDEPTH] |
Definition at line 1263 of file parser.cpp.
| yyssp = yyss |
Definition at line 1265 of file parser.cpp.
| yystacksize = YYINITDEPTH |
Definition at line 1272 of file parser.cpp.
| else yystate = 0 |
Definition at line 1302 of file parser.cpp.
|
static |
Definition at line 660 of file parser.cpp.
|
static |
Definition at line 626 of file parser.cpp.
|
static |
Definition at line 523 of file parser.cpp.
| yyreturn yytoken = 0 |
Definition at line 1277 of file parser.cpp.
| yytype_int16* yytop |
Definition at line 869 of file parser.cpp.
|
static |
Definition at line 438 of file parser.cpp.
| int yytype |
Definition at line 811 of file parser.cpp.
Definition at line 1280 of file parser.cpp.
| YYSTYPE * yyvaluep |
Definition at line 812 of file parser.cpp.
| yyvs = yyvsa |
Definition at line 1269 of file parser.cpp.
| YYSTYPE yyvsa[YYINITDEPTH] |
Definition at line 1268 of file parser.cpp.
|
static |
Definition at line 899 of file parser.cpp.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Fri Sep 13 2019 19:31:14 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.