Revision 7
Added by Willibald K. over 8 years ago
ooaLexer.java | ||
---|---|---|
1 |
// $ANTLR 3.4 C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g 2015-03-30 18:21:33 |
|
2 |
|
|
3 |
/* |
|
4 |
Ulysses OO-Action System Parser |
|
5 |
|
|
6 |
Copyright Graz University of Technology 2009 |
|
7 |
Copyright AIT Austrian Institute of Technology 2013 |
|
8 |
*/ |
|
9 |
package org.momut.ooas.parser; |
|
10 |
|
|
11 |
|
|
12 |
import org.antlr.runtime.*; |
|
13 |
import java.util.Stack; |
|
14 |
import java.util.List; |
|
15 |
import java.util.ArrayList; |
|
16 |
import java.util.Map; |
|
17 |
import java.util.HashMap; |
|
18 |
|
|
19 |
@SuppressWarnings({"all", "warnings", "unchecked"}) |
|
20 |
public class ooaLexer extends Lexer { |
|
21 |
public static final int EOF=-1; |
|
22 |
public static final int T__118=118; |
|
23 |
public static final int T__119=119; |
|
24 |
public static final int T__120=120; |
|
25 |
public static final int T__121=121; |
|
26 |
public static final int T__122=122; |
|
27 |
public static final int T__123=123; |
|
28 |
public static final int T__124=124; |
|
29 |
public static final int T__125=125; |
|
30 |
public static final int T__126=126; |
|
31 |
public static final int T__127=127; |
|
32 |
public static final int FLOAT_OR_INT_OR_RANGE=4; |
|
33 |
public static final int LINE_COMMENT=5; |
|
34 |
public static final int T_ABORT=6; |
|
35 |
public static final int T_ABS=7; |
|
36 |
public static final int T_ACTIONS=8; |
|
37 |
public static final int T_AND=9; |
|
38 |
public static final int T_ASSIGNMENT=10; |
|
39 |
public static final int T_AUTOCONS=11; |
|
40 |
public static final int T_BAR=12; |
|
41 |
public static final int T_BIIMPLIES=13; |
|
42 |
public static final int T_BOOL=14; |
|
43 |
public static final int T_BREAK=15; |
|
44 |
public static final int T_CARD=16; |
|
45 |
public static final int T_CBRL=17; |
|
46 |
public static final int T_CBRR=18; |
|
47 |
public static final int T_CHAR=19; |
|
48 |
public static final int T_COLON=20; |
|
49 |
public static final int T_COMMA=21; |
|
50 |
public static final int T_COMMENT=22; |
|
51 |
public static final int T_CONC=23; |
|
52 |
public static final int T_CONSTS=24; |
|
53 |
public static final int T_CONT=25; |
|
54 |
public static final int T_CTRL=26; |
|
55 |
public static final int T_DCONC=27; |
|
56 |
public static final int T_DERIV=28; |
|
57 |
public static final int T_DIFF=29; |
|
58 |
public static final int T_DIGIT=30; |
|
59 |
public static final int T_DINTER=31; |
|
60 |
public static final int T_DIV=32; |
|
61 |
public static final int T_DO=33; |
|
62 |
public static final int T_DOM=34; |
|
63 |
public static final int T_DOMRESBY=35; |
|
64 |
public static final int T_DOMRESTO=36; |
|
65 |
public static final int T_DUNION=37; |
|
66 |
public static final int T_ELEMS=38; |
|
67 |
public static final int T_ELSE=39; |
|
68 |
public static final int T_END=40; |
|
69 |
public static final int T_EQUAL=41; |
|
70 |
public static final int T_EXISTS=42; |
|
71 |
public static final int T_FALSE=43; |
|
72 |
public static final int T_FLOAT=44; |
|
73 |
public static final int T_FLOATNUMBER=45; |
|
74 |
public static final int T_FOLDLR=46; |
|
75 |
public static final int T_FOLDRL=47; |
|
76 |
public static final int T_FORALL=48; |
|
77 |
public static final int T_GREATER=49; |
|
78 |
public static final int T_GREATEREQUAL=50; |
|
79 |
public static final int T_HEAD=51; |
|
80 |
public static final int T_IDENTIFIER=52; |
|
81 |
public static final int T_IDIV=53; |
|
82 |
public static final int T_IF=54; |
|
83 |
public static final int T_IMPLIES=55; |
|
84 |
public static final int T_IN=56; |
|
85 |
public static final int T_INDS=57; |
|
86 |
public static final int T_INFTY=58; |
|
87 |
public static final int T_INT=59; |
|
88 |
public static final int T_INTER=60; |
|
89 |
public static final int T_INTNUMBER=61; |
|
90 |
public static final int T_KILL=62; |
|
91 |
public static final int T_LEN=63; |
|
92 |
public static final int T_LESS=64; |
|
93 |
public static final int T_LESSEQUAL=65; |
|
94 |
public static final int T_LETTER=66; |
|
95 |
public static final int T_LIST=67; |
|
96 |
public static final int T_LPAREN=68; |
|
97 |
public static final int T_LSQPAREN=69; |
|
98 |
public static final int T_MAP=70; |
|
99 |
public static final int T_MAPS=71; |
|
100 |
public static final int T_MERGE=72; |
|
101 |
public static final int T_METHODS=73; |
|
102 |
public static final int T_MINUS=74; |
|
103 |
public static final int T_MOD=75; |
|
104 |
public static final int T_MUNION=76; |
|
105 |
public static final int T_NEW=77; |
|
106 |
public static final int T_NIL=78; |
|
107 |
public static final int T_NONDET=79; |
|
108 |
public static final int T_NOT=80; |
|
109 |
public static final int T_NOTEQUAL=81; |
|
110 |
public static final int T_OBS=82; |
|
111 |
public static final int T_OD=83; |
|
112 |
public static final int T_OF=84; |
|
113 |
public static final int T_OR=85; |
|
114 |
public static final int T_POINT=86; |
|
115 |
public static final int T_POW=87; |
|
116 |
public static final int T_PRIMED=88; |
|
117 |
public static final int T_PRIO=89; |
|
118 |
public static final int T_PROD=90; |
|
119 |
public static final int T_QUANTITY=91; |
|
120 |
public static final int T_RANGETO=92; |
|
121 |
public static final int T_REQUIRES=93; |
|
122 |
public static final int T_RNG=94; |
|
123 |
public static final int T_RNGRESBY=95; |
|
124 |
public static final int T_RNGRESTO=96; |
|
125 |
public static final int T_RPAREN=97; |
|
126 |
public static final int T_RSQPAREN=98; |
|
127 |
public static final int T_SELF=99; |
|
128 |
public static final int T_SEMICOLON=100; |
|
129 |
public static final int T_SEQMOD_MAPOVERRIDE=101; |
|
130 |
public static final int T_SET=102; |
|
131 |
public static final int T_SKIP=103; |
|
132 |
public static final int T_STATIC=104; |
|
133 |
public static final int T_STRINGLITERAL=105; |
|
134 |
public static final int T_SUBSET=106; |
|
135 |
public static final int T_SUM=107; |
|
136 |
public static final int T_SYSTEM=108; |
|
137 |
public static final int T_TAIL=109; |
|
138 |
public static final int T_THEN=110; |
|
139 |
public static final int T_TO=111; |
|
140 |
public static final int T_TRUE=112; |
|
141 |
public static final int T_TYPES=113; |
|
142 |
public static final int T_UNION=114; |
|
143 |
public static final int T_VAR=115; |
|
144 |
public static final int T_WITH=116; |
|
145 |
public static final int T_WS=117; |
|
146 |
|
|
147 |
// delegates |
|
148 |
// delegators |
|
149 |
public Lexer[] getDelegates() { |
|
150 |
return new Lexer[] {}; |
|
151 |
} |
|
152 |
|
|
153 |
public ooaLexer() {} |
|
154 |
public ooaLexer(CharStream input) { |
|
155 |
this(input, new RecognizerSharedState()); |
|
156 |
} |
|
157 |
public ooaLexer(CharStream input, RecognizerSharedState state) { |
|
158 |
super(input,state); |
|
159 |
} |
|
160 |
public String getGrammarFileName() { return "C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g"; } |
|
161 |
|
|
162 |
// $ANTLR start "T__118" |
|
163 |
public final void mT__118() throws RecognitionException { |
|
164 |
try { |
|
165 |
int _type = T__118; |
|
166 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
167 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:12:8: ( '&' ) |
|
168 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:12:10: '&' |
|
169 |
{ |
|
170 |
match('&'); if (state.failed) return ; |
|
171 |
|
|
172 |
} |
|
173 |
|
|
174 |
state.type = _type; |
|
175 |
state.channel = _channel; |
|
176 |
} |
|
177 |
finally { |
|
178 |
// do for sure before leaving |
|
179 |
} |
|
180 |
} |
|
181 |
// $ANTLR end "T__118" |
|
182 |
|
|
183 |
// $ANTLR start "T__119" |
|
184 |
public final void mT__119() throws RecognitionException { |
|
185 |
try { |
|
186 |
int _type = T__119; |
|
187 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
188 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:13:8: ( '::' ) |
|
189 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:13:10: '::' |
|
190 |
{ |
|
191 |
match("::"); if (state.failed) return ; |
|
192 |
|
|
193 |
|
|
194 |
|
|
195 |
} |
|
196 |
|
|
197 |
state.type = _type; |
|
198 |
state.channel = _channel; |
|
199 |
} |
|
200 |
finally { |
|
201 |
// do for sure before leaving |
|
202 |
} |
|
203 |
} |
|
204 |
// $ANTLR end "T__119" |
|
205 |
|
|
206 |
// $ANTLR start "T__120" |
|
207 |
public final void mT__120() throws RecognitionException { |
|
208 |
try { |
|
209 |
int _type = T__120; |
|
210 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
211 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:14:8: ( ']|' ) |
|
212 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:14:10: ']|' |
|
213 |
{ |
|
214 |
match("]|"); if (state.failed) return ; |
|
215 |
|
|
216 |
|
|
217 |
|
|
218 |
} |
|
219 |
|
|
220 |
state.type = _type; |
|
221 |
state.channel = _channel; |
|
222 |
} |
|
223 |
finally { |
|
224 |
// do for sure before leaving |
|
225 |
} |
|
226 |
} |
|
227 |
// $ANTLR end "T__120" |
|
228 |
|
|
229 |
// $ANTLR start "T__121" |
|
230 |
public final void mT__121() throws RecognitionException { |
|
231 |
try { |
|
232 |
int _type = T__121; |
|
233 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
234 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:15:8: ( 'as' ) |
|
235 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:15:10: 'as' |
|
236 |
{ |
|
237 |
match("as"); if (state.failed) return ; |
|
238 |
|
|
239 |
|
|
240 |
|
|
241 |
} |
|
242 |
|
|
243 |
state.type = _type; |
|
244 |
state.channel = _channel; |
|
245 |
} |
|
246 |
finally { |
|
247 |
// do for sure before leaving |
|
248 |
} |
|
249 |
} |
|
250 |
// $ANTLR end "T__121" |
|
251 |
|
|
252 |
// $ANTLR start "T__122" |
|
253 |
public final void mT__122() throws RecognitionException { |
|
254 |
try { |
|
255 |
int _type = T__122; |
|
256 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
257 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:16:8: ( 'begin' ) |
|
258 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:16:10: 'begin' |
|
259 |
{ |
|
260 |
match("begin"); if (state.failed) return ; |
|
261 |
|
|
262 |
|
|
263 |
|
|
264 |
} |
|
265 |
|
|
266 |
state.type = _type; |
|
267 |
state.channel = _channel; |
|
268 |
} |
|
269 |
finally { |
|
270 |
// do for sure before leaving |
|
271 |
} |
|
272 |
} |
|
273 |
// $ANTLR end "T__122" |
|
274 |
|
|
275 |
// $ANTLR start "T__123" |
|
276 |
public final void mT__123() throws RecognitionException { |
|
277 |
try { |
|
278 |
int _type = T__123; |
|
279 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
280 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:17:8: ( 'dec' ) |
|
281 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:17:10: 'dec' |
|
282 |
{ |
|
283 |
match("dec"); if (state.failed) return ; |
|
284 |
|
|
285 |
|
|
286 |
|
|
287 |
} |
|
288 |
|
|
289 |
state.type = _type; |
|
290 |
state.channel = _channel; |
|
291 |
} |
|
292 |
finally { |
|
293 |
// do for sure before leaving |
|
294 |
} |
|
295 |
} |
|
296 |
// $ANTLR end "T__123" |
|
297 |
|
|
298 |
// $ANTLR start "T__124" |
|
299 |
public final void mT__124() throws RecognitionException { |
|
300 |
try { |
|
301 |
int _type = T__124; |
|
302 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
303 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:18:8: ( 'inc' ) |
|
304 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:18:10: 'inc' |
|
305 |
{ |
|
306 |
match("inc"); if (state.failed) return ; |
|
307 |
|
|
308 |
|
|
309 |
|
|
310 |
} |
|
311 |
|
|
312 |
state.type = _type; |
|
313 |
state.channel = _channel; |
|
314 |
} |
|
315 |
finally { |
|
316 |
// do for sure before leaving |
|
317 |
} |
|
318 |
} |
|
319 |
// $ANTLR end "T__124" |
|
320 |
|
|
321 |
// $ANTLR start "T__125" |
|
322 |
public final void mT__125() throws RecognitionException { |
|
323 |
try { |
|
324 |
int _type = T__125; |
|
325 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
326 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:19:8: ( 'qval' ) |
|
327 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:19:10: 'qval' |
|
328 |
{ |
|
329 |
match("qval"); if (state.failed) return ; |
|
330 |
|
|
331 |
|
|
332 |
|
|
333 |
} |
|
334 |
|
|
335 |
state.type = _type; |
|
336 |
state.channel = _channel; |
|
337 |
} |
|
338 |
finally { |
|
339 |
// do for sure before leaving |
|
340 |
} |
|
341 |
} |
|
342 |
// $ANTLR end "T__125" |
|
343 |
|
|
344 |
// $ANTLR start "T__126" |
|
345 |
public final void mT__126() throws RecognitionException { |
|
346 |
try { |
|
347 |
int _type = T__126; |
|
348 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
349 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:20:8: ( 'steady' ) |
|
350 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:20:10: 'steady' |
|
351 |
{ |
|
352 |
match("steady"); if (state.failed) return ; |
|
353 |
|
|
354 |
|
|
355 |
|
|
356 |
} |
|
357 |
|
|
358 |
state.type = _type; |
|
359 |
state.channel = _channel; |
|
360 |
} |
|
361 |
finally { |
|
362 |
// do for sure before leaving |
|
363 |
} |
|
364 |
} |
|
365 |
// $ANTLR end "T__126" |
|
366 |
|
|
367 |
// $ANTLR start "T__127" |
|
368 |
public final void mT__127() throws RecognitionException { |
|
369 |
try { |
|
370 |
int _type = T__127; |
|
371 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
372 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:21:8: ( '|[' ) |
|
373 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:21:10: '|[' |
|
374 |
{ |
|
375 |
match("|["); if (state.failed) return ; |
|
376 |
|
|
377 |
|
|
378 |
|
|
379 |
} |
|
380 |
|
|
381 |
state.type = _type; |
|
382 |
state.channel = _channel; |
|
383 |
} |
|
384 |
finally { |
|
385 |
// do for sure before leaving |
|
386 |
} |
|
387 |
} |
|
388 |
// $ANTLR end "T__127" |
|
389 |
|
|
390 |
// $ANTLR start "T_WS" |
|
391 |
public final void mT_WS() throws RecognitionException { |
|
392 |
try { |
|
393 |
int _type = T_WS; |
|
394 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
395 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1030:8: ( ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' ) ) |
|
396 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1030:10: ( ' ' | '\\r' | '\\t' | '\\u000C' | '\\n' ) |
|
397 |
{ |
|
398 |
if ( (input.LA(1) >= '\t' && input.LA(1) <= '\n')||(input.LA(1) >= '\f' && input.LA(1) <= '\r')||input.LA(1)==' ' ) { |
|
399 |
input.consume(); |
|
400 |
state.failed=false; |
|
401 |
} |
|
402 |
else { |
|
403 |
if (state.backtracking>0) {state.failed=true; return ;} |
|
404 |
MismatchedSetException mse = new MismatchedSetException(null,input); |
|
405 |
recover(mse); |
|
406 |
throw mse; |
|
407 |
} |
|
408 |
|
|
409 |
|
|
410 |
if ( state.backtracking==0 ) {_channel=HIDDEN;} |
|
411 |
|
|
412 |
} |
|
413 |
|
|
414 |
state.type = _type; |
|
415 |
state.channel = _channel; |
|
416 |
} |
|
417 |
finally { |
|
418 |
// do for sure before leaving |
|
419 |
} |
|
420 |
} |
|
421 |
// $ANTLR end "T_WS" |
|
422 |
|
|
423 |
// $ANTLR start "T_COMMENT" |
|
424 |
public final void mT_COMMENT() throws RecognitionException { |
|
425 |
try { |
|
426 |
int _type = T_COMMENT; |
|
427 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
428 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1034:6: ( '/*' ( . )* '*/' ) |
|
429 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1034:8: '/*' ( . )* '*/' |
|
430 |
{ |
|
431 |
match("/*"); if (state.failed) return ; |
|
432 |
|
|
433 |
|
|
434 |
|
|
435 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1034:13: ( . )* |
|
436 |
loop1: |
|
437 |
do { |
|
438 |
int alt1=2; |
|
439 |
int LA1_0 = input.LA(1); |
|
440 |
|
|
441 |
if ( (LA1_0=='*') ) { |
|
442 |
int LA1_1 = input.LA(2); |
|
443 |
|
|
444 |
if ( (LA1_1=='/') ) { |
|
445 |
alt1=2; |
|
446 |
} |
|
447 |
else if ( ((LA1_1 >= '\u0000' && LA1_1 <= '.')||(LA1_1 >= '0' && LA1_1 <= '\uFFFF')) ) { |
|
448 |
alt1=1; |
|
449 |
} |
|
450 |
|
|
451 |
|
|
452 |
} |
|
453 |
else if ( ((LA1_0 >= '\u0000' && LA1_0 <= ')')||(LA1_0 >= '+' && LA1_0 <= '\uFFFF')) ) { |
|
454 |
alt1=1; |
|
455 |
} |
|
456 |
|
|
457 |
|
|
458 |
switch (alt1) { |
|
459 |
case 1 : |
|
460 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1034:13: . |
|
461 |
{ |
|
462 |
matchAny(); if (state.failed) return ; |
|
463 |
|
|
464 |
} |
|
465 |
break; |
|
466 |
|
|
467 |
default : |
|
468 |
break loop1; |
|
469 |
} |
|
470 |
} while (true); |
|
471 |
|
|
472 |
|
|
473 |
match("*/"); if (state.failed) return ; |
|
474 |
|
|
475 |
|
|
476 |
|
|
477 |
if ( state.backtracking==0 ) {_channel=HIDDEN;} |
|
478 |
|
|
479 |
} |
|
480 |
|
|
481 |
state.type = _type; |
|
482 |
state.channel = _channel; |
|
483 |
} |
|
484 |
finally { |
|
485 |
// do for sure before leaving |
|
486 |
} |
|
487 |
} |
|
488 |
// $ANTLR end "T_COMMENT" |
|
489 |
|
|
490 |
// $ANTLR start "LINE_COMMENT" |
|
491 |
public final void mLINE_COMMENT() throws RecognitionException { |
|
492 |
try { |
|
493 |
int _type = LINE_COMMENT; |
|
494 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
495 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1038:6: ( '#' (~ ( '\\n' | '\\r' ) )* ( '\\r' )? '\\n' ) |
|
496 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1038:8: '#' (~ ( '\\n' | '\\r' ) )* ( '\\r' )? '\\n' |
|
497 |
{ |
|
498 |
match('#'); if (state.failed) return ; |
|
499 |
|
|
500 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1038:12: (~ ( '\\n' | '\\r' ) )* |
|
501 |
loop2: |
|
502 |
do { |
|
503 |
int alt2=2; |
|
504 |
int LA2_0 = input.LA(1); |
|
505 |
|
|
506 |
if ( ((LA2_0 >= '\u0000' && LA2_0 <= '\t')||(LA2_0 >= '\u000B' && LA2_0 <= '\f')||(LA2_0 >= '\u000E' && LA2_0 <= '\uFFFF')) ) { |
|
507 |
alt2=1; |
|
508 |
} |
|
509 |
|
|
510 |
|
|
511 |
switch (alt2) { |
|
512 |
case 1 : |
|
513 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g: |
|
514 |
{ |
|
515 |
if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '\t')||(input.LA(1) >= '\u000B' && input.LA(1) <= '\f')||(input.LA(1) >= '\u000E' && input.LA(1) <= '\uFFFF') ) { |
|
516 |
input.consume(); |
|
517 |
state.failed=false; |
|
518 |
} |
|
519 |
else { |
|
520 |
if (state.backtracking>0) {state.failed=true; return ;} |
|
521 |
MismatchedSetException mse = new MismatchedSetException(null,input); |
|
522 |
recover(mse); |
|
523 |
throw mse; |
|
524 |
} |
|
525 |
|
|
526 |
|
|
527 |
} |
|
528 |
break; |
|
529 |
|
|
530 |
default : |
|
531 |
break loop2; |
|
532 |
} |
|
533 |
} while (true); |
|
534 |
|
|
535 |
|
|
536 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1038:26: ( '\\r' )? |
|
537 |
int alt3=2; |
|
538 |
int LA3_0 = input.LA(1); |
|
539 |
|
|
540 |
if ( (LA3_0=='\r') ) { |
|
541 |
alt3=1; |
|
542 |
} |
|
543 |
switch (alt3) { |
|
544 |
case 1 : |
|
545 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1038:26: '\\r' |
|
546 |
{ |
|
547 |
match('\r'); if (state.failed) return ; |
|
548 |
|
|
549 |
} |
|
550 |
break; |
|
551 |
|
|
552 |
} |
|
553 |
|
|
554 |
|
|
555 |
match('\n'); if (state.failed) return ; |
|
556 |
|
|
557 |
if ( state.backtracking==0 ) {_channel=HIDDEN;} |
|
558 |
|
|
559 |
} |
|
560 |
|
|
561 |
state.type = _type; |
|
562 |
state.channel = _channel; |
|
563 |
} |
|
564 |
finally { |
|
565 |
// do for sure before leaving |
|
566 |
} |
|
567 |
} |
|
568 |
// $ANTLR end "LINE_COMMENT" |
|
569 |
|
|
570 |
// $ANTLR start "T_PRIMED" |
|
571 |
public final void mT_PRIMED() throws RecognitionException { |
|
572 |
try { |
|
573 |
int _type = T_PRIMED; |
|
574 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
575 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1042:2: ( '\\'' ) |
|
576 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1042:4: '\\'' |
|
577 |
{ |
|
578 |
match('\''); if (state.failed) return ; |
|
579 |
|
|
580 |
} |
|
581 |
|
|
582 |
state.type = _type; |
|
583 |
state.channel = _channel; |
|
584 |
} |
|
585 |
finally { |
|
586 |
// do for sure before leaving |
|
587 |
} |
|
588 |
} |
|
589 |
// $ANTLR end "T_PRIMED" |
|
590 |
|
|
591 |
// $ANTLR start "T_STRINGLITERAL" |
|
592 |
public final void mT_STRINGLITERAL() throws RecognitionException { |
|
593 |
try { |
|
594 |
int _type = T_STRINGLITERAL; |
|
595 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
596 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1045:2: ( '\"' ( ( '\"' '\"' )=> '\"' |~ '\"' )* '\"' ) |
|
597 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1045:4: '\"' ( ( '\"' '\"' )=> '\"' |~ '\"' )* '\"' |
|
598 |
{ |
|
599 |
match('\"'); if (state.failed) return ; |
|
600 |
|
|
601 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1046:3: ( ( '\"' '\"' )=> '\"' |~ '\"' )* |
|
602 |
loop4: |
|
603 |
do { |
|
604 |
int alt4=3; |
|
605 |
int LA4_0 = input.LA(1); |
|
606 |
|
|
607 |
if ( (LA4_0=='\"') ) { |
|
608 |
int LA4_1 = input.LA(2); |
|
609 |
|
|
610 |
if ( (LA4_1=='\"') && (synpred1_ooa())) { |
|
611 |
alt4=1; |
|
612 |
} |
|
613 |
else if ( ((LA4_1 >= '\u0000' && LA4_1 <= '!')||(LA4_1 >= '#' && LA4_1 <= '\uFFFF')) && (synpred1_ooa())) { |
|
614 |
alt4=1; |
|
615 |
} |
|
616 |
|
|
617 |
|
|
618 |
} |
|
619 |
else if ( ((LA4_0 >= '\u0000' && LA4_0 <= '!')||(LA4_0 >= '#' && LA4_0 <= '\uFFFF')) ) { |
|
620 |
alt4=2; |
|
621 |
} |
|
622 |
|
|
623 |
|
|
624 |
switch (alt4) { |
|
625 |
case 1 : |
|
626 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1047:9: ( '\"' '\"' )=> '\"' |
|
627 |
{ |
|
628 |
match('\"'); if (state.failed) return ; |
|
629 |
|
|
630 |
} |
|
631 |
break; |
|
632 |
case 2 : |
|
633 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1048:13: ~ '\"' |
|
634 |
{ |
|
635 |
if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '!')||(input.LA(1) >= '#' && input.LA(1) <= '\uFFFF') ) { |
|
636 |
input.consume(); |
|
637 |
state.failed=false; |
|
638 |
} |
|
639 |
else { |
|
640 |
if (state.backtracking>0) {state.failed=true; return ;} |
|
641 |
MismatchedSetException mse = new MismatchedSetException(null,input); |
|
642 |
recover(mse); |
|
643 |
throw mse; |
|
644 |
} |
|
645 |
|
|
646 |
|
|
647 |
} |
|
648 |
break; |
|
649 |
|
|
650 |
default : |
|
651 |
break loop4; |
|
652 |
} |
|
653 |
} while (true); |
|
654 |
|
|
655 |
|
|
656 |
match('\"'); if (state.failed) return ; |
|
657 |
|
|
658 |
} |
|
659 |
|
|
660 |
state.type = _type; |
|
661 |
state.channel = _channel; |
|
662 |
} |
|
663 |
finally { |
|
664 |
// do for sure before leaving |
|
665 |
} |
|
666 |
} |
|
667 |
// $ANTLR end "T_STRINGLITERAL" |
|
668 |
|
|
669 |
// $ANTLR start "T_ABORT" |
|
670 |
public final void mT_ABORT() throws RecognitionException { |
|
671 |
try { |
|
672 |
int _type = T_ABORT; |
|
673 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
674 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1054:9: ( 'abort' ) |
|
675 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1054:11: 'abort' |
|
676 |
{ |
|
677 |
match("abort"); if (state.failed) return ; |
|
678 |
|
|
679 |
|
|
680 |
|
|
681 |
} |
|
682 |
|
|
683 |
state.type = _type; |
|
684 |
state.channel = _channel; |
|
685 |
} |
|
686 |
finally { |
|
687 |
// do for sure before leaving |
|
688 |
} |
|
689 |
} |
|
690 |
// $ANTLR end "T_ABORT" |
|
691 |
|
|
692 |
// $ANTLR start "T_ACTIONS" |
|
693 |
public final void mT_ACTIONS() throws RecognitionException { |
|
694 |
try { |
|
695 |
int _type = T_ACTIONS; |
|
696 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
697 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1056:2: ( 'actions' ) |
|
698 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1056:4: 'actions' |
|
699 |
{ |
|
700 |
match("actions"); if (state.failed) return ; |
|
701 |
|
|
702 |
|
|
703 |
|
|
704 |
} |
|
705 |
|
|
706 |
state.type = _type; |
|
707 |
state.channel = _channel; |
|
708 |
} |
|
709 |
finally { |
|
710 |
// do for sure before leaving |
|
711 |
} |
|
712 |
} |
|
713 |
// $ANTLR end "T_ACTIONS" |
|
714 |
|
|
715 |
// $ANTLR start "T_ASSIGNMENT" |
|
716 |
public final void mT_ASSIGNMENT() throws RecognitionException { |
|
717 |
try { |
|
718 |
int _type = T_ASSIGNMENT; |
|
719 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
720 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1058:2: ( ':=' ) |
|
721 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1058:4: ':=' |
|
722 |
{ |
|
723 |
match(":="); if (state.failed) return ; |
|
724 |
|
|
725 |
|
|
726 |
|
|
727 |
} |
|
728 |
|
|
729 |
state.type = _type; |
|
730 |
state.channel = _channel; |
|
731 |
} |
|
732 |
finally { |
|
733 |
// do for sure before leaving |
|
734 |
} |
|
735 |
} |
|
736 |
// $ANTLR end "T_ASSIGNMENT" |
|
737 |
|
|
738 |
// $ANTLR start "T_AUTOCONS" |
|
739 |
public final void mT_AUTOCONS() throws RecognitionException { |
|
740 |
try { |
|
741 |
int _type = T_AUTOCONS; |
|
742 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
743 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1059:11: ( 'autocons' ) |
|
744 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1059:13: 'autocons' |
|
745 |
{ |
|
746 |
match("autocons"); if (state.failed) return ; |
|
747 |
|
|
748 |
|
|
749 |
|
|
750 |
} |
|
751 |
|
|
752 |
state.type = _type; |
|
753 |
state.channel = _channel; |
|
754 |
} |
|
755 |
finally { |
|
756 |
// do for sure before leaving |
|
757 |
} |
|
758 |
} |
|
759 |
// $ANTLR end "T_AUTOCONS" |
|
760 |
|
|
761 |
// $ANTLR start "T_BAR" |
|
762 |
public final void mT_BAR() throws RecognitionException { |
|
763 |
try { |
|
764 |
int _type = T_BAR; |
|
765 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
766 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1060:7: ( '|' ) |
|
767 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1060:9: '|' |
|
768 |
{ |
|
769 |
match('|'); if (state.failed) return ; |
|
770 |
|
|
771 |
} |
|
772 |
|
|
773 |
state.type = _type; |
|
774 |
state.channel = _channel; |
|
775 |
} |
|
776 |
finally { |
|
777 |
// do for sure before leaving |
|
778 |
} |
|
779 |
} |
|
780 |
// $ANTLR end "T_BAR" |
|
781 |
|
|
782 |
// $ANTLR start "T_BOOL" |
|
783 |
public final void mT_BOOL() throws RecognitionException { |
|
784 |
try { |
|
785 |
int _type = T_BOOL; |
|
786 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
787 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1061:8: ( 'bool' ) |
|
788 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1061:10: 'bool' |
|
789 |
{ |
|
790 |
match("bool"); if (state.failed) return ; |
|
791 |
|
|
792 |
|
|
793 |
|
|
794 |
} |
|
795 |
|
|
796 |
state.type = _type; |
|
797 |
state.channel = _channel; |
|
798 |
} |
|
799 |
finally { |
|
800 |
// do for sure before leaving |
|
801 |
} |
|
802 |
} |
|
803 |
// $ANTLR end "T_BOOL" |
|
804 |
|
|
805 |
// $ANTLR start "T_CBRL" |
|
806 |
public final void mT_CBRL() throws RecognitionException { |
|
807 |
try { |
|
808 |
int _type = T_CBRL; |
|
809 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
810 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1062:8: ( '{' ) |
|
811 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1062:10: '{' |
|
812 |
{ |
|
813 |
match('{'); if (state.failed) return ; |
|
814 |
|
|
815 |
} |
|
816 |
|
|
817 |
state.type = _type; |
|
818 |
state.channel = _channel; |
|
819 |
} |
|
820 |
finally { |
|
821 |
// do for sure before leaving |
|
822 |
} |
|
823 |
} |
|
824 |
// $ANTLR end "T_CBRL" |
|
825 |
|
|
826 |
// $ANTLR start "T_CBRR" |
|
827 |
public final void mT_CBRR() throws RecognitionException { |
|
828 |
try { |
|
829 |
int _type = T_CBRR; |
|
830 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
831 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1063:8: ( '}' ) |
|
832 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1063:10: '}' |
|
833 |
{ |
|
834 |
match('}'); if (state.failed) return ; |
|
835 |
|
|
836 |
} |
|
837 |
|
|
838 |
state.type = _type; |
|
839 |
state.channel = _channel; |
|
840 |
} |
|
841 |
finally { |
|
842 |
// do for sure before leaving |
|
843 |
} |
|
844 |
} |
|
845 |
// $ANTLR end "T_CBRR" |
|
846 |
|
|
847 |
// $ANTLR start "T_COLON" |
|
848 |
public final void mT_COLON() throws RecognitionException { |
|
849 |
try { |
|
850 |
int _type = T_COLON; |
|
851 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
852 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1064:9: ( ':' ) |
|
853 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1064:11: ':' |
|
854 |
{ |
|
855 |
match(':'); if (state.failed) return ; |
|
856 |
|
|
857 |
} |
|
858 |
|
|
859 |
state.type = _type; |
|
860 |
state.channel = _channel; |
|
861 |
} |
|
862 |
finally { |
|
863 |
// do for sure before leaving |
|
864 |
} |
|
865 |
} |
|
866 |
// $ANTLR end "T_COLON" |
|
867 |
|
|
868 |
// $ANTLR start "T_COMMA" |
|
869 |
public final void mT_COMMA() throws RecognitionException { |
|
870 |
try { |
|
871 |
int _type = T_COMMA; |
|
872 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
873 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1065:9: ( ',' ) |
|
874 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1065:11: ',' |
|
875 |
{ |
|
876 |
match(','); if (state.failed) return ; |
|
877 |
|
|
878 |
} |
|
879 |
|
|
880 |
state.type = _type; |
|
881 |
state.channel = _channel; |
|
882 |
} |
|
883 |
finally { |
|
884 |
// do for sure before leaving |
|
885 |
} |
|
886 |
} |
|
887 |
// $ANTLR end "T_COMMA" |
|
888 |
|
|
889 |
// $ANTLR start "T_CONT" |
|
890 |
public final void mT_CONT() throws RecognitionException { |
|
891 |
try { |
|
892 |
int _type = T_CONT; |
|
893 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
894 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1066:8: ( 'qual' ) |
|
895 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1066:10: 'qual' |
|
896 |
{ |
|
897 |
match("qual"); if (state.failed) return ; |
|
898 |
|
|
899 |
|
|
900 |
|
|
901 |
} |
|
902 |
|
|
903 |
state.type = _type; |
|
904 |
state.channel = _channel; |
|
905 |
} |
|
906 |
finally { |
|
907 |
// do for sure before leaving |
|
908 |
} |
|
909 |
} |
|
910 |
// $ANTLR end "T_CONT" |
|
911 |
|
|
912 |
// $ANTLR start "T_CHAR" |
|
913 |
public final void mT_CHAR() throws RecognitionException { |
|
914 |
try { |
|
915 |
int _type = T_CHAR; |
|
916 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
917 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1067:8: ( 'char' ) |
|
918 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1067:10: 'char' |
|
919 |
{ |
|
920 |
match("char"); if (state.failed) return ; |
|
921 |
|
|
922 |
|
|
923 |
|
|
924 |
} |
|
925 |
|
|
926 |
state.type = _type; |
|
927 |
state.channel = _channel; |
|
928 |
} |
|
929 |
finally { |
|
930 |
// do for sure before leaving |
|
931 |
} |
|
932 |
} |
|
933 |
// $ANTLR end "T_CHAR" |
|
934 |
|
|
935 |
// $ANTLR start "T_CTRL" |
|
936 |
public final void mT_CTRL() throws RecognitionException { |
|
937 |
try { |
|
938 |
int _type = T_CTRL; |
|
939 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
940 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1068:9: ( 'ctr' ) |
|
941 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1068:11: 'ctr' |
|
942 |
{ |
|
943 |
match("ctr"); if (state.failed) return ; |
|
944 |
|
|
945 |
|
|
946 |
|
|
947 |
} |
|
948 |
|
|
949 |
state.type = _type; |
|
950 |
state.channel = _channel; |
|
951 |
} |
|
952 |
finally { |
|
953 |
// do for sure before leaving |
|
954 |
} |
|
955 |
} |
|
956 |
// $ANTLR end "T_CTRL" |
|
957 |
|
|
958 |
// $ANTLR start "T_SYSTEM" |
|
959 |
public final void mT_SYSTEM() throws RecognitionException { |
|
960 |
try { |
|
961 |
int _type = T_SYSTEM; |
|
962 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
963 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1070:2: ( 'system' ) |
|
964 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1070:4: 'system' |
|
965 |
{ |
|
966 |
match("system"); if (state.failed) return ; |
|
967 |
|
|
968 |
|
|
969 |
|
|
970 |
} |
|
971 |
|
|
972 |
state.type = _type; |
|
973 |
state.channel = _channel; |
|
974 |
} |
|
975 |
finally { |
|
976 |
// do for sure before leaving |
|
977 |
} |
|
978 |
} |
|
979 |
// $ANTLR end "T_SYSTEM" |
|
980 |
|
|
981 |
// $ANTLR start "T_DO" |
|
982 |
public final void mT_DO() throws RecognitionException { |
|
983 |
try { |
|
984 |
int _type = T_DO; |
|
985 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
986 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1071:6: ( 'do' ) |
|
987 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1071:8: 'do' |
|
988 |
{ |
|
989 |
match("do"); if (state.failed) return ; |
|
990 |
|
|
991 |
|
|
992 |
|
|
993 |
} |
|
994 |
|
|
995 |
state.type = _type; |
|
996 |
state.channel = _channel; |
|
997 |
} |
|
998 |
finally { |
|
999 |
// do for sure before leaving |
|
1000 |
} |
|
1001 |
} |
|
1002 |
// $ANTLR end "T_DO" |
|
1003 |
|
|
1004 |
// $ANTLR start "T_ELSE" |
|
1005 |
public final void mT_ELSE() throws RecognitionException { |
|
1006 |
try { |
|
1007 |
int _type = T_ELSE; |
|
1008 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1009 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1072:8: ( 'else' ) |
|
1010 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1072:10: 'else' |
|
1011 |
{ |
|
1012 |
match("else"); if (state.failed) return ; |
|
1013 |
|
|
1014 |
|
|
1015 |
|
|
1016 |
} |
|
1017 |
|
|
1018 |
state.type = _type; |
|
1019 |
state.channel = _channel; |
|
1020 |
} |
|
1021 |
finally { |
|
1022 |
// do for sure before leaving |
|
1023 |
} |
|
1024 |
} |
|
1025 |
// $ANTLR end "T_ELSE" |
|
1026 |
|
|
1027 |
// $ANTLR start "T_END" |
|
1028 |
public final void mT_END() throws RecognitionException { |
|
1029 |
try { |
|
1030 |
int _type = T_END; |
|
1031 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1032 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1073:7: ( 'end' ) |
|
1033 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1073:9: 'end' |
|
1034 |
{ |
|
1035 |
match("end"); if (state.failed) return ; |
|
1036 |
|
|
1037 |
|
|
1038 |
|
|
1039 |
} |
|
1040 |
|
|
1041 |
state.type = _type; |
|
1042 |
state.channel = _channel; |
|
1043 |
} |
|
1044 |
finally { |
|
1045 |
// do for sure before leaving |
|
1046 |
} |
|
1047 |
} |
|
1048 |
// $ANTLR end "T_END" |
|
1049 |
|
|
1050 |
// $ANTLR start "T_EQUAL" |
|
1051 |
public final void mT_EQUAL() throws RecognitionException { |
|
1052 |
try { |
|
1053 |
int _type = T_EQUAL; |
|
1054 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1055 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1074:9: ( '=' ) |
|
1056 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1074:11: '=' |
|
1057 |
{ |
|
1058 |
match('='); if (state.failed) return ; |
|
1059 |
|
|
1060 |
} |
|
1061 |
|
|
1062 |
state.type = _type; |
|
1063 |
state.channel = _channel; |
|
1064 |
} |
|
1065 |
finally { |
|
1066 |
// do for sure before leaving |
|
1067 |
} |
|
1068 |
} |
|
1069 |
// $ANTLR end "T_EQUAL" |
|
1070 |
|
|
1071 |
// $ANTLR start "T_EXISTS" |
|
1072 |
public final void mT_EXISTS() throws RecognitionException { |
|
1073 |
try { |
|
1074 |
int _type = T_EXISTS; |
|
1075 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1076 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1075:9: ( 'exists' ) |
|
1077 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1075:11: 'exists' |
|
1078 |
{ |
|
1079 |
match("exists"); if (state.failed) return ; |
|
1080 |
|
|
1081 |
|
|
1082 |
|
|
1083 |
} |
|
1084 |
|
|
1085 |
state.type = _type; |
|
1086 |
state.channel = _channel; |
|
1087 |
} |
|
1088 |
finally { |
|
1089 |
// do for sure before leaving |
|
1090 |
} |
|
1091 |
} |
|
1092 |
// $ANTLR end "T_EXISTS" |
|
1093 |
|
|
1094 |
// $ANTLR start "T_FLOAT" |
|
1095 |
public final void mT_FLOAT() throws RecognitionException { |
|
1096 |
try { |
|
1097 |
int _type = T_FLOAT; |
|
1098 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1099 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1076:9: ( 'float' ) |
|
1100 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1076:11: 'float' |
|
1101 |
{ |
|
1102 |
match("float"); if (state.failed) return ; |
|
1103 |
|
|
1104 |
|
|
1105 |
|
|
1106 |
} |
|
1107 |
|
|
1108 |
state.type = _type; |
|
1109 |
state.channel = _channel; |
|
1110 |
} |
|
1111 |
finally { |
|
1112 |
// do for sure before leaving |
|
1113 |
} |
|
1114 |
} |
|
1115 |
// $ANTLR end "T_FLOAT" |
|
1116 |
|
|
1117 |
// $ANTLR start "T_FORALL" |
|
1118 |
public final void mT_FORALL() throws RecognitionException { |
|
1119 |
try { |
|
1120 |
int _type = T_FORALL; |
|
1121 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1122 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1077:9: ( 'forall' ) |
|
1123 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1077:11: 'forall' |
|
1124 |
{ |
|
1125 |
match("forall"); if (state.failed) return ; |
|
1126 |
|
|
1127 |
|
|
1128 |
|
|
1129 |
} |
|
1130 |
|
|
1131 |
state.type = _type; |
|
1132 |
state.channel = _channel; |
|
1133 |
} |
|
1134 |
finally { |
|
1135 |
// do for sure before leaving |
|
1136 |
} |
|
1137 |
} |
|
1138 |
// $ANTLR end "T_FORALL" |
|
1139 |
|
|
1140 |
// $ANTLR start "T_FALSE" |
|
1141 |
public final void mT_FALSE() throws RecognitionException { |
|
1142 |
try { |
|
1143 |
int _type = T_FALSE; |
|
1144 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1145 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1078:9: ( 'false' ) |
|
1146 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1078:11: 'false' |
|
1147 |
{ |
|
1148 |
match("false"); if (state.failed) return ; |
|
1149 |
|
|
1150 |
|
|
1151 |
|
|
1152 |
} |
|
1153 |
|
|
1154 |
state.type = _type; |
|
1155 |
state.channel = _channel; |
|
1156 |
} |
|
1157 |
finally { |
|
1158 |
// do for sure before leaving |
|
1159 |
} |
|
1160 |
} |
|
1161 |
// $ANTLR end "T_FALSE" |
|
1162 |
|
|
1163 |
// $ANTLR start "T_IF" |
|
1164 |
public final void mT_IF() throws RecognitionException { |
|
1165 |
try { |
|
1166 |
int _type = T_IF; |
|
1167 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1168 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1079:6: ( 'if' ) |
|
1169 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1079:8: 'if' |
|
1170 |
{ |
|
1171 |
match("if"); if (state.failed) return ; |
|
1172 |
|
|
1173 |
|
|
1174 |
|
|
1175 |
} |
|
1176 |
|
|
1177 |
state.type = _type; |
|
1178 |
state.channel = _channel; |
|
1179 |
} |
|
1180 |
finally { |
|
1181 |
// do for sure before leaving |
|
1182 |
} |
|
1183 |
} |
|
1184 |
// $ANTLR end "T_IF" |
|
1185 |
|
|
1186 |
// $ANTLR start "T_IN" |
|
1187 |
public final void mT_IN() throws RecognitionException { |
|
1188 |
try { |
|
1189 |
int _type = T_IN; |
|
1190 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1191 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1080:6: ( 'in' ) |
|
1192 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1080:8: 'in' |
|
1193 |
{ |
|
1194 |
match("in"); if (state.failed) return ; |
|
1195 |
|
|
1196 |
|
|
1197 |
|
|
1198 |
} |
|
1199 |
|
|
1200 |
state.type = _type; |
|
1201 |
state.channel = _channel; |
|
1202 |
} |
|
1203 |
finally { |
|
1204 |
// do for sure before leaving |
|
1205 |
} |
|
1206 |
} |
|
1207 |
// $ANTLR end "T_IN" |
|
1208 |
|
|
1209 |
// $ANTLR start "T_INT" |
|
1210 |
public final void mT_INT() throws RecognitionException { |
|
1211 |
try { |
|
1212 |
int _type = T_INT; |
|
1213 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1214 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1081:7: ( 'int' ) |
|
1215 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1081:9: 'int' |
|
1216 |
{ |
|
1217 |
match("int"); if (state.failed) return ; |
|
1218 |
|
|
1219 |
|
|
1220 |
|
|
1221 |
} |
|
1222 |
|
|
1223 |
state.type = _type; |
|
1224 |
state.channel = _channel; |
|
1225 |
} |
|
1226 |
finally { |
|
1227 |
// do for sure before leaving |
|
1228 |
} |
|
1229 |
} |
|
1230 |
// $ANTLR end "T_INT" |
|
1231 |
|
|
1232 |
// $ANTLR start "T_KILL" |
|
1233 |
public final void mT_KILL() throws RecognitionException { |
|
1234 |
try { |
|
1235 |
int _type = T_KILL; |
|
1236 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1237 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1082:8: ( 'kill' ) |
|
1238 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1082:10: 'kill' |
|
1239 |
{ |
|
1240 |
match("kill"); if (state.failed) return ; |
|
1241 |
|
|
1242 |
|
|
1243 |
|
|
1244 |
} |
|
1245 |
|
|
1246 |
state.type = _type; |
|
1247 |
state.channel = _channel; |
|
1248 |
} |
|
1249 |
finally { |
|
1250 |
// do for sure before leaving |
|
1251 |
} |
|
1252 |
} |
|
1253 |
// $ANTLR end "T_KILL" |
|
1254 |
|
|
1255 |
// $ANTLR start "T_LIST" |
|
1256 |
public final void mT_LIST() throws RecognitionException { |
|
1257 |
try { |
|
1258 |
int _type = T_LIST; |
|
1259 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1260 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1083:8: ( 'list' ) |
|
1261 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1083:10: 'list' |
|
1262 |
{ |
|
1263 |
match("list"); if (state.failed) return ; |
|
1264 |
|
|
1265 |
|
|
1266 |
|
|
1267 |
} |
|
1268 |
|
|
1269 |
state.type = _type; |
|
1270 |
state.channel = _channel; |
|
1271 |
} |
|
1272 |
finally { |
|
1273 |
// do for sure before leaving |
|
1274 |
} |
|
1275 |
} |
|
1276 |
// $ANTLR end "T_LIST" |
|
1277 |
|
|
1278 |
// $ANTLR start "T_LPAREN" |
|
1279 |
public final void mT_LPAREN() throws RecognitionException { |
|
1280 |
try { |
|
1281 |
int _type = T_LPAREN; |
|
1282 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1283 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1084:9: ( '(' ) |
|
1284 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1084:11: '(' |
|
1285 |
{ |
|
1286 |
match('('); if (state.failed) return ; |
|
1287 |
|
|
1288 |
} |
|
1289 |
|
|
1290 |
state.type = _type; |
|
1291 |
state.channel = _channel; |
|
1292 |
} |
|
1293 |
finally { |
|
1294 |
// do for sure before leaving |
|
1295 |
} |
|
1296 |
} |
|
1297 |
// $ANTLR end "T_LPAREN" |
|
1298 |
|
|
1299 |
// $ANTLR start "T_LSQPAREN" |
|
1300 |
public final void mT_LSQPAREN() throws RecognitionException { |
|
1301 |
try { |
|
1302 |
int _type = T_LSQPAREN; |
|
1303 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1304 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1085:11: ( '[' ) |
|
1305 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1085:13: '[' |
|
1306 |
{ |
|
1307 |
match('['); if (state.failed) return ; |
|
1308 |
|
|
1309 |
} |
|
1310 |
|
|
1311 |
state.type = _type; |
|
1312 |
state.channel = _channel; |
|
1313 |
} |
|
1314 |
finally { |
|
1315 |
// do for sure before leaving |
|
1316 |
} |
|
1317 |
} |
|
1318 |
// $ANTLR end "T_LSQPAREN" |
|
1319 |
|
|
1320 |
// $ANTLR start "T_MAP" |
|
1321 |
public final void mT_MAP() throws RecognitionException { |
|
1322 |
try { |
|
1323 |
int _type = T_MAP; |
|
1324 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1325 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1086:7: ( 'map' ) |
|
1326 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1086:9: 'map' |
|
1327 |
{ |
|
1328 |
match("map"); if (state.failed) return ; |
|
1329 |
|
|
1330 |
|
|
1331 |
|
|
1332 |
} |
|
1333 |
|
|
1334 |
state.type = _type; |
|
1335 |
state.channel = _channel; |
|
1336 |
} |
|
1337 |
finally { |
|
1338 |
// do for sure before leaving |
|
1339 |
} |
|
1340 |
} |
|
1341 |
// $ANTLR end "T_MAP" |
|
1342 |
|
|
1343 |
// $ANTLR start "T_MAPS" |
|
1344 |
public final void mT_MAPS() throws RecognitionException { |
|
1345 |
try { |
|
1346 |
int _type = T_MAPS; |
|
1347 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1348 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1087:8: ( '->' ) |
|
1349 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1087:10: '->' |
|
1350 |
{ |
|
1351 |
match("->"); if (state.failed) return ; |
|
1352 |
|
|
1353 |
|
|
1354 |
|
|
1355 |
} |
|
1356 |
|
|
1357 |
state.type = _type; |
|
1358 |
state.channel = _channel; |
|
1359 |
} |
|
1360 |
finally { |
|
1361 |
// do for sure before leaving |
|
1362 |
} |
|
1363 |
} |
|
1364 |
// $ANTLR end "T_MAPS" |
|
1365 |
|
|
1366 |
// $ANTLR start "T_METHODS" |
|
1367 |
public final void mT_METHODS() throws RecognitionException { |
|
1368 |
try { |
|
1369 |
int _type = T_METHODS; |
|
1370 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1371 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1089:2: ( 'methods' ) |
|
1372 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1089:4: 'methods' |
|
1373 |
{ |
|
1374 |
match("methods"); if (state.failed) return ; |
|
1375 |
|
|
1376 |
|
|
1377 |
|
|
1378 |
} |
|
1379 |
|
|
1380 |
state.type = _type; |
|
1381 |
state.channel = _channel; |
|
1382 |
} |
|
1383 |
finally { |
|
1384 |
// do for sure before leaving |
|
1385 |
} |
|
1386 |
} |
|
1387 |
// $ANTLR end "T_METHODS" |
|
1388 |
|
|
1389 |
// $ANTLR start "T_NEW" |
|
1390 |
public final void mT_NEW() throws RecognitionException { |
|
1391 |
try { |
|
1392 |
int _type = T_NEW; |
|
1393 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1394 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1090:7: ( 'new' ) |
|
1395 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1090:9: 'new' |
|
1396 |
{ |
|
1397 |
match("new"); if (state.failed) return ; |
|
1398 |
|
|
1399 |
|
|
1400 |
|
|
1401 |
} |
|
1402 |
|
|
1403 |
state.type = _type; |
|
1404 |
state.channel = _channel; |
|
1405 |
} |
|
1406 |
finally { |
|
1407 |
// do for sure before leaving |
|
1408 |
} |
|
1409 |
} |
|
1410 |
// $ANTLR end "T_NEW" |
|
1411 |
|
|
1412 |
// $ANTLR start "T_NIL" |
|
1413 |
public final void mT_NIL() throws RecognitionException { |
|
1414 |
try { |
|
1415 |
int _type = T_NIL; |
|
1416 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1417 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1091:7: ( 'nil' ) |
|
1418 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1091:9: 'nil' |
|
1419 |
{ |
|
1420 |
match("nil"); if (state.failed) return ; |
|
1421 |
|
|
1422 |
|
|
1423 |
|
|
1424 |
} |
|
1425 |
|
|
1426 |
state.type = _type; |
|
1427 |
state.channel = _channel; |
|
1428 |
} |
|
1429 |
finally { |
|
1430 |
// do for sure before leaving |
|
1431 |
} |
|
1432 |
} |
|
1433 |
// $ANTLR end "T_NIL" |
|
1434 |
|
|
1435 |
// $ANTLR start "T_NONDET" |
|
1436 |
public final void mT_NONDET() throws RecognitionException { |
|
1437 |
try { |
|
1438 |
int _type = T_NONDET; |
|
1439 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1440 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1092:9: ( '[]' ) |
|
1441 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1092:11: '[]' |
|
1442 |
{ |
|
1443 |
match("[]"); if (state.failed) return ; |
|
1444 |
|
|
1445 |
|
|
1446 |
|
|
1447 |
} |
|
1448 |
|
|
1449 |
state.type = _type; |
|
1450 |
state.channel = _channel; |
|
1451 |
} |
|
1452 |
finally { |
|
1453 |
// do for sure before leaving |
|
1454 |
} |
|
1455 |
} |
|
1456 |
// $ANTLR end "T_NONDET" |
|
1457 |
|
|
1458 |
// $ANTLR start "T_OBS" |
|
1459 |
public final void mT_OBS() throws RecognitionException { |
|
1460 |
try { |
|
1461 |
int _type = T_OBS; |
|
1462 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1463 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1093:7: ( 'obs' ) |
|
1464 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1093:9: 'obs' |
|
1465 |
{ |
|
1466 |
match("obs"); if (state.failed) return ; |
|
1467 |
|
|
1468 |
|
|
1469 |
|
|
1470 |
} |
|
1471 |
|
|
1472 |
state.type = _type; |
|
1473 |
state.channel = _channel; |
|
1474 |
} |
|
1475 |
finally { |
|
1476 |
// do for sure before leaving |
|
1477 |
} |
|
1478 |
} |
|
1479 |
// $ANTLR end "T_OBS" |
|
1480 |
|
|
1481 |
// $ANTLR start "T_OD" |
|
1482 |
public final void mT_OD() throws RecognitionException { |
|
1483 |
try { |
|
1484 |
int _type = T_OD; |
|
1485 |
int _channel = DEFAULT_TOKEN_CHANNEL; |
|
1486 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1094:6: ( 'od' ) |
|
1487 |
// C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:1094:8: 'od' |
|
1488 |
{ |
|
1489 |
match("od"); if (state.failed) return ; |
|
1490 |
|
|
1491 |
|
|
1492 |
|
|
1493 |
} |
|
1494 |
|
|
1495 |
state.type = _type; |
|
1496 |
state.channel = _channel; |
Also available in: Unified diff
changing java, cpp, hpp files to unix line endings