Graphviz
2.41.20171026.1811
|
Go to the source code of this file.
Data Structures | |
struct | sfont_t |
struct | fitem |
struct | fspan |
union | YYSTYPE |
union | yyalloc |
Macros | |
#define | YYBISON 1 |
#define | YYBISON_VERSION "2.7" |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 0 |
#define | YYPUSH 0 |
#define | YYPULL 1 |
#define | YY_NULL 0 |
#define | YYERROR_VERBOSE 0 |
#define | YY_YY_Y_TAB_H_INCLUDED |
#define | YYDEBUG 0 |
#define | YYTOKENTYPE |
#define | T_end_br 258 |
#define | T_end_img 259 |
#define | T_row 260 |
#define | T_end_row 261 |
#define | T_html 262 |
#define | T_end_html 263 |
#define | T_end_table 264 |
#define | T_end_cell 265 |
#define | T_end_font 266 |
#define | T_string 267 |
#define | T_error 268 |
#define | T_n_italic 269 |
#define | T_n_bold 270 |
#define | T_n_underline 271 |
#define | T_n_overline 272 |
#define | T_n_sup 273 |
#define | T_n_sub 274 |
#define | T_n_s 275 |
#define | T_HR 276 |
#define | T_hr 277 |
#define | T_end_hr 278 |
#define | T_VR 279 |
#define | T_vr 280 |
#define | T_end_vr 281 |
#define | T_BR 282 |
#define | T_br 283 |
#define | T_IMG 284 |
#define | T_img 285 |
#define | T_table 286 |
#define | T_cell 287 |
#define | T_font 288 |
#define | T_italic 289 |
#define | T_bold 290 |
#define | T_underline 291 |
#define | T_overline 292 |
#define | T_sup 293 |
#define | T_sub 294 |
#define | T_s 295 |
#define | YYSTYPE_IS_TRIVIAL 1 |
#define | yystype YYSTYPE /* obsolescent; will be withdrawn */ |
#define | YYSTYPE_IS_DECLARED 1 |
#define | YYSIZE_T unsigned int |
#define | YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
#define | YY_(Msgid) Msgid |
#define | YYUSE(E) ((void) (E)) |
#define | YYID(N) (N) |
#define | YYSTACK_ALLOC YYMALLOC |
#define | YYSTACK_FREE YYFREE |
#define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define | YYMALLOC malloc |
#define | YYFREE free |
#define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYCOPY_NEEDED 1 |
#define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
#define | YYCOPY(Dst, Src, Count) |
#define | YYFINAL 31 |
#define | YYLAST 271 |
#define | YYNTOKENS 41 |
#define | YYNNTS 39 |
#define | YYNRULES 69 |
#define | YYNSTATES 116 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 295 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -82 |
#define | YYTABLE_NINF -63 |
#define | yypact_value_is_default(Yystate) (!!((Yystate) == (-82))) |
#define | yytable_value_is_error(Yytable_value) YYID (0) |
#define | yyerrok (yyerrstatus = 0) |
#define | yyclearin (yychar = YYEMPTY) |
#define | YYEMPTY (-2) |
#define | YYEOF 0 |
#define | YYACCEPT goto yyacceptlab |
#define | YYABORT goto yyabortlab |
#define | YYERROR goto yyerrorlab |
#define | YYFAIL goto yyerrlab |
#define | YYRECOVERING() (!!yyerrstatus) |
#define | YYBACKUP(Token, Value) |
#define | YYTERROR 1 |
#define | YYERRCODE 256 |
#define | YY_LOCATION_PRINT(File, Loc) ((void) 0) |
#define | YYLEX yylex () |
#define | YYDPRINTF(Args) |
#define | YY_SYMBOL_PRINT(Title, Type, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYINITDEPTH 200 |
#define | YYMAXDEPTH 10000 |
#define | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
#define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
#define | YY_INITIAL_VALUE(Value) /* Nothing. */ |
#define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
Typedefs | |
typedef struct sfont_t | sfont_t |
typedef union YYSTYPE | YYSTYPE |
typedef unsigned char | yytype_uint8 |
typedef short int | yytype_int8 |
typedef unsigned short int | yytype_uint16 |
typedef short int | yytype_int16 |
Enumerations | |
enum | yytokentype { T_graph = 258, T_node = 259, T_edge = 260, T_digraph = 261, T_subgraph = 262, T_strict = 263, T_edgeop = 264, T_list = 265, T_attr = 266, T_atom = 267, T_qatom = 268, T_graph = 258, T_node = 259, T_edge = 260, T_digraph = 261, T_subgraph = 262, T_strict = 263, T_edgeop = 264, T_list = 265, T_attr = 266, T_atom = 267, T_qatom = 268, T_end_br = 258, T_end_img = 259, T_row = 260, T_end_row = 261, T_html = 262, T_end_html = 263, T_end_table = 264, T_end_cell = 265, T_end_font = 266, T_string = 267, T_error = 268, T_n_italic = 269, T_n_bold = 270, T_n_underline = 271, T_n_overline = 272, T_n_sup = 273, T_n_sub = 274, T_n_s = 275, T_HR = 276, T_hr = 277, T_end_hr = 278, T_VR = 279, T_vr = 280, T_end_vr = 281, T_BR = 282, T_br = 283, T_IMG = 284, T_img = 285, T_table = 286, T_cell = 287, T_font = 288, T_italic = 289, T_bold = 290, T_underline = 291, T_overline = 292, T_sup = 293, T_sub = 294, T_s = 295, T_end_br = 258, T_end_img = 259, T_row = 260, T_end_row = 261, T_html = 262, T_end_html = 263, T_end_table = 264, T_end_cell = 265, T_end_font = 266, T_string = 267, T_error = 268, T_n_italic = 269, T_n_bold = 270, T_n_underline = 271, T_n_overline = 272, T_n_sup = 273, T_n_sub = 274, T_n_s = 275, T_HR = 276, T_hr = 277, T_end_hr = 278, T_VR = 279, T_vr = 280, T_end_vr = 281, T_BR = 282, T_br = 283, T_IMG = 284, T_img = 285, T_table = 286, T_cell = 287, T_font = 288, T_italic = 289, T_bold = 290, T_underline = 291, T_overline = 292, T_sup = 293, T_sub = 294, T_s = 295 } |
Functions | |
int | yyparse (void) |
YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp) | |
switch (yytype) | |
YYSTYPE yylval | YY_INITIAL_VALUE (yyval_default) |
YYDPRINTF ((stderr,"Starting parse\n")) | |
if (yyss+yystacksize-1<=yyssp) | |
YYDPRINTF ((stderr,"Entering state %d\n", yystate)) | |
if (yychar==YYEMPTY) | |
if (yychar<=YYEOF) | |
YY_SYMBOL_PRINT ("Next token is", yytoken,&yylval,&yylloc) | |
if (yyn<=0) | |
YY_SYMBOL_PRINT ("Shifting", yytoken,&yylval,&yylloc) | |
YY_REDUCE_PRINT (yyn) | |
switch (yyn) | |
YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn],&yyval,&yyloc) | |
YYPOPSTACK (yylen) | |
YY_STACK_PRINT (yyss, yyssp) | |
if (!yyerrstatus) | |
if (yyerrstatus==3) | |
for (;;) | |
YY_IGNORE_MAYBE_UNINITIALIZED_END | YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp) |
yydestruct ("Cleanup: discarding lookahead", yytoken,&yylval) | |
while (yyssp!=yyss) | |
YYSTACK_FREE (yyss) | |
return | YYID (yyresult) |
htmllabel_t * | parseHTML (char *txt, int *warn, htmlenv_t *env) |
Variables | |
YYSTYPE | yylval |
int | yytype |
YYSTYPE * | yyvaluep |
int | yychar = YYEMPTY |
int | yynerrs = 0 |
int | |
int | yyerrstatus = 0 |
yytype_int16 | yyssa [YYINITDEPTH] |
yytype_int16 * | yyss |
yytype_int16 * | yyssp = yyss = yyssa |
YYSTYPE | yyvsa [YYINITDEPTH] |
YYSTYPE * | yyvs |
YYSTYPE * | yyvsp = yyvs = yyvsa |
YYSIZE_T | yystacksize = YYINITDEPTH |
int | yyn = yytoken |
int | yyresult = 2 |
int | yytoken = 0 |
YYSTYPE | yyval = yyvsp[1-yylen] |
int | yylen = 0 |
yystate = 0 | |
goto | yysetstate |
yynewstate | __pad0__ |
yysetstate | __pad1__ |
YYACCEPT | |
goto | yybackup |
yybackup | __pad2__ |
goto | yydefault |
else | |
YY_IGNORE_MAYBE_UNINITIALIZED_END goto | yynewstate |
yydefault | __pad3__ |
goto | yyerrlab |
goto | yyreduce |
yyreduce | __pad4__ |
yyerrlab | __pad5__ |
goto | yyerrlab1 |
yyerrorlab | __pad6__ |
yyerrlab1 | __pad7__ |
yyacceptlab | __pad8__ |
goto | yyreturn |
yyabortlab | __pad9__ |
yyexhaustedlab | __pad10__ |
yyreturn | __pad11__ |
#define YYABORT goto yyabortlab |
#define YYBACKUP | ( | Token, | |
Value | |||
) |
#define YYCOPY | ( | Dst, | |
Src, | |||
Count | |||
) |
#define yyerrok (yyerrstatus = 0) |
#define yypact_value_is_default | ( | Yystate | ) | (!!((Yystate) == (-82))) |
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define YYSTACK_BYTES | ( | N | ) |
#define YYSTACK_RELOCATE | ( | Stack_alloc, | |
Stack | |||
) |
#define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
#define yytable_value_is_error | ( | Yytable_value | ) | YYID (0) |
#define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
typedef short int yytype_int16 |
typedef short int yytype_int8 |
typedef unsigned short int yytype_uint16 |
typedef unsigned char yytype_uint8 |
enum yytokentype |
for | ( | ;; | ) |
Definition at line 2413 of file y.tab.c.
References YY_STACK_PRINT, YYABORT, yydestruct(), YYLAST, yyn, yypact_value_is_default, YYPOPSTACK, yyssp, yystate, and YYTERROR.
if | ( | yyss+yystacksize-1<= | yyssp | ) |
Definition at line 1792 of file y.tab.c.
References YY_, YYABORT, YYDPRINTF, YYMAXDEPTH, YYSIZE_T, yyss, yyalloc::yyss_alloc, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yyvs, and yyalloc::yyvs_alloc.
if | ( | yyn<= | 0 | ) |
if | ( | ! | yyerrstatus | ) |
Definition at line 2322 of file y.tab.c.
References YY_, yyerror(), yynerrs, YYSTACK_ALLOC, and YYSTACK_FREE.
if | ( | yyerrstatus | = = 3 | ) |
htmllabel_t* parseHTML | ( | char * | txt, |
int * | warn, | ||
htmlenv_t * | env | ||
) |
Definition at line 2516 of file y.tab.c.
References agxbfree(), agxbinit(), sfont_t::cfont, clearHTMLlexer(), dtclose(), dtopen(), Dtqueue, htmlenv_t::g, GD_gvc, htmlparse(), initHTMLlexer(), NULL, sfont_t::pfont, SMALLBUF, str, and yyparse().
switch | ( | yyn | ) |
Definition at line 1955 of file y.tab.c.
References agxbuse, YYSTYPE::cell, dtopen(), Dtqueue, HTML_IMAGE, HTML_TBL, HTML_TEXT, HTML_VRULE, YYSTYPE::i, YYSTYPE::img, YYSTYPE::p, YYSTYPE::tbl, YYSTYPE::txt, YYABORT, and yyerror().
while | ( | yyssp! | = yyss | ) |
Definition at line 2488 of file y.tab.c.
References yydestruct(), and YYPOPSTACK.
YY_REDUCE_PRINT | ( | yyn | ) |
YY_SYMBOL_PRINT | ( | "Next token is" | , |
yytoken | , | ||
& | yylval, | ||
& | yylloc | ||
) |
YY_SYMBOL_PRINT | ( | "Shifting" | , |
yytoken | , | ||
& | yylval, | ||
& | yylloc | ||
) |
YY_SYMBOL_PRINT | ( | ) |
YY_IGNORE_MAYBE_UNINITIALIZED_END YY_SYMBOL_PRINT | ( | "Shifting" | , |
yystos | [yyn], | ||
yyvsp | , | ||
yylsp | |||
) |
yydestruct | ( | "Cleanup: discarding lookahead" | , |
yytoken | , | ||
& | yylval | ||
) |
YYDPRINTF | ( | (stderr,"Starting parse\n") | ) |
YYDPRINTF | ( | (stderr,"Entering state %d\n", yystate) | ) |
return YYID | ( | yyresult | ) |
int yyparse | ( | void | ) |
YYPOPSTACK | ( | yylen | ) |
YYSTACK_FREE | ( | yyss | ) |
yynewstate __pad0__ |
yysetstate __pad1__ |
else |
int |
htmllabel_t* lbl |
YYSTYPE yylval |
yytype_int16* yyss |
yytype_int16 yyssa[YYINITDEPTH] |
yystacksize = YYINITDEPTH |
YYSTYPE yyvsa[YYINITDEPTH] |
YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN* yyvsp = yyvs = yyvsa |