Graphviz
2.41.20171026.1811
Main Page
Data Structures
Files
File List
Globals
lib
common
htmlparse.h
Go to the documentation of this file.
1
/* A Bison parser, made by GNU Bison 2.7. */
2
3
/* Bison interface for Yacc-like parsers in C
4
5
Copyright (C) 1984, 1989-1990, 2000-2012 Free Software Foundation, Inc.
6
7
This program is free software: you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation, either version 3 of the License, or
10
(at your option) any later version.
11
12
This program is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with this program. If not, see <http://www.gnu.org/licenses/>. */
19
20
/* As a special exception, you may create a larger work that contains
21
part or all of the Bison parser skeleton and distribute that work
22
under terms of your choice, so long as that work isn't itself a
23
parser generator using the skeleton or a modified version thereof
24
as a parser skeleton. Alternatively, if you modify or redistribute
25
the parser skeleton itself, you may (at your option) remove this
26
special exception, which will cause the skeleton and the resulting
27
Bison output files to be licensed under the GNU General Public
28
License without this special exception.
29
30
This special exception was added by the Free Software Foundation in
31
version 2.2 of Bison. */
32
33
#ifndef YY_YY_Y_TAB_H_INCLUDED
34
# define YY_YY_Y_TAB_H_INCLUDED
35
/* Enabling traces. */
36
#ifndef YYDEBUG
37
# define YYDEBUG 0
38
#endif
39
#if YYDEBUG
40
extern
int
htmldebug;
41
#endif
42
43
/* Tokens. */
44
#ifndef YYTOKENTYPE
45
# define YYTOKENTYPE
46
/* Put the tokens into the symbol table, so that GDB and other debuggers
47
know about them. */
48
enum
htmltokentype
{
49
T_end_br
= 258,
50
T_end_img
= 259,
51
T_row
= 260,
52
T_end_row
= 261,
53
T_html
= 262,
54
T_end_html
= 263,
55
T_end_table
= 264,
56
T_end_cell
= 265,
57
T_end_font
= 266,
58
T_string
= 267,
59
T_error
= 268,
60
T_n_italic
= 269,
61
T_n_bold
= 270,
62
T_n_underline
= 271,
63
T_n_overline
= 272,
64
T_n_sup
= 273,
65
T_n_sub
= 274,
66
T_n_s
= 275,
67
T_HR
= 276,
68
T_hr
= 277,
69
T_end_hr
= 278,
70
T_VR
= 279,
71
T_vr
= 280,
72
T_end_vr
= 281,
73
T_BR
= 282,
74
T_br
= 283,
75
T_IMG
= 284,
76
T_img
= 285,
77
T_table
= 286,
78
T_cell
= 287,
79
T_font
= 288,
80
T_italic
= 289,
81
T_bold
= 290,
82
T_underline
= 291,
83
T_overline
= 292,
84
T_sup
= 293,
85
T_sub
= 294,
86
T_s
= 295
87
};
88
#endif
89
/* Tokens. */
90
#define T_end_br 258
91
#define T_end_img 259
92
#define T_row 260
93
#define T_end_row 261
94
#define T_html 262
95
#define T_end_html 263
96
#define T_end_table 264
97
#define T_end_cell 265
98
#define T_end_font 266
99
#define T_string 267
100
#define T_error 268
101
#define T_n_italic 269
102
#define T_n_bold 270
103
#define T_n_underline 271
104
#define T_n_overline 272
105
#define T_n_sup 273
106
#define T_n_sub 274
107
#define T_n_s 275
108
#define T_HR 276
109
#define T_hr 277
110
#define T_end_hr 278
111
#define T_VR 279
112
#define T_vr 280
113
#define T_end_vr 281
114
#define T_BR 282
115
#define T_br 283
116
#define T_IMG 284
117
#define T_img 285
118
#define T_table 286
119
#define T_cell 287
120
#define T_font 288
121
#define T_italic 289
122
#define T_bold 290
123
#define T_underline 291
124
#define T_overline 292
125
#define T_sup 293
126
#define T_sub 294
127
#define T_s 295
128
129
130
131
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
132
typedef
union
YYSTYPE
133
{
134
/* Line 2058 of yacc.c */
135
#line 415 "../../lib/common/htmlparse.y"
136
137
int
i
;
138
htmltxt_t
*
txt
;
139
htmlcell_t
*
cell
;
140
htmltbl_t
*
tbl
;
141
textfont_t
*
font
;
142
htmlimg_t
*
img
;
143
pitem
*
p
;
144
145
146
/* Line 2058 of yacc.c */
147
#line 148 "y.tab.h"
148
}
YYSTYPE
;
149
# define YYSTYPE_IS_TRIVIAL 1
150
# define htmlstype YYSTYPE
/* obsolescent; will be withdrawn */
151
# define YYSTYPE_IS_DECLARED 1
152
#endif
153
154
extern
YYSTYPE
htmllval
;
155
156
#ifdef YYPARSE_PARAM
157
#if defined __STDC__ || defined __cplusplus
158
int
htmlparse
(
void
*YYPARSE_PARAM);
159
#else
160
int
htmlparse
();
161
#endif
162
#else
/* ! YYPARSE_PARAM */
163
#if defined __STDC__ || defined __cplusplus
164
int
htmlparse
(
void
);
165
#else
166
int
htmlparse
();
167
#endif
168
#endif
/* ! YYPARSE_PARAM */
169
170
#endif
/* !YY_YY_Y_TAB_H_INCLUDED */
T_font
#define T_font
Definition:
htmlparse.c:575
T_hr
#define T_hr
Definition:
htmlparse.c:564
T_end_font
#define T_end_font
Definition:
htmlparse.c:553
textfont_t
Definition:
textspan.h:48
T_end_cell
#define T_end_cell
Definition:
htmlparse.c:552
T_html
#define T_html
Definition:
htmlparse.c:549
T_br
#define T_br
Definition:
htmlparse.c:570
T_n_underline
#define T_n_underline
Definition:
htmlparse.c:558
T_table
#define T_table
Definition:
htmlparse.c:573
htmlcell_t
Definition:
htmltable.h:131
YYSTYPE::font
textfont_t * font
Definition:
htmlparse.c:596
YYSTYPE
union YYSTYPE YYSTYPE
T_overline
#define T_overline
Definition:
htmlparse.c:579
YYSTYPE::i
int i
Definition:
grammar.c:204
T_vr
#define T_vr
Definition:
htmlparse.c:567
T_BR
#define T_BR
Definition:
htmlparse.c:569
T_end_hr
#define T_end_hr
Definition:
htmlparse.c:565
T_HR
#define T_HR
Definition:
htmlparse.c:563
pitem
Definition:
htmltable.h:147
htmltxt_t
Definition:
htmltable.h:57
T_n_italic
#define T_n_italic
Definition:
htmlparse.c:556
T_cell
#define T_cell
Definition:
htmlparse.c:574
T_row
#define T_row
Definition:
htmlparse.c:547
htmlparse
int htmlparse(void)
T_IMG
#define T_IMG
Definition:
htmlparse.c:571
YYSTYPE::cell
htmlcell_t * cell
Definition:
htmlparse.c:594
htmltbl_t
Definition:
htmltable.h:101
htmltokentype
htmltokentype
Definition:
htmlparse.c:503
YYSTYPE::p
pitem * p
Definition:
htmlparse.c:598
T_bold
#define T_bold
Definition:
htmlparse.c:577
T_end_img
#define T_end_img
Definition:
htmlparse.c:546
T_end_table
#define T_end_table
Definition:
htmlparse.c:551
T_end_br
#define T_end_br
Definition:
htmlparse.c:545
T_n_sup
#define T_n_sup
Definition:
htmlparse.c:560
YYSTYPE::img
htmlimg_t * img
Definition:
htmlparse.c:597
T_n_overline
#define T_n_overline
Definition:
htmlparse.c:559
T_img
#define T_img
Definition:
htmlparse.c:572
YYSTYPE::tbl
htmltbl_t * tbl
Definition:
htmlparse.c:595
YYSTYPE
Definition:
grammar.c:199
htmllval
YYSTYPE htmllval
T_n_sub
#define T_n_sub
Definition:
htmlparse.c:561
T_end_row
#define T_end_row
Definition:
htmlparse.c:548
T_end_html
#define T_end_html
Definition:
htmlparse.c:550
T_end_vr
#define T_end_vr
Definition:
htmlparse.c:568
T_sub
#define T_sub
Definition:
htmlparse.c:581
T_n_s
#define T_n_s
Definition:
htmlparse.c:562
T_s
#define T_s
Definition:
htmlparse.c:582
T_italic
#define T_italic
Definition:
htmlparse.c:576
T_underline
#define T_underline
Definition:
htmlparse.c:578
T_sup
#define T_sup
Definition:
htmlparse.c:580
T_error
#define T_error
Definition:
htmlparse.c:555
T_string
#define T_string
Definition:
htmlparse.c:554
YYSTYPE::txt
htmltxt_t * txt
Definition:
htmlparse.c:593
T_VR
#define T_VR
Definition:
htmlparse.c:566
T_n_bold
#define T_n_bold
Definition:
htmlparse.c:557
htmlimg_t
Definition:
htmltable.h:64
Generated by
1.8.5