Project

General

Profile

Revision 9

Added by Willibald K. over 8 years ago

remove support for Qualitative Action Systems, rename UlyssesType to Type

View differences:

ooaParser.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:32
1
// $ANTLR 3.4 /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g 2015-08-31 13:32:37
2 2

  
3 3
 /*
4 4
    Ulysses OO-Action System Parser
......
16 16

  
17 17

  
18 18
import org.antlr.runtime.*;
19
import java.util.Stack;
20
import java.util.List;
21 19
import java.util.ArrayList;
22 20

  
23 21
@SuppressWarnings({"all", "warnings", "unchecked"})
24 22
public class ooaParser extends ooaCustomParser {
25 23
    public static final String[] tokenNames = new String[] {
26
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "FLOAT_OR_INT_OR_RANGE", "LINE_COMMENT", "T_ABORT", "T_ABS", "T_ACTIONS", "T_AND", "T_ASSIGNMENT", "T_AUTOCONS", "T_BAR", "T_BIIMPLIES", "T_BOOL", "T_BREAK", "T_CARD", "T_CBRL", "T_CBRR", "T_CHAR", "T_COLON", "T_COMMA", "T_COMMENT", "T_CONC", "T_CONSTS", "T_CONT", "T_CTRL", "T_DCONC", "T_DERIV", "T_DIFF", "T_DIGIT", "T_DINTER", "T_DIV", "T_DO", "T_DOM", "T_DOMRESBY", "T_DOMRESTO", "T_DUNION", "T_ELEMS", "T_ELSE", "T_END", "T_EQUAL", "T_EXISTS", "T_FALSE", "T_FLOAT", "T_FLOATNUMBER", "T_FOLDLR", "T_FOLDRL", "T_FORALL", "T_GREATER", "T_GREATEREQUAL", "T_HEAD", "T_IDENTIFIER", "T_IDIV", "T_IF", "T_IMPLIES", "T_IN", "T_INDS", "T_INFTY", "T_INT", "T_INTER", "T_INTNUMBER", "T_KILL", "T_LEN", "T_LESS", "T_LESSEQUAL", "T_LETTER", "T_LIST", "T_LPAREN", "T_LSQPAREN", "T_MAP", "T_MAPS", "T_MERGE", "T_METHODS", "T_MINUS", "T_MOD", "T_MUNION", "T_NEW", "T_NIL", "T_NONDET", "T_NOT", "T_NOTEQUAL", "T_OBS", "T_OD", "T_OF", "T_OR", "T_POINT", "T_POW", "T_PRIMED", "T_PRIO", "T_PROD", "T_QUANTITY", "T_RANGETO", "T_REQUIRES", "T_RNG", "T_RNGRESBY", "T_RNGRESTO", "T_RPAREN", "T_RSQPAREN", "T_SELF", "T_SEMICOLON", "T_SEQMOD_MAPOVERRIDE", "T_SET", "T_SKIP", "T_STATIC", "T_STRINGLITERAL", "T_SUBSET", "T_SUM", "T_SYSTEM", "T_TAIL", "T_THEN", "T_TO", "T_TRUE", "T_TYPES", "T_UNION", "T_VAR", "T_WITH", "T_WS", "'&'", "'::'", "']|'", "'as'", "'begin'", "'dec'", "'inc'", "'qval'", "'steady'", "'|['"
24
        "<invalid>", "<EOR>", "<DOWN>", "<UP>", "FLOAT_OR_INT_OR_RANGE", "LINE_COMMENT", "T_ABORT", "T_ABS", "T_ACTIONS", "T_AND", "T_ASSIGNMENT", "T_AUTOCONS", "T_BAR", "T_BIIMPLIES", "T_BOOL", "T_BREAK", "T_CARD", "T_CBRL", "T_CBRR", "T_CHAR", "T_COLON", "T_COMMA", "T_COMMENT", "T_CONC", "T_CONSTS", "T_CTRL", "T_DCONC", "T_DERIV", "T_DIFF", "T_DIGIT", "T_DINTER", "T_DIV", "T_DO", "T_DOM", "T_DOMRESBY", "T_DOMRESTO", "T_DUNION", "T_ELEMS", "T_ELSE", "T_END", "T_EQUAL", "T_EXISTS", "T_FALSE", "T_FLOAT", "T_FLOATNUMBER", "T_FOLDLR", "T_FOLDRL", "T_FORALL", "T_GREATER", "T_GREATEREQUAL", "T_HEAD", "T_IDENTIFIER", "T_IDIV", "T_IF", "T_IMPLIES", "T_IN", "T_INDS", "T_INFTY", "T_INT", "T_INTER", "T_INTNUMBER", "T_KILL", "T_LEN", "T_LESS", "T_LESSEQUAL", "T_LETTER", "T_LIST", "T_LPAREN", "T_LSQPAREN", "T_MAP", "T_MAPS", "T_MERGE", "T_METHODS", "T_MINUS", "T_MOD", "T_MUNION", "T_NEW", "T_NIL", "T_NONDET", "T_NOT", "T_NOTEQUAL", "T_OBS", "T_OD", "T_OF", "T_OR", "T_POINT", "T_POW", "T_PRIMED", "T_PRIO", "T_PROD", "T_RANGETO", "T_REQUIRES", "T_RNG", "T_RNGRESBY", "T_RNGRESTO", "T_RPAREN", "T_RSQPAREN", "T_SELF", "T_SEMICOLON", "T_SEQMOD_MAPOVERRIDE", "T_SET", "T_SKIP", "T_STATIC", "T_STRINGLITERAL", "T_SUBSET", "T_SUM", "T_SYSTEM", "T_TAIL", "T_THEN", "T_TO", "T_TRUE", "T_TYPES", "T_UNION", "T_VAR", "T_WITH", "T_WS", "'&'", "'::'", "']|'", "'as'", "'begin'", "'|['"
27 25
    };
28 26

  
29 27
    public static final int EOF=-1;
28
    public static final int T__116=116;
29
    public static final int T__117=117;
30 30
    public static final int T__118=118;
31 31
    public static final int T__119=119;
32 32
    public static final int T__120=120;
33 33
    public static final int T__121=121;
34
    public static final int T__122=122;
35
    public static final int T__123=123;
36
    public static final int T__124=124;
37
    public static final int T__125=125;
38
    public static final int T__126=126;
39
    public static final int T__127=127;
40 34
    public static final int FLOAT_OR_INT_OR_RANGE=4;
41 35
    public static final int LINE_COMMENT=5;
42 36
    public static final int T_ABORT=6;
......
58 52
    public static final int T_COMMENT=22;
59 53
    public static final int T_CONC=23;
60 54
    public static final int T_CONSTS=24;
61
    public static final int T_CONT=25;
62
    public static final int T_CTRL=26;
63
    public static final int T_DCONC=27;
64
    public static final int T_DERIV=28;
65
    public static final int T_DIFF=29;
66
    public static final int T_DIGIT=30;
67
    public static final int T_DINTER=31;
68
    public static final int T_DIV=32;
69
    public static final int T_DO=33;
70
    public static final int T_DOM=34;
71
    public static final int T_DOMRESBY=35;
72
    public static final int T_DOMRESTO=36;
73
    public static final int T_DUNION=37;
74
    public static final int T_ELEMS=38;
75
    public static final int T_ELSE=39;
76
    public static final int T_END=40;
77
    public static final int T_EQUAL=41;
78
    public static final int T_EXISTS=42;
79
    public static final int T_FALSE=43;
80
    public static final int T_FLOAT=44;
81
    public static final int T_FLOATNUMBER=45;
82
    public static final int T_FOLDLR=46;
83
    public static final int T_FOLDRL=47;
84
    public static final int T_FORALL=48;
85
    public static final int T_GREATER=49;
86
    public static final int T_GREATEREQUAL=50;
87
    public static final int T_HEAD=51;
88
    public static final int T_IDENTIFIER=52;
89
    public static final int T_IDIV=53;
90
    public static final int T_IF=54;
91
    public static final int T_IMPLIES=55;
92
    public static final int T_IN=56;
93
    public static final int T_INDS=57;
94
    public static final int T_INFTY=58;
95
    public static final int T_INT=59;
96
    public static final int T_INTER=60;
97
    public static final int T_INTNUMBER=61;
98
    public static final int T_KILL=62;
99
    public static final int T_LEN=63;
100
    public static final int T_LESS=64;
101
    public static final int T_LESSEQUAL=65;
102
    public static final int T_LETTER=66;
103
    public static final int T_LIST=67;
104
    public static final int T_LPAREN=68;
105
    public static final int T_LSQPAREN=69;
106
    public static final int T_MAP=70;
107
    public static final int T_MAPS=71;
108
    public static final int T_MERGE=72;
109
    public static final int T_METHODS=73;
110
    public static final int T_MINUS=74;
111
    public static final int T_MOD=75;
112
    public static final int T_MUNION=76;
113
    public static final int T_NEW=77;
114
    public static final int T_NIL=78;
115
    public static final int T_NONDET=79;
116
    public static final int T_NOT=80;
117
    public static final int T_NOTEQUAL=81;
118
    public static final int T_OBS=82;
119
    public static final int T_OD=83;
120
    public static final int T_OF=84;
121
    public static final int T_OR=85;
122
    public static final int T_POINT=86;
123
    public static final int T_POW=87;
124
    public static final int T_PRIMED=88;
125
    public static final int T_PRIO=89;
126
    public static final int T_PROD=90;
127
    public static final int T_QUANTITY=91;
128
    public static final int T_RANGETO=92;
129
    public static final int T_REQUIRES=93;
130
    public static final int T_RNG=94;
131
    public static final int T_RNGRESBY=95;
132
    public static final int T_RNGRESTO=96;
133
    public static final int T_RPAREN=97;
134
    public static final int T_RSQPAREN=98;
135
    public static final int T_SELF=99;
136
    public static final int T_SEMICOLON=100;
137
    public static final int T_SEQMOD_MAPOVERRIDE=101;
138
    public static final int T_SET=102;
139
    public static final int T_SKIP=103;
140
    public static final int T_STATIC=104;
141
    public static final int T_STRINGLITERAL=105;
142
    public static final int T_SUBSET=106;
143
    public static final int T_SUM=107;
144
    public static final int T_SYSTEM=108;
145
    public static final int T_TAIL=109;
146
    public static final int T_THEN=110;
147
    public static final int T_TO=111;
148
    public static final int T_TRUE=112;
149
    public static final int T_TYPES=113;
150
    public static final int T_UNION=114;
151
    public static final int T_VAR=115;
152
    public static final int T_WITH=116;
153
    public static final int T_WS=117;
55
    public static final int T_CTRL=25;
56
    public static final int T_DCONC=26;
57
    public static final int T_DERIV=27;
58
    public static final int T_DIFF=28;
59
    public static final int T_DIGIT=29;
60
    public static final int T_DINTER=30;
61
    public static final int T_DIV=31;
62
    public static final int T_DO=32;
63
    public static final int T_DOM=33;
64
    public static final int T_DOMRESBY=34;
65
    public static final int T_DOMRESTO=35;
66
    public static final int T_DUNION=36;
67
    public static final int T_ELEMS=37;
68
    public static final int T_ELSE=38;
69
    public static final int T_END=39;
70
    public static final int T_EQUAL=40;
71
    public static final int T_EXISTS=41;
72
    public static final int T_FALSE=42;
73
    public static final int T_FLOAT=43;
74
    public static final int T_FLOATNUMBER=44;
75
    public static final int T_FOLDLR=45;
76
    public static final int T_FOLDRL=46;
77
    public static final int T_FORALL=47;
78
    public static final int T_GREATER=48;
79
    public static final int T_GREATEREQUAL=49;
80
    public static final int T_HEAD=50;
81
    public static final int T_IDENTIFIER=51;
82
    public static final int T_IDIV=52;
83
    public static final int T_IF=53;
84
    public static final int T_IMPLIES=54;
85
    public static final int T_IN=55;
86
    public static final int T_INDS=56;
87
    public static final int T_INFTY=57;
88
    public static final int T_INT=58;
89
    public static final int T_INTER=59;
90
    public static final int T_INTNUMBER=60;
91
    public static final int T_KILL=61;
92
    public static final int T_LEN=62;
93
    public static final int T_LESS=63;
94
    public static final int T_LESSEQUAL=64;
95
    public static final int T_LETTER=65;
96
    public static final int T_LIST=66;
97
    public static final int T_LPAREN=67;
98
    public static final int T_LSQPAREN=68;
99
    public static final int T_MAP=69;
100
    public static final int T_MAPS=70;
101
    public static final int T_MERGE=71;
102
    public static final int T_METHODS=72;
103
    public static final int T_MINUS=73;
104
    public static final int T_MOD=74;
105
    public static final int T_MUNION=75;
106
    public static final int T_NEW=76;
107
    public static final int T_NIL=77;
108
    public static final int T_NONDET=78;
109
    public static final int T_NOT=79;
110
    public static final int T_NOTEQUAL=80;
111
    public static final int T_OBS=81;
112
    public static final int T_OD=82;
113
    public static final int T_OF=83;
114
    public static final int T_OR=84;
115
    public static final int T_POINT=85;
116
    public static final int T_POW=86;
117
    public static final int T_PRIMED=87;
118
    public static final int T_PRIO=88;
119
    public static final int T_PROD=89;
120
    public static final int T_RANGETO=90;
121
    public static final int T_REQUIRES=91;
122
    public static final int T_RNG=92;
123
    public static final int T_RNGRESBY=93;
124
    public static final int T_RNGRESTO=94;
125
    public static final int T_RPAREN=95;
126
    public static final int T_RSQPAREN=96;
127
    public static final int T_SELF=97;
128
    public static final int T_SEMICOLON=98;
129
    public static final int T_SEQMOD_MAPOVERRIDE=99;
130
    public static final int T_SET=100;
131
    public static final int T_SKIP=101;
132
    public static final int T_STATIC=102;
133
    public static final int T_STRINGLITERAL=103;
134
    public static final int T_SUBSET=104;
135
    public static final int T_SUM=105;
136
    public static final int T_SYSTEM=106;
137
    public static final int T_TAIL=107;
138
    public static final int T_THEN=108;
139
    public static final int T_TO=109;
140
    public static final int T_TRUE=110;
141
    public static final int T_TYPES=111;
142
    public static final int T_UNION=112;
143
    public static final int T_VAR=113;
144
    public static final int T_WITH=114;
145
    public static final int T_WS=115;
154 146

  
155 147
    // delegates
156 148
    public ooaCustomParser[] getDelegates() {
......
167 159
        super(input, state);
168 160
    }
169 161

  
170
    public String[] getTokenNames() { return ooaParser.tokenNames; }
171
    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"; }
162
    @Override
163
	public String[] getTokenNames() { return ooaParser.tokenNames; }
164
    @Override
165
	public String getGrammarFileName() { return "/home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g"; }
172 166

  
173 167

  
174 168

  
175 169
    // $ANTLR start "ooActionSystems"
176
    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:152:1: ooActionSystems : ( T_CONSTS namedConstList )? T_TYPES namedTypeList T_SYSTEM comp= asTypeComposition[null] ;
177
    public final void ooActionSystems()  {
170
    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:154:1: ooActionSystems : ( T_CONSTS namedConstList )? T_TYPES namedTypeList T_SYSTEM comp= asTypeComposition[null] ;
171
    public final void ooActionSystems() {
178 172
        IdentifierList comp =null;
179 173

  
180 174

  
181 175
        try {
182
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:153:2: ( ( T_CONSTS namedConstList )? T_TYPES namedTypeList T_SYSTEM comp= asTypeComposition[null] )
183
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:153:4: ( T_CONSTS namedConstList )? T_TYPES namedTypeList T_SYSTEM comp= asTypeComposition[null]
176
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:155:2: ( ( T_CONSTS namedConstList )? T_TYPES namedTypeList T_SYSTEM comp= asTypeComposition[null] )
177
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:155:4: ( T_CONSTS namedConstList )? T_TYPES namedTypeList T_SYSTEM comp= asTypeComposition[null]
184 178
            {
185 179
            initializeTopLevelParserState();
186 180

  
187
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:155:11: ( T_CONSTS namedConstList )?
181
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:157:11: ( T_CONSTS namedConstList )?
188 182
            int alt1=2;
189
            int LA1_0 = input.LA(1);
183
            final int LA1_0 = input.LA(1);
190 184

  
191 185
            if ( (LA1_0==T_CONSTS) ) {
192 186
                alt1=1;
193 187
            }
194 188
            switch (alt1) {
195 189
                case 1 :
196
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:155:12: T_CONSTS namedConstList
190
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:157:12: T_CONSTS namedConstList
197 191
                    {
198
                    match(input,T_CONSTS,FOLLOW_T_CONSTS_in_ooActionSystems74); 
192
                    match(input,T_CONSTS,FOLLOW_T_CONSTS_in_ooActionSystems74);
199 193

  
200 194
                    pushFollow(FOLLOW_namedConstList_in_ooActionSystems76);
201 195
                    namedConstList();
......
209 203
            }
210 204

  
211 205

  
212
            match(input,T_TYPES,FOLLOW_T_TYPES_in_ooActionSystems86); 
206
            match(input,T_TYPES,FOLLOW_T_TYPES_in_ooActionSystems86);
213 207

  
214 208
            pushFollow(FOLLOW_namedTypeList_in_ooActionSystems94);
215 209
            namedTypeList();
......
217 211
            state._fsp--;
218 212

  
219 213

  
220
            match(input,T_SYSTEM,FOLLOW_T_SYSTEM_in_ooActionSystems99); 
214
            match(input,T_SYSTEM,FOLLOW_T_SYSTEM_in_ooActionSystems99);
221 215

  
222 216
            pushFollow(FOLLOW_asTypeComposition_in_ooActionSystems106);
223 217
            comp=asTypeComposition(null);
......
230 224
            }
231 225

  
232 226
        }
233
        catch (RecognitionException re) {
227
        catch (final RecognitionException re) {
234 228
            reportError(re);
235 229
            recover(input,re);
236 230
        }
......
245 239

  
246 240

  
247 241
    // $ANTLR start "namedConstList"
248
    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:170:1: namedConstList : namedConst ( T_SEMICOLON namedConst )* ;
242
    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:172:1: namedConstList : namedConst ( T_SEMICOLON namedConst )* ;
249 243
    public final void namedConstList() throws RecognitionException {
250 244
        try {
251
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:171:2: ( namedConst ( T_SEMICOLON namedConst )* )
252
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:171:4: namedConst ( T_SEMICOLON namedConst )*
245
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:173:2: ( namedConst ( T_SEMICOLON namedConst )* )
246
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:173:4: namedConst ( T_SEMICOLON namedConst )*
253 247
            {
254 248
            pushFollow(FOLLOW_namedConst_in_namedConstList129);
255 249
            namedConst();
......
257 251
            state._fsp--;
258 252

  
259 253

  
260
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:171:15: ( T_SEMICOLON namedConst )*
254
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:173:15: ( T_SEMICOLON namedConst )*
261 255
            loop2:
262 256
            do {
263 257
                int alt2=2;
264
                int LA2_0 = input.LA(1);
258
                final int LA2_0 = input.LA(1);
265 259

  
266 260
                if ( (LA2_0==T_SEMICOLON) ) {
267 261
                    alt2=1;
......
270 264

  
271 265
                switch (alt2) {
272 266
            	case 1 :
273
            	    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:171:16: T_SEMICOLON namedConst
267
            	    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:173:16: T_SEMICOLON namedConst
274 268
            	    {
275
            	    match(input,T_SEMICOLON,FOLLOW_T_SEMICOLON_in_namedConstList132); 
269
            	    match(input,T_SEMICOLON,FOLLOW_T_SEMICOLON_in_namedConstList132);
276 270

  
277 271
            	    pushFollow(FOLLOW_namedConst_in_namedConstList134);
278 272
            	    namedConst();
......
292 286
            }
293 287

  
294 288
        }
295
        catch (RecognitionException re) {
289
        catch (final RecognitionException re) {
296 290
            reportError(re);
297 291
            recover(input,re);
298 292
        }
......
307 301

  
308 302

  
309 303
    // $ANTLR start "namedConst"
310
    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:174:1: namedConst : aName= T_IDENTIFIER T_EQUAL anExpr= expression ;
304
    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:176:1: namedConst : aName= T_IDENTIFIER T_EQUAL anExpr= expression ;
311 305
    public final void namedConst() throws RecognitionException {
312 306
        Token aName=null;
313 307
        Expression anExpr =null;
314 308

  
315 309

  
316 310
        try {
317
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:175:2: (aName= T_IDENTIFIER T_EQUAL anExpr= expression )
318
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:175:4: aName= T_IDENTIFIER T_EQUAL anExpr= expression
311
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:177:2: (aName= T_IDENTIFIER T_EQUAL anExpr= expression )
312
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:177:4: aName= T_IDENTIFIER T_EQUAL anExpr= expression
319 313
            {
320
            aName=(Token)match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_namedConst150); 
314
            aName=(Token)match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_namedConst150);
321 315

  
322
            match(input,T_EQUAL,FOLLOW_T_EQUAL_in_namedConst154); 
316
            match(input,T_EQUAL,FOLLOW_T_EQUAL_in_namedConst154);
323 317

  
324 318
            pushFollow(FOLLOW_expression_in_namedConst160);
325 319
            anExpr=expression();
......
332 326
            }
333 327

  
334 328
        }
335
        catch (RecognitionException re) {
329
        catch (final RecognitionException re) {
336 330
            reportError(re);
337 331
            recover(input,re);
338 332
        }
......
347 341

  
348 342

  
349 343
    // $ANTLR start "namedTypeList"
350
    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:185:1: namedTypeList : namedType ( T_SEMICOLON namedType )* ;
344
    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:187:1: namedTypeList : namedType ( T_SEMICOLON namedType )* ;
351 345
    public final void namedTypeList() throws RecognitionException {
352 346
        try {
353
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:186:2: ( namedType ( T_SEMICOLON namedType )* )
354
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:186:4: namedType ( T_SEMICOLON namedType )*
347
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:188:2: ( namedType ( T_SEMICOLON namedType )* )
348
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:188:4: namedType ( T_SEMICOLON namedType )*
355 349
            {
356 350
            pushFollow(FOLLOW_namedType_in_namedTypeList180);
357 351
            namedType();
......
359 353
            state._fsp--;
360 354

  
361 355

  
362
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:186:14: ( T_SEMICOLON namedType )*
356
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:188:14: ( T_SEMICOLON namedType )*
363 357
            loop3:
364 358
            do {
365 359
                int alt3=2;
366
                int LA3_0 = input.LA(1);
360
                final int LA3_0 = input.LA(1);
367 361

  
368 362
                if ( (LA3_0==T_SEMICOLON) ) {
369 363
                    alt3=1;
......
372 366

  
373 367
                switch (alt3) {
374 368
            	case 1 :
375
            	    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:186:15: T_SEMICOLON namedType
369
            	    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:188:15: T_SEMICOLON namedType
376 370
            	    {
377
            	    match(input,T_SEMICOLON,FOLLOW_T_SEMICOLON_in_namedTypeList183); 
371
            	    match(input,T_SEMICOLON,FOLLOW_T_SEMICOLON_in_namedTypeList183);
378 372

  
379 373
            	    pushFollow(FOLLOW_namedType_in_namedTypeList185);
380 374
            	    namedType();
......
394 388
            }
395 389

  
396 390
        }
397
        catch (RecognitionException re) {
391
        catch (final RecognitionException re) {
398 392
            reportError(re);
399 393
            recover(input,re);
400 394
        }
......
409 403

  
410 404

  
411 405
    // $ANTLR start "namedType"
412
    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:189:1: namedType : aName= T_IDENTIFIER T_EQUAL (aType= complexType |anOoaType= ooActionSystem ) ;
406
    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:191:1: namedType : aName= T_IDENTIFIER T_EQUAL (aType= complexType |anOoaType= ooActionSystem ) ;
413 407
    public final void namedType() throws RecognitionException {
414 408
        Token aName=null;
415
        UlyssesType aType =null;
409
        Type aType =null;
416 410

  
417 411
        OoActionSystemType anOoaType =null;
418 412

  
419 413

  
420 414
        try {
421
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:190:2: (aName= T_IDENTIFIER T_EQUAL (aType= complexType |anOoaType= ooActionSystem ) )
422
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:190:4: aName= T_IDENTIFIER T_EQUAL (aType= complexType |anOoaType= ooActionSystem )
415
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:192:2: (aName= T_IDENTIFIER T_EQUAL (aType= complexType |anOoaType= ooActionSystem ) )
416
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:192:4: aName= T_IDENTIFIER T_EQUAL (aType= complexType |anOoaType= ooActionSystem )
423 417
            {
424
            aName=(Token)match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_namedType201); 
418
            aName=(Token)match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_namedType201);
425 419

  
426
            match(input,T_EQUAL,FOLLOW_T_EQUAL_in_namedType206); 
420
            match(input,T_EQUAL,FOLLOW_T_EQUAL_in_namedType206);
427 421

  
428
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:192:3: (aType= complexType |anOoaType= ooActionSystem )
422
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:194:3: (aType= complexType |anOoaType= ooActionSystem )
429 423
            int alt4=2;
430
            int LA4_0 = input.LA(1);
424
            final int LA4_0 = input.LA(1);
431 425

  
432
            if ( (LA4_0==T_BOOL||LA4_0==T_CBRL||LA4_0==T_CHAR||LA4_0==T_FLOAT||LA4_0==T_IDENTIFIER||LA4_0==T_INT||(LA4_0 >= T_LIST && LA4_0 <= T_MAP)||LA4_0==T_QUANTITY) ) {
426
            if ( (LA4_0==T_BOOL||LA4_0==T_CBRL||LA4_0==T_CHAR||LA4_0==T_FLOAT||LA4_0==T_IDENTIFIER||LA4_0==T_INT||(LA4_0 >= T_LIST && LA4_0 <= T_MAP)) ) {
433 427
                alt4=1;
434 428
            }
435 429
            else if ( (LA4_0==T_AUTOCONS||LA4_0==T_SYSTEM) ) {
436 430
                alt4=2;
437 431
            }
438 432
            else {
439
                NoViableAltException nvae =
433
                final NoViableAltException nvae =
440 434
                    new NoViableAltException("", 4, 0, input);
441 435

  
442 436
                throw nvae;
......
444 438
            }
445 439
            switch (alt4) {
446 440
                case 1 :
447
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:193:4: aType= complexType
441
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:195:4: aType= complexType
448 442
                    {
449 443
                    pushFollow(FOLLOW_complexType_in_namedType218);
450 444
                    aType=complexType();
......
457 451
                    }
458 452
                    break;
459 453
                case 2 :
460
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:194:5: anOoaType= ooActionSystem
454
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:196:5: anOoaType= ooActionSystem
461 455
                    {
462 456
                    pushFollow(FOLLOW_ooActionSystem_in_namedType230);
463 457
                    anOoaType=ooActionSystem();
......
476 470
            }
477 471

  
478 472
        }
479
        catch (RecognitionException re) {
473
        catch (final RecognitionException re) {
480 474
            reportError(re);
481 475
            recover(input,re);
482 476
        }
......
491 485

  
492 486

  
493 487
    // $ANTLR start "asTypeComposition"
494
    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:200:1: asTypeComposition[IdentifierList top] returns [IdentifierList prioList] : asTypeCompositionParallel[prioList] ( T_PRIO asTypeCompositionParallel[prioList] )* ;
488
    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:202:1: asTypeComposition[IdentifierList top] returns [IdentifierList prioList] : asTypeCompositionParallel[prioList] ( T_PRIO asTypeCompositionParallel[prioList] )* ;
495 489
    public final IdentifierList asTypeComposition(IdentifierList top) throws RecognitionException {
496 490
        IdentifierList prioList = null;
497 491

  
498 492

  
499 493
        try {
500
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:202:2: ( asTypeCompositionParallel[prioList] ( T_PRIO asTypeCompositionParallel[prioList] )* )
501
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:202:6: asTypeCompositionParallel[prioList] ( T_PRIO asTypeCompositionParallel[prioList] )*
494
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:204:2: ( asTypeCompositionParallel[prioList] ( T_PRIO asTypeCompositionParallel[prioList] )* )
495
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:204:6: asTypeCompositionParallel[prioList] ( T_PRIO asTypeCompositionParallel[prioList] )*
502 496
            {
503 497
            prioList = new PrioIdentifierList(top);
504 498

  
......
508 502
            state._fsp--;
509 503

  
510 504

  
511
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:203:40: ( T_PRIO asTypeCompositionParallel[prioList] )*
505
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:205:40: ( T_PRIO asTypeCompositionParallel[prioList] )*
512 506
            loop5:
513 507
            do {
514 508
                int alt5=2;
515
                int LA5_0 = input.LA(1);
509
                final int LA5_0 = input.LA(1);
516 510

  
517 511
                if ( (LA5_0==T_PRIO) ) {
518 512
                    alt5=1;
......
521 515

  
522 516
                switch (alt5) {
523 517
            	case 1 :
524
            	    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:203:41: T_PRIO asTypeCompositionParallel[prioList]
518
            	    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:205:41: T_PRIO asTypeCompositionParallel[prioList]
525 519
            	    {
526
            	    match(input,T_PRIO,FOLLOW_T_PRIO_in_asTypeComposition271); 
520
            	    match(input,T_PRIO,FOLLOW_T_PRIO_in_asTypeComposition271);
527 521

  
528 522
            	    pushFollow(FOLLOW_asTypeCompositionParallel_in_asTypeComposition273);
529 523
            	    asTypeCompositionParallel(prioList);
......
543 537
            }
544 538

  
545 539
        }
546
        catch (RecognitionException re) {
540
        catch (final RecognitionException re) {
547 541
            reportError(re);
548 542
            recover(input,re);
549 543
        }
......
558 552

  
559 553

  
560 554
    // $ANTLR start "asTypeCompositionParallel"
561
    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:206:1: asTypeCompositionParallel[IdentifierList top] : asTypeCompositionSequential[parList] ( T_NONDET asTypeCompositionSequential[parList] )* ;
555
    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:208:1: asTypeCompositionParallel[IdentifierList top] : asTypeCompositionSequential[parList] ( T_NONDET asTypeCompositionSequential[parList] )* ;
562 556
    public final void asTypeCompositionParallel(IdentifierList top) throws RecognitionException {
563 557
        try {
564
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:207:2: ( asTypeCompositionSequential[parList] ( T_NONDET asTypeCompositionSequential[parList] )* )
565
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:207:6: asTypeCompositionSequential[parList] ( T_NONDET asTypeCompositionSequential[parList] )*
558
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:209:2: ( asTypeCompositionSequential[parList] ( T_NONDET asTypeCompositionSequential[parList] )* )
559
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:209:6: asTypeCompositionSequential[parList] ( T_NONDET asTypeCompositionSequential[parList] )*
566 560
            {
567
            IdentifierList parList = new NondetIdentifierList(top);
561
            final IdentifierList parList = new NondetIdentifierList(top);
568 562

  
569 563
            pushFollow(FOLLOW_asTypeCompositionSequential_in_asTypeCompositionParallel296);
570 564
            asTypeCompositionSequential(parList);
......
572 566
            state._fsp--;
573 567

  
574 568

  
575
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:208:40: ( T_NONDET asTypeCompositionSequential[parList] )*
569
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:210:40: ( T_NONDET asTypeCompositionSequential[parList] )*
576 570
            loop6:
577 571
            do {
578 572
                int alt6=2;
579
                int LA6_0 = input.LA(1);
573
                final int LA6_0 = input.LA(1);
580 574

  
581 575
                if ( (LA6_0==T_NONDET) ) {
582 576
                    alt6=1;
......
585 579

  
586 580
                switch (alt6) {
587 581
            	case 1 :
588
            	    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:208:41: T_NONDET asTypeCompositionSequential[parList]
582
            	    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:210:41: T_NONDET asTypeCompositionSequential[parList]
589 583
            	    {
590
            	    match(input,T_NONDET,FOLLOW_T_NONDET_in_asTypeCompositionParallel300); 
584
            	    match(input,T_NONDET,FOLLOW_T_NONDET_in_asTypeCompositionParallel300);
591 585

  
592 586
            	    pushFollow(FOLLOW_asTypeCompositionSequential_in_asTypeCompositionParallel302);
593 587
            	    asTypeCompositionSequential(parList);
......
607 601
            }
608 602

  
609 603
        }
610
        catch (RecognitionException re) {
604
        catch (final RecognitionException re) {
611 605
            reportError(re);
612 606
            recover(input,re);
613 607
        }
......
622 616

  
623 617

  
624 618
    // $ANTLR start "asTypeCompositionSequential"
625
    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:211:1: asTypeCompositionSequential[IdentifierList top] : asTypeCompositionBlockParen[seqList] ;
619
    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:213:1: asTypeCompositionSequential[IdentifierList top] : asTypeCompositionBlockParen[seqList] ;
626 620
    public final void asTypeCompositionSequential(IdentifierList top) throws RecognitionException {
627 621
        try {
628
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:212:2: ( asTypeCompositionBlockParen[seqList] )
629
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:212:6: asTypeCompositionBlockParen[seqList]
622
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:214:2: ( asTypeCompositionBlockParen[seqList] )
623
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:214:6: asTypeCompositionBlockParen[seqList]
630 624
            {
631
            IdentifierList seqList = new SeqIdentifierList(top);
625
            final IdentifierList seqList = new SeqIdentifierList(top);
632 626

  
633 627
            pushFollow(FOLLOW_asTypeCompositionBlockParen_in_asTypeCompositionSequential324);
634 628
            asTypeCompositionBlockParen(seqList);
......
639 633
            }
640 634

  
641 635
        }
642
        catch (RecognitionException re) {
636
        catch (final RecognitionException re) {
643 637
            reportError(re);
644 638
            recover(input,re);
645 639
        }
......
654 648

  
655 649

  
656 650
    // $ANTLR start "asTypeCompositionBlockParen"
657
    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:216:1: asTypeCompositionBlockParen[IdentifierList top] : ( T_LPAREN asTypeComposition[top] T_RPAREN |aName= T_IDENTIFIER );
651
    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:218:1: asTypeCompositionBlockParen[IdentifierList top] : ( T_LPAREN asTypeComposition[top] T_RPAREN |aName= T_IDENTIFIER );
658 652
    public final void asTypeCompositionBlockParen(IdentifierList top) throws RecognitionException {
659 653
        Token aName=null;
660 654

  
661 655
        try {
662
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:217:2: ( T_LPAREN asTypeComposition[top] T_RPAREN |aName= T_IDENTIFIER )
656
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:219:2: ( T_LPAREN asTypeComposition[top] T_RPAREN |aName= T_IDENTIFIER )
663 657
            int alt7=2;
664
            int LA7_0 = input.LA(1);
658
            final int LA7_0 = input.LA(1);
665 659

  
666 660
            if ( (LA7_0==T_LPAREN) ) {
667 661
                alt7=1;
......
670 664
                alt7=2;
671 665
            }
672 666
            else {
673
                NoViableAltException nvae =
667
                final NoViableAltException nvae =
674 668
                    new NoViableAltException("", 7, 0, input);
675 669

  
676 670
                throw nvae;
......
678 672
            }
679 673
            switch (alt7) {
680 674
                case 1 :
681
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:217:4: T_LPAREN asTypeComposition[top] T_RPAREN
675
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:219:4: T_LPAREN asTypeComposition[top] T_RPAREN
682 676
                    {
683
                    match(input,T_LPAREN,FOLLOW_T_LPAREN_in_asTypeCompositionBlockParen339); 
677
                    match(input,T_LPAREN,FOLLOW_T_LPAREN_in_asTypeCompositionBlockParen339);
684 678

  
685 679
                    pushFollow(FOLLOW_asTypeComposition_in_asTypeCompositionBlockParen341);
686 680
                    asTypeComposition(top);
......
688 682
                    state._fsp--;
689 683

  
690 684

  
691
                    match(input,T_RPAREN,FOLLOW_T_RPAREN_in_asTypeCompositionBlockParen344); 
685
                    match(input,T_RPAREN,FOLLOW_T_RPAREN_in_asTypeCompositionBlockParen344);
692 686

  
693 687
                    }
694 688
                    break;
695 689
                case 2 :
696
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:218:4: aName= T_IDENTIFIER
690
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:220:4: aName= T_IDENTIFIER
697 691
                    {
698
                    aName=(Token)match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_asTypeCompositionBlockParen351); 
692
                    aName=(Token)match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_asTypeCompositionBlockParen351);
699 693

  
700 694
                    addToIdentifierList(top,aName);
701 695

  
......
704 698

  
705 699
            }
706 700
        }
707
        catch (RecognitionException re) {
701
        catch (final RecognitionException re) {
708 702
            reportError(re);
709 703
            recover(input,re);
710 704
        }
......
719 713

  
720 714

  
721 715
    // $ANTLR start "complexType"
722
    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:226:1: complexType returns [UlyssesType aTypeSymbol] : ( T_LIST T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN T_OF innertype= complexType | T_LSQPAREN alistelem= T_IDENTIFIER ( T_COMMA otherlistelem= T_IDENTIFIER )* T_RSQPAREN | T_MAP ( T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN )? mapfromtype= simpleType T_TO maptotype= complexType | T_QUANTITY T_OF T_LSQPAREN (alandmark= T_IDENTIFIER |alandmark= T_MINUS T_INFTY ) ( T_COMMA (otherlandmark= T_IDENTIFIER |otherlandmark= T_INFTY ) )* T_RSQPAREN | T_LPAREN aType= complexType ( T_COMMA anotherType= complexType )* T_RPAREN |r= simpleType );
723
    public final UlyssesType complexType() throws RecognitionException {
724
        UlyssesType aTypeSymbol = null;
716
    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:228:1: complexType returns [Type aTypeSymbol] : ( T_LIST T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN T_OF innertype= complexType | T_LSQPAREN alistelem= T_IDENTIFIER ( T_COMMA otherlistelem= T_IDENTIFIER )* T_RSQPAREN | T_MAP ( T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN )? mapfromtype= simpleType T_TO maptotype= complexType | T_LPAREN aType= complexType ( T_COMMA anotherType= complexType )* T_RPAREN |r= simpleType );
717
    public final Type complexType() throws RecognitionException {
718
        Type aTypeSymbol = null;
725 719

  
726 720

  
727 721
        Token numOfElements=null;
728 722
        Token alistelem=null;
729 723
        Token otherlistelem=null;
730
        Token alandmark=null;
731
        Token otherlandmark=null;
732
        UlyssesType innertype =null;
724
        Type innertype =null;
733 725

  
734
        UlyssesType mapfromtype =null;
726
        Type mapfromtype =null;
735 727

  
736
        UlyssesType maptotype =null;
728
        Type maptotype =null;
737 729

  
738
        UlyssesType aType =null;
730
        Type aType =null;
739 731

  
740
        UlyssesType anotherType =null;
732
        Type anotherType =null;
741 733

  
742
        UlyssesType r =null;
734
        Type r =null;
743 735

  
744 736

  
745
         
737

  
746 738
        		aTypeSymbol = null;
747
        		alandmark = null;
748
        	
739

  
749 740
        try {
750
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:232:2: ( T_LIST T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN T_OF innertype= complexType | T_LSQPAREN alistelem= T_IDENTIFIER ( T_COMMA otherlistelem= T_IDENTIFIER )* T_RSQPAREN | T_MAP ( T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN )? mapfromtype= simpleType T_TO maptotype= complexType | T_QUANTITY T_OF T_LSQPAREN (alandmark= T_IDENTIFIER |alandmark= T_MINUS T_INFTY ) ( T_COMMA (otherlandmark= T_IDENTIFIER |otherlandmark= T_INFTY ) )* T_RSQPAREN | T_LPAREN aType= complexType ( T_COMMA anotherType= complexType )* T_RPAREN |r= simpleType )
751
            int alt14=6;
741
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:233:2: ( T_LIST T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN T_OF innertype= complexType | T_LSQPAREN alistelem= T_IDENTIFIER ( T_COMMA otherlistelem= T_IDENTIFIER )* T_RSQPAREN | T_MAP ( T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN )? mapfromtype= simpleType T_TO maptotype= complexType | T_LPAREN aType= complexType ( T_COMMA anotherType= complexType )* T_RPAREN |r= simpleType )
742
            int alt11=5;
752 743
            switch ( input.LA(1) ) {
753 744
            case T_LIST:
754 745
                {
755
                alt14=1;
746
                alt11=1;
756 747
                }
757 748
                break;
758 749
            case T_LSQPAREN:
759 750
                {
760
                alt14=2;
751
                alt11=2;
761 752
                }
762 753
                break;
763 754
            case T_MAP:
764 755
                {
765
                alt14=3;
756
                alt11=3;
766 757
                }
767 758
                break;
768
            case T_QUANTITY:
769
                {
770
                alt14=4;
771
                }
772
                break;
773 759
            case T_LPAREN:
774 760
                {
775
                alt14=5;
761
                alt11=4;
776 762
                }
777 763
                break;
778 764
            case T_BOOL:
......
782 768
            case T_IDENTIFIER:
783 769
            case T_INT:
784 770
                {
785
                alt14=6;
771
                alt11=5;
786 772
                }
787 773
                break;
788 774
            default:
789
                NoViableAltException nvae =
790
                    new NoViableAltException("", 14, 0, input);
775
                final NoViableAltException nvae =
776
                    new NoViableAltException("", 11, 0, input);
791 777

  
792 778
                throw nvae;
793 779

  
794 780
            }
795 781

  
796
            switch (alt14) {
782
            switch (alt11) {
797 783
                case 1 :
798
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:232:4: T_LIST T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN T_OF innertype= complexType
784
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:233:4: T_LIST T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN T_OF innertype= complexType
799 785
                    {
800
                    match(input,T_LIST,FOLLOW_T_LIST_in_complexType382); 
786
                    match(input,T_LIST,FOLLOW_T_LIST_in_complexType382);
801 787

  
802
                    match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_complexType385); 
788
                    match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_complexType385);
803 789

  
804
                    numOfElements=(Token)input.LT(1);
790
                    numOfElements=input.LT(1);
805 791

  
806 792
                    if ( input.LA(1)==T_IDENTIFIER||input.LA(1)==T_INTNUMBER ) {
807 793
                        input.consume();
808 794
                        state.errorRecovery=false;
809 795
                    }
810 796
                    else {
811
                        MismatchedSetException mse = new MismatchedSetException(null,input);
797
                        final MismatchedSetException mse = new MismatchedSetException(null,input);
812 798
                        throw mse;
813 799
                    }
814 800

  
815 801

  
816
                    match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_complexType395); 
802
                    match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_complexType395);
817 803

  
818
                    match(input,T_OF,FOLLOW_T_OF_in_complexType397); 
804
                    match(input,T_OF,FOLLOW_T_OF_in_complexType397);
819 805

  
820 806
                    pushFollow(FOLLOW_complexType_in_complexType402);
821 807
                    innertype=complexType();
......
828 814
                    }
829 815
                    break;
830 816
                case 2 :
831
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:236:4: T_LSQPAREN alistelem= T_IDENTIFIER ( T_COMMA otherlistelem= T_IDENTIFIER )* T_RSQPAREN
817
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:237:4: T_LSQPAREN alistelem= T_IDENTIFIER ( T_COMMA otherlistelem= T_IDENTIFIER )* T_RSQPAREN
832 818
                    {
833
                    match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_complexType417); 
819
                    match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_complexType417);
834 820

  
835
                    alistelem=(Token)match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_complexType421); 
821
                    alistelem=(Token)match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_complexType421);
836 822

  
837 823
                    aTypeSymbol = createListEnumType(alistelem);
838 824

  
839
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:237:4: ( T_COMMA otherlistelem= T_IDENTIFIER )*
825
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:238:4: ( T_COMMA otherlistelem= T_IDENTIFIER )*
840 826
                    loop8:
841 827
                    do {
842 828
                        int alt8=2;
843
                        int LA8_0 = input.LA(1);
829
                        final int LA8_0 = input.LA(1);
844 830

  
845 831
                        if ( (LA8_0==T_COMMA) ) {
846 832
                            alt8=1;
......
849 835

  
850 836
                        switch (alt8) {
851 837
                    	case 1 :
852
                    	    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:237:5: T_COMMA otherlistelem= T_IDENTIFIER
838
                    	    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:238:5: T_COMMA otherlistelem= T_IDENTIFIER
853 839
                    	    {
854
                    	    match(input,T_COMMA,FOLLOW_T_COMMA_in_complexType430); 
840
                    	    match(input,T_COMMA,FOLLOW_T_COMMA_in_complexType430);
855 841

  
856
                    	    otherlistelem=(Token)match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_complexType434); 
842
                    	    otherlistelem=(Token)match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_complexType434);
857 843

  
858 844
                    	    addToListEnumType(aTypeSymbol,otherlistelem);
859 845

  
......
866 852
                    } while (true);
867 853

  
868 854

  
869
                    match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_complexType440); 
855
                    match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_complexType440);
870 856

  
871 857
                    }
872 858
                    break;
873 859
                case 3 :
874
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:240:4: T_MAP ( T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN )? mapfromtype= simpleType T_TO maptotype= complexType
860
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:241:4: T_MAP ( T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN )? mapfromtype= simpleType T_TO maptotype= complexType
875 861
                    {
876
                    match(input,T_MAP,FOLLOW_T_MAP_in_complexType450); 
862
                    match(input,T_MAP,FOLLOW_T_MAP_in_complexType450);
877 863

  
878
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:240:12: ( T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN )?
864
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:241:12: ( T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN )?
879 865
                    int alt9=2;
880
                    int LA9_0 = input.LA(1);
866
                    final int LA9_0 = input.LA(1);
881 867

  
882 868
                    if ( (LA9_0==T_LSQPAREN) ) {
883 869
                        alt9=1;
884 870
                    }
885 871
                    switch (alt9) {
886 872
                        case 1 :
887
                            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:240:13: T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN
873
                            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:241:13: T_LSQPAREN numOfElements= ( T_INTNUMBER | T_IDENTIFIER ) T_RSQPAREN
888 874
                            {
889
                            match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_complexType455); 
875
                            match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_complexType455);
890 876

  
891
                            numOfElements=(Token)input.LT(1);
877
                            numOfElements=input.LT(1);
892 878

  
893 879
                            if ( input.LA(1)==T_IDENTIFIER||input.LA(1)==T_INTNUMBER ) {
894 880
                                input.consume();
895 881
                                state.errorRecovery=false;
896 882
                            }
897 883
                            else {
898
                                MismatchedSetException mse = new MismatchedSetException(null,input);
884
                                final MismatchedSetException mse = new MismatchedSetException(null,input);
899 885
                                throw mse;
900 886
                            }
901 887

  
902 888

  
903
                            match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_complexType465); 
889
                            match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_complexType465);
904 890

  
905 891
                            }
906 892
                            break;
......
914 900
                    state._fsp--;
915 901

  
916 902

  
917
                    match(input,T_TO,FOLLOW_T_TO_in_complexType473); 
903
                    match(input,T_TO,FOLLOW_T_TO_in_complexType473);
918 904

  
919 905
                    pushFollow(FOLLOW_complexType_in_complexType477);
920 906
                    maptotype=complexType();
......
927 913
                    }
928 914
                    break;
929 915
                case 4 :
930
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:243:4: T_QUANTITY T_OF T_LSQPAREN (alandmark= T_IDENTIFIER |alandmark= T_MINUS T_INFTY ) ( T_COMMA (otherlandmark= T_IDENTIFIER |otherlandmark= T_INFTY ) )* T_RSQPAREN
916
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:244:5: T_LPAREN aType= complexType ( T_COMMA anotherType= complexType )* T_RPAREN
931 917
                    {
932
                    match(input,T_QUANTITY,FOLLOW_T_QUANTITY_in_complexType491); 
918
                    match(input,T_LPAREN,FOLLOW_T_LPAREN_in_complexType492);
933 919

  
934
                    match(input,T_OF,FOLLOW_T_OF_in_complexType493); 
935

  
936
                    match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_complexType495); 
937

  
938
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:243:31: (alandmark= T_IDENTIFIER |alandmark= T_MINUS T_INFTY )
939
                    int alt10=2;
940
                    int LA10_0 = input.LA(1);
941

  
942
                    if ( (LA10_0==T_IDENTIFIER) ) {
943
                        alt10=1;
944
                    }
945
                    else if ( (LA10_0==T_MINUS) ) {
946
                        alt10=2;
947
                    }
948
                    else {
949
                        NoViableAltException nvae =
950
                            new NoViableAltException("", 10, 0, input);
951

  
952
                        throw nvae;
953

  
954
                    }
955
                    switch (alt10) {
956
                        case 1 :
957
                            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:243:32: alandmark= T_IDENTIFIER
958
                            {
959
                            alandmark=(Token)match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_complexType500); 
960

  
961
                            }
962
                            break;
963
                        case 2 :
964
                            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:243:56: alandmark= T_MINUS T_INFTY
965
                            {
966
                            alandmark=(Token)match(input,T_MINUS,FOLLOW_T_MINUS_in_complexType505); 
967

  
968
                            match(input,T_INFTY,FOLLOW_T_INFTY_in_complexType507); 
969

  
970
                            }
971
                            break;
972

  
973
                    }
974

  
975

  
976
                    aTypeSymbol = createQrType(alandmark);
977

  
978
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:244:4: ( T_COMMA (otherlandmark= T_IDENTIFIER |otherlandmark= T_INFTY ) )*
979
                    loop12:
980
                    do {
981
                        int alt12=2;
982
                        int LA12_0 = input.LA(1);
983

  
984
                        if ( (LA12_0==T_COMMA) ) {
985
                            alt12=1;
986
                        }
987

  
988

  
989
                        switch (alt12) {
990
                    	case 1 :
991
                    	    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:244:5: T_COMMA (otherlandmark= T_IDENTIFIER |otherlandmark= T_INFTY )
992
                    	    {
993
                    	    match(input,T_COMMA,FOLLOW_T_COMMA_in_complexType517); 
994

  
995
                    	    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:244:13: (otherlandmark= T_IDENTIFIER |otherlandmark= T_INFTY )
996
                    	    int alt11=2;
997
                    	    int LA11_0 = input.LA(1);
998

  
999
                    	    if ( (LA11_0==T_IDENTIFIER) ) {
1000
                    	        alt11=1;
1001
                    	    }
1002
                    	    else if ( (LA11_0==T_INFTY) ) {
1003
                    	        alt11=2;
1004
                    	    }
1005
                    	    else {
1006
                    	        NoViableAltException nvae =
1007
                    	            new NoViableAltException("", 11, 0, input);
1008

  
1009
                    	        throw nvae;
1010

  
1011
                    	    }
1012
                    	    switch (alt11) {
1013
                    	        case 1 :
1014
                    	            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:244:14: otherlandmark= T_IDENTIFIER
1015
                    	            {
1016
                    	            otherlandmark=(Token)match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_complexType522); 
1017

  
1018
                    	            }
1019
                    	            break;
1020
                    	        case 2 :
1021
                    	            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:244:41: otherlandmark= T_INFTY
1022
                    	            {
1023
                    	            otherlandmark=(Token)match(input,T_INFTY,FOLLOW_T_INFTY_in_complexType526); 
1024

  
1025
                    	            }
1026
                    	            break;
1027

  
1028
                    	    }
1029

  
1030

  
1031
                    	    addToQrType(aTypeSymbol,otherlandmark);
1032

  
1033
                    	    }
1034
                    	    break;
1035

  
1036
                    	default :
1037
                    	    break loop12;
1038
                        }
1039
                    } while (true);
1040

  
1041

  
1042
                    match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_complexType533); 
1043

  
1044
                    }
1045
                    break;
1046
                case 5 :
1047
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:246:5: T_LPAREN aType= complexType ( T_COMMA anotherType= complexType )* T_RPAREN
1048
                    {
1049
                    match(input,T_LPAREN,FOLLOW_T_LPAREN_in_complexType543); 
1050

  
1051
                    pushFollow(FOLLOW_complexType_in_complexType547);
920
                    pushFollow(FOLLOW_complexType_in_complexType496);
1052 921
                    aType=complexType();
1053 922

  
1054 923
                    state._fsp--;
......
1056 925

  
1057 926
                    aTypeSymbol = createTupleType(aType);
1058 927

  
1059
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:247:4: ( T_COMMA anotherType= complexType )*
1060
                    loop13:
928
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:245:4: ( T_COMMA anotherType= complexType )*
929
                    loop10:
1061 930
                    do {
1062
                        int alt13=2;
1063
                        int LA13_0 = input.LA(1);
931
                        int alt10=2;
932
                        final int LA10_0 = input.LA(1);
1064 933

  
1065
                        if ( (LA13_0==T_COMMA) ) {
1066
                            alt13=1;
934
                        if ( (LA10_0==T_COMMA) ) {
935
                            alt10=1;
1067 936
                        }
1068 937

  
1069 938

  
1070
                        switch (alt13) {
939
                        switch (alt10) {
1071 940
                    	case 1 :
1072
                    	    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:247:5: T_COMMA anotherType= complexType
941
                    	    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:245:5: T_COMMA anotherType= complexType
1073 942
                    	    {
1074
                    	    match(input,T_COMMA,FOLLOW_T_COMMA_in_complexType556); 
943
                    	    match(input,T_COMMA,FOLLOW_T_COMMA_in_complexType505);
1075 944

  
1076
                    	    pushFollow(FOLLOW_complexType_in_complexType560);
945
                    	    pushFollow(FOLLOW_complexType_in_complexType509);
1077 946
                    	    anotherType=complexType();
1078 947

  
1079 948
                    	    state._fsp--;
......
1085 954
                    	    break;
1086 955

  
1087 956
                    	default :
1088
                    	    break loop13;
957
                    	    break loop10;
1089 958
                        }
1090 959
                    } while (true);
1091 960

  
1092 961

  
1093
                    match(input,T_RPAREN,FOLLOW_T_RPAREN_in_complexType567); 
962
                    match(input,T_RPAREN,FOLLOW_T_RPAREN_in_complexType516);
1094 963

  
1095 964
                    }
1096 965
                    break;
1097
                case 6 :
1098
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:250:4: r= simpleType
966
                case 5 :
967
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:248:4: r= simpleType
1099 968
                    {
1100
                    pushFollow(FOLLOW_simpleType_in_complexType580);
969
                    pushFollow(FOLLOW_simpleType_in_complexType529);
1101 970
                    r=simpleType();
1102 971

  
1103 972
                    state._fsp--;
......
1110 979

  
1111 980
            }
1112 981
        }
1113
        catch (RecognitionException re) {
982
        catch (final RecognitionException re) {
1114 983
            reportError(re);
1115 984
            recover(input,re);
1116 985
        }
......
1126 995

  
1127 996

  
1128 997
    // $ANTLR start "simpleType"
1129
    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:256:1: simpleType returns [UlyssesType aTypeSymbol] : ( T_BOOL | T_INT T_LSQPAREN rangeLow= ( T_INTNUMBER | T_INFTY | T_IDENTIFIER ) T_RANGETO rangeHigh= ( T_INTNUMBER | T_INFTY | T_IDENTIFIER ) T_RSQPAREN | T_FLOAT T_LSQPAREN rangeLow= ( T_FLOATNUMBER | T_INFTY | T_IDENTIFIER ) T_RANGETO rangeHigh= ( T_FLOATNUMBER | T_INFTY | T_IDENTIFIER ) T_RSQPAREN | T_CHAR | T_CBRL aRangeValue= T_IDENTIFIER ( T_EQUAL optVal= T_INTNUMBER )? ( T_COMMA otherRangeValue= T_IDENTIFIER ( T_EQUAL otherOptVal= T_INTNUMBER )? )* T_CBRR |aType= T_IDENTIFIER );
1130
    public final UlyssesType simpleType() throws RecognitionException {
1131
        UlyssesType aTypeSymbol = null;
998
    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:254:1: simpleType returns [Type aTypeSymbol] : ( T_BOOL | T_INT T_LSQPAREN rangeLow= ( T_INTNUMBER | T_INFTY | T_IDENTIFIER ) T_RANGETO rangeHigh= ( T_INTNUMBER | T_INFTY | T_IDENTIFIER ) T_RSQPAREN | T_FLOAT T_LSQPAREN rangeLow= ( T_FLOATNUMBER | T_INFTY | T_IDENTIFIER ) T_RANGETO rangeHigh= ( T_FLOATNUMBER | T_INFTY | T_IDENTIFIER ) T_RSQPAREN | T_CHAR | T_CBRL aRangeValue= T_IDENTIFIER ( T_EQUAL optVal= T_INTNUMBER )? ( T_COMMA otherRangeValue= T_IDENTIFIER ( T_EQUAL otherOptVal= T_INTNUMBER )? )* T_CBRR |aType= T_IDENTIFIER );
999
    public final Type simpleType() throws RecognitionException {
1000
        Type aTypeSymbol = null;
1132 1001

  
1133 1002

  
1134 1003
        Token rangeLow=null;
......
1139 1008
        Token otherOptVal=null;
1140 1009
        Token aType=null;
1141 1010

  
1142
         
1011

  
1143 1012
        		aTypeSymbol = null;
1144
        	
1013

  
1145 1014
        try {
1146
            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:261:2: ( T_BOOL | T_INT T_LSQPAREN rangeLow= ( T_INTNUMBER | T_INFTY | T_IDENTIFIER ) T_RANGETO rangeHigh= ( T_INTNUMBER | T_INFTY | T_IDENTIFIER ) T_RSQPAREN | T_FLOAT T_LSQPAREN rangeLow= ( T_FLOATNUMBER | T_INFTY | T_IDENTIFIER ) T_RANGETO rangeHigh= ( T_FLOATNUMBER | T_INFTY | T_IDENTIFIER ) T_RSQPAREN | T_CHAR | T_CBRL aRangeValue= T_IDENTIFIER ( T_EQUAL optVal= T_INTNUMBER )? ( T_COMMA otherRangeValue= T_IDENTIFIER ( T_EQUAL otherOptVal= T_INTNUMBER )? )* T_CBRR |aType= T_IDENTIFIER )
1147
            int alt18=6;
1015
            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:259:2: ( T_BOOL | T_INT T_LSQPAREN rangeLow= ( T_INTNUMBER | T_INFTY | T_IDENTIFIER ) T_RANGETO rangeHigh= ( T_INTNUMBER | T_INFTY | T_IDENTIFIER ) T_RSQPAREN | T_FLOAT T_LSQPAREN rangeLow= ( T_FLOATNUMBER | T_INFTY | T_IDENTIFIER ) T_RANGETO rangeHigh= ( T_FLOATNUMBER | T_INFTY | T_IDENTIFIER ) T_RSQPAREN | T_CHAR | T_CBRL aRangeValue= T_IDENTIFIER ( T_EQUAL optVal= T_INTNUMBER )? ( T_COMMA otherRangeValue= T_IDENTIFIER ( T_EQUAL otherOptVal= T_INTNUMBER )? )* T_CBRR |aType= T_IDENTIFIER )
1016
            int alt15=6;
1148 1017
            switch ( input.LA(1) ) {
1149 1018
            case T_BOOL:
1150 1019
                {
1151
                alt18=1;
1020
                alt15=1;
1152 1021
                }
1153 1022
                break;
1154 1023
            case T_INT:
1155 1024
                {
1156
                alt18=2;
1025
                alt15=2;
1157 1026
                }
1158 1027
                break;
1159 1028
            case T_FLOAT:
1160 1029
                {
1161
                alt18=3;
1030
                alt15=3;
1162 1031
                }
1163 1032
                break;
1164 1033
            case T_CHAR:
1165 1034
                {
1166
                alt18=4;
1035
                alt15=4;
1167 1036
                }
1168 1037
                break;
1169 1038
            case T_CBRL:
1170 1039
                {
1171
                alt18=5;
1040
                alt15=5;
1172 1041
                }
1173 1042
                break;
1174 1043
            case T_IDENTIFIER:
1175 1044
                {
1176
                alt18=6;
1045
                alt15=6;
1177 1046
                }
1178 1047
                break;
1179 1048
            default:
1180
                NoViableAltException nvae =
1181
                    new NoViableAltException("", 18, 0, input);
1049
                final NoViableAltException nvae =
1050
                    new NoViableAltException("", 15, 0, input);
1182 1051

  
1183 1052
                throw nvae;
1184 1053

  
1185 1054
            }
1186 1055

  
1187
            switch (alt18) {
1056
            switch (alt15) {
1188 1057
                case 1 :
1189
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:261:4: T_BOOL
1058
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:259:4: T_BOOL
1190 1059
                    {
1191
                    match(input,T_BOOL,FOLLOW_T_BOOL_in_simpleType613); 
1060
                    match(input,T_BOOL,FOLLOW_T_BOOL_in_simpleType562);
1192 1061

  
1193 1062
                    aTypeSymbol = createBoolType();
1194 1063

  
1195 1064
                    }
1196 1065
                    break;
1197 1066
                case 2 :
1198
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:264:4: T_INT T_LSQPAREN rangeLow= ( T_INTNUMBER | T_INFTY | T_IDENTIFIER ) T_RANGETO rangeHigh= ( T_INTNUMBER | T_INFTY | T_IDENTIFIER ) T_RSQPAREN
1067
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:262:4: T_INT T_LSQPAREN rangeLow= ( T_INTNUMBER | T_INFTY | T_IDENTIFIER ) T_RANGETO rangeHigh= ( T_INTNUMBER | T_INFTY | T_IDENTIFIER ) T_RSQPAREN
1199 1068
                    {
1200
                    match(input,T_INT,FOLLOW_T_INT_in_simpleType626); 
1069
                    match(input,T_INT,FOLLOW_T_INT_in_simpleType575);
1201 1070

  
1202
                    match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_simpleType628); 
1071
                    match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_simpleType577);
1203 1072

  
1204
                    rangeLow=(Token)input.LT(1);
1073
                    rangeLow=input.LT(1);
1205 1074

  
1206 1075
                    if ( input.LA(1)==T_IDENTIFIER||input.LA(1)==T_INFTY||input.LA(1)==T_INTNUMBER ) {
1207 1076
                        input.consume();
1208 1077
                        state.errorRecovery=false;
1209 1078
                    }
1210 1079
                    else {
1211
                        MismatchedSetException mse = new MismatchedSetException(null,input);
1080
                        final MismatchedSetException mse = new MismatchedSetException(null,input);
1212 1081
                        throw mse;
1213 1082
                    }
1214 1083

  
1215 1084

  
1216
                    match(input,T_RANGETO,FOLLOW_T_RANGETO_in_simpleType640); 
1085
                    match(input,T_RANGETO,FOLLOW_T_RANGETO_in_simpleType589);
1217 1086

  
1218
                    rangeHigh=(Token)input.LT(1);
1087
                    rangeHigh=input.LT(1);
1219 1088

  
1220 1089
                    if ( input.LA(1)==T_IDENTIFIER||input.LA(1)==T_INFTY||input.LA(1)==T_INTNUMBER ) {
1221 1090
                        input.consume();
1222 1091
                        state.errorRecovery=false;
1223 1092
                    }
1224 1093
                    else {
1225
                        MismatchedSetException mse = new MismatchedSetException(null,input);
1094
                        final MismatchedSetException mse = new MismatchedSetException(null,input);
1226 1095
                        throw mse;
1227 1096
                    }
1228 1097

  
1229 1098

  
1230
                    match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_simpleType652); 
1099
                    match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_simpleType601);
1231 1100

  
1232 1101
                    aTypeSymbol = createIntType(rangeLow,rangeHigh);
1233 1102

  
1234 1103
                    }
1235 1104
                    break;
1236 1105
                case 3 :
1237
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:268:4: T_FLOAT T_LSQPAREN rangeLow= ( T_FLOATNUMBER | T_INFTY | T_IDENTIFIER ) T_RANGETO rangeHigh= ( T_FLOATNUMBER | T_INFTY | T_IDENTIFIER ) T_RSQPAREN
1106
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:266:4: T_FLOAT T_LSQPAREN rangeLow= ( T_FLOATNUMBER | T_INFTY | T_IDENTIFIER ) T_RANGETO rangeHigh= ( T_FLOATNUMBER | T_INFTY | T_IDENTIFIER ) T_RSQPAREN
1238 1107
                    {
1239
                    match(input,T_FLOAT,FOLLOW_T_FLOAT_in_simpleType671); 
1108
                    match(input,T_FLOAT,FOLLOW_T_FLOAT_in_simpleType620);
1240 1109

  
1241
                    match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_simpleType674); 
1110
                    match(input,T_LSQPAREN,FOLLOW_T_LSQPAREN_in_simpleType623);
1242 1111

  
1243
                    rangeLow=(Token)input.LT(1);
1112
                    rangeLow=input.LT(1);
1244 1113

  
1245 1114
                    if ( input.LA(1)==T_FLOATNUMBER||input.LA(1)==T_IDENTIFIER||input.LA(1)==T_INFTY ) {
1246 1115
                        input.consume();
1247 1116
                        state.errorRecovery=false;
1248 1117
                    }
1249 1118
                    else {
1250
                        MismatchedSetException mse = new MismatchedSetException(null,input);
1119
                        final MismatchedSetException mse = new MismatchedSetException(null,input);
1251 1120
                        throw mse;
1252 1121
                    }
1253 1122

  
1254 1123

  
1255
                    match(input,T_RANGETO,FOLLOW_T_RANGETO_in_simpleType686); 
1124
                    match(input,T_RANGETO,FOLLOW_T_RANGETO_in_simpleType635);
1256 1125

  
1257
                    rangeHigh=(Token)input.LT(1);
1126
                    rangeHigh=input.LT(1);
1258 1127

  
1259 1128
                    if ( input.LA(1)==T_FLOATNUMBER||input.LA(1)==T_IDENTIFIER||input.LA(1)==T_INFTY ) {
1260 1129
                        input.consume();
1261 1130
                        state.errorRecovery=false;
1262 1131
                    }
1263 1132
                    else {
1264
                        MismatchedSetException mse = new MismatchedSetException(null,input);
1133
                        final MismatchedSetException mse = new MismatchedSetException(null,input);
1265 1134
                        throw mse;
1266 1135
                    }
1267 1136

  
1268 1137

  
1269
                    match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_simpleType698); 
1138
                    match(input,T_RSQPAREN,FOLLOW_T_RSQPAREN_in_simpleType647);
1270 1139

  
1271 1140
                    aTypeSymbol = createFloatType(rangeLow,rangeHigh);
1272 1141

  
1273 1142
                    }
1274 1143
                    break;
1275 1144
                case 4 :
1276
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:272:4: T_CHAR
1145
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:270:4: T_CHAR
1277 1146
                    {
1278
                    match(input,T_CHAR,FOLLOW_T_CHAR_in_simpleType716); 
1147
                    match(input,T_CHAR,FOLLOW_T_CHAR_in_simpleType665);
1279 1148

  
1280 1149
                    aTypeSymbol = createCharType();
1281 1150

  
1282 1151
                    }
1283 1152
                    break;
1284 1153
                case 5 :
1285
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:276:4: T_CBRL aRangeValue= T_IDENTIFIER ( T_EQUAL optVal= T_INTNUMBER )? ( T_COMMA otherRangeValue= T_IDENTIFIER ( T_EQUAL otherOptVal= T_INTNUMBER )? )* T_CBRR
1154
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:274:4: T_CBRL aRangeValue= T_IDENTIFIER ( T_EQUAL optVal= T_INTNUMBER )? ( T_COMMA otherRangeValue= T_IDENTIFIER ( T_EQUAL otherOptVal= T_INTNUMBER )? )* T_CBRR
1286 1155
                    {
1287
                    match(input,T_CBRL,FOLLOW_T_CBRL_in_simpleType732); 
1156
                    match(input,T_CBRL,FOLLOW_T_CBRL_in_simpleType681);
1288 1157

  
1289
                    aRangeValue=(Token)match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_simpleType736); 
1158
                    aRangeValue=(Token)match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_simpleType685);
1290 1159

  
1291
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:276:36: ( T_EQUAL optVal= T_INTNUMBER )?
1292
                    int alt15=2;
1293
                    int LA15_0 = input.LA(1);
1160
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:274:36: ( T_EQUAL optVal= T_INTNUMBER )?
1161
                    int alt12=2;
1162
                    final int LA12_0 = input.LA(1);
1294 1163

  
1295
                    if ( (LA15_0==T_EQUAL) ) {
1296
                        alt15=1;
1164
                    if ( (LA12_0==T_EQUAL) ) {
1165
                        alt12=1;
1297 1166
                    }
1298
                    switch (alt15) {
1167
                    switch (alt12) {
1299 1168
                        case 1 :
1300
                            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:276:37: T_EQUAL optVal= T_INTNUMBER
1169
                            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:274:37: T_EQUAL optVal= T_INTNUMBER
1301 1170
                            {
1302
                            match(input,T_EQUAL,FOLLOW_T_EQUAL_in_simpleType739); 
1171
                            match(input,T_EQUAL,FOLLOW_T_EQUAL_in_simpleType688);
1303 1172

  
1304
                            optVal=(Token)match(input,T_INTNUMBER,FOLLOW_T_INTNUMBER_in_simpleType743); 
1173
                            optVal=(Token)match(input,T_INTNUMBER,FOLLOW_T_INTNUMBER_in_simpleType692);
1305 1174

  
1306 1175
                            }
1307 1176
                            break;
......
1311 1180

  
1312 1181
                    aTypeSymbol = createEnumType(aRangeValue, optVal);
1313 1182

  
1314
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:277:4: ( T_COMMA otherRangeValue= T_IDENTIFIER ( T_EQUAL otherOptVal= T_INTNUMBER )? )*
1315
                    loop17:
1183
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:275:4: ( T_COMMA otherRangeValue= T_IDENTIFIER ( T_EQUAL otherOptVal= T_INTNUMBER )? )*
1184
                    loop14:
1316 1185
                    do {
1317
                        int alt17=2;
1318
                        int LA17_0 = input.LA(1);
1186
                        int alt14=2;
1187
                        final int LA14_0 = input.LA(1);
1319 1188

  
1320
                        if ( (LA17_0==T_COMMA) ) {
1321
                            alt17=1;
1189
                        if ( (LA14_0==T_COMMA) ) {
1190
                            alt14=1;
1322 1191
                        }
1323 1192

  
1324 1193

  
1325
                        switch (alt17) {
1194
                        switch (alt14) {
1326 1195
                    	case 1 :
1327
                    	    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:277:5: T_COMMA otherRangeValue= T_IDENTIFIER ( T_EQUAL otherOptVal= T_INTNUMBER )?
1196
                    	    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:275:5: T_COMMA otherRangeValue= T_IDENTIFIER ( T_EQUAL otherOptVal= T_INTNUMBER )?
1328 1197
                    	    {
1329
                    	    match(input,T_COMMA,FOLLOW_T_COMMA_in_simpleType754); 
1198
                    	    match(input,T_COMMA,FOLLOW_T_COMMA_in_simpleType703);
1330 1199

  
1331
                    	    otherRangeValue=(Token)match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_simpleType758); 
1200
                    	    otherRangeValue=(Token)match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_simpleType707);
1332 1201

  
1333
                    	    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:277:42: ( T_EQUAL otherOptVal= T_INTNUMBER )?
1334
                    	    int alt16=2;
1335
                    	    int LA16_0 = input.LA(1);
1202
                    	    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:275:42: ( T_EQUAL otherOptVal= T_INTNUMBER )?
1203
                    	    int alt13=2;
1204
                    	    final int LA13_0 = input.LA(1);
1336 1205

  
1337
                    	    if ( (LA16_0==T_EQUAL) ) {
1338
                    	        alt16=1;
1206
                    	    if ( (LA13_0==T_EQUAL) ) {
1207
                    	        alt13=1;
1339 1208
                    	    }
1340
                    	    switch (alt16) {
1209
                    	    switch (alt13) {
1341 1210
                    	        case 1 :
1342
                    	            // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:277:43: T_EQUAL otherOptVal= T_INTNUMBER
1211
                    	            // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:275:43: T_EQUAL otherOptVal= T_INTNUMBER
1343 1212
                    	            {
1344
                    	            match(input,T_EQUAL,FOLLOW_T_EQUAL_in_simpleType761); 
1213
                    	            match(input,T_EQUAL,FOLLOW_T_EQUAL_in_simpleType710);
1345 1214

  
1346
                    	            otherOptVal=(Token)match(input,T_INTNUMBER,FOLLOW_T_INTNUMBER_in_simpleType765); 
1215
                    	            otherOptVal=(Token)match(input,T_INTNUMBER,FOLLOW_T_INTNUMBER_in_simpleType714);
1347 1216

  
1348 1217
                    	            }
1349 1218
                    	            break;
......
1357 1226
                    	    break;
1358 1227

  
1359 1228
                    	default :
1360
                    	    break loop17;
1229
                    	    break loop14;
1361 1230
                        }
1362 1231
                    } while (true);
1363 1232

  
1364 1233

  
1365
                    match(input,T_CBRR,FOLLOW_T_CBRR_in_simpleType773); 
1234
                    match(input,T_CBRR,FOLLOW_T_CBRR_in_simpleType722);
1366 1235

  
1367 1236
                    }
1368 1237
                    break;
1369 1238
                case 6 :
1370
                    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:279:4: aType= T_IDENTIFIER
1239
                    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:277:4: aType= T_IDENTIFIER
1371 1240
                    {
1372
                    aType=(Token)match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_simpleType784); 
1241
                    aType=(Token)match(input,T_IDENTIFIER,FOLLOW_T_IDENTIFIER_in_simpleType733);
1373 1242

  
1374 1243
                    aTypeSymbol = getNamedType(aType);
1375 1244

  
......
1378 1247

  
1379 1248
            }
1380 1249
        }
1381
        catch (RecognitionException re) {
1250
        catch (final RecognitionException re) {
1382 1251
            reportError(re);
1383 1252
            recover(input,re);
1384 1253
        }
......
1394 1263

  
1395 1264

  
1396 1265
    // $ANTLR start "ooActionSystem"
1397
    // C:\\Users\\KrennW\\Documents\\svn\\public\\tug_ist\\trunk\\momut\\uml_ooas\\ooas_compiler\\java\\src\\org\\momut\\ooas\\parser\\ooa.g:289:1: ooActionSystem returns [OoActionSystemType aTypeSymbol] : ( T_AUTOCONS )? T_SYSTEM ( T_LPAREN refinesSystemName= T_IDENTIFIER T_RPAREN )? '|[' ( T_VAR attrList )? ( T_METHODS methodList )? ( T_ACTIONS namedActionList )? ( T_DO (bl= actionBlock[null] )? T_OD )? ']|' ;
1266
    // /home/willibald/svn/branches/1161_dynlistPerformance_willibald/ooascompiler/ooasCompiler/src/org/momut/ooas/parser/ooa.g:287:1: ooActionSystem returns [OoActionSystemType aTypeSymbol] : ( T_AUTOCONS )? T_SYSTEM ( T_LPAREN refinesSystemName= T_IDENTIFIER T_RPAREN )? '|[' ( T_VAR attrList )? ( T_METHODS methodList )? ( T_ACTIONS namedActionList )? ( T_DO (bl= actionBlock[null] )? T_OD )? ']|' ;
1398 1267
    public final OoActionSystemType ooActionSystem() throws RecognitionException {
1399 1268
        OoActionSystemType aTypeSymbol = null;
1400 1269

  
......
1403 1272
        Block bl =null;
1404 1273

  
1405 1274

  
1406
         
1407
        		boolean autoCons = false; 
1275

  
1276
        		boolean autoCons = false;
1408 1277
        		aTypeSymbol = null;
1409 1278
        		refinesSystemName = null;
1410
        	
1279

  
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff