LibreOffice Module hwpfilter (master) 1
|
#include <vector>
#include <stdlib.h>
#include <string.h>
#include "grammar.hxx"
#include "lexer.hxx"
#include "nodes.h"
#include "grammar.h"
#include <stdio.h>
Go to the source code of this file.
Macros | |
#define | YYMAXDEPTH 0 |
#define | YYFINAL 102 |
#define | YYFLAG -32768 |
#define | YYNTBASE 43 |
#define | YYTRANSLATE(x) (static_cast<unsigned>(x) <= 285 ? yytranslate[x] : 66) |
#define | YYLAST 457 |
#define | YYEMPTY -2 |
#define | YYEOF 0 |
#define | YYACCEPT goto yyacceptlab |
#define | YYABORT goto yyabortlab |
#define | YYTERROR 1 |
#define | YYLEX yylex() |
#define | YYINITDEPTH 200 |
#define | YYMAXDEPTH 10000 |
#define | YYPARSE_PARAM_ARG |
#define | YYPARSE_PARAM_DECL |
Functions | |
static void | yyerror (const char *) |
static int | debug (const char *format,...) |
static int | yyparse (YYPARSE_PARAM_ARG) YYPARSE_PARAM_DECL |
Node * | mainParse (const char *_code) |
Variables | |
std::vector< std::unique_ptr< Node > > | nodelist |
static Node * | top =nullptr |
const char | yytranslate [] |
const short | yyr1 [] |
const short | yyr2 [] |
const short | yydefact [] |
const short | yydefgoto [] |
const short | yypact [] |
const short | yypgoto [] |
const short | yytable [] |
const short | yycheck [] |
static int | yychar |
YYSTYPE | yylval |
static int | yynerrs |
#define YYABORT goto yyabortlab |
Definition at line 295 of file grammar.cxx.
#define YYACCEPT goto yyacceptlab |
Definition at line 294 of file grammar.cxx.
#define YYEMPTY -2 |
Definition at line 292 of file grammar.cxx.
#define YYEOF 0 |
Definition at line 293 of file grammar.cxx.
#define YYFINAL 102 |
Definition at line 56 of file grammar.cxx.
#define YYFLAG -32768 |
Definition at line 57 of file grammar.cxx.
#define YYINITDEPTH 200 |
Definition at line 312 of file grammar.cxx.
#define YYLAST 457 |
Definition at line 158 of file grammar.cxx.
#define YYLEX yylex() |
Definition at line 299 of file grammar.cxx.
#define YYMAXDEPTH 0 |
Definition at line 323 of file grammar.cxx.
#define YYMAXDEPTH 10000 |
Definition at line 323 of file grammar.cxx.
#define YYNTBASE 43 |
Definition at line 58 of file grammar.cxx.
#define YYPARSE_PARAM_ARG |
Definition at line 326 of file grammar.cxx.
#define YYPARSE_PARAM_DECL |
Definition at line 327 of file grammar.cxx.
#define YYTERROR 1 |
Definition at line 297 of file grammar.cxx.
#define YYTRANSLATE | ( | x | ) | (static_cast<unsigned>(x) <= 285 ? yytranslate[x] : 66) |
Definition at line 60 of file grammar.cxx.
|
static |
Definition at line 912 of file grammar.cxx.
Referenced by yyparse().
Node * mainParse | ( | const char * | _code | ) |
Definition at line 890 of file grammar.cxx.
References deinitFlex(), initFlex(), top, and yyparse().
Referenced by Formula::parse().
|
static |
|
static |
Definition at line 335 of file grammar.cxx.
References count, debug(), YYSTYPE::dval, ID_ACCENTEXPR, ID_BEGIN, ID_BLOCK, ID_BRACKET, ID_CHARACTER, ID_DECORATIONEXPR, ID_DELIMITER, ID_END, ID_EXPR, ID_EXPRLIST, ID_FENCE, ID_FRACTIONEXPR, ID_IDENTIFIER, ID_LEFT, ID_LINE, ID_LINES, ID_MATHML, ID_NUMBER, ID_OPERATOR, ID_OVER, ID_PARENTH, ID_PRIMARYEXPR, ID_RIGHT, ID_ROOTEXPR, ID_SQRTEXPR, ID_STRING, ID_SUBEXPR, ID_SUBSUPEXPR, ID_SUPEXPR, nodelist, YYSTYPE::ptr, size, top, x, YYABORT, YYACCEPT, yychar, yycheck, yydefact, yydefgoto, YYEMPTY, YYEOF, yyerror(), YYFINAL, YYFLAG, YYINITDEPTH, YYLAST, YYLEX, yylval, YYMAXDEPTH, yynerrs, YYNTBASE, yypact, yypgoto, yyr1, yyr2, yytable, YYTERROR, and YYTRANSLATE.
Referenced by mainParse().
std::vector<std::unique_ptr<Node> > nodelist |
Definition at line 40 of file grammar.cxx.
Referenced by Formula::parse(), yyerror(), and yyparse().
|
static |
Definition at line 44 of file grammar.cxx.
Referenced by mainParse(), yyerror(), and yyparse().
|
static |
Definition at line 303 of file grammar.cxx.
Referenced by yyparse().
const short yycheck[] |
Definition at line 210 of file grammar.cxx.
Referenced by yyparse().
const short yydefact[] |
Definition at line 117 of file grammar.cxx.
Referenced by yyparse().
const short yydefgoto[] |
Definition at line 131 of file grammar.cxx.
Referenced by yyparse().
YYSTYPE yylval |
Definition at line 304 of file grammar.cxx.
|
static |
Definition at line 307 of file grammar.cxx.
Referenced by yyparse().
const short yypact[] |
Definition at line 137 of file grammar.cxx.
Referenced by yyparse().
const short yypgoto[] |
Definition at line 151 of file grammar.cxx.
Referenced by yyparse().
const short yyr1[] |
Definition at line 95 of file grammar.cxx.
Referenced by yyparse().
const short yyr2[] |
Definition at line 106 of file grammar.cxx.
Referenced by yyparse().
const short yytable[] |
Definition at line 161 of file grammar.cxx.
Referenced by yyparse().
const char yytranslate[] |
Definition at line 62 of file grammar.cxx.