Subversion Repositories tendra.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
<!-- Crown Copyright (c) 1998 -->
2
<HTML>
3
<HEAD>
4
<TITLE>
5
C++ Producer Guide: Symbol table dump syntax 
6
</TITLE>
7
</HEAD>
8
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000FF" VLINK="#400080" ALINK="#FF0000">
9
 
10
<H1>C++ Producer Guide</H1>
11
<H3>March 1998</H3>
12
<A HREF="error1.html"><IMG SRC="../images/next.gif" ALT="next section"></A>
13
<A HREF="pragma1.html"><IMG SRC="../images/prev.gif" ALT="previous section"></A>
14
<A HREF="index.html"><IMG SRC="../images/top.gif" ALT="current document"></A>
15
<A HREF="../index.html"><IMG SRC="../images/home.gif" ALT="TenDRA home page">
16
</A>
17
<IMG SRC="../images/no_index.gif" ALT="document index"><P>
18
<HR>
19
 
20
<H1>Annex B. Symbol table dump syntax</H1>
21
<P>
22
The following gives a summary of the syntax for the 
23
<A HREF="dump.html">symbol table dump file</A> (version 1.1): 
24
<PRE>
25
<HR>
26
	<I>dump-file</I> :
27
		<I>command-list<SUB>opt</SUB></I>
28
 
29
	<I>command-list</I> :
30
		<I>command command-list<SUB>opt</SUB></I>
31
 
32
	<I>command</I> :
33
		<I>version-command</I>
34
		<I>identifier-command</I>
35
		<I>scope-command</I>
36
		<I>override-command</I>
37
		<I>base-command</I>
38
		<I>api-command</I>
39
		<I>template-command</I>
40
		<I>promotion-command</I>
41
		<I>error-command</I>
42
		<I>path-command</I>
43
		<I>file-command</I>
44
		<I>include-command</I>
45
		<I>string-command</I>
46
 
47
	<I>version-command</I> :
48
		V <I>number number string</I>
49
 
50
<HR>
51
	<I>location</I> :
52
		<I>number number number string string</I>
53
		<I>number number number string</I> *
54
		<I>number number number</I> *
55
		<I>number number</I> *
56
		<I>number</I> *
57
		*
58
 
59
<HR>
60
	<I>identifier</I> :
61
		<I>number</I> = <I>identifier-name access<SUB>opt</SUB> scope-identifier</I>
62
		<I>number</I>
63
 
64
	<I>identifier-name</I> :
65
		<I>string</I>
66
		C <I>type</I>
67
		D <I>type</I>
68
		O <I>string</I>
69
		T <I>type</I>
70
 
71
	<I>access</I> :
72
		N
73
		B
74
		P
75
 
76
	<I>scope-identifier</I> :
77
		<I>identifier</I>
78
		*
79
 
80
	<I>identifier-command</I> :
81
		D <I>identifier-info type-info</I>
82
		M <I>identifier-info type-info</I>
83
		T <I>identifier-info type-info</I>
84
		Q <I>identifier-info</I>
85
		U <I>identifier-info</I>
86
		L <I>identifier-info</I>
87
		C <I>identifier-info</I>
88
		W <I>identifier-info type-info</I>
89
		I <I>identifier-command</I>
90
 
91
	<I>identifier-info</I> :
92
		<I>identifier-key location identifier</I>
93
 
94
	<I>identifier-key</I> :
95
		K
96
		MO
97
		MF
98
		MB
99
		TC
100
		TS
101
		TU
102
		TE
103
		TA
104
		NN
105
		NA
106
		VA
107
		VP
108
		VE
109
		VS
110
		FE <I>function-key<SUB>opt</SUB></I>
111
		FS <I>function-key<SUB>opt</SUB></I>
112
		FB <I>function-key<SUB>opt</SUB></I>
113
		CF <I>function-key<SUB>opt</SUB></I>
114
		CS <I>function-key<SUB>opt</SUB></I>
115
		CV <I>function-key<SUB>opt</SUB></I>
116
		CM
117
		CD
118
		E
119
		L
120
		XO
121
		XF
122
		XP
123
		XT
124
 
125
	<I>function-key</I> :
126
		C <I>function-key<SUB>opt</SUB></I>
127
		I <I>function-key<SUB>opt</SUB></I>
128
 
129
	<I>type-info</I> :
130
		<I>type identifier<SUB>opt</SUB></I>
131
		<I>sort</I>
132
		<I>scope-identifier</I>
133
		*
134
 
135
<HR>
136
	<I>scope-command</I> :
137
		SS <I>scope-key location identifier</I>
138
		SE <I>scope-key location identifier</I>
139
 
140
	<I>scope-key</I> :
141
		N
142
		S
143
		B
144
		D
145
		H
146
		CT
147
		CF
148
		CC
149
 
150
<HR>
151
	<I>override-command</I> :
152
		O <I>identifier identifier</I>
153
 
154
<HR>
155
	<I>base-command</I> :
156
		B <I>identifier-key identifier base-graph</I>
157
 
158
	<I>base-graph</I> :
159
		<I>base-class</I>
160
		<I>base-class</I> ( <I>base-list</I> )
161
 
162
	<I>base-class</I> :
163
		<I>number</I> = V<I><SUB>opt</SUB> access<SUB>opt</SUB> type-name</I>
164
		<I>number</I> :
165
 
166
	<I>base-list</I> :
167
		<I>base-graph base-list<SUB>opt</SUB></I>
168
 
169
	<I>base-number</I> :
170
		<I>number</I> : <I>type-name</I>
171
 
172
<HR>
173
	<I>api-command</I> :
174
		X <I>identifier-key identifier string</I>
175
 
176
<HR>
177
	<I>template-command</I> :
178
		Z <I>identifier-key identifier token-application specialise-info</I>
179
 
180
	<I>specialise-info</I> :
181
		<I>identifier</I>
182
		<I>token-application</I>
183
		*
184
 
185
<HR>
186
	<I>type</I> :
187
		<I>type-name</I>
188
		c
189
		s
190
		i
191
		l
192
		x
193
		b
194
		w
195
		y
196
		z
197
		f
198
		d
199
		r
200
		v
201
		u
202
		Sc
203
		Uc
204
		Us
205
		Ui
206
		Ul
207
		Ux
208
		C <I>type</I>
209
		V <I>type</I>
210
		P <I>type</I>
211
		R <I>type</I>
212
		M <I>type-name</I> : <I>type</I>
213
		F <I>type parameter-types</I>
214
		A <I>nat<SUB>opt</SUB></I> : <I>type</I>
215
		B <I>nat</I> : <I>type</I>
216
		t <I>parameter-list<SUB>opt</SUB></I> : <I>type</I>
217
		p <I>type</I>
218
		a <I>type</I> : <I>type</I>
219
		n <I>lit-base<SUB>opt</SUB> lit-suffix<SUB>opt</SUB></I>
220
		W <I>type parameter-types</I>
221
		q <I>type</I>
222
		Q <I>string</I>
223
		*
224
 
225
	<I>type-name</I> :
226
		<I>identifier</I>
227
		<I>token-application</I>
228
 
229
	<I>parameter-types</I> :
230
		: <I>exception-spec<SUB>opt</SUB> func-qualifier<SUB>opt</SUB></I> :
231
		. <I>exception-spec<SUB>opt</SUB> func-qualifier<SUB>opt</SUB></I> :
232
		. <I>exception-spec<SUB>opt</SUB> func-qualifier<SUB>opt</SUB></I> .
233
		, <I>type parameter-types</I>
234
 
235
	<I>func-qualifier</I> :
236
		C <I>func-qualifier<SUB>opt</SUB></I>
237
		V <I>func-qualifier<SUB>opt</SUB></I>
238
 
239
	<I>exception-spec</I> :
240
		( <I>exception-list<SUB>opt</SUB></I> )
241
 
242
	<I>exception-list</I> :
243
		<I>type</I>
244
		<I>type</I> , <I>exception-list</I>
245
 
246
	<I>nat</I> :
247
		+ <I>number</I>
248
		- <I>number</I>
249
		<I>identifier</I>
250
		<I>token-application</I>
251
		<I>string</I>
252
 
253
	<I>parameter-list</I> :
254
		<I>identifier</I>
255
		<I>identifier</I> , <I>parameter-list</I>
256
 
257
	<I>lit-base</I> :
258
		O
259
		X
260
 
261
	<I>lit-suffix</I> :
262
		U
263
		l
264
		Ul
265
		x
266
		Ux
267
 
268
<HR>
269
	<I>promotion-command</I> :
270
		P <I>type</I> : <I>type</I>
271
 
272
<HR>
273
	<I>sort</I> :
274
		<I>expression-sort</I>
275
		<I>statement-sort</I>
276
		<I>type-sort</I>
277
		<I>tag-type-sort</I>
278
		<I>member-sort</I>
279
		<I>proc-sort</I>
280
		<I>func-sort</I>
281
		<I>template-sort</I>
282
		<I>macro-sort</I>
283
 
284
	<I>expression-sort</I> :
285
		ZEL <I>type</I>
286
		ZER <I>type</I>
287
		ZEC <I>type</I>
288
		ZN
289
 
290
	<I>statement-sort</I> :
291
		ZS
292
 
293
	<I>type-sort</I> :
294
		ZTO
295
		ZTI
296
		ZTF
297
		ZTA
298
		ZTP
299
		ZTS
300
		ZTU
301
 
302
	<I>tag-type-sort</I> :
303
		ZTTS
304
		ZTTU
305
 
306
	<I>member-sort</I> :
307
		ZM <I>type</I> : <I>type-name</I>
308
 
309
	<I>proc-sort</I> :
310
		ZPG <I>parameter-list<SUB>opt</SUB></I> ; <I>parameter-list<SUB>opt</SUB></I> : <I>sort</I>
311
		ZPS <I>parameter-list<SUB>opt</SUB></I> : <I>sort</I>
312
 
313
	<I>func-sort</I> :
314
		ZF <I>type</I>
315
 
316
	<I>template-sort</I> :
317
		ZTt <I>parameter-list<SUB>opt</SUB></I> :
318
 
319
	<I>macro-sort</I> :
320
		ZUO
321
		ZUF <I>number</I>
322
 
323
	<I>token-application</I> :
324
		T <I>identifier</I> , <I>token-argument-list</I> :
325
 
326
	<I>token-argument-list</I> :
327
		<I>token-argument</I>
328
		<I>token-argument</I> , <I>token-argument-list</I>
329
 
330
	<I>token-argument</I> :
331
		E <I>expression</I>
332
		N <I>nat</I>
333
		S <I>statement</I>
334
		T <I>type</I>
335
		M <I>member</I>
336
		F <I>identifier</I>
337
		C <I>identifier</I>
338
 
339
	<I>expression</I> :
340
		<I>nat</I>
341
 
342
	<I>statement</I> :
343
		<I>expression</I>
344
 
345
	<I>member</I> :
346
		<I>identifier</I>
347
		<I>string</I>
348
 
349
<HR>
350
	<I>error-name</I> :
351
		<I>number</I> = <I>string</I>
352
		<I>number</I>
353
 
354
	<I>error-command</I> :
355
		ES <I>location error-info</I>
356
		EW <I>location error-info</I>
357
		EI <I>location error-info</I>
358
		EF <I>location error-info</I>
359
		EC <I>error-info</I>
360
		EA <I>error-argument</I>
361
 
362
	<I>error-info</I> :
363
		<I>error-name number number</I>
364
 
365
	<I>error-argument</I> :
366
		B <I>base-number</I>
367
		C <I>scope-identifier</I>
368
		E <I>expression</I>
369
		H <I>identifier-name</I>
370
		I <I>identifier</I>
371
		L <I>location</I>
372
		N <I>nat</I>
373
		S <I>string</I>
374
		T <I>type</I>
375
		V <I>number</I>
376
		V - <I>number</I>
377
 
378
<HR>
379
	<I>path-command</I> :
380
		FD <I>number</I> = <I>string string<SUB>opt</SUB></I>
381
 
382
	<I>directory</I> :
383
		<I>number</I>
384
		*
385
 
386
	<I>file-command</I> :
387
		FS <I>location directory</I>
388
		FE <I>location</I>
389
 
390
	<I>include-command</I> :
391
		FIA <I>location string</I>
392
		FIQ <I>location string</I>
393
		FIN <I>location string</I>
394
		FIS <I>location string</I>
395
		FIE <I>location string</I>
396
		FIR <I>location</I>
397
 
398
<HR>
399
	<I>string-command</I> :
400
		A <I>location string</I>
401
		AC <I>location string</I>
402
		AL <I>location string</I>
403
		ACL <I>location string</I>
404
</PRE>
405
</P>
406
 
407
<HR>
408
<P><I>Part of the <A HREF="../index.html">TenDRA Web</A>.<BR>Crown
409
Copyright &copy; 1998.</I></P>
410
</BODY>
411
</HTML>