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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
|
/* A Bison parser, made by GNU Bison 1.875d. */
/* Skeleton parser for Yacc-like parsing with Bison,
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
/* As a special exception, when this file is copied by Bison into a
Bison output file, you may use that output file without restriction.
This special exception was added by the Free Software Foundation
in version 1.24 of Bison. */
/* Tokens. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype {
TK_OPTIONS = 258,
TK_NOEMITTERS = 259,
TK_DOC = 260,
TK_EXPORTEDDOC = 261,
TK_MAKEFILE = 262,
TK_ACCESSCODE = 263,
TK_GETCODE = 264,
TK_SETCODE = 265,
TK_PREINITCODE = 266,
TK_POSTINITCODE = 267,
TK_UNITCODE = 268,
TK_MODCODE = 269,
TK_TYPECODE = 270,
TK_PREPYCODE = 271,
TK_COPYING = 272,
TK_MAPPEDTYPE = 273,
TK_CODELINE = 274,
TK_IF = 275,
TK_END = 276,
TK_NAME = 277,
TK_PATHNAME = 278,
TK_STRING = 279,
TK_VIRTUALCATCHERCODE = 280,
TK_TRAVERSECODE = 281,
TK_CLEARCODE = 282,
TK_READBUFFERCODE = 283,
TK_WRITEBUFFERCODE = 284,
TK_SEGCOUNTCODE = 285,
TK_CHARBUFFERCODE = 286,
TK_METHODCODE = 287,
TK_FROMTYPE = 288,
TK_TOTYPE = 289,
TK_TOSUBCLASS = 290,
TK_INCLUDE = 291,
TK_OPTINCLUDE = 292,
TK_IMPORT = 293,
TK_EXPHEADERCODE = 294,
TK_MODHEADERCODE = 295,
TK_TYPEHEADERCODE = 296,
TK_MODULE = 297,
TK_CMODULE = 298,
TK_CLASS = 299,
TK_STRUCT = 300,
TK_PUBLIC = 301,
TK_PROTECTED = 302,
TK_PRIVATE = 303,
TK_SIGNALS = 304,
TK_SLOTS = 305,
TK_BOOL = 306,
TK_SHORT = 307,
TK_INT = 308,
TK_LONG = 309,
TK_FLOAT = 310,
TK_DOUBLE = 311,
TK_CHAR = 312,
TK_WCHAR_T = 313,
TK_VOID = 314,
TK_PYOBJECT = 315,
TK_PYTUPLE = 316,
TK_PYLIST = 317,
TK_PYDICT = 318,
TK_PYCALLABLE = 319,
TK_PYSLICE = 320,
TK_PYTYPE = 321,
TK_VIRTUAL = 322,
TK_ENUM = 323,
TK_SIGNED = 324,
TK_UNSIGNED = 325,
TK_SCOPE = 326,
TK_LOGICAL_OR = 327,
TK_CONST = 328,
TK_STATIC = 329,
TK_SIPQT_SIGNAL = 330,
TK_SIPQT_SLOT = 331,
TK_SIPANYQT_SLOT = 332,
TK_SIPRXCON = 333,
TK_SIPRXDIS = 334,
TK_SIPSLOTCON = 335,
TK_SIPSLOTDIS = 336,
TK_NUMBER = 337,
TK_REAL = 338,
TK_TYPEDEF = 339,
TK_NAMESPACE = 340,
TK_TIMELINE = 341,
TK_PLATFORMS = 342,
TK_FEATURE = 343,
TK_LICENSE = 344,
TK_QCHAR = 345,
TK_TRUE = 346,
TK_FALSE = 347,
TK_NULL = 348,
TK_OPERATOR = 349,
TK_THROW = 350,
TK_QOBJECT = 351,
TK_EXCEPTION = 352,
TK_RAISECODE = 353,
TK_EXPLICIT = 354,
TK_TEMPLATE = 355,
TK_ELLIPSIS = 356
};
#endif
#define TK_OPTIONS 258
#define TK_NOEMITTERS 259
#define TK_DOC 260
#define TK_EXPORTEDDOC 261
#define TK_MAKEFILE 262
#define TK_ACCESSCODE 263
#define TK_GETCODE 264
#define TK_SETCODE 265
#define TK_PREINITCODE 266
#define TK_POSTINITCODE 267
#define TK_UNITCODE 268
#define TK_MODCODE 269
#define TK_TYPECODE 270
#define TK_PREPYCODE 271
#define TK_COPYING 272
#define TK_MAPPEDTYPE 273
#define TK_CODELINE 274
#define TK_IF 275
#define TK_END 276
#define TK_NAME 277
#define TK_PATHNAME 278
#define TK_STRING 279
#define TK_VIRTUALCATCHERCODE 280
#define TK_TRAVERSECODE 281
#define TK_CLEARCODE 282
#define TK_READBUFFERCODE 283
#define TK_WRITEBUFFERCODE 284
#define TK_SEGCOUNTCODE 285
#define TK_CHARBUFFERCODE 286
#define TK_METHODCODE 287
#define TK_FROMTYPE 288
#define TK_TOTYPE 289
#define TK_TOSUBCLASS 290
#define TK_INCLUDE 291
#define TK_OPTINCLUDE 292
#define TK_IMPORT 293
#define TK_EXPHEADERCODE 294
#define TK_MODHEADERCODE 295
#define TK_TYPEHEADERCODE 296
#define TK_MODULE 297
#define TK_CMODULE 298
#define TK_CLASS 299
#define TK_STRUCT 300
#define TK_PUBLIC 301
#define TK_PROTECTED 302
#define TK_PRIVATE 303
#define TK_SIGNALS 304
#define TK_SLOTS 305
#define TK_BOOL 306
#define TK_SHORT 307
#define TK_INT 308
#define TK_LONG 309
#define TK_FLOAT 310
#define TK_DOUBLE 311
#define TK_CHAR 312
#define TK_WCHAR_T 313
#define TK_VOID 314
#define TK_PYOBJECT 315
#define TK_PYTUPLE 316
#define TK_PYLIST 317
#define TK_PYDICT 318
#define TK_PYCALLABLE 319
#define TK_PYSLICE 320
#define TK_PYTYPE 321
#define TK_VIRTUAL 322
#define TK_ENUM 323
#define TK_SIGNED 324
#define TK_UNSIGNED 325
#define TK_SCOPE 326
#define TK_LOGICAL_OR 327
#define TK_CONST 328
#define TK_STATIC 329
#define TK_SIPQT_SIGNAL 330
#define TK_SIPQT_SLOT 331
#define TK_SIPANYQT_SLOT 332
#define TK_SIPRXCON 333
#define TK_SIPRXDIS 334
#define TK_SIPSLOTCON 335
#define TK_SIPSLOTDIS 336
#define TK_NUMBER 337
#define TK_REAL 338
#define TK_TYPEDEF 339
#define TK_NAMESPACE 340
#define TK_TIMELINE 341
#define TK_PLATFORMS 342
#define TK_FEATURE 343
#define TK_LICENSE 344
#define TK_QCHAR 345
#define TK_TRUE 346
#define TK_FALSE 347
#define TK_NULL 348
#define TK_OPERATOR 349
#define TK_THROW 350
#define TK_QOBJECT 351
#define TK_EXCEPTION 352
#define TK_RAISECODE 353
#define TK_EXPLICIT 354
#define TK_TEMPLATE 355
#define TK_ELLIPSIS 356
#if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED)
#line 103 "parser.y"
typedef union YYSTYPE {
char qchar;
char *text;
long number;
double real;
argDef memArg;
signatureDef signature;
signatureDef *optsignature;
throwArgs *throwlist;
codeBlock *codeb;
valueDef value;
valueDef *valp;
optFlags optflags;
optFlag flag;
scopedNameDef *scpvalp;
fcallDef fcall;
int boolean;
exceptionDef exceptionbase;
classDef *klass;
} YYSTYPE;
/* Line 1285 of yacc.c. */
#line 260 "parser.h"
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
# define YYSTYPE_IS_TRIVIAL 1
#endif
extern YYSTYPE yylval;
|