-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathParser.H.bak
109 lines (99 loc) · 2.05 KB
/
Parser.H.bak
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#ifndef PARSER_HEADER_FILE
#define PARSER_HEADER_FILE
#include<vector>
#include<string>
class Program;
class Dfn;
class Dmem;
class Def;
class ListDef;
class ListDfn;
class ListDmem;
class Arg;
class ListArg;
class Stm;
class ListStm;
class Exp;
class ListExp;
class ListId;
typedef union
{
int int_;
char char_;
double double_;
char* string_;
Program* program_;
Dfn* dfn_;
Dmem* dmem_;
Def* def_;
ListDef* listdef_;
ListDfn* listdfn_;
ListDmem* listdmem_;
Arg* arg_;
ListArg* listarg_;
Stm* stm_;
ListStm* liststm_;
Exp* exp_;
ListExp* listexp_;
ListId* listid_;
} YYSTYPE;
Program* pProgram(FILE *inp);
Program* pProgram(const char *str);
Dfn* pDfn(FILE *inp);
Dfn* pDfn(const char *str);
Dmem* pDmem(FILE *inp);
Dmem* pDmem(const char *str);
Def* pDef(FILE *inp);
Def* pDef(const char *str);
ListDef* pListDef(FILE *inp);
ListDef* pListDef(const char *str);
ListDfn* pListDfn(FILE *inp);
ListDfn* pListDfn(const char *str);
ListDmem* pListDmem(FILE *inp);
ListDmem* pListDmem(const char *str);
Arg* pArg(FILE *inp);
Arg* pArg(const char *str);
ListArg* pListArg(FILE *inp);
ListArg* pListArg(const char *str);
Stm* pStm(FILE *inp);
Stm* pStm(const char *str);
ListStm* pListStm(FILE *inp);
ListStm* pListStm(const char *str);
Exp* pExp(FILE *inp);
Exp* pExp(const char *str);
ListExp* pListExp(FILE *inp);
ListExp* pListExp(const char *str);
ListId* pListId(FILE *inp);
ListId* pListId(const char *str);
#define _ERROR_ 258
#define _SYMB_0 259
#define _SYMB_1 260
#define _SYMB_2 261
#define _SYMB_3 262
#define _SYMB_4 263
#define _SYMB_5 264
#define _SYMB_6 265
#define _SYMB_7 266
#define _SYMB_8 267
#define _SYMB_9 268
#define _SYMB_10 269
#define _SYMB_11 270
#define _SYMB_12 271
#define _SYMB_13 272
#define _SYMB_14 273
#define _SYMB_15 274
#define _SYMB_16 275
#define _SYMB_17 276
#define _SYMB_18 277
#define _SYMB_19 278
#define _SYMB_20 279
#define _SYMB_21 280
#define _SYMB_22 281
#define _SYMB_23 282
#define _SYMB_24 283
#define _SYMB_25 284
#define _STRING_ 285
#define _INTEGER_ 286
#define _DOUBLE_ 287
extern YYSTYPE yylval;
#endif