File: TTCNTreeParser.hpp

package info (click to toggle)
ttcn3parser 20011019-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,720 kB
  • ctags: 3,392
  • sloc: cpp: 49,144; makefile: 115; sh: 5
file content (394 lines) | stat: -rw-r--r-- 17,803 bytes parent folder | download
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
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
#ifndef INC_TTCNTreeParser_hpp_
#define INC_TTCNTreeParser_hpp_

#line 48 "TTCNTreeParser.g"

  #include "EnvAST.hpp"

  // $Id: TTCNTreeParser.hpp,v 1.1 2001/10/19 15:25:05 debacle Exp $

#line 11 "TTCNTreeParser.hpp"
#include "antlr/config.hpp"
#include "TTCNTreeParserTokenTypes.hpp"
/* $ANTLR 2.7.1: "TTCNTreeParser.g" -> "TTCNTreeParser.hpp"$ */
#include "antlr/TreeParser.hpp"

ANTLR_BEGIN_NAMESPACE(TTCNGrammar)
class TTCNTreeParser : public antlr::TreeParser, public TTCNTreeParserTokenTypes
 {
#line 123 "TTCNTreeParser.g"

 public:

   antlr::RefEnvAST getEnvAST() { return currentEnv; }

 private:

   antlr::RefEnvAST currentEnv;
#line 20 "TTCNTreeParser.hpp"
public:
	TTCNTreeParser();
	public: void ttcn3Document(antlr::RefAST _t);
	public: void ttcn3Module(antlr::RefAST _t);
	public: void ttcn3ModuleId(antlr::RefAST _t);
	public: void moduleParList(antlr::RefAST _t);
	public: void moduleDefinitionsPart(antlr::RefAST _t);
	public: void moduleControlPart(antlr::RefAST _t);
	public: void withStatement(antlr::RefAST _t);
	public: void definitiveIdentifier(antlr::RefAST _t);
	public: void definitiveObjIdComponent(antlr::RefAST _t);
	public: void nameForm(antlr::RefAST _t);
	public: void definitiveNumberForm(antlr::RefAST _t);
	public: void definitiveNameAndNumberForm(antlr::RefAST _t);
	public: void modulePar(antlr::RefAST _t);
	public: void type(antlr::RefAST _t);
	public: void constantExpression(antlr::RefAST _t);
	public: void moduleDefinition(antlr::RefAST _t);
	public: void typeDef(antlr::RefAST _t);
	public: void constDef(antlr::RefAST _t);
	public: void templateDef(antlr::RefAST _t);
	public: void functionDef(antlr::RefAST _t);
	public: void signatureDef(antlr::RefAST _t);
	public: void testcaseDef(antlr::RefAST _t);
	public: void teststepDef(antlr::RefAST _t);
	public: void importDef(antlr::RefAST _t);
	public: void groupDef(antlr::RefAST _t);
	public: void extFunctionDef(antlr::RefAST _t);
	public: void extConstDef(antlr::RefAST _t);
	public: void structuredTypeDef(antlr::RefAST _t);
	public: void subTypeDef(antlr::RefAST _t);
	public: void recordDef(antlr::RefAST _t);
	public: void unionDef(antlr::RefAST _t);
	public: void setDef(antlr::RefAST _t);
	public: void recordOfDef(antlr::RefAST _t);
	public: void setOfDef(antlr::RefAST _t);
	public: void enumDef(antlr::RefAST _t);
	public: void portDef(antlr::RefAST _t);
	public: void componentDef(antlr::RefAST _t);
	public: void structDefBody(antlr::RefAST _t);
	public: void structDefFormalParList(antlr::RefAST _t);
	public: void structFieldDef(antlr::RefAST _t);
	public: void structDefFormalPar(antlr::RefAST _t);
	public: void formalValuePar(antlr::RefAST _t);
	public: void formalTypePar(antlr::RefAST _t);
	public: void arrayDef(antlr::RefAST _t);
	public: void subTypeSpec(antlr::RefAST _t);
	public: void unionFieldDef(antlr::RefAST _t);
	public: void stringLength(antlr::RefAST _t);
	public: void structOfDefBody(antlr::RefAST _t);
	public: void namedValue(antlr::RefAST _t);
	public: void allowedValues(antlr::RefAST _t);
	public: void valueOrRange(antlr::RefAST _t);
	public: void integerRangeDef(antlr::RefAST _t);
	public: void singleConstExpression(antlr::RefAST _t);
	public: void lowerBound(antlr::RefAST _t);
	public: void upperBound(antlr::RefAST _t);
	public: void portType(antlr::RefAST _t);
	public: void globalModuleId(antlr::RefAST _t);
	public: void portDefAttribs(antlr::RefAST _t);
	public: void messageAttribs(antlr::RefAST _t);
	public: void procedureAttribs(antlr::RefAST _t);
	public: void mixedAttribs(antlr::RefAST _t);
	public: void messageList(antlr::RefAST _t);
	public: void direction(antlr::RefAST _t);
	public: void procedureList(antlr::RefAST _t);
	public: void signature(antlr::RefAST _t);
	public: void mixedList(antlr::RefAST _t);
	public: void procOrType(antlr::RefAST _t);
	public: void componentElementDef(antlr::RefAST _t);
	public: void componentType(antlr::RefAST _t);
	public: void portInstance(antlr::RefAST _t);
	public: void varInstance(antlr::RefAST _t);
	public: void timerInstance(antlr::RefAST _t);
	public: void portElement(antlr::RefAST _t);
	public: void singleConstDef(antlr::RefAST _t);
	public: void baseTemplate(antlr::RefAST _t);
	public: void derivedDef(antlr::RefAST _t);
	public: void templateBody(antlr::RefAST _t);
	public: void templateFormalParList(antlr::RefAST _t);
	public: void templateFormalPar(antlr::RefAST _t);
	public: void formalTemplatePar(antlr::RefAST _t);
	public: void simpleSpec(antlr::RefAST _t);
	public: void fieldSpecList(antlr::RefAST _t);
	public: void arrayValueOrAttrib(antlr::RefAST _t);
	public: void singleValueOrAttrib(antlr::RefAST _t);
	public: void fieldSpec(antlr::RefAST _t);
	public: void fieldReference(antlr::RefAST _t);
	public: void recordRef(antlr::RefAST _t);
	public: void arrayOrBitRef(antlr::RefAST _t);
	public: void parRef(antlr::RefAST _t);
	public: void signatureParIdentifier(antlr::RefAST _t);
	public: void singleExpression(antlr::RefAST _t);
	public: void templateRefWithParList(antlr::RefAST _t);
	public: void matchingSymbol(antlr::RefAST _t);
	public: void extraMatchingAttributes(antlr::RefAST _t);
	public: void arrayElementSpec(antlr::RefAST _t);
	public: void complement(antlr::RefAST _t);
	public: void valueList(antlr::RefAST _t);
	public: void integerRange(antlr::RefAST _t);
	public: void bitStringMatch(antlr::RefAST _t);
	public: void hexStringMatch(antlr::RefAST _t);
	public: void octetStringMatch(antlr::RefAST _t);
	public: void charStringMatch(antlr::RefAST _t);
	public: void lengthMatch(antlr::RefAST _t);
	public: void charStringValue(antlr::RefAST _t);
	public: void templateInstance(antlr::RefAST _t);
	public: void inLineTemplate(antlr::RefAST _t);
	public: void templateActualParList(antlr::RefAST _t);
	public: void templateActualPar(antlr::RefAST _t);
	public: void templateOps(antlr::RefAST _t);
	public: void matchOp(antlr::RefAST _t);
	public: void valueofOp(antlr::RefAST _t);
	public: void expression(antlr::RefAST _t);
	public: void functionFormalParList(antlr::RefAST _t);
	public: void runsOnSpec(antlr::RefAST _t);
	public: void returnType(antlr::RefAST _t);
	public: void functionBody(antlr::RefAST _t);
	public: void functionFormalPar(antlr::RefAST _t);
	public: void formalTimerPar(antlr::RefAST _t);
	public: void formalPortPar(antlr::RefAST _t);
	public: void functionStatementOrDef(antlr::RefAST _t);
	public: void functionLocalDef(antlr::RefAST _t);
	public: void functionLocalInst(antlr::RefAST _t);
	public: void functionStatement(antlr::RefAST _t);
	public: void configurationStatements(antlr::RefAST _t);
	public: void timerStatements(antlr::RefAST _t);
	public: void communicationStatements(antlr::RefAST _t);
	public: void basicStatements(antlr::RefAST _t);
	public: void behaviourStatements(antlr::RefAST _t);
	public: void verdictStatements(antlr::RefAST _t);
	public: void sutStatements(antlr::RefAST _t);
	public: void functionInstance(antlr::RefAST _t);
	public: void functionRef(antlr::RefAST _t);
	public: void functionActualParList(antlr::RefAST _t);
	public: void functionActualPar(antlr::RefAST _t);
	public: void timerRef(antlr::RefAST _t);
	public: void port(antlr::RefAST _t);
	public: void componentRef(antlr::RefAST _t);
	public: void signatureFormalParList(antlr::RefAST _t);
	public: void exceptionSpec(antlr::RefAST _t);
	public: void signatureFormalPar(antlr::RefAST _t);
	public: void testcaseFormalParList(antlr::RefAST _t);
	public: void configSpec(antlr::RefAST _t);
	public: void testcaseFormalPar(antlr::RefAST _t);
	public: void systemSpec(antlr::RefAST _t);
	public: void testcaseInstance(antlr::RefAST _t);
	public: void testcaseRef(antlr::RefAST _t);
	public: void testcaseActualParList(antlr::RefAST _t);
	public: void timerValue(antlr::RefAST _t);
	public: void testcaseActualPar(antlr::RefAST _t);
	public: void teststepFormalParList(antlr::RefAST _t);
	public: void altGuardList(antlr::RefAST _t);
	public: void teststepInstance(antlr::RefAST _t);
	public: void teststepRef(antlr::RefAST _t);
	public: void importAllSpec(antlr::RefAST _t);
	public: void importGroupSpec(antlr::RefAST _t);
	public: void importTypeDefSpec(antlr::RefAST _t);
	public: void importTemplateSpec(antlr::RefAST _t);
	public: void importConstSpec(antlr::RefAST _t);
	public: void importTestcaseSpec(antlr::RefAST _t);
	public: void importTeststepSpec(antlr::RefAST _t);
	public: void importFunctionSpec(antlr::RefAST _t);
	public: void importSignatureSpec(antlr::RefAST _t);
	public: void defKeyword(antlr::RefAST _t);
	public: void importFromSpec(antlr::RefAST _t);
	public: void moduleId(antlr::RefAST _t);
	public: void extModuleActualParList(antlr::RefAST _t);
	public: void languageSpec(antlr::RefAST _t);
	public: void freeText(antlr::RefAST _t);
	public: void objectIdentifierValue(antlr::RefAST _t);
	public: void parExpressionSpec(antlr::RefAST _t);
	public: void notUsedOrModuleParExpression(antlr::RefAST _t);
	public: void typeDefIdentifier(antlr::RefAST _t);
	public: void moduleControlBody(antlr::RefAST _t);
	public: void controlStatementOrDef(antlr::RefAST _t);
	public: void controlStatement(antlr::RefAST _t);
	public: void singleVarInstance(antlr::RefAST _t);
	public: void variableRef(antlr::RefAST _t);
	public: void extendedFieldReference(antlr::RefAST _t);
	public: void connectStatement(antlr::RefAST _t);
	public: void mapStatement(antlr::RefAST _t);
	public: void disconnectStatement(antlr::RefAST _t);
	public: void unmapStatement(antlr::RefAST _t);
	public: void doneStatement(antlr::RefAST _t);
	public: void startTCStatement(antlr::RefAST _t);
	public: void stopTCStatement(antlr::RefAST _t);
	public: void configurationOps(antlr::RefAST _t);
	public: void createOp(antlr::RefAST _t);
	public: void selfOp(antlr::RefAST _t);
	public: void systemOp(antlr::RefAST _t);
	public: void mtcOp(antlr::RefAST _t);
	public: void runningOp(antlr::RefAST _t);
	public: void componentId(antlr::RefAST _t);
	public: void componentIdentifier(antlr::RefAST _t);
	public: void portSpec(antlr::RefAST _t);
	public: void portRef(antlr::RefAST _t);
	public: void sendStatement(antlr::RefAST _t);
	public: void callStatement(antlr::RefAST _t);
	public: void replyStatement(antlr::RefAST _t);
	public: void raiseStatement(antlr::RefAST _t);
	public: void receiveStatement(antlr::RefAST _t);
	public: void triggerStatement(antlr::RefAST _t);
	public: void getCallStatement(antlr::RefAST _t);
	public: void getReplyStatement(antlr::RefAST _t);
	public: void catchStatement(antlr::RefAST _t);
	public: void checkStatement(antlr::RefAST _t);
	public: void clearStatement(antlr::RefAST _t);
	public: void startStatement(antlr::RefAST _t);
	public: void stopStatement(antlr::RefAST _t);
	public: void sendParameter(antlr::RefAST _t);
	public: void toClause(antlr::RefAST _t);
	public: void addressRef(antlr::RefAST _t);
	public: void callParameters(antlr::RefAST _t);
	public: void portCallBody(antlr::RefAST _t);
	public: void callTimerValue(antlr::RefAST _t);
	public: void callBodyStatement(antlr::RefAST _t);
	public: void callBodyGuard(antlr::RefAST _t);
	public: void statementBlock(antlr::RefAST _t);
	public: void altGuardChar(antlr::RefAST _t);
	public: void callBodyOps(antlr::RefAST _t);
	public: void replyValue(antlr::RefAST _t);
	public: void portOrAny(antlr::RefAST _t);
	public: void portReceiveOp(antlr::RefAST _t);
	public: void receiveParameter(antlr::RefAST _t);
	public: void fromClause(antlr::RefAST _t);
	public: void portRedirect(antlr::RefAST _t);
	public: void valueSpec(antlr::RefAST _t);
	public: void senderSpec(antlr::RefAST _t);
	public: void portGetCallOp(antlr::RefAST _t);
	public: void portRedirectWithParam(antlr::RefAST _t);
	public: void redirectSpec(antlr::RefAST _t);
	public: void paraSpec(antlr::RefAST _t);
	public: void paraAssignmentList(antlr::RefAST _t);
	public: void assignmentList(antlr::RefAST _t);
	public: void variableList(antlr::RefAST _t);
	public: void variableAssignment(antlr::RefAST _t);
	public: void parameterIdentifier(antlr::RefAST _t);
	public: void variableEntry(antlr::RefAST _t);
	public: void portGetReplyOp(antlr::RefAST _t);
	public: void valueMatchSpec(antlr::RefAST _t);
	public: void checkParameter(antlr::RefAST _t);
	public: void portCatchOp(antlr::RefAST _t);
	public: void catchOpParameter(antlr::RefAST _t);
	public: void portOrAll(antlr::RefAST _t);
	public: void startTimerStatement(antlr::RefAST _t);
	public: void stopTimerStatement(antlr::RefAST _t);
	public: void timeoutStatement(antlr::RefAST _t);
	public: void timerOps(antlr::RefAST _t);
	public: void readTimerOp(antlr::RefAST _t);
	public: void runningTimerOp(antlr::RefAST _t);
	public: void timerRefOrAll(antlr::RefAST _t);
	public: void timerRefOrAny(antlr::RefAST _t);
	public: void predefinedType(antlr::RefAST _t);
	public: void referencedType(antlr::RefAST _t);
	public: void typeReference(antlr::RefAST _t);
	public: void typeActualParList(antlr::RefAST _t);
	public: void typeActualPar(antlr::RefAST _t);
	public: void arrayDef2(antlr::RefAST _t);
	public: void arrayBounds(antlr::RefAST _t);
	public: void value(antlr::RefAST _t);
	public: void referencedValue(antlr::RefAST _t);
	public: void predefinedValue(antlr::RefAST _t);
	public: void bitStringValue(antlr::RefAST _t);
	public: void booleanValue(antlr::RefAST _t);
	public: void integerValue(antlr::RefAST _t);
	public: void octetStringValue(antlr::RefAST _t);
	public: void hexStringValue(antlr::RefAST _t);
	public: void verdictTypeValue(antlr::RefAST _t);
	public: void enumeratedValue(antlr::RefAST _t);
	public: void addressValue(antlr::RefAST _t);
	public: void objIdComponent(antlr::RefAST _t);
	public: void numberForm(antlr::RefAST _t);
	public: void nameAndNumberForm(antlr::RefAST _t);
	public: void quadruple(antlr::RefAST _t);
	public: void valueReference(antlr::RefAST _t);
	public: void singleWithAttrib(antlr::RefAST _t);
	public: void attribKeyword(antlr::RefAST _t);
	public: void attribQualifier(antlr::RefAST _t);
	public: void attribSpec(antlr::RefAST _t);
	public: void defOrFieldRef(antlr::RefAST _t);
	public: void definitionRef(antlr::RefAST _t);
	public: void returnStatement(antlr::RefAST _t);
	public: void altConstruct(antlr::RefAST _t);
	public: void interleavedConstruct(antlr::RefAST _t);
	public: void labelStatement(antlr::RefAST _t);
	public: void gotoStatement(antlr::RefAST _t);
	public: void repeatStatement(antlr::RefAST _t);
	public: void deactivateStatement(antlr::RefAST _t);
	public: void setLocalVerdict(antlr::RefAST _t);
	public: void verdictOps(antlr::RefAST _t);
	public: void getLocalVerdict(antlr::RefAST _t);
	public: void guardStatement(antlr::RefAST _t);
	public: void elseStatement(antlr::RefAST _t);
	public: void guardOp(antlr::RefAST _t);
	public: void booleanExpression(antlr::RefAST _t);
	public: void interleavedGuardElement(antlr::RefAST _t);
	public: void interleavedGuard(antlr::RefAST _t);
	public: void interleavedAction(antlr::RefAST _t);
	public: void activateOp(antlr::RefAST _t);
	public: void assignment(antlr::RefAST _t);
	public: void logStatement(antlr::RefAST _t);
	public: void loopConstruct(antlr::RefAST _t);
	public: void conditionalConstruct(antlr::RefAST _t);
	public: void compoundExpression(antlr::RefAST _t);
	public: void fieldExpressionList(antlr::RefAST _t);
	public: void arrayExpression(antlr::RefAST _t);
	public: void fieldExpressionSpec(antlr::RefAST _t);
	public: void compoundConstExpression(antlr::RefAST _t);
	public: void fieldConstExpressionList(antlr::RefAST _t);
	public: void arrayConstExpression(antlr::RefAST _t);
	public: void fieldConstExpressionSpec(antlr::RefAST _t);
	public: void primary(antlr::RefAST _t);
	public: void opCall(antlr::RefAST _t);
	public: void forStatement(antlr::RefAST _t);
	public: void whileStatement(antlr::RefAST _t);
	public: void doWhileStatement(antlr::RefAST _t);
	public: void elseIfClause(antlr::RefAST _t);
	public: void elseClause(antlr::RefAST _t);
private:
	static const char* _tokenNames[];
	
	static const unsigned long _tokenSet_0_data_[];
	static const antlr::BitSet _tokenSet_0;
	static const unsigned long _tokenSet_1_data_[];
	static const antlr::BitSet _tokenSet_1;
	static const unsigned long _tokenSet_2_data_[];
	static const antlr::BitSet _tokenSet_2;
	static const unsigned long _tokenSet_3_data_[];
	static const antlr::BitSet _tokenSet_3;
	static const unsigned long _tokenSet_4_data_[];
	static const antlr::BitSet _tokenSet_4;
	static const unsigned long _tokenSet_5_data_[];
	static const antlr::BitSet _tokenSet_5;
	static const unsigned long _tokenSet_6_data_[];
	static const antlr::BitSet _tokenSet_6;
	static const unsigned long _tokenSet_7_data_[];
	static const antlr::BitSet _tokenSet_7;
	static const unsigned long _tokenSet_8_data_[];
	static const antlr::BitSet _tokenSet_8;
	static const unsigned long _tokenSet_9_data_[];
	static const antlr::BitSet _tokenSet_9;
	static const unsigned long _tokenSet_10_data_[];
	static const antlr::BitSet _tokenSet_10;
	static const unsigned long _tokenSet_11_data_[];
	static const antlr::BitSet _tokenSet_11;
	static const unsigned long _tokenSet_12_data_[];
	static const antlr::BitSet _tokenSet_12;
	static const unsigned long _tokenSet_13_data_[];
	static const antlr::BitSet _tokenSet_13;
	static const unsigned long _tokenSet_14_data_[];
	static const antlr::BitSet _tokenSet_14;
	static const unsigned long _tokenSet_15_data_[];
	static const antlr::BitSet _tokenSet_15;
	static const unsigned long _tokenSet_16_data_[];
	static const antlr::BitSet _tokenSet_16;
	static const unsigned long _tokenSet_17_data_[];
	static const antlr::BitSet _tokenSet_17;
	static const unsigned long _tokenSet_18_data_[];
	static const antlr::BitSet _tokenSet_18;
	static const unsigned long _tokenSet_19_data_[];
	static const antlr::BitSet _tokenSet_19;
};

ANTLR_END_NAMESPACE
#endif /*INC_TTCNTreeParser_hpp_*/