1 #include "nitc__modelize_property.sep.0.h"
2 /* method modelize_property$AAttrPropdef$build_property for (self: AAttrPropdef, ModelBuilder, MClassDef) */
3 void nitc__modelize_property___AAttrPropdef___APropdef__build_property(val
* self
, val
* p0
, val
* p1
) {
4 val
* var_modelbuilder
/* var modelbuilder: ModelBuilder */;
5 val
* var_mclassdef
/* var mclassdef: MClassDef */;
6 val
* var
/* : MClass */;
7 val
* var2
/* : MClass */;
8 val
* var_mclass
/* var mclass: MClass */;
10 val
* var5
/* : TId */;
11 val
* var_nid2
/* var nid2: TId */;
12 val
* var6
/* : String */;
13 val
* var_name
/* var name: String */;
15 val
* var7
/* : String */;
16 char* var8
/* : CString */;
17 val
* var9
/* : String */;
18 val
* var10
/* : nullable Int */;
19 val
* var11
/* : nullable Int */;
20 val
* var12
/* : nullable Bool */;
21 val
* var13
/* : nullable Bool */;
22 val
* var14
/* : nullable AAnnotation */;
23 val
* var_atabstract
/* var atabstract: nullable AAnnotation */;
24 short int var15
/* : Bool */;
25 short int var16
/* : Bool */;
26 val
* var_other
/* var other: nullable Object */;
27 short int var18
/* : Bool */;
28 short int var20
/* : Bool */;
29 val
* var21
/* : MClassKind */;
30 val
* var23
/* : MClassKind */;
31 short int var24
/* : Bool */;
32 short int var26
/* : Bool */;
33 short int var27
/* : Bool */;
34 val
* var29
/* : NativeArray[String] */;
35 static val
* varonce28
;
36 static val
* varonce30
;
37 val
* var31
/* : String */;
38 char* var32
/* : CString */;
39 val
* var33
/* : String */;
40 val
* var34
/* : nullable Int */;
41 val
* var35
/* : nullable Int */;
42 val
* var36
/* : nullable Bool */;
43 val
* var37
/* : nullable Bool */;
44 static val
* varonce38
;
45 val
* var39
/* : String */;
46 char* var40
/* : CString */;
47 val
* var41
/* : String */;
48 val
* var42
/* : nullable Int */;
49 val
* var43
/* : nullable Int */;
50 val
* var44
/* : nullable Bool */;
51 val
* var45
/* : nullable Bool */;
52 static val
* varonce46
;
53 val
* var47
/* : String */;
54 char* var48
/* : CString */;
55 val
* var49
/* : String */;
56 val
* var50
/* : nullable Int */;
57 val
* var51
/* : nullable Int */;
58 val
* var52
/* : nullable Bool */;
59 val
* var53
/* : nullable Bool */;
60 static val
* varonce54
;
61 val
* var55
/* : String */;
62 char* var56
/* : CString */;
63 val
* var57
/* : String */;
64 val
* var58
/* : nullable Int */;
65 val
* var59
/* : nullable Int */;
66 val
* var60
/* : nullable Bool */;
67 val
* var61
/* : nullable Bool */;
68 val
* var62
/* : MClassKind */;
69 val
* var64
/* : MClassKind */;
70 val
* var65
/* : String */;
71 val
* var66
/* : String */;
72 val
* var67
/* : String */;
73 val
* var68
/* : MAttribute */;
74 static val
* varonce69
;
75 val
* var70
/* : String */;
76 char* var71
/* : CString */;
77 val
* var72
/* : String */;
78 val
* var73
/* : nullable Int */;
79 val
* var74
/* : nullable Int */;
80 val
* var75
/* : nullable Bool */;
81 val
* var76
/* : nullable Bool */;
82 val
* var77
/* : Text */;
83 val
* var78
/* : Location */;
84 val
* var80
/* : Location */;
85 val
* var81
/* : Sys */;
86 val
* var82
/* : MVisibility */;
87 val
* var_mprop
/* var mprop: MAttribute */;
88 val
* var83
/* : MAttributeDef */;
89 val
* var84
/* : Location */;
90 val
* var86
/* : Location */;
91 val
* var_mpropdef
/* var mpropdef: MAttributeDef */;
92 short int var87
/* : Bool */;
95 const struct type
* type_struct
;
96 const char* var_class_name
;
97 short int var89
/* : Bool */;
100 const struct type
* type_struct92
;
101 const char* var_class_name93
;
102 val
* var94
/* : HashMap[MPropDef, APropdef] */;
103 val
* var96
/* : HashMap[MPropDef, APropdef] */;
104 val
* var_readname
/* var readname: String */;
105 val
* var97
/* : nullable MProperty */;
106 short int var98
/* : Bool */;
109 const char* var_class_name101
;
110 val
* var_mreadprop
/* var mreadprop: nullable MMethod */;
111 short int var102
/* : Bool */;
112 short int var103
/* : Bool */;
113 short int var105
/* : Bool */;
114 short int var107
/* : Bool */;
115 val
* var108
/* : nullable AVisibility */;
116 val
* var110
/* : nullable AVisibility */;
117 val
* var111
/* : MVisibility */;
118 val
* var_mvisibility
/* var mvisibility: MVisibility */;
119 val
* var112
/* : MMethod */;
120 val
* var113
/* : Location */;
121 val
* var115
/* : Location */;
122 val
* var116
/* : nullable TKwredef */;
123 val
* var118
/* : nullable TKwredef */;
124 short int var119
/* : Bool */;
125 short int var120
/* : Bool */;
126 short int var122
/* : Bool */;
127 short int var124
/* : Bool */;
128 val
* var125
/* : nullable TKwredef */;
129 val
* var127
/* : nullable TKwredef */;
130 short int var128
/* : Bool */;
131 short int var129
/* : Bool */;
132 val
* var130
/* : nullable AVisibility */;
133 val
* var132
/* : nullable AVisibility */;
134 val
* var133
/* : Map[MProperty, APropdef] */;
135 val
* var135
/* : Map[MProperty, APropdef] */;
136 val
* var136
/* : MMethodDef */;
137 val
* var137
/* : Location */;
138 val
* var139
/* : Location */;
139 val
* var_mreadpropdef
/* var mreadpropdef: MMethodDef */;
140 val
* var141
/* : HashMap[MPropDef, APropdef] */;
141 val
* var143
/* : HashMap[MPropDef, APropdef] */;
142 val
* var144
/* : nullable MPropDef */;
143 val
* var146
/* : nullable MPropDef */;
144 short int var147
/* : Bool */;
145 short int var148
/* : Bool */;
146 val
* var_other150
/* var other: nullable Object */;
147 short int var151
/* : Bool */;
148 short int var152
/* : Bool */;
149 val
* var153
/* : nullable MPropDef */;
150 val
* var155
/* : nullable MPropDef */;
151 val
* var156
/* : nullable MDoc */;
152 val
* var158
/* : nullable MDoc */;
153 short int var160
/* : Bool */;
154 short int var161
/* : Bool */;
155 short int var163
/* : Bool */;
156 short int var164
/* : Bool */;
157 short int var166
/* : Bool */;
158 val
* var167
/* : nullable AExpr */;
159 val
* var169
/* : nullable AExpr */;
160 short int var170
/* : Bool */;
161 short int var171
/* : Bool */;
162 short int var173
/* : Bool */;
163 short int var174
/* : Bool */;
164 short int var_
/* var : Bool */;
165 val
* var175
/* : nullable AExpr */;
166 val
* var177
/* : nullable AExpr */;
167 short int var178
/* : Bool */;
168 short int var179
/* : Bool */;
169 short int var181
/* : Bool */;
170 short int var182
/* : Bool */;
171 short int var184
/* : Bool */;
172 short int var185
/* : Bool */;
173 short int var186
/* : Bool */;
174 short int var188
/* : Bool */;
175 short int var189
/* : Bool */;
176 short int var_190
/* var : Bool */;
177 short int var191
/* : Bool */;
178 short int var193
/* : Bool */;
179 static val
* varonce194
;
180 val
* var195
/* : String */;
181 char* var196
/* : CString */;
182 val
* var197
/* : String */;
183 val
* var198
/* : nullable Int */;
184 val
* var199
/* : nullable Int */;
185 val
* var200
/* : nullable Bool */;
186 val
* var201
/* : nullable Bool */;
187 static val
* varonce202
;
188 val
* var203
/* : String */;
189 char* var204
/* : CString */;
190 val
* var205
/* : String */;
191 val
* var206
/* : nullable Int */;
192 val
* var207
/* : nullable Int */;
193 val
* var208
/* : nullable Bool */;
194 val
* var209
/* : nullable Bool */;
195 val
* var210
/* : nullable AAnnotation */;
196 val
* var_atnoinit
/* var atnoinit: nullable AAnnotation */;
197 short int var211
/* : Bool */;
198 short int var212
/* : Bool */;
199 short int var214
/* : Bool */;
200 short int var216
/* : Bool */;
201 static val
* varonce217
;
202 val
* var218
/* : String */;
203 char* var219
/* : CString */;
204 val
* var220
/* : String */;
205 val
* var221
/* : nullable Int */;
206 val
* var222
/* : nullable Int */;
207 val
* var223
/* : nullable Bool */;
208 val
* var224
/* : nullable Bool */;
209 val
* var225
/* : nullable AAnnotation */;
210 short int var226
/* : Bool */;
211 short int var227
/* : Bool */;
212 short int var229
/* : Bool */;
213 short int var230
/* : Bool */;
214 short int var232
/* : Bool */;
215 short int var234
/* : Bool */;
216 static val
* varonce235
;
217 val
* var236
/* : String */;
218 char* var237
/* : CString */;
219 val
* var238
/* : String */;
220 val
* var239
/* : nullable Int */;
221 val
* var240
/* : nullable Int */;
222 val
* var241
/* : nullable Bool */;
223 val
* var242
/* : nullable Bool */;
224 short int var243
/* : Bool */;
225 short int var244
/* : Bool */;
226 short int var246
/* : Bool */;
227 short int var247
/* : Bool */;
228 static val
* varonce248
;
229 val
* var249
/* : String */;
230 char* var250
/* : CString */;
231 val
* var251
/* : String */;
232 val
* var252
/* : nullable Int */;
233 val
* var253
/* : nullable Int */;
234 val
* var254
/* : nullable Bool */;
235 val
* var255
/* : nullable Bool */;
236 static val
* varonce256
;
237 val
* var257
/* : String */;
238 char* var258
/* : CString */;
239 val
* var259
/* : String */;
240 val
* var260
/* : nullable Int */;
241 val
* var261
/* : nullable Int */;
242 val
* var262
/* : nullable Bool */;
243 val
* var263
/* : nullable Bool */;
244 static val
* varonce264
;
245 val
* var265
/* : String */;
246 char* var266
/* : CString */;
247 val
* var267
/* : String */;
248 val
* var268
/* : nullable Int */;
249 val
* var269
/* : nullable Int */;
250 val
* var270
/* : nullable Bool */;
251 val
* var271
/* : nullable Bool */;
252 val
* var272
/* : nullable AAnnotation */;
253 val
* var_atlazy
/* var atlazy: nullable AAnnotation */;
254 static val
* varonce273
;
255 val
* var274
/* : String */;
256 char* var275
/* : CString */;
257 val
* var276
/* : String */;
258 val
* var277
/* : nullable Int */;
259 val
* var278
/* : nullable Int */;
260 val
* var279
/* : nullable Bool */;
261 val
* var280
/* : nullable Bool */;
262 val
* var281
/* : nullable AAnnotation */;
263 val
* var_atlateinit
/* var atlateinit: nullable AAnnotation */;
264 short int var282
/* : Bool */;
265 short int var283
/* : Bool */;
266 short int var284
/* : Bool */;
267 short int var286
/* : Bool */;
268 short int var287
/* : Bool */;
269 short int var_288
/* var : Bool */;
270 short int var289
/* : Bool */;
271 short int var290
/* : Bool */;
272 short int var292
/* : Bool */;
273 short int var293
/* : Bool */;
274 short int var294
/* : Bool */;
275 short int var295
/* : Bool */;
276 short int var296
/* : Bool */;
277 short int var298
/* : Bool */;
278 short int var299
/* : Bool */;
279 short int var_300
/* var : Bool */;
280 short int var301
/* : Bool */;
281 short int var302
/* : Bool */;
282 short int var304
/* : Bool */;
283 short int var305
/* : Bool */;
284 static val
* varonce306
;
285 val
* var307
/* : String */;
286 char* var308
/* : CString */;
287 val
* var309
/* : String */;
288 val
* var310
/* : nullable Int */;
289 val
* var311
/* : nullable Int */;
290 val
* var312
/* : nullable Bool */;
291 val
* var313
/* : nullable Bool */;
292 short int var314
/* : Bool */;
293 short int var316
/* : Bool */;
294 short int var317
/* : Bool */;
295 short int var318
/* : Bool */;
296 short int var319
/* : Bool */;
297 short int var321
/* : Bool */;
298 short int var322
/* : Bool */;
299 static val
* varonce323
;
300 val
* var324
/* : String */;
301 char* var325
/* : CString */;
302 val
* var326
/* : String */;
303 val
* var327
/* : nullable Int */;
304 val
* var328
/* : nullable Int */;
305 val
* var329
/* : nullable Bool */;
306 val
* var330
/* : nullable Bool */;
307 short int var331
/* : Bool */;
308 short int var332
/* : Bool */;
309 short int var334
/* : Bool */;
310 short int var335
/* : Bool */;
311 static val
* varonce336
;
312 val
* var337
/* : String */;
313 char* var338
/* : CString */;
314 val
* var339
/* : String */;
315 val
* var340
/* : nullable Int */;
316 val
* var341
/* : nullable Int */;
317 val
* var342
/* : nullable Bool */;
318 val
* var343
/* : nullable Bool */;
319 val
* var346
/* : MAttribute */;
320 static val
* varonce347
;
321 val
* var348
/* : String */;
322 char* var349
/* : CString */;
323 val
* var350
/* : String */;
324 val
* var351
/* : nullable Int */;
325 val
* var352
/* : nullable Int */;
326 val
* var353
/* : nullable Bool */;
327 val
* var354
/* : nullable Bool */;
328 val
* var355
/* : Text */;
329 val
* var356
/* : Location */;
330 val
* var358
/* : Location */;
331 val
* var359
/* : Sys */;
332 val
* var360
/* : MVisibility */;
333 val
* var_mlazyprop
/* var mlazyprop: MAttribute */;
334 val
* var362
/* : MAttributeDef */;
335 val
* var363
/* : Location */;
336 val
* var365
/* : Location */;
337 val
* var_mlazypropdef
/* var mlazypropdef: MAttributeDef */;
338 static val
* varonce368
;
339 val
* var369
/* : String */;
340 char* var370
/* : CString */;
341 val
* var371
/* : String */;
342 val
* var372
/* : nullable Int */;
343 val
* var373
/* : nullable Int */;
344 val
* var374
/* : nullable Bool */;
345 val
* var375
/* : nullable Bool */;
346 val
* var376
/* : nullable AAnnotation */;
347 val
* var_atoptional
/* var atoptional: nullable AAnnotation */;
348 short int var377
/* : Bool */;
349 short int var378
/* : Bool */;
350 short int var380
/* : Bool */;
351 short int var381
/* : Bool */;
352 short int var382
/* : Bool */;
353 short int var384
/* : Bool */;
354 short int var385
/* : Bool */;
355 static val
* varonce386
;
356 val
* var387
/* : String */;
357 char* var388
/* : CString */;
358 val
* var389
/* : String */;
359 val
* var390
/* : nullable Int */;
360 val
* var391
/* : nullable Int */;
361 val
* var392
/* : nullable Bool */;
362 val
* var393
/* : nullable Bool */;
363 static val
* varonce395
;
364 val
* var396
/* : String */;
365 char* var397
/* : CString */;
366 val
* var398
/* : String */;
367 val
* var399
/* : nullable Int */;
368 val
* var400
/* : nullable Int */;
369 val
* var401
/* : nullable Bool */;
370 val
* var402
/* : nullable Bool */;
371 val
* var403
/* : nullable AAnnotation */;
372 val
* var_atreadonly
/* var atreadonly: nullable AAnnotation */;
373 short int var404
/* : Bool */;
374 short int var405
/* : Bool */;
375 short int var407
/* : Bool */;
376 short int var408
/* : Bool */;
377 short int var409
/* : Bool */;
378 short int var411
/* : Bool */;
379 short int var412
/* : Bool */;
380 static val
* varonce413
;
381 val
* var414
/* : String */;
382 char* var415
/* : CString */;
383 val
* var416
/* : String */;
384 val
* var417
/* : nullable Int */;
385 val
* var418
/* : nullable Int */;
386 val
* var419
/* : nullable Bool */;
387 val
* var420
/* : nullable Bool */;
388 short int var421
/* : Bool */;
389 short int var422
/* : Bool */;
390 short int var423
/* : Bool */;
391 short int var424
/* : Bool */;
392 short int var_425
/* var : Bool */;
393 short int var426
/* : Bool */;
394 short int var428
/* : Bool */;
395 short int var429
/* : Bool */;
396 short int var_430
/* var : Bool */;
397 short int var431
/* : Bool */;
398 short int var433
/* : Bool */;
399 short int var434
/* : Bool */;
400 static val
* varonce435
;
401 val
* var436
/* : String */;
402 char* var437
/* : CString */;
403 val
* var438
/* : String */;
404 val
* var439
/* : nullable Int */;
405 val
* var440
/* : nullable Int */;
406 val
* var441
/* : nullable Bool */;
407 val
* var442
/* : nullable Bool */;
408 static val
* varonce443
;
409 val
* var444
/* : String */;
410 char* var445
/* : CString */;
411 val
* var446
/* : String */;
412 val
* var447
/* : nullable Int */;
413 val
* var448
/* : nullable Int */;
414 val
* var449
/* : nullable Bool */;
415 val
* var450
/* : nullable Bool */;
416 static val
* varonce451
;
417 val
* var452
/* : String */;
418 char* var453
/* : CString */;
419 val
* var454
/* : String */;
420 val
* var455
/* : nullable Int */;
421 val
* var456
/* : nullable Int */;
422 val
* var457
/* : nullable Bool */;
423 val
* var458
/* : nullable Bool */;
424 val
* var459
/* : Text */;
425 val
* var_writename
/* var writename: String */;
426 static val
* varonce460
;
427 val
* var461
/* : String */;
428 char* var462
/* : CString */;
429 val
* var463
/* : String */;
430 val
* var464
/* : nullable Int */;
431 val
* var465
/* : nullable Int */;
432 val
* var466
/* : nullable Bool */;
433 val
* var467
/* : nullable Bool */;
434 val
* var468
/* : nullable AAnnotation */;
435 val
* var_atwritable
/* var atwritable: nullable AAnnotation */;
436 short int var469
/* : Bool */;
437 short int var470
/* : Bool */;
438 short int var472
/* : Bool */;
439 short int var473
/* : Bool */;
440 val
* var474
/* : ANodes[AExpr] */;
441 val
* var476
/* : ANodes[AExpr] */;
442 short int var477
/* : Bool */;
443 short int var478
/* : Bool */;
444 val
* var479
/* : String */;
445 val
* var480
/* : nullable String */;
446 val
* var481
/* : nullable MProperty */;
447 short int var482
/* : Bool */;
450 const char* var_class_name485
;
451 val
* var_mwriteprop
/* var mwriteprop: nullable MMethod */;
452 val
* var_nwkwredef
/* var nwkwredef: nullable Token */;
453 short int var486
/* : Bool */;
454 short int var487
/* : Bool */;
455 short int var489
/* : Bool */;
456 short int var490
/* : Bool */;
457 val
* var491
/* : nullable TKwredef */;
458 val
* var493
/* : nullable TKwredef */;
459 short int var494
/* : Bool */;
460 short int var495
/* : Bool */;
461 short int var497
/* : Bool */;
462 short int var499
/* : Bool */;
463 short int var500
/* : Bool */;
464 short int var501
/* : Bool */;
465 short int var503
/* : Bool */;
466 short int var504
/* : Bool */;
467 val
* var505
/* : nullable AVisibility */;
468 val
* var507
/* : nullable AVisibility */;
469 val
* var508
/* : MVisibility */;
470 val
* var_mvisibility509
/* var mvisibility: nullable Object */;
471 val
* var510
/* : MVisibility */;
472 val
* var512
/* : MVisibility */;
473 val
* var513
/* : Sys */;
474 val
* var514
/* : MVisibility */;
475 short int var515
/* : Bool */;
476 val
* var516
/* : Sys */;
477 val
* var517
/* : MVisibility */;
478 val
* var518
/* : MMethod */;
479 val
* var519
/* : Location */;
480 val
* var521
/* : Location */;
481 short int var522
/* : Bool */;
482 short int var523
/* : Bool */;
483 val
* var525
/* : nullable MDeprecationInfo */;
484 val
* var527
/* : nullable MDeprecationInfo */;
485 short int var529
/* : Bool */;
486 short int var531
/* : Bool */;
487 val
* var532
/* : nullable Token */;
488 val
* var533
/* : nullable TKwredef */;
489 val
* var535
/* : nullable TKwredef */;
490 short int var536
/* : Bool */;
491 short int var537
/* : Bool */;
492 short int var538
/* : Bool */;
493 short int var539
/* : Bool */;
494 short int var541
/* : Bool */;
495 short int var542
/* : Bool */;
496 val
* var543
/* : nullable AVisibility */;
497 val
* var545
/* : nullable AVisibility */;
498 val
* var546
/* : Map[MProperty, APropdef] */;
499 val
* var548
/* : Map[MProperty, APropdef] */;
500 val
* var549
/* : MMethodDef */;
501 val
* var550
/* : Location */;
502 val
* var552
/* : Location */;
503 val
* var_mwritepropdef
/* var mwritepropdef: MMethodDef */;
504 val
* var554
/* : HashMap[MPropDef, APropdef] */;
505 val
* var556
/* : HashMap[MPropDef, APropdef] */;
506 val
* var557
/* : nullable MDoc */;
507 val
* var559
/* : nullable MDoc */;
508 short int var561
/* : Bool */;
509 short int var562
/* : Bool */;
510 short int var564
/* : Bool */;
511 short int var565
/* : Bool */;
512 static val
* varonce567
;
513 val
* var568
/* : String */;
514 char* var569
/* : CString */;
515 val
* var570
/* : String */;
516 val
* var571
/* : nullable Int */;
517 val
* var572
/* : nullable Int */;
518 val
* var573
/* : nullable Bool */;
519 val
* var574
/* : nullable Bool */;
520 val
* var575
/* : nullable AAnnotation */;
521 val
* var_atautoinit
/* var atautoinit: nullable AAnnotation */;
522 short int var576
/* : Bool */;
523 short int var577
/* : Bool */;
524 short int var579
/* : Bool */;
525 short int var580
/* : Bool */;
526 short int var581
/* : Bool */;
527 short int var583
/* : Bool */;
528 static val
* varonce584
;
529 val
* var585
/* : String */;
530 char* var586
/* : CString */;
531 val
* var587
/* : String */;
532 val
* var588
/* : nullable Int */;
533 val
* var589
/* : nullable Int */;
534 val
* var590
/* : nullable Bool */;
535 val
* var591
/* : nullable Bool */;
536 short int var592
/* : Bool */;
537 short int var593
/* : Bool */;
538 static val
* varonce594
;
539 val
* var595
/* : String */;
540 char* var596
/* : CString */;
541 val
* var597
/* : String */;
542 val
* var598
/* : nullable Int */;
543 val
* var599
/* : nullable Int */;
544 val
* var600
/* : nullable Bool */;
545 val
* var601
/* : nullable Bool */;
546 short int var602
/* : Bool */;
547 short int var603
/* : Bool */;
548 static val
* varonce604
;
549 val
* var605
/* : String */;
550 char* var606
/* : CString */;
551 val
* var607
/* : String */;
552 val
* var608
/* : nullable Int */;
553 val
* var609
/* : nullable Int */;
554 val
* var610
/* : nullable Bool */;
555 val
* var611
/* : nullable Bool */;
556 short int var612
/* : Bool */;
557 short int var613
/* : Bool */;
558 short int var615
/* : Bool */;
559 short int var617
/* : Bool */;
560 static val
* varonce618
;
561 val
* var619
/* : String */;
562 char* var620
/* : CString */;
563 val
* var621
/* : String */;
564 val
* var622
/* : nullable Int */;
565 val
* var623
/* : nullable Int */;
566 val
* var624
/* : nullable Bool */;
567 val
* var625
/* : nullable Bool */;
568 static val
* varonce626
;
569 val
* var627
/* : String */;
570 char* var628
/* : CString */;
571 val
* var629
/* : String */;
572 val
* var630
/* : nullable Int */;
573 val
* var631
/* : nullable Int */;
574 val
* var632
/* : nullable Bool */;
575 val
* var633
/* : nullable Bool */;
576 short int var634
/* : Bool */;
577 short int var635
/* : Bool */;
578 short int var637
/* : Bool */;
579 short int var638
/* : Bool */;
580 var_modelbuilder
= p0
;
583 { /* Inline model$MClassDef$mclass (var_mclassdef) on <var_mclassdef:MClassDef> */
584 var2
= var_mclassdef
->attrs
[COLOR_nitc__model__MClassDef___mclass
].val
; /* _mclass on <var_mclassdef:MClassDef> */
585 if (unlikely(var2
== NULL
)) {
586 if(catchStack
.cursor
>= 0){
587 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
589 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass");
590 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 591);
599 { /* Inline parser_nodes$AAttrPropdef$n_id2 (self) on <self:AAttrPropdef> */
600 var5
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrPropdef___n_id2
].val
; /* _n_id2 on <self:AAttrPropdef> */
601 if (unlikely(var5
== NULL
)) {
602 if(catchStack
.cursor
>= 0){
603 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
605 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id2");
606 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1340);
615 var6
= nitc__lexer_work___Token___text(var_nid2
);
618 if (likely(varonce
!=NULL
)) {
622 var10
= (val
*)(8l<<2|1);
623 var11
= (val
*)(8l<<2|1);
624 var12
= (val
*)((long)(0)<<2|3);
625 var13
= (val
*)((long)(0)<<2|3);
626 var9
= core__flat___CString___to_s_unsafe(var8
, var10
, var11
, var12
, var13
);
631 var14
= nitc__annotation___Prod___get_single_annotation(self
, var7
, var_modelbuilder
);
633 var_atabstract
= var14
;
634 if (var_atabstract
== NULL
) {
635 var15
= 1; /* is null */
637 var15
= 0; /* arg is null but recv is not */
640 { /* Inline kernel$Object$== (var_atabstract,((val*)NULL)) on <var_atabstract:nullable AAnnotation> */
641 var_other
= ((val
*)NULL
);
643 { /* Inline kernel$Object$is_same_instance (var_atabstract,var_other) on <var_atabstract:nullable AAnnotation(AAnnotation)> */
644 var20
= var_atabstract
== var_other
;
658 { /* Inline model$MClass$kind (var_mclass) on <var_mclass:MClass> */
659 var23
= var_mclass
->attrs
[COLOR_nitc__model__MClass___kind
].val
; /* _kind on <var_mclass:MClass> */
660 if (unlikely(var23
== NULL
)) {
661 if(catchStack
.cursor
>= 0){
662 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
664 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _kind");
665 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 472);
673 { /* Inline model$MClassKind$need_init (var21) on <var21:MClassKind> */
674 var26
= var21
->attrs
[COLOR_nitc__model__MClassKind___need_init
].s
; /* _need_init on <var21:MClassKind> */
681 if (unlikely(varonce28
==NULL
)) {
682 var29
= NEW_core__NativeArray((int)7l, &type_core__NativeArray__core__String
);
683 if (likely(varonce30
!=NULL
)) {
686 var32
= "Error: attempt to define attribute `";
687 var34
= (val
*)(36l<<2|1);
688 var35
= (val
*)(36l<<2|1);
689 var36
= (val
*)((long)(0)<<2|3);
690 var37
= (val
*)((long)(0)<<2|3);
691 var33
= core__flat___CString___to_s_unsafe(var32
, var34
, var35
, var36
, var37
);
695 ((struct instance_core__NativeArray
*)var29
)->values
[0]=var31
;
696 if (likely(varonce38
!=NULL
)) {
700 var42
= (val
*)(9l<<2|1);
701 var43
= (val
*)(9l<<2|1);
702 var44
= (val
*)((long)(0)<<2|3);
703 var45
= (val
*)((long)(0)<<2|3);
704 var41
= core__flat___CString___to_s_unsafe(var40
, var42
, var43
, var44
, var45
);
708 ((struct instance_core__NativeArray
*)var29
)->values
[2]=var39
;
709 if (likely(varonce46
!=NULL
)) {
713 var50
= (val
*)(2l<<2|1);
714 var51
= (val
*)(2l<<2|1);
715 var52
= (val
*)((long)(0)<<2|3);
716 var53
= (val
*)((long)(0)<<2|3);
717 var49
= core__flat___CString___to_s_unsafe(var48
, var50
, var51
, var52
, var53
);
721 ((struct instance_core__NativeArray
*)var29
)->values
[4]=var47
;
722 if (likely(varonce54
!=NULL
)) {
726 var58
= (val
*)(2l<<2|1);
727 var59
= (val
*)(2l<<2|1);
728 var60
= (val
*)((long)(0)<<2|3);
729 var61
= (val
*)((long)(0)<<2|3);
730 var57
= core__flat___CString___to_s_unsafe(var56
, var58
, var59
, var60
, var61
);
734 ((struct instance_core__NativeArray
*)var29
)->values
[6]=var55
;
739 ((struct instance_core__NativeArray
*)var29
)->values
[1]=var_name
;
741 { /* Inline model$MClass$kind (var_mclass) on <var_mclass:MClass> */
742 var64
= var_mclass
->attrs
[COLOR_nitc__model__MClass___kind
].val
; /* _kind on <var_mclass:MClass> */
743 if (unlikely(var64
== NULL
)) {
744 if(catchStack
.cursor
>= 0){
745 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
747 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _kind");
748 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 472);
756 var65
= ((val
*(*)(val
* self
))(var62
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var62
); /* to_s on <var62:MClassKind>*/
758 ((struct instance_core__NativeArray
*)var29
)->values
[3]=var65
;
760 var66
= ((val
*(*)(val
* self
))(var_mclass
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var_mclass
); /* to_s on <var_mclass:MClass>*/
762 ((struct instance_core__NativeArray
*)var29
)->values
[5]=var66
;
764 var67
= ((val
*(*)(val
* self
))(var29
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var29
); /* native_to_s on <var29:NativeArray[String]>*/
768 nitc___nitc__ModelBuilder___error(var_modelbuilder
, self
, var67
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
772 var68
= NEW_nitc__MAttribute(&type_nitc__MAttribute
);
773 if (likely(varonce69
!=NULL
)) {
777 var73
= (val
*)(1l<<2|1);
778 var74
= (val
*)(1l<<2|1);
779 var75
= (val
*)((long)(0)<<2|3);
780 var76
= (val
*)((long)(0)<<2|3);
781 var72
= core__flat___CString___to_s_unsafe(var71
, var73
, var74
, var75
, var76
);
786 var77
= ((val
*(*)(val
* self
, val
* p0
))(var70
->class->vft
[COLOR_core__abstract_text__Text___43d
]))(var70
, var_name
); /* + on <var70:String>*/
789 { /* Inline parser_nodes$ANode$location (self) on <self:AAttrPropdef> */
790 var80
= self
->attrs
[COLOR_nitc__parser_nodes__ANode___location
].val
; /* _location on <self:AAttrPropdef> */
791 if (unlikely(var80
== NULL
)) {
792 if(catchStack
.cursor
>= 0){
793 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
795 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _location");
796 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 25);
805 var82
= nitc__model_base___core__Sys___private_visibility(var81
);
808 ((void(*)(val
* self
, val
* p0
))(var68
->class->vft
[COLOR_nitc__model__MProperty__intro_mclassdef_61d
]))(var68
, var_mclassdef
); /* intro_mclassdef= on <var68:MAttribute>*/
811 ((void(*)(val
* self
, val
* p0
))(var68
->class->vft
[COLOR_nitc__model__MProperty__name_61d
]))(var68
, var77
); /* name= on <var68:MAttribute>*/
814 ((void(*)(val
* self
, val
* p0
))(var68
->class->vft
[COLOR_nitc__model__MProperty__location_61d
]))(var68
, var78
); /* location= on <var68:MAttribute>*/
817 ((void(*)(val
* self
, val
* p0
))(var68
->class->vft
[COLOR_nitc__model__MProperty__visibility_61d
]))(var68
, var82
); /* visibility= on <var68:MAttribute>*/
820 ((void(*)(val
* self
))(var68
->class->vft
[COLOR_core__kernel__Object__init
]))(var68
); /* init on <var68:MAttribute>*/
823 var83
= NEW_nitc__MAttributeDef(&type_nitc__MAttributeDef
);
825 { /* Inline parser_nodes$ANode$location (self) on <self:AAttrPropdef> */
826 var86
= self
->attrs
[COLOR_nitc__parser_nodes__ANode___location
].val
; /* _location on <self:AAttrPropdef> */
827 if (unlikely(var86
== NULL
)) {
828 if(catchStack
.cursor
>= 0){
829 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
831 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _location");
832 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 25);
840 ((void(*)(val
* self
, val
* p0
))(var83
->class->vft
[COLOR_nitc__model__MPropDef__mclassdef_61d
]))(var83
, var_mclassdef
); /* mclassdef= on <var83:MAttributeDef>*/
843 ((void(*)(val
* self
, val
* p0
))(var83
->class->vft
[COLOR_nitc__model__MPropDef__mproperty_61d
]))(var83
, var_mprop
); /* mproperty= on <var83:MAttributeDef>*/
846 ((void(*)(val
* self
, val
* p0
))(var83
->class->vft
[COLOR_nitc__model__MPropDef__location_61d
]))(var83
, var84
); /* location= on <var83:MAttributeDef>*/
849 ((void(*)(val
* self
))(var83
->class->vft
[COLOR_core__kernel__Object__init
]))(var83
); /* init on <var83:MAttributeDef>*/
851 var_mpropdef
= var83
;
852 /* <var_mpropdef:MAttributeDef> isa nullable MPROPDEF */
853 type_struct
= self
->type
->resolution_table
->types
[COLOR_nullable__nitc__modelize_property__APropdef__MPROPDEF
];
854 cltype
= type_struct
->color
;
855 idtype
= type_struct
->id
;
856 if(cltype
>= var_mpropdef
->type
->table_size
) {
859 var87
= var_mpropdef
->type
->type_table
[cltype
] == idtype
;
861 if (unlikely(!var87
)) {
862 var_class_name
= var_mpropdef
== NULL ?
"null" : var_mpropdef
->type
->name
;
863 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable MPROPDEF", var_class_name
);
864 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 1190);
868 { /* Inline modelize_property$APropdef$mpropdef= (self,var_mpropdef) on <self:AAttrPropdef> */
869 /* Covariant cast for argument 0 (mpropdef) <var_mpropdef:MAttributeDef> isa nullable MPROPDEF */
870 /* <var_mpropdef:MAttributeDef> isa nullable MPROPDEF */
871 type_struct92
= self
->type
->resolution_table
->types
[COLOR_nullable__nitc__modelize_property__APropdef__MPROPDEF
];
872 cltype90
= type_struct92
->color
;
873 idtype91
= type_struct92
->id
;
874 if(cltype90
>= var_mpropdef
->type
->table_size
) {
877 var89
= var_mpropdef
->type
->type_table
[cltype90
] == idtype91
;
879 if (unlikely(!var89
)) {
880 var_class_name93
= var_mpropdef
== NULL ?
"null" : var_mpropdef
->type
->name
;
881 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable MPROPDEF", var_class_name93
);
882 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 557);
885 self
->attrs
[COLOR_nitc__modelize_property__APropdef___mpropdef
].val
= var_mpropdef
; /* _mpropdef on <self:AAttrPropdef> */
890 { /* Inline modelize_property$ModelBuilder$mpropdef2npropdef (var_modelbuilder) on <var_modelbuilder:ModelBuilder> */
891 var96
= var_modelbuilder
->attrs
[COLOR_nitc__modelize_property__ModelBuilder___mpropdef2npropdef
].val
; /* _mpropdef2npropdef on <var_modelbuilder:ModelBuilder> */
892 if (unlikely(var96
== NULL
)) {
893 if(catchStack
.cursor
>= 0){
894 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
896 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mpropdef2npropdef");
897 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 40);
905 core___core__HashMap___core__abstract_collection__Map___91d_93d_61d(var94
, var_mpropdef
, self
); /* Direct call hash_collection$HashMap$[]= on <var94:HashMap[MPropDef, APropdef]>*/
909 var_readname
= var_name
;
911 var97
= nitc___nitc__ModelBuilder___try_get_mproperty_by_name(var_modelbuilder
, var_nid2
, var_mclassdef
, var_readname
);
913 /* <var97:nullable MProperty> isa nullable MMethod */
914 cltype99
= type_nullable__nitc__MMethod
.color
;
915 idtype100
= type_nullable__nitc__MMethod
.id
;
919 if(cltype99
>= var97
->type
->table_size
) {
922 var98
= var97
->type
->type_table
[cltype99
] == idtype100
;
925 if (unlikely(!var98
)) {
926 var_class_name101
= var97
== NULL ?
"null" : var97
->type
->name
;
927 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable MMethod", var_class_name101
);
928 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 1195);
931 var_mreadprop
= var97
;
932 if (var_mreadprop
== NULL
) {
933 var102
= 1; /* is null */
935 var102
= 0; /* arg is null but recv is not */
938 { /* Inline kernel$Object$== (var_mreadprop,((val*)NULL)) on <var_mreadprop:nullable MMethod> */
939 var_other
= ((val
*)NULL
);
941 { /* Inline kernel$Object$is_same_instance (var_mreadprop,var_other) on <var_mreadprop:nullable MMethod(MMethod)> */
942 var107
= var_mreadprop
== var_other
;
945 RET_LABEL106
:(void)0;
950 RET_LABEL104
:(void)0;
956 { /* Inline parser_nodes$ADefinition$n_visibility (self) on <self:AAttrPropdef> */
957 var110
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
; /* _n_visibility on <self:AAttrPropdef> */
959 RET_LABEL109
:(void)0;
963 var111
= nitc__modelize_property___APropdef___new_property_visibility(self
, var_modelbuilder
, var_mclassdef
, var108
);
965 var_mvisibility
= var111
;
966 var112
= NEW_nitc__MMethod(&type_nitc__MMethod
);
968 { /* Inline parser_nodes$ANode$location (self) on <self:AAttrPropdef> */
969 var115
= self
->attrs
[COLOR_nitc__parser_nodes__ANode___location
].val
; /* _location on <self:AAttrPropdef> */
970 if (unlikely(var115
== NULL
)) {
971 if(catchStack
.cursor
>= 0){
972 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
974 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _location");
975 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 25);
979 RET_LABEL114
:(void)0;
983 ((void(*)(val
* self
, val
* p0
))(var112
->class->vft
[COLOR_nitc__model__MProperty__intro_mclassdef_61d
]))(var112
, var_mclassdef
); /* intro_mclassdef= on <var112:MMethod>*/
986 ((void(*)(val
* self
, val
* p0
))(var112
->class->vft
[COLOR_nitc__model__MProperty__name_61d
]))(var112
, var_readname
); /* name= on <var112:MMethod>*/
989 ((void(*)(val
* self
, val
* p0
))(var112
->class->vft
[COLOR_nitc__model__MProperty__location_61d
]))(var112
, var113
); /* location= on <var112:MMethod>*/
992 ((void(*)(val
* self
, val
* p0
))(var112
->class->vft
[COLOR_nitc__model__MProperty__visibility_61d
]))(var112
, var_mvisibility
); /* visibility= on <var112:MMethod>*/
995 ((void(*)(val
* self
))(var112
->class->vft
[COLOR_core__kernel__Object__init
]))(var112
); /* init on <var112:MMethod>*/
997 var_mreadprop
= var112
;
999 { /* Inline parser_nodes$ADefinition$n_kwredef (self) on <self:AAttrPropdef> */
1000 var118
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_kwredef
].val
; /* _n_kwredef on <self:AAttrPropdef> */
1002 RET_LABEL117
:(void)0;
1006 var119
= nitc__modelize_property___APropdef___check_redef_keyword(self
, var_modelbuilder
, var_mclassdef
, var116
, 0, var_mreadprop
);
1011 { /* Inline model_base$MEntity$is_broken= (var_mreadprop,1) on <var_mreadprop:nullable MMethod(MMethod)> */
1012 var_mreadprop
->attrs
[COLOR_nitc__model_base__MEntity___is_broken
].s
= 1; /* _is_broken on <var_mreadprop:nullable MMethod(MMethod)> */
1013 RET_LABEL121
:(void)0;
1021 { /* Inline model_base$MEntity$is_broken (var_mreadprop) on <var_mreadprop:nullable MMethod(MMethod)> */
1022 var124
= var_mreadprop
->attrs
[COLOR_nitc__model_base__MEntity___is_broken
].s
; /* _is_broken on <var_mreadprop:nullable MMethod(MMethod)> */
1024 RET_LABEL123
:(void)0;
1032 { /* Inline parser_nodes$ADefinition$n_kwredef (self) on <self:AAttrPropdef> */
1033 var127
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_kwredef
].val
; /* _n_kwredef on <self:AAttrPropdef> */
1035 RET_LABEL126
:(void)0;
1039 var128
= nitc__modelize_property___APropdef___check_redef_keyword(self
, var_modelbuilder
, var_mclassdef
, var125
, 1, var_mreadprop
);
1047 { /* Inline parser_nodes$ADefinition$n_visibility (self) on <self:AAttrPropdef> */
1048 var132
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
; /* _n_visibility on <self:AAttrPropdef> */
1050 RET_LABEL131
:(void)0;
1054 nitc__modelize_property___APropdef___check_redef_property_visibility(self
, var_modelbuilder
, var130
, var_mreadprop
); /* Direct call modelize_property$APropdef$check_redef_property_visibility on <self:AAttrPropdef>*/
1058 { /* Inline modelize_property$MClassDef$mprop2npropdef (var_mclassdef) on <var_mclassdef:MClassDef> */
1059 var135
= var_mclassdef
->attrs
[COLOR_nitc__modelize_property__MClassDef___mprop2npropdef
].val
; /* _mprop2npropdef on <var_mclassdef:MClassDef> */
1060 if (unlikely(var135
== NULL
)) {
1061 if(catchStack
.cursor
>= 0){
1062 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1064 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mprop2npropdef");
1065 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 504);
1069 RET_LABEL134
:(void)0;
1073 ((void(*)(val
* self
, val
* p0
, val
* p1
))((((long)var133
&3)?class_info
[((long)var133
&3)]:var133
->class)->vft
[COLOR_core__abstract_collection__Map___91d_93d_61d
]))(var133
, var_mreadprop
, self
); /* []= on <var133:Map[MProperty, APropdef]>*/
1075 var136
= NEW_nitc__MMethodDef(&type_nitc__MMethodDef
);
1077 { /* Inline parser_nodes$ANode$location (self) on <self:AAttrPropdef> */
1078 var139
= self
->attrs
[COLOR_nitc__parser_nodes__ANode___location
].val
; /* _location on <self:AAttrPropdef> */
1079 if (unlikely(var139
== NULL
)) {
1080 if(catchStack
.cursor
>= 0){
1081 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1083 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _location");
1084 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 25);
1088 RET_LABEL138
:(void)0;
1092 ((void(*)(val
* self
, val
* p0
))(var136
->class->vft
[COLOR_nitc__model__MPropDef__mclassdef_61d
]))(var136
, var_mclassdef
); /* mclassdef= on <var136:MMethodDef>*/
1095 ((void(*)(val
* self
, val
* p0
))(var136
->class->vft
[COLOR_nitc__model__MPropDef__mproperty_61d
]))(var136
, var_mreadprop
); /* mproperty= on <var136:MMethodDef>*/
1098 ((void(*)(val
* self
, val
* p0
))(var136
->class->vft
[COLOR_nitc__model__MPropDef__location_61d
]))(var136
, var137
); /* location= on <var136:MMethodDef>*/
1101 ((void(*)(val
* self
))(var136
->class->vft
[COLOR_core__kernel__Object__init
]))(var136
); /* init on <var136:MMethodDef>*/
1103 var_mreadpropdef
= var136
;
1105 { /* Inline modelize_property$AAttrPropdef$mreadpropdef= (self,var_mreadpropdef) on <self:AAttrPropdef> */
1106 self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___mreadpropdef
].val
= var_mreadpropdef
; /* _mreadpropdef on <self:AAttrPropdef> */
1107 RET_LABEL140
:(void)0;
1111 { /* Inline modelize_property$ModelBuilder$mpropdef2npropdef (var_modelbuilder) on <var_modelbuilder:ModelBuilder> */
1112 var143
= var_modelbuilder
->attrs
[COLOR_nitc__modelize_property__ModelBuilder___mpropdef2npropdef
].val
; /* _mpropdef2npropdef on <var_modelbuilder:ModelBuilder> */
1113 if (unlikely(var143
== NULL
)) {
1114 if(catchStack
.cursor
>= 0){
1115 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1117 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mpropdef2npropdef");
1118 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 40);
1122 RET_LABEL142
:(void)0;
1126 core___core__HashMap___core__abstract_collection__Map___91d_93d_61d(var141
, var_mreadpropdef
, self
); /* Direct call hash_collection$HashMap$[]= on <var141:HashMap[MPropDef, APropdef]>*/
1129 nitc__modelize_property___APropdef___set_doc(self
, var_mreadpropdef
, var_modelbuilder
); /* Direct call modelize_property$APropdef$set_doc on <self:AAttrPropdef>*/
1132 { /* Inline modelize_property$APropdef$mpropdef (self) on <self:AAttrPropdef> */
1133 var146
= self
->attrs
[COLOR_nitc__modelize_property__APropdef___mpropdef
].val
; /* _mpropdef on <self:AAttrPropdef> */
1135 RET_LABEL145
:(void)0;
1138 if (var144
== NULL
) {
1139 var147
= 0; /* is null */
1141 var147
= 1; /* arg is null and recv is not */
1144 { /* Inline kernel$Object$!= (var144,((val*)NULL)) on <var144:nullable MPropDef(nullable MAttributeDef)> */
1145 var_other150
= ((val
*)NULL
);
1147 var151
= ((short int(*)(val
* self
, val
* p0
))(var144
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var144
, var_other150
); /* == on <var144:nullable MPropDef(MAttributeDef)>*/
1152 RET_LABEL149
:(void)0;
1158 { /* Inline modelize_property$APropdef$mpropdef (self) on <self:AAttrPropdef> */
1159 var155
= self
->attrs
[COLOR_nitc__modelize_property__APropdef___mpropdef
].val
; /* _mpropdef on <self:AAttrPropdef> */
1161 RET_LABEL154
:(void)0;
1165 { /* Inline mdoc$MEntity$mdoc (var_mreadpropdef) on <var_mreadpropdef:MMethodDef> */
1166 var158
= var_mreadpropdef
->attrs
[COLOR_nitc__mdoc__MEntity___mdoc
].val
; /* _mdoc on <var_mreadpropdef:MMethodDef> */
1168 RET_LABEL157
:(void)0;
1171 if (var153
== NULL
) {
1172 if(catchStack
.cursor
>= 0){
1173 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1175 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1176 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 1214);
1179 { /* Inline mdoc$MEntity$mdoc= (var153,var156) on <var153:nullable MPropDef(nullable MAttributeDef)> */
1180 if (unlikely(var153
== NULL
)) {
1181 if(catchStack
.cursor
>= 0){
1182 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1184 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1185 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__mdoc
, 37);
1188 var153
->attrs
[COLOR_nitc__mdoc__MEntity___mdoc
].val
= var156
; /* _mdoc on <var153:nullable MPropDef(nullable MAttributeDef)> */
1189 RET_LABEL159
:(void)0;
1194 if (var_atabstract
== NULL
) {
1195 var160
= 0; /* is null */
1197 var160
= 1; /* arg is null and recv is not */
1200 { /* Inline kernel$Object$!= (var_atabstract,((val*)NULL)) on <var_atabstract:nullable AAnnotation> */
1201 var_other150
= ((val
*)NULL
);
1203 var163
= ((short int(*)(val
* self
, val
* p0
))(var_atabstract
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atabstract
, var_other150
); /* == on <var_atabstract:nullable AAnnotation(AAnnotation)>*/
1208 RET_LABEL162
:(void)0;
1214 { /* Inline model$MMethodDef$is_abstract= (var_mreadpropdef,1) on <var_mreadpropdef:MMethodDef> */
1215 var_mreadpropdef
->attrs
[COLOR_nitc__model__MMethodDef___is_abstract
].s
= 1; /* _is_abstract on <var_mreadpropdef:MMethodDef> */
1216 RET_LABEL165
:(void)0;
1222 { /* Inline parser_nodes$AAttrPropdef$n_expr (self) on <self:AAttrPropdef> */
1223 var169
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrPropdef___n_expr
].val
; /* _n_expr on <self:AAttrPropdef> */
1225 RET_LABEL168
:(void)0;
1228 if (var167
== NULL
) {
1229 var170
= 0; /* is null */
1231 var170
= 1; /* arg is null and recv is not */
1234 { /* Inline kernel$Object$!= (var167,((val*)NULL)) on <var167:nullable AExpr> */
1235 var_other150
= ((val
*)NULL
);
1237 var173
= ((short int(*)(val
* self
, val
* p0
))(var167
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var167
, var_other150
); /* == on <var167:nullable AExpr(AExpr)>*/
1242 RET_LABEL172
:(void)0;
1251 { /* Inline parser_nodes$AAttrPropdef$n_block (self) on <self:AAttrPropdef> */
1252 var177
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrPropdef___n_block
].val
; /* _n_block on <self:AAttrPropdef> */
1254 RET_LABEL176
:(void)0;
1257 if (var175
== NULL
) {
1258 var178
= 0; /* is null */
1260 var178
= 1; /* arg is null and recv is not */
1263 { /* Inline kernel$Object$!= (var175,((val*)NULL)) on <var175:nullable AExpr> */
1264 var_other150
= ((val
*)NULL
);
1266 var181
= ((short int(*)(val
* self
, val
* p0
))(var175
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var175
, var_other150
); /* == on <var175:nullable AExpr(AExpr)>*/
1271 RET_LABEL180
:(void)0;
1278 { /* Inline modelize_property$AAttrPropdef$has_value= (self,var166) on <self:AAttrPropdef> */
1279 self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___has_value
].s
= var166
; /* _has_value on <self:AAttrPropdef> */
1280 RET_LABEL183
:(void)0;
1283 if (var_atabstract
== NULL
) {
1284 var185
= 0; /* is null */
1286 var185
= 1; /* arg is null and recv is not */
1289 { /* Inline kernel$Object$!= (var_atabstract,((val*)NULL)) on <var_atabstract:nullable AAnnotation> */
1290 var_other150
= ((val
*)NULL
);
1292 var188
= ((short int(*)(val
* self
, val
* p0
))(var_atabstract
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atabstract
, var_other150
); /* == on <var_atabstract:nullable AAnnotation(AAnnotation)>*/
1297 RET_LABEL187
:(void)0;
1304 { /* Inline modelize_property$AAttrPropdef$has_value (self) on <self:AAttrPropdef> */
1305 var193
= self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___has_value
].s
; /* _has_value on <self:AAttrPropdef> */
1307 RET_LABEL192
:(void)0;
1315 if (likely(varonce194
!=NULL
)) {
1316 var195
= varonce194
;
1318 var196
= "Error: `abstract` attributes cannot have an initial value.";
1319 var198
= (val
*)(58l<<2|1);
1320 var199
= (val
*)(58l<<2|1);
1321 var200
= (val
*)((long)(0)<<2|3);
1322 var201
= (val
*)((long)(0)<<2|3);
1323 var197
= core__flat___CString___to_s_unsafe(var196
, var198
, var199
, var200
, var201
);
1325 varonce194
= var195
;
1328 nitc___nitc__ModelBuilder___error(var_modelbuilder
, var_atabstract
, var195
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
1333 if (likely(varonce202
!=NULL
)) {
1334 var203
= varonce202
;
1337 var206
= (val
*)(6l<<2|1);
1338 var207
= (val
*)(6l<<2|1);
1339 var208
= (val
*)((long)(0)<<2|3);
1340 var209
= (val
*)((long)(0)<<2|3);
1341 var205
= core__flat___CString___to_s_unsafe(var204
, var206
, var207
, var208
, var209
);
1343 varonce202
= var203
;
1346 var210
= nitc__annotation___Prod___get_single_annotation(self
, var203
, var_modelbuilder
);
1348 var_atnoinit
= var210
;
1349 if (var_atnoinit
== NULL
) {
1350 var211
= 1; /* is null */
1352 var211
= 0; /* arg is null but recv is not */
1355 { /* Inline kernel$Object$== (var_atnoinit,((val*)NULL)) on <var_atnoinit:nullable AAnnotation> */
1356 var_other
= ((val
*)NULL
);
1358 { /* Inline kernel$Object$is_same_instance (var_atnoinit,var_other) on <var_atnoinit:nullable AAnnotation(AAnnotation)> */
1359 var216
= var_atnoinit
== var_other
;
1362 RET_LABEL215
:(void)0;
1367 RET_LABEL213
:(void)0;
1372 if (likely(varonce217
!=NULL
)) {
1373 var218
= varonce217
;
1375 var219
= "noautoinit";
1376 var221
= (val
*)(10l<<2|1);
1377 var222
= (val
*)(10l<<2|1);
1378 var223
= (val
*)((long)(0)<<2|3);
1379 var224
= (val
*)((long)(0)<<2|3);
1380 var220
= core__flat___CString___to_s_unsafe(var219
, var221
, var222
, var223
, var224
);
1382 varonce217
= var218
;
1385 var225
= nitc__annotation___Prod___get_single_annotation(self
, var218
, var_modelbuilder
);
1387 var_atnoinit
= var225
;
1390 if (var_atnoinit
== NULL
) {
1391 var226
= 0; /* is null */
1393 var226
= 1; /* arg is null and recv is not */
1396 { /* Inline kernel$Object$!= (var_atnoinit,((val*)NULL)) on <var_atnoinit:nullable AAnnotation> */
1397 var_other150
= ((val
*)NULL
);
1399 var229
= ((short int(*)(val
* self
, val
* p0
))(var_atnoinit
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atnoinit
, var_other150
); /* == on <var_atnoinit:nullable AAnnotation(AAnnotation)>*/
1404 RET_LABEL228
:(void)0;
1410 { /* Inline modelize_property$AAttrPropdef$noinit= (self,1) on <self:AAttrPropdef> */
1411 self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___noinit
].s
= 1; /* _noinit on <self:AAttrPropdef> */
1412 RET_LABEL231
:(void)0;
1416 { /* Inline modelize_property$AAttrPropdef$has_value (self) on <self:AAttrPropdef> */
1417 var234
= self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___has_value
].s
; /* _has_value on <self:AAttrPropdef> */
1419 RET_LABEL233
:(void)0;
1423 if (likely(varonce235
!=NULL
)) {
1424 var236
= varonce235
;
1426 var237
= "Error: `noautoinit` attributes cannot have an initial value.";
1427 var239
= (val
*)(60l<<2|1);
1428 var240
= (val
*)(60l<<2|1);
1429 var241
= (val
*)((long)(0)<<2|3);
1430 var242
= (val
*)((long)(0)<<2|3);
1431 var238
= core__flat___CString___to_s_unsafe(var237
, var239
, var240
, var241
, var242
);
1433 varonce235
= var236
;
1436 nitc___nitc__ModelBuilder___error(var_modelbuilder
, var_atnoinit
, var236
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
1441 if (var_atabstract
== NULL
) {
1442 var243
= 0; /* is null */
1444 var243
= 1; /* arg is null and recv is not */
1447 { /* Inline kernel$Object$!= (var_atabstract,((val*)NULL)) on <var_atabstract:nullable AAnnotation> */
1448 var_other150
= ((val
*)NULL
);
1450 var246
= ((short int(*)(val
* self
, val
* p0
))(var_atabstract
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atabstract
, var_other150
); /* == on <var_atabstract:nullable AAnnotation(AAnnotation)>*/
1455 RET_LABEL245
:(void)0;
1460 if (likely(varonce248
!=NULL
)) {
1461 var249
= varonce248
;
1463 var250
= "useless-noautoinit";
1464 var252
= (val
*)(18l<<2|1);
1465 var253
= (val
*)(18l<<2|1);
1466 var254
= (val
*)((long)(0)<<2|3);
1467 var255
= (val
*)((long)(0)<<2|3);
1468 var251
= core__flat___CString___to_s_unsafe(var250
, var252
, var253
, var254
, var255
);
1470 varonce248
= var249
;
1472 if (likely(varonce256
!=NULL
)) {
1473 var257
= varonce256
;
1475 var258
= "Warning: superfluous `noautoinit` on abstract attribute.";
1476 var260
= (val
*)(56l<<2|1);
1477 var261
= (val
*)(56l<<2|1);
1478 var262
= (val
*)((long)(0)<<2|3);
1479 var263
= (val
*)((long)(0)<<2|3);
1480 var259
= core__flat___CString___to_s_unsafe(var258
, var260
, var261
, var262
, var263
);
1482 varonce256
= var257
;
1485 nitc___nitc__ModelBuilder___warning(var_modelbuilder
, var_atnoinit
, var249
, var257
); /* Direct call modelbuilder_base$ModelBuilder$warning on <var_modelbuilder:ModelBuilder>*/
1491 if (likely(varonce264
!=NULL
)) {
1492 var265
= varonce264
;
1495 var268
= (val
*)(4l<<2|1);
1496 var269
= (val
*)(4l<<2|1);
1497 var270
= (val
*)((long)(0)<<2|3);
1498 var271
= (val
*)((long)(0)<<2|3);
1499 var267
= core__flat___CString___to_s_unsafe(var266
, var268
, var269
, var270
, var271
);
1501 varonce264
= var265
;
1504 var272
= nitc__annotation___Prod___get_single_annotation(self
, var265
, var_modelbuilder
);
1506 var_atlazy
= var272
;
1507 if (likely(varonce273
!=NULL
)) {
1508 var274
= varonce273
;
1510 var275
= "lateinit";
1511 var277
= (val
*)(8l<<2|1);
1512 var278
= (val
*)(8l<<2|1);
1513 var279
= (val
*)((long)(0)<<2|3);
1514 var280
= (val
*)((long)(0)<<2|3);
1515 var276
= core__flat___CString___to_s_unsafe(var275
, var277
, var278
, var279
, var280
);
1517 varonce273
= var274
;
1520 var281
= nitc__annotation___Prod___get_single_annotation(self
, var274
, var_modelbuilder
);
1522 var_atlateinit
= var281
;
1523 if (var_atlazy
== NULL
) {
1524 var283
= 0; /* is null */
1526 var283
= 1; /* arg is null and recv is not */
1529 { /* Inline kernel$Object$!= (var_atlazy,((val*)NULL)) on <var_atlazy:nullable AAnnotation> */
1530 var_other150
= ((val
*)NULL
);
1532 var286
= ((short int(*)(val
* self
, val
* p0
))(var_atlazy
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atlazy
, var_other150
); /* == on <var_atlazy:nullable AAnnotation(AAnnotation)>*/
1537 RET_LABEL285
:(void)0;
1545 if (var_atlateinit
== NULL
) {
1546 var289
= 0; /* is null */
1548 var289
= 1; /* arg is null and recv is not */
1551 { /* Inline kernel$Object$!= (var_atlateinit,((val*)NULL)) on <var_atlateinit:nullable AAnnotation> */
1552 var_other150
= ((val
*)NULL
);
1554 var292
= ((short int(*)(val
* self
, val
* p0
))(var_atlateinit
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atlateinit
, var_other150
); /* == on <var_atlateinit:nullable AAnnotation(AAnnotation)>*/
1559 RET_LABEL291
:(void)0;
1566 if (var_atlazy
== NULL
) {
1567 var295
= 0; /* is null */
1569 var295
= 1; /* arg is null and recv is not */
1572 { /* Inline kernel$Object$!= (var_atlazy,((val*)NULL)) on <var_atlazy:nullable AAnnotation> */
1573 var_other150
= ((val
*)NULL
);
1575 var298
= ((short int(*)(val
* self
, val
* p0
))(var_atlazy
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atlazy
, var_other150
); /* == on <var_atlazy:nullable AAnnotation(AAnnotation)>*/
1580 RET_LABEL297
:(void)0;
1586 if (var_atlateinit
== NULL
) {
1587 var301
= 0; /* is null */
1589 var301
= 1; /* arg is null and recv is not */
1592 { /* Inline kernel$Object$!= (var_atlateinit,((val*)NULL)) on <var_atlateinit:nullable AAnnotation> */
1593 var_other150
= ((val
*)NULL
);
1595 var304
= ((short int(*)(val
* self
, val
* p0
))(var_atlateinit
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atlateinit
, var_other150
); /* == on <var_atlateinit:nullable AAnnotation(AAnnotation)>*/
1600 RET_LABEL303
:(void)0;
1609 if (likely(varonce306
!=NULL
)) {
1610 var307
= varonce306
;
1612 var308
= "Error: `lazy` incompatible with `lateinit`.";
1613 var310
= (val
*)(43l<<2|1);
1614 var311
= (val
*)(43l<<2|1);
1615 var312
= (val
*)((long)(0)<<2|3);
1616 var313
= (val
*)((long)(0)<<2|3);
1617 var309
= core__flat___CString___to_s_unsafe(var308
, var310
, var311
, var312
, var313
);
1619 varonce306
= var307
;
1622 nitc___nitc__ModelBuilder___error(var_modelbuilder
, var_atlazy
, var307
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
1628 { /* Inline modelize_property$AAttrPropdef$has_value (self) on <self:AAttrPropdef> */
1629 var316
= self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___has_value
].s
; /* _has_value on <self:AAttrPropdef> */
1631 RET_LABEL315
:(void)0;
1636 if (var_atlazy
== NULL
) {
1637 var318
= 0; /* is null */
1639 var318
= 1; /* arg is null and recv is not */
1642 { /* Inline kernel$Object$!= (var_atlazy,((val*)NULL)) on <var_atlazy:nullable AAnnotation> */
1643 var_other150
= ((val
*)NULL
);
1645 var321
= ((short int(*)(val
* self
, val
* p0
))(var_atlazy
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atlazy
, var_other150
); /* == on <var_atlazy:nullable AAnnotation(AAnnotation)>*/
1650 RET_LABEL320
:(void)0;
1655 if (likely(varonce323
!=NULL
)) {
1656 var324
= varonce323
;
1658 var325
= "Error: `lazy` attributes need a value.";
1659 var327
= (val
*)(38l<<2|1);
1660 var328
= (val
*)(38l<<2|1);
1661 var329
= (val
*)((long)(0)<<2|3);
1662 var330
= (val
*)((long)(0)<<2|3);
1663 var326
= core__flat___CString___to_s_unsafe(var325
, var327
, var328
, var329
, var330
);
1665 varonce323
= var324
;
1668 nitc___nitc__ModelBuilder___error(var_modelbuilder
, var_atlazy
, var324
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
1671 if (var_atlateinit
== NULL
) {
1672 var331
= 0; /* is null */
1674 var331
= 1; /* arg is null and recv is not */
1677 { /* Inline kernel$Object$!= (var_atlateinit,((val*)NULL)) on <var_atlateinit:nullable AAnnotation> */
1678 var_other150
= ((val
*)NULL
);
1680 var334
= ((short int(*)(val
* self
, val
* p0
))(var_atlateinit
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atlateinit
, var_other150
); /* == on <var_atlateinit:nullable AAnnotation(AAnnotation)>*/
1685 RET_LABEL333
:(void)0;
1690 if (likely(varonce336
!=NULL
)) {
1691 var337
= varonce336
;
1693 var338
= "Error: `lateinit` attributes need a value.";
1694 var340
= (val
*)(42l<<2|1);
1695 var341
= (val
*)(42l<<2|1);
1696 var342
= (val
*)((long)(0)<<2|3);
1697 var343
= (val
*)((long)(0)<<2|3);
1698 var339
= core__flat___CString___to_s_unsafe(var338
, var340
, var341
, var342
, var343
);
1700 varonce336
= var337
;
1703 nitc___nitc__ModelBuilder___error(var_modelbuilder
, var_atlateinit
, var337
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
1709 { /* Inline modelize_property$AAttrPropdef$has_value= (self,1) on <self:AAttrPropdef> */
1710 self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___has_value
].s
= 1; /* _has_value on <self:AAttrPropdef> */
1711 RET_LABEL344
:(void)0;
1718 { /* Inline modelize_property$AAttrPropdef$is_lazy= (self,1) on <self:AAttrPropdef> */
1719 self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___is_lazy
].s
= 1; /* _is_lazy on <self:AAttrPropdef> */
1720 RET_LABEL345
:(void)0;
1723 var346
= NEW_nitc__MAttribute(&type_nitc__MAttribute
);
1724 if (likely(varonce347
!=NULL
)) {
1725 var348
= varonce347
;
1728 var351
= (val
*)(6l<<2|1);
1729 var352
= (val
*)(6l<<2|1);
1730 var353
= (val
*)((long)(0)<<2|3);
1731 var354
= (val
*)((long)(0)<<2|3);
1732 var350
= core__flat___CString___to_s_unsafe(var349
, var351
, var352
, var353
, var354
);
1734 varonce347
= var348
;
1737 var355
= ((val
*(*)(val
* self
, val
* p0
))(var348
->class->vft
[COLOR_core__abstract_text__Text___43d
]))(var348
, var_name
); /* + on <var348:String>*/
1740 { /* Inline parser_nodes$ANode$location (self) on <self:AAttrPropdef> */
1741 var358
= self
->attrs
[COLOR_nitc__parser_nodes__ANode___location
].val
; /* _location on <self:AAttrPropdef> */
1742 if (unlikely(var358
== NULL
)) {
1743 if(catchStack
.cursor
>= 0){
1744 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1746 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _location");
1747 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 25);
1751 RET_LABEL357
:(void)0;
1756 var360
= nitc__model_base___core__Sys___none_visibility(var359
);
1759 ((void(*)(val
* self
, val
* p0
))(var346
->class->vft
[COLOR_nitc__model__MProperty__intro_mclassdef_61d
]))(var346
, var_mclassdef
); /* intro_mclassdef= on <var346:MAttribute>*/
1762 ((void(*)(val
* self
, val
* p0
))(var346
->class->vft
[COLOR_nitc__model__MProperty__name_61d
]))(var346
, var355
); /* name= on <var346:MAttribute>*/
1765 ((void(*)(val
* self
, val
* p0
))(var346
->class->vft
[COLOR_nitc__model__MProperty__location_61d
]))(var346
, var356
); /* location= on <var346:MAttribute>*/
1768 ((void(*)(val
* self
, val
* p0
))(var346
->class->vft
[COLOR_nitc__model__MProperty__visibility_61d
]))(var346
, var360
); /* visibility= on <var346:MAttribute>*/
1771 ((void(*)(val
* self
))(var346
->class->vft
[COLOR_core__kernel__Object__init
]))(var346
); /* init on <var346:MAttribute>*/
1773 var_mlazyprop
= var346
;
1775 { /* Inline model_base$MEntity$is_fictive= (var_mlazyprop,1) on <var_mlazyprop:MAttribute> */
1776 var_mlazyprop
->attrs
[COLOR_nitc__model_base__MEntity___is_fictive
].s
= 1; /* _is_fictive on <var_mlazyprop:MAttribute> */
1777 RET_LABEL361
:(void)0;
1780 var362
= NEW_nitc__MAttributeDef(&type_nitc__MAttributeDef
);
1782 { /* Inline parser_nodes$ANode$location (self) on <self:AAttrPropdef> */
1783 var365
= self
->attrs
[COLOR_nitc__parser_nodes__ANode___location
].val
; /* _location on <self:AAttrPropdef> */
1784 if (unlikely(var365
== NULL
)) {
1785 if(catchStack
.cursor
>= 0){
1786 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1788 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _location");
1789 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 25);
1793 RET_LABEL364
:(void)0;
1797 ((void(*)(val
* self
, val
* p0
))(var362
->class->vft
[COLOR_nitc__model__MPropDef__mclassdef_61d
]))(var362
, var_mclassdef
); /* mclassdef= on <var362:MAttributeDef>*/
1800 ((void(*)(val
* self
, val
* p0
))(var362
->class->vft
[COLOR_nitc__model__MPropDef__mproperty_61d
]))(var362
, var_mlazyprop
); /* mproperty= on <var362:MAttributeDef>*/
1803 ((void(*)(val
* self
, val
* p0
))(var362
->class->vft
[COLOR_nitc__model__MPropDef__location_61d
]))(var362
, var363
); /* location= on <var362:MAttributeDef>*/
1806 ((void(*)(val
* self
))(var362
->class->vft
[COLOR_core__kernel__Object__init
]))(var362
); /* init on <var362:MAttributeDef>*/
1808 var_mlazypropdef
= var362
;
1810 { /* Inline model_base$MEntity$is_fictive= (var_mlazypropdef,1) on <var_mlazypropdef:MAttributeDef> */
1811 var_mlazypropdef
->attrs
[COLOR_nitc__model_base__MEntity___is_fictive
].s
= 1; /* _is_fictive on <var_mlazypropdef:MAttributeDef> */
1812 RET_LABEL366
:(void)0;
1816 { /* Inline modelize_property$AAttrPropdef$mlazypropdef= (self,var_mlazypropdef) on <self:AAttrPropdef> */
1817 self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___mlazypropdef
].val
= var_mlazypropdef
; /* _mlazypropdef on <self:AAttrPropdef> */
1818 RET_LABEL367
:(void)0;
1823 if (likely(varonce368
!=NULL
)) {
1824 var369
= varonce368
;
1826 var370
= "optional";
1827 var372
= (val
*)(8l<<2|1);
1828 var373
= (val
*)(8l<<2|1);
1829 var374
= (val
*)((long)(0)<<2|3);
1830 var375
= (val
*)((long)(0)<<2|3);
1831 var371
= core__flat___CString___to_s_unsafe(var370
, var372
, var373
, var374
, var375
);
1833 varonce368
= var369
;
1836 var376
= nitc__annotation___Prod___get_single_annotation(self
, var369
, var_modelbuilder
);
1838 var_atoptional
= var376
;
1839 if (var_atoptional
== NULL
) {
1840 var377
= 0; /* is null */
1842 var377
= 1; /* arg is null and recv is not */
1845 { /* Inline kernel$Object$!= (var_atoptional,((val*)NULL)) on <var_atoptional:nullable AAnnotation> */
1846 var_other150
= ((val
*)NULL
);
1848 var380
= ((short int(*)(val
* self
, val
* p0
))(var_atoptional
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atoptional
, var_other150
); /* == on <var_atoptional:nullable AAnnotation(AAnnotation)>*/
1853 RET_LABEL379
:(void)0;
1859 { /* Inline modelize_property$AAttrPropdef$has_value (self) on <self:AAttrPropdef> */
1860 var384
= self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___has_value
].s
; /* _has_value on <self:AAttrPropdef> */
1862 RET_LABEL383
:(void)0;
1867 if (likely(varonce386
!=NULL
)) {
1868 var387
= varonce386
;
1870 var388
= "Error: `optional` attributes need a default value.";
1871 var390
= (val
*)(50l<<2|1);
1872 var391
= (val
*)(50l<<2|1);
1873 var392
= (val
*)((long)(0)<<2|3);
1874 var393
= (val
*)((long)(0)<<2|3);
1875 var389
= core__flat___CString___to_s_unsafe(var388
, var390
, var391
, var392
, var393
);
1877 varonce386
= var387
;
1880 nitc___nitc__ModelBuilder___error(var_modelbuilder
, var_atoptional
, var387
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
1885 { /* Inline modelize_property$AAttrPropdef$is_optional= (self,1) on <self:AAttrPropdef> */
1886 self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___is_optional
].s
= 1; /* _is_optional on <self:AAttrPropdef> */
1887 RET_LABEL394
:(void)0;
1892 if (likely(varonce395
!=NULL
)) {
1893 var396
= varonce395
;
1895 var397
= "readonly";
1896 var399
= (val
*)(8l<<2|1);
1897 var400
= (val
*)(8l<<2|1);
1898 var401
= (val
*)((long)(0)<<2|3);
1899 var402
= (val
*)((long)(0)<<2|3);
1900 var398
= core__flat___CString___to_s_unsafe(var397
, var399
, var400
, var401
, var402
);
1902 varonce395
= var396
;
1905 var403
= nitc__annotation___Prod___get_single_annotation(self
, var396
, var_modelbuilder
);
1907 var_atreadonly
= var403
;
1908 if (var_atreadonly
== NULL
) {
1909 var404
= 0; /* is null */
1911 var404
= 1; /* arg is null and recv is not */
1914 { /* Inline kernel$Object$!= (var_atreadonly,((val*)NULL)) on <var_atreadonly:nullable AAnnotation> */
1915 var_other150
= ((val
*)NULL
);
1917 var407
= ((short int(*)(val
* self
, val
* p0
))(var_atreadonly
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atreadonly
, var_other150
); /* == on <var_atreadonly:nullable AAnnotation(AAnnotation)>*/
1922 RET_LABEL406
:(void)0;
1928 { /* Inline modelize_property$AAttrPropdef$has_value (self) on <self:AAttrPropdef> */
1929 var411
= self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___has_value
].s
; /* _has_value on <self:AAttrPropdef> */
1931 RET_LABEL410
:(void)0;
1936 if (likely(varonce413
!=NULL
)) {
1937 var414
= varonce413
;
1939 var415
= "Error: `readonly` attributes need a value.";
1940 var417
= (val
*)(42l<<2|1);
1941 var418
= (val
*)(42l<<2|1);
1942 var419
= (val
*)((long)(0)<<2|3);
1943 var420
= (val
*)((long)(0)<<2|3);
1944 var416
= core__flat___CString___to_s_unsafe(var415
, var417
, var418
, var419
, var420
);
1946 varonce413
= var414
;
1949 nitc___nitc__ModelBuilder___error(var_modelbuilder
, var_atreadonly
, var414
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
1957 var423
= nitc___nitc__MClassDef___is_intro(var_mclassdef
);
1963 { /* Inline modelize_property$AAttrPropdef$has_value (self) on <self:AAttrPropdef> */
1964 var428
= self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___has_value
].s
; /* _has_value on <self:AAttrPropdef> */
1966 RET_LABEL427
:(void)0;
1977 { /* Inline modelize_property$AAttrPropdef$noinit (self) on <self:AAttrPropdef> */
1978 var433
= self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___noinit
].s
; /* _noinit on <self:AAttrPropdef> */
1980 RET_LABEL432
:(void)0;
1989 if (likely(varonce435
!=NULL
)) {
1990 var436
= varonce435
;
1992 var437
= "attr-in-refinement";
1993 var439
= (val
*)(18l<<2|1);
1994 var440
= (val
*)(18l<<2|1);
1995 var441
= (val
*)((long)(0)<<2|3);
1996 var442
= (val
*)((long)(0)<<2|3);
1997 var438
= core__flat___CString___to_s_unsafe(var437
, var439
, var440
, var441
, var442
);
1999 varonce435
= var436
;
2001 if (likely(varonce443
!=NULL
)) {
2002 var444
= varonce443
;
2004 var445
= "Warning: attributes in refinement need a value or `noautoinit`.";
2005 var447
= (val
*)(63l<<2|1);
2006 var448
= (val
*)(63l<<2|1);
2007 var449
= (val
*)((long)(0)<<2|3);
2008 var450
= (val
*)((long)(0)<<2|3);
2009 var446
= core__flat___CString___to_s_unsafe(var445
, var447
, var448
, var449
, var450
);
2011 varonce443
= var444
;
2014 nitc___nitc__ModelBuilder___advice(var_modelbuilder
, self
, var436
, var444
); /* Direct call modelbuilder_base$ModelBuilder$advice on <var_modelbuilder:ModelBuilder>*/
2018 if (likely(varonce451
!=NULL
)) {
2019 var452
= varonce451
;
2022 var455
= (val
*)(1l<<2|1);
2023 var456
= (val
*)(1l<<2|1);
2024 var457
= (val
*)((long)(0)<<2|3);
2025 var458
= (val
*)((long)(0)<<2|3);
2026 var454
= core__flat___CString___to_s_unsafe(var453
, var455
, var456
, var457
, var458
);
2028 varonce451
= var452
;
2031 var459
= ((val
*(*)(val
* self
, val
* p0
))(var_name
->class->vft
[COLOR_core__abstract_text__Text___43d
]))(var_name
, var452
); /* + on <var_name:String>*/
2033 var_writename
= var459
;
2034 if (likely(varonce460
!=NULL
)) {
2035 var461
= varonce460
;
2037 var462
= "writable";
2038 var464
= (val
*)(8l<<2|1);
2039 var465
= (val
*)(8l<<2|1);
2040 var466
= (val
*)((long)(0)<<2|3);
2041 var467
= (val
*)((long)(0)<<2|3);
2042 var463
= core__flat___CString___to_s_unsafe(var462
, var464
, var465
, var466
, var467
);
2044 varonce460
= var461
;
2047 var468
= nitc__annotation___Prod___get_single_annotation(self
, var461
, var_modelbuilder
);
2049 var_atwritable
= var468
;
2050 if (var_atwritable
== NULL
) {
2051 var469
= 0; /* is null */
2053 var469
= 1; /* arg is null and recv is not */
2056 { /* Inline kernel$Object$!= (var_atwritable,((val*)NULL)) on <var_atwritable:nullable AAnnotation> */
2057 var_other150
= ((val
*)NULL
);
2059 var472
= ((short int(*)(val
* self
, val
* p0
))(var_atwritable
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atwritable
, var_other150
); /* == on <var_atwritable:nullable AAnnotation(AAnnotation)>*/
2064 RET_LABEL471
:(void)0;
2070 { /* Inline parser_nodes$AAnnotation$n_args (var_atwritable) on <var_atwritable:nullable AAnnotation(AAnnotation)> */
2071 var476
= var_atwritable
->attrs
[COLOR_nitc__parser_nodes__AAnnotation___n_args
].val
; /* _n_args on <var_atwritable:nullable AAnnotation(AAnnotation)> */
2072 if (unlikely(var476
== NULL
)) {
2073 if(catchStack
.cursor
>= 0){
2074 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2076 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_args");
2077 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 3007);
2081 RET_LABEL475
:(void)0;
2085 var477
= nitc___nitc__ANodes___core__abstract_collection__Collection__is_empty(var474
);
2090 var480
= nitc__annotation___AAnnotation___arg_as_id(var_atwritable
, var_modelbuilder
);
2095 var479
= var_writename
;
2097 var_writename
= var479
;
2103 var481
= nitc___nitc__ModelBuilder___try_get_mproperty_by_name(var_modelbuilder
, var_nid2
, var_mclassdef
, var_writename
);
2105 /* <var481:nullable MProperty> isa nullable MMethod */
2106 cltype483
= type_nullable__nitc__MMethod
.color
;
2107 idtype484
= type_nullable__nitc__MMethod
.id
;
2108 if(var481
== NULL
) {
2111 if(cltype483
>= var481
->type
->table_size
) {
2114 var482
= var481
->type
->type_table
[cltype483
] == idtype484
;
2117 if (unlikely(!var482
)) {
2118 var_class_name485
= var481
== NULL ?
"null" : var481
->type
->name
;
2119 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable MMethod", var_class_name485
);
2120 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 1289);
2123 var_mwriteprop
= var481
;
2124 var_nwkwredef
= ((val
*)NULL
);
2125 if (var_atwritable
== NULL
) {
2126 var486
= 0; /* is null */
2128 var486
= 1; /* arg is null and recv is not */
2131 { /* Inline kernel$Object$!= (var_atwritable,((val*)NULL)) on <var_atwritable:nullable AAnnotation> */
2132 var_other150
= ((val
*)NULL
);
2134 var489
= ((short int(*)(val
* self
, val
* p0
))(var_atwritable
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atwritable
, var_other150
); /* == on <var_atwritable:nullable AAnnotation(AAnnotation)>*/
2139 RET_LABEL488
:(void)0;
2145 { /* Inline parser_nodes$ADefinition$n_kwredef (var_atwritable) on <var_atwritable:nullable AAnnotation(AAnnotation)> */
2146 var493
= var_atwritable
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_kwredef
].val
; /* _n_kwredef on <var_atwritable:nullable AAnnotation(AAnnotation)> */
2148 RET_LABEL492
:(void)0;
2151 var_nwkwredef
= var491
;
2154 if (var_mwriteprop
== NULL
) {
2155 var494
= 1; /* is null */
2157 var494
= 0; /* arg is null but recv is not */
2160 { /* Inline kernel$Object$== (var_mwriteprop,((val*)NULL)) on <var_mwriteprop:nullable MMethod> */
2161 var_other
= ((val
*)NULL
);
2163 { /* Inline kernel$Object$is_same_instance (var_mwriteprop,var_other) on <var_mwriteprop:nullable MMethod(MMethod)> */
2164 var499
= var_mwriteprop
== var_other
;
2167 RET_LABEL498
:(void)0;
2172 RET_LABEL496
:(void)0;
2177 if (var_atwritable
== NULL
) {
2178 var500
= 0; /* is null */
2180 var500
= 1; /* arg is null and recv is not */
2183 { /* Inline kernel$Object$!= (var_atwritable,((val*)NULL)) on <var_atwritable:nullable AAnnotation> */
2184 var_other150
= ((val
*)NULL
);
2186 var503
= ((short int(*)(val
* self
, val
* p0
))(var_atwritable
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atwritable
, var_other150
); /* == on <var_atwritable:nullable AAnnotation(AAnnotation)>*/
2191 RET_LABEL502
:(void)0;
2197 { /* Inline parser_nodes$ADefinition$n_visibility (var_atwritable) on <var_atwritable:nullable AAnnotation(AAnnotation)> */
2198 var507
= var_atwritable
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
; /* _n_visibility on <var_atwritable:nullable AAnnotation(AAnnotation)> */
2200 RET_LABEL506
:(void)0;
2204 var508
= nitc__modelize_property___APropdef___new_property_visibility(self
, var_modelbuilder
, var_mclassdef
, var505
);
2206 var_mvisibility509
= var508
;
2209 { /* Inline model$MProperty$visibility (var_mreadprop) on <var_mreadprop:nullable MMethod(MMethod)> */
2210 var512
= var_mreadprop
->attrs
[COLOR_nitc__model__MProperty___visibility
].val
; /* _visibility on <var_mreadprop:nullable MMethod(MMethod)> */
2211 if (unlikely(var512
== NULL
)) {
2212 if(catchStack
.cursor
>= 0){
2213 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2215 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility");
2216 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2078);
2220 RET_LABEL511
:(void)0;
2223 var_mvisibility509
= var510
;
2226 var514
= nitc__model_base___core__Sys___protected_visibility(var513
);
2229 var515
= core___core__Comparable____62d(var_mvisibility509
, var514
);
2234 var517
= nitc__model_base___core__Sys___protected_visibility(var516
);
2236 var_mvisibility509
= var517
;
2240 var518
= NEW_nitc__MMethod(&type_nitc__MMethod
);
2242 { /* Inline parser_nodes$ANode$location (self) on <self:AAttrPropdef> */
2243 var521
= self
->attrs
[COLOR_nitc__parser_nodes__ANode___location
].val
; /* _location on <self:AAttrPropdef> */
2244 if (unlikely(var521
== NULL
)) {
2245 if(catchStack
.cursor
>= 0){
2246 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2248 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _location");
2249 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 25);
2253 RET_LABEL520
:(void)0;
2257 ((void(*)(val
* self
, val
* p0
))(var518
->class->vft
[COLOR_nitc__model__MProperty__intro_mclassdef_61d
]))(var518
, var_mclassdef
); /* intro_mclassdef= on <var518:MMethod>*/
2260 ((void(*)(val
* self
, val
* p0
))(var518
->class->vft
[COLOR_nitc__model__MProperty__name_61d
]))(var518
, var_writename
); /* name= on <var518:MMethod>*/
2263 ((void(*)(val
* self
, val
* p0
))(var518
->class->vft
[COLOR_nitc__model__MProperty__location_61d
]))(var518
, var519
); /* location= on <var518:MMethod>*/
2266 ((void(*)(val
* self
, val
* p0
))(var518
->class->vft
[COLOR_nitc__model__MProperty__visibility_61d
]))(var518
, var_mvisibility509
); /* visibility= on <var518:MMethod>*/
2269 ((void(*)(val
* self
))(var518
->class->vft
[COLOR_core__kernel__Object__init
]))(var518
); /* init on <var518:MMethod>*/
2271 var_mwriteprop
= var518
;
2273 var522
= nitc__modelize_property___APropdef___check_redef_keyword(self
, var_modelbuilder
, var_mclassdef
, var_nwkwredef
, 0, var_mwriteprop
);
2278 { /* Inline model_base$MEntity$is_broken= (var_mwriteprop,1) on <var_mwriteprop:nullable MMethod(MMethod)> */
2279 var_mwriteprop
->attrs
[COLOR_nitc__model_base__MEntity___is_broken
].s
= 1; /* _is_broken on <var_mwriteprop:nullable MMethod(MMethod)> */
2280 RET_LABEL524
:(void)0;
2287 { /* Inline mdoc$MEntity$deprecation (var_mreadprop) on <var_mreadprop:nullable MMethod(MMethod)> */
2288 var527
= var_mreadprop
->attrs
[COLOR_nitc__mdoc__MEntity___deprecation
].val
; /* _deprecation on <var_mreadprop:nullable MMethod(MMethod)> */
2290 RET_LABEL526
:(void)0;
2294 { /* Inline mdoc$MEntity$deprecation= (var_mwriteprop,var525) on <var_mwriteprop:nullable MMethod(MMethod)> */
2295 var_mwriteprop
->attrs
[COLOR_nitc__mdoc__MEntity___deprecation
].val
= var525
; /* _deprecation on <var_mwriteprop:nullable MMethod(MMethod)> */
2296 RET_LABEL528
:(void)0;
2301 { /* Inline model_base$MEntity$is_broken (var_mwriteprop) on <var_mwriteprop:nullable MMethod(MMethod)> */
2302 var531
= var_mwriteprop
->attrs
[COLOR_nitc__model_base__MEntity___is_broken
].s
; /* _is_broken on <var_mwriteprop:nullable MMethod(MMethod)> */
2304 RET_LABEL530
:(void)0;
2311 if (var_nwkwredef
!=NULL
) {
2312 var532
= var_nwkwredef
;
2315 { /* Inline parser_nodes$ADefinition$n_kwredef (self) on <self:AAttrPropdef> */
2316 var535
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_kwredef
].val
; /* _n_kwredef on <self:AAttrPropdef> */
2318 RET_LABEL534
:(void)0;
2324 var536
= nitc__modelize_property___APropdef___check_redef_keyword(self
, var_modelbuilder
, var_mclassdef
, var532
, 1, var_mwriteprop
);
2331 if (var_atwritable
== NULL
) {
2332 var538
= 0; /* is null */
2334 var538
= 1; /* arg is null and recv is not */
2337 { /* Inline kernel$Object$!= (var_atwritable,((val*)NULL)) on <var_atwritable:nullable AAnnotation> */
2338 var_other150
= ((val
*)NULL
);
2340 var541
= ((short int(*)(val
* self
, val
* p0
))(var_atwritable
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atwritable
, var_other150
); /* == on <var_atwritable:nullable AAnnotation(AAnnotation)>*/
2345 RET_LABEL540
:(void)0;
2351 { /* Inline parser_nodes$ADefinition$n_visibility (var_atwritable) on <var_atwritable:nullable AAnnotation(AAnnotation)> */
2352 var545
= var_atwritable
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
; /* _n_visibility on <var_atwritable:nullable AAnnotation(AAnnotation)> */
2354 RET_LABEL544
:(void)0;
2358 nitc__modelize_property___APropdef___check_redef_property_visibility(self
, var_modelbuilder
, var543
, var_mwriteprop
); /* Direct call modelize_property$APropdef$check_redef_property_visibility on <self:AAttrPropdef>*/
2364 { /* Inline modelize_property$MClassDef$mprop2npropdef (var_mclassdef) on <var_mclassdef:MClassDef> */
2365 var548
= var_mclassdef
->attrs
[COLOR_nitc__modelize_property__MClassDef___mprop2npropdef
].val
; /* _mprop2npropdef on <var_mclassdef:MClassDef> */
2366 if (unlikely(var548
== NULL
)) {
2367 if(catchStack
.cursor
>= 0){
2368 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2370 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mprop2npropdef");
2371 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 504);
2375 RET_LABEL547
:(void)0;
2379 ((void(*)(val
* self
, val
* p0
, val
* p1
))((((long)var546
&3)?class_info
[((long)var546
&3)]:var546
->class)->vft
[COLOR_core__abstract_collection__Map___91d_93d_61d
]))(var546
, var_mwriteprop
, self
); /* []= on <var546:Map[MProperty, APropdef]>*/
2381 var549
= NEW_nitc__MMethodDef(&type_nitc__MMethodDef
);
2383 { /* Inline parser_nodes$ANode$location (self) on <self:AAttrPropdef> */
2384 var552
= self
->attrs
[COLOR_nitc__parser_nodes__ANode___location
].val
; /* _location on <self:AAttrPropdef> */
2385 if (unlikely(var552
== NULL
)) {
2386 if(catchStack
.cursor
>= 0){
2387 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2389 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _location");
2390 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 25);
2394 RET_LABEL551
:(void)0;
2398 ((void(*)(val
* self
, val
* p0
))(var549
->class->vft
[COLOR_nitc__model__MPropDef__mclassdef_61d
]))(var549
, var_mclassdef
); /* mclassdef= on <var549:MMethodDef>*/
2401 ((void(*)(val
* self
, val
* p0
))(var549
->class->vft
[COLOR_nitc__model__MPropDef__mproperty_61d
]))(var549
, var_mwriteprop
); /* mproperty= on <var549:MMethodDef>*/
2404 ((void(*)(val
* self
, val
* p0
))(var549
->class->vft
[COLOR_nitc__model__MPropDef__location_61d
]))(var549
, var550
); /* location= on <var549:MMethodDef>*/
2407 ((void(*)(val
* self
))(var549
->class->vft
[COLOR_core__kernel__Object__init
]))(var549
); /* init on <var549:MMethodDef>*/
2409 var_mwritepropdef
= var549
;
2411 { /* Inline modelize_property$AAttrPropdef$mwritepropdef= (self,var_mwritepropdef) on <self:AAttrPropdef> */
2412 self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___mwritepropdef
].val
= var_mwritepropdef
; /* _mwritepropdef on <self:AAttrPropdef> */
2413 RET_LABEL553
:(void)0;
2417 { /* Inline modelize_property$ModelBuilder$mpropdef2npropdef (var_modelbuilder) on <var_modelbuilder:ModelBuilder> */
2418 var556
= var_modelbuilder
->attrs
[COLOR_nitc__modelize_property__ModelBuilder___mpropdef2npropdef
].val
; /* _mpropdef2npropdef on <var_modelbuilder:ModelBuilder> */
2419 if (unlikely(var556
== NULL
)) {
2420 if(catchStack
.cursor
>= 0){
2421 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2423 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mpropdef2npropdef");
2424 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 40);
2428 RET_LABEL555
:(void)0;
2432 core___core__HashMap___core__abstract_collection__Map___91d_93d_61d(var554
, var_mwritepropdef
, self
); /* Direct call hash_collection$HashMap$[]= on <var554:HashMap[MPropDef, APropdef]>*/
2435 { /* Inline mdoc$MEntity$mdoc (var_mreadpropdef) on <var_mreadpropdef:MMethodDef> */
2436 var559
= var_mreadpropdef
->attrs
[COLOR_nitc__mdoc__MEntity___mdoc
].val
; /* _mdoc on <var_mreadpropdef:MMethodDef> */
2438 RET_LABEL558
:(void)0;
2442 { /* Inline mdoc$MEntity$mdoc= (var_mwritepropdef,var557) on <var_mwritepropdef:MMethodDef> */
2443 var_mwritepropdef
->attrs
[COLOR_nitc__mdoc__MEntity___mdoc
].val
= var557
; /* _mdoc on <var_mwritepropdef:MMethodDef> */
2444 RET_LABEL560
:(void)0;
2447 if (var_atabstract
== NULL
) {
2448 var561
= 0; /* is null */
2450 var561
= 1; /* arg is null and recv is not */
2453 { /* Inline kernel$Object$!= (var_atabstract,((val*)NULL)) on <var_atabstract:nullable AAnnotation> */
2454 var_other150
= ((val
*)NULL
);
2456 var564
= ((short int(*)(val
* self
, val
* p0
))(var_atabstract
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atabstract
, var_other150
); /* == on <var_atabstract:nullable AAnnotation(AAnnotation)>*/
2461 RET_LABEL563
:(void)0;
2467 { /* Inline model$MMethodDef$is_abstract= (var_mwritepropdef,1) on <var_mwritepropdef:MMethodDef> */
2468 var_mwritepropdef
->attrs
[COLOR_nitc__model__MMethodDef___is_abstract
].s
= 1; /* _is_abstract on <var_mwritepropdef:MMethodDef> */
2469 RET_LABEL566
:(void)0;
2474 if (likely(varonce567
!=NULL
)) {
2475 var568
= varonce567
;
2477 var569
= "autoinit";
2478 var571
= (val
*)(8l<<2|1);
2479 var572
= (val
*)(8l<<2|1);
2480 var573
= (val
*)((long)(0)<<2|3);
2481 var574
= (val
*)((long)(0)<<2|3);
2482 var570
= core__flat___CString___to_s_unsafe(var569
, var571
, var572
, var573
, var574
);
2484 varonce567
= var568
;
2487 var575
= nitc__annotation___Prod___get_single_annotation(self
, var568
, var_modelbuilder
);
2489 var_atautoinit
= var575
;
2490 if (var_atautoinit
== NULL
) {
2491 var576
= 0; /* is null */
2493 var576
= 1; /* arg is null and recv is not */
2496 { /* Inline kernel$Object$!= (var_atautoinit,((val*)NULL)) on <var_atautoinit:nullable AAnnotation> */
2497 var_other150
= ((val
*)NULL
);
2499 var579
= ((short int(*)(val
* self
, val
* p0
))(var_atautoinit
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atautoinit
, var_other150
); /* == on <var_atautoinit:nullable AAnnotation(AAnnotation)>*/
2504 RET_LABEL578
:(void)0;
2510 { /* Inline modelize_property$AAttrPropdef$has_value (self) on <self:AAttrPropdef> */
2511 var583
= self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___has_value
].s
; /* _has_value on <self:AAttrPropdef> */
2513 RET_LABEL582
:(void)0;
2517 if (likely(varonce584
!=NULL
)) {
2518 var585
= varonce584
;
2520 var586
= "Error: `autoinit` attributes cannot have an initial value.";
2521 var588
= (val
*)(58l<<2|1);
2522 var589
= (val
*)(58l<<2|1);
2523 var590
= (val
*)((long)(0)<<2|3);
2524 var591
= (val
*)((long)(0)<<2|3);
2525 var587
= core__flat___CString___to_s_unsafe(var586
, var588
, var589
, var590
, var591
);
2527 varonce584
= var585
;
2530 nitc___nitc__ModelBuilder___error(var_modelbuilder
, var_atautoinit
, var585
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
2534 var592
= nitc___nitc__MPropDef___is_intro(var_mwritepropdef
);
2538 if (likely(varonce594
!=NULL
)) {
2539 var595
= varonce594
;
2541 var596
= "Error: `autoinit` attributes cannot be set on redefinitions.";
2542 var598
= (val
*)(60l<<2|1);
2543 var599
= (val
*)(60l<<2|1);
2544 var600
= (val
*)((long)(0)<<2|3);
2545 var601
= (val
*)((long)(0)<<2|3);
2546 var597
= core__flat___CString___to_s_unsafe(var596
, var598
, var599
, var600
, var601
);
2548 varonce594
= var595
;
2551 nitc___nitc__ModelBuilder___error(var_modelbuilder
, var_atautoinit
, var595
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
2555 var602
= nitc___nitc__MClassDef___is_intro(var_mclassdef
);
2559 if (likely(varonce604
!=NULL
)) {
2560 var605
= varonce604
;
2562 var606
= "Error: `autoinit` attributes cannot be used in class refinements.";
2563 var608
= (val
*)(65l<<2|1);
2564 var609
= (val
*)(65l<<2|1);
2565 var610
= (val
*)((long)(0)<<2|3);
2566 var611
= (val
*)((long)(0)<<2|3);
2567 var607
= core__flat___CString___to_s_unsafe(var606
, var608
, var609
, var610
, var611
);
2569 varonce604
= var605
;
2572 nitc___nitc__ModelBuilder___error(var_modelbuilder
, var_atautoinit
, var605
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
2575 if (var_atabstract
== NULL
) {
2576 var612
= 1; /* is null */
2578 var612
= 0; /* arg is null but recv is not */
2581 { /* Inline kernel$Object$== (var_atabstract,((val*)NULL)) on <var_atabstract:nullable AAnnotation> */
2582 var_other
= ((val
*)NULL
);
2584 { /* Inline kernel$Object$is_same_instance (var_atabstract,var_other) on <var_atabstract:nullable AAnnotation(AAnnotation)> */
2585 var617
= var_atabstract
== var_other
;
2588 RET_LABEL616
:(void)0;
2593 RET_LABEL614
:(void)0;
2598 if (likely(varonce618
!=NULL
)) {
2599 var619
= varonce618
;
2601 var620
= "useless-autoinit";
2602 var622
= (val
*)(16l<<2|1);
2603 var623
= (val
*)(16l<<2|1);
2604 var624
= (val
*)((long)(0)<<2|3);
2605 var625
= (val
*)((long)(0)<<2|3);
2606 var621
= core__flat___CString___to_s_unsafe(var620
, var622
, var623
, var624
, var625
);
2608 varonce618
= var619
;
2610 if (likely(varonce626
!=NULL
)) {
2611 var627
= varonce626
;
2613 var628
= "Warning: superfluous `autoinit` on attribute.";
2614 var630
= (val
*)(45l<<2|1);
2615 var631
= (val
*)(45l<<2|1);
2616 var632
= (val
*)((long)(0)<<2|3);
2617 var633
= (val
*)((long)(0)<<2|3);
2618 var629
= core__flat___CString___to_s_unsafe(var628
, var630
, var631
, var632
, var633
);
2620 varonce626
= var627
;
2623 nitc___nitc__ModelBuilder___warning(var_modelbuilder
, var_atautoinit
, var619
, var627
); /* Direct call modelbuilder_base$ModelBuilder$warning on <var_modelbuilder:ModelBuilder>*/
2631 if (var_atabstract
== NULL
) {
2632 var634
= 0; /* is null */
2634 var634
= 1; /* arg is null and recv is not */
2637 { /* Inline kernel$Object$!= (var_atabstract,((val*)NULL)) on <var_atabstract:nullable AAnnotation> */
2638 var_other150
= ((val
*)NULL
);
2640 var637
= ((short int(*)(val
* self
, val
* p0
))(var_atabstract
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atabstract
, var_other150
); /* == on <var_atabstract:nullable AAnnotation(AAnnotation)>*/
2645 RET_LABEL636
:(void)0;
2651 { /* Inline modelize_property$AAttrPropdef$noinit= (self,1) on <self:AAttrPropdef> */
2652 self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___noinit
].s
= 1; /* _noinit on <self:AAttrPropdef> */
2653 RET_LABEL639
:(void)0;
2661 /* method modelize_property$AAttrPropdef$build_signature for (self: AAttrPropdef, ModelBuilder) */
2662 void nitc__modelize_property___AAttrPropdef___APropdef__build_signature(val
* self
, val
* p0
) {
2663 val
* var_modelbuilder
/* var modelbuilder: ModelBuilder */;
2664 val
* var
/* : nullable MMethodDef */;
2665 val
* var2
/* : nullable MMethodDef */;
2666 val
* var_mreadpropdef
/* var mreadpropdef: nullable MMethodDef */;
2667 val
* var3
/* : nullable MPropDef */;
2668 val
* var5
/* : nullable MPropDef */;
2669 val
* var_mpropdef
/* var mpropdef: nullable MAttributeDef */;
2670 short int var6
/* : Bool */;
2671 short int var7
/* : Bool */;
2672 val
* var_other
/* var other: nullable Object */;
2673 short int var9
/* : Bool */;
2674 short int var11
/* : Bool */;
2675 val
* var12
/* : MClassDef */;
2676 val
* var14
/* : MClassDef */;
2677 val
* var_mclassdef
/* var mclassdef: MClassDef */;
2678 val
* var15
/* : MModule */;
2679 val
* var17
/* : MModule */;
2680 val
* var_mmodule
/* var mmodule: MModule */;
2681 val
* var_mtype
/* var mtype: nullable MType */;
2682 val
* var18
/* : nullable AType */;
2683 val
* var20
/* : nullable AType */;
2684 val
* var_ntype
/* var ntype: nullable AType */;
2685 short int var21
/* : Bool */;
2686 short int var22
/* : Bool */;
2687 val
* var_other24
/* var other: nullable Object */;
2688 short int var25
/* : Bool */;
2689 short int var26
/* : Bool */;
2690 val
* var27
/* : nullable MType */;
2691 short int var28
/* : Bool */;
2692 short int var29
/* : Bool */;
2693 short int var31
/* : Bool */;
2694 short int var33
/* : Bool */;
2695 val
* var_inherited_type
/* var inherited_type: nullable MType */;
2696 short int var34
/* : Bool */;
2697 short int var35
/* : Bool */;
2698 val
* var36
/* : MProperty */;
2699 val
* var38
/* : MProperty */;
2700 val
* var39
/* : MPropDef */;
2701 val
* var41
/* : MPropDef */;
2702 val
* var42
/* : nullable MSignature */;
2703 val
* var44
/* : nullable MSignature */;
2704 val
* var_msignature
/* var msignature: nullable MSignature */;
2705 short int var45
/* : Bool */;
2706 short int var46
/* : Bool */;
2707 short int var48
/* : Bool */;
2708 short int var50
/* : Bool */;
2709 val
* var51
/* : nullable MType */;
2710 val
* var53
/* : nullable MType */;
2711 short int var54
/* : Bool */;
2712 short int var55
/* : Bool */;
2713 short int var57
/* : Bool */;
2714 short int var58
/* : Bool */;
2715 val
* var59
/* : MClass */;
2716 val
* var61
/* : MClass */;
2717 val
* var62
/* : MClassType */;
2718 val
* var64
/* : MClassType */;
2719 val
* var65
/* : MClassType */;
2720 val
* var67
/* : MClassType */;
2721 val
* var68
/* : MType */;
2722 short int var69
/* : Bool */;
2723 short int var70
/* : Bool */;
2724 short int var72
/* : Bool */;
2725 short int var74
/* : Bool */;
2726 val
* var75
/* : nullable AExpr */;
2727 val
* var77
/* : nullable AExpr */;
2728 val
* var_nexpr
/* var nexpr: nullable AExpr */;
2729 short int var78
/* : Bool */;
2730 short int var79
/* : Bool */;
2731 short int var81
/* : Bool */;
2732 short int var83
/* : Bool */;
2733 short int var84
/* : Bool */;
2734 short int var85
/* : Bool */;
2735 short int var87
/* : Bool */;
2736 short int var88
/* : Bool */;
2737 short int var89
/* : Bool */;
2740 val
* var90
/* : AType */;
2741 val
* var92
/* : AType */;
2742 val
* var93
/* : nullable MType */;
2743 short int var94
/* : Bool */;
2746 val
* var97
/* : AType */;
2747 val
* var99
/* : AType */;
2748 val
* var100
/* : nullable MType */;
2749 short int var101
/* : Bool */;
2752 val
* var_cla
/* var cla: nullable MClass */;
2753 val
* var104
/* : nullable Numeric */;
2754 val
* var106
/* : nullable Numeric */;
2755 short int var107
/* : Bool */;
2758 static val
* varonce
;
2759 val
* var110
/* : String */;
2760 char* var111
/* : CString */;
2761 val
* var112
/* : String */;
2762 val
* var113
/* : nullable Int */;
2763 val
* var114
/* : nullable Int */;
2764 val
* var115
/* : nullable Bool */;
2765 val
* var116
/* : nullable Bool */;
2766 val
* var117
/* : nullable MClass */;
2767 val
* var118
/* : nullable Numeric */;
2768 val
* var120
/* : nullable Numeric */;
2769 short int var121
/* : Bool */;
2772 static val
* varonce124
;
2773 val
* var125
/* : String */;
2774 char* var126
/* : CString */;
2775 val
* var127
/* : String */;
2776 val
* var128
/* : nullable Int */;
2777 val
* var129
/* : nullable Int */;
2778 val
* var130
/* : nullable Bool */;
2779 val
* var131
/* : nullable Bool */;
2780 val
* var132
/* : nullable MClass */;
2781 val
* var133
/* : nullable Numeric */;
2782 val
* var135
/* : nullable Numeric */;
2783 short int var136
/* : Bool */;
2786 static val
* varonce139
;
2787 val
* var140
/* : String */;
2788 char* var141
/* : CString */;
2789 val
* var142
/* : String */;
2790 val
* var143
/* : nullable Int */;
2791 val
* var144
/* : nullable Int */;
2792 val
* var145
/* : nullable Bool */;
2793 val
* var146
/* : nullable Bool */;
2794 val
* var147
/* : nullable MClass */;
2795 val
* var148
/* : nullable Numeric */;
2796 val
* var150
/* : nullable Numeric */;
2797 short int var151
/* : Bool */;
2800 static val
* varonce154
;
2801 val
* var155
/* : String */;
2802 char* var156
/* : CString */;
2803 val
* var157
/* : String */;
2804 val
* var158
/* : nullable Int */;
2805 val
* var159
/* : nullable Int */;
2806 val
* var160
/* : nullable Bool */;
2807 val
* var161
/* : nullable Bool */;
2808 val
* var162
/* : nullable MClass */;
2809 val
* var163
/* : nullable Numeric */;
2810 val
* var165
/* : nullable Numeric */;
2811 short int var166
/* : Bool */;
2814 static val
* varonce169
;
2815 val
* var170
/* : String */;
2816 char* var171
/* : CString */;
2817 val
* var172
/* : String */;
2818 val
* var173
/* : nullable Int */;
2819 val
* var174
/* : nullable Int */;
2820 val
* var175
/* : nullable Bool */;
2821 val
* var176
/* : nullable Bool */;
2822 val
* var177
/* : nullable MClass */;
2823 val
* var178
/* : nullable Numeric */;
2824 val
* var180
/* : nullable Numeric */;
2825 short int var181
/* : Bool */;
2828 static val
* varonce184
;
2829 val
* var185
/* : String */;
2830 char* var186
/* : CString */;
2831 val
* var187
/* : String */;
2832 val
* var188
/* : nullable Int */;
2833 val
* var189
/* : nullable Int */;
2834 val
* var190
/* : nullable Bool */;
2835 val
* var191
/* : nullable Bool */;
2836 val
* var192
/* : nullable MClass */;
2837 val
* var193
/* : nullable Numeric */;
2838 val
* var195
/* : nullable Numeric */;
2839 short int var196
/* : Bool */;
2842 static val
* varonce199
;
2843 val
* var200
/* : String */;
2844 char* var201
/* : CString */;
2845 val
* var202
/* : String */;
2846 val
* var203
/* : nullable Int */;
2847 val
* var204
/* : nullable Int */;
2848 val
* var205
/* : nullable Bool */;
2849 val
* var206
/* : nullable Bool */;
2850 val
* var207
/* : nullable MClass */;
2851 short int var208
/* : Bool */;
2852 short int var209
/* : Bool */;
2853 short int var211
/* : Bool */;
2854 short int var212
/* : Bool */;
2855 val
* var213
/* : MClassType */;
2856 val
* var215
/* : MClassType */;
2857 short int var216
/* : Bool */;
2860 static val
* varonce219
;
2861 val
* var220
/* : String */;
2862 char* var221
/* : CString */;
2863 val
* var222
/* : String */;
2864 val
* var223
/* : nullable Int */;
2865 val
* var224
/* : nullable Int */;
2866 val
* var225
/* : nullable Bool */;
2867 val
* var226
/* : nullable Bool */;
2868 val
* var227
/* : nullable MClass */;
2869 val
* var_cla228
/* var cla: nullable MClass */;
2870 short int var229
/* : Bool */;
2871 short int var230
/* : Bool */;
2872 short int var232
/* : Bool */;
2873 short int var233
/* : Bool */;
2874 val
* var234
/* : MClassType */;
2875 val
* var236
/* : MClassType */;
2876 short int var237
/* : Bool */;
2879 short int var240
/* : Bool */;
2880 static val
* varonce241
;
2881 val
* var242
/* : String */;
2882 char* var243
/* : CString */;
2883 val
* var244
/* : String */;
2884 val
* var245
/* : nullable Int */;
2885 val
* var246
/* : nullable Int */;
2886 val
* var247
/* : nullable Bool */;
2887 val
* var248
/* : nullable Bool */;
2888 val
* var249
/* : nullable MClass */;
2889 val
* var_cla250
/* var cla: nullable MClass */;
2890 short int var251
/* : Bool */;
2891 static val
* varonce252
;
2892 val
* var253
/* : String */;
2893 char* var254
/* : CString */;
2894 val
* var255
/* : String */;
2895 val
* var256
/* : nullable Int */;
2896 val
* var257
/* : nullable Int */;
2897 val
* var258
/* : nullable Bool */;
2898 val
* var259
/* : nullable Bool */;
2899 val
* var260
/* : nullable MClass */;
2900 static val
* varonce261
;
2901 val
* var262
/* : String */;
2902 char* var263
/* : CString */;
2903 val
* var264
/* : String */;
2904 val
* var265
/* : nullable Int */;
2905 val
* var266
/* : nullable Int */;
2906 val
* var267
/* : nullable Bool */;
2907 val
* var268
/* : nullable Bool */;
2908 val
* var269
/* : nullable MClass */;
2909 short int var270
/* : Bool */;
2910 short int var271
/* : Bool */;
2911 short int var273
/* : Bool */;
2912 short int var274
/* : Bool */;
2913 val
* var275
/* : MClassType */;
2914 val
* var277
/* : MClassType */;
2915 short int var278
/* : Bool */;
2918 static val
* varonce281
;
2919 val
* var282
/* : String */;
2920 char* var283
/* : CString */;
2921 val
* var284
/* : String */;
2922 val
* var285
/* : nullable Int */;
2923 val
* var286
/* : nullable Int */;
2924 val
* var287
/* : nullable Bool */;
2925 val
* var288
/* : nullable Bool */;
2926 val
* var289
/* : nullable MClass */;
2927 val
* var_cla290
/* var cla: nullable MClass */;
2928 short int var291
/* : Bool */;
2929 short int var292
/* : Bool */;
2930 short int var294
/* : Bool */;
2931 short int var295
/* : Bool */;
2932 val
* var296
/* : MClassType */;
2933 val
* var298
/* : MClassType */;
2934 short int var299
/* : Bool */;
2937 static val
* varonce302
;
2938 val
* var303
/* : String */;
2939 char* var304
/* : CString */;
2940 val
* var305
/* : String */;
2941 val
* var306
/* : nullable Int */;
2942 val
* var307
/* : nullable Int */;
2943 val
* var308
/* : nullable Bool */;
2944 val
* var309
/* : nullable Bool */;
2945 val
* var310
/* : nullable MClass */;
2946 val
* var_cla311
/* var cla: nullable MClass */;
2947 short int var312
/* : Bool */;
2948 short int var313
/* : Bool */;
2949 short int var315
/* : Bool */;
2950 short int var316
/* : Bool */;
2951 val
* var317
/* : MClassType */;
2952 val
* var319
/* : MClassType */;
2953 short int var320
/* : Bool */;
2956 short int var323
/* : Bool */;
2957 static val
* varonce324
;
2958 val
* var325
/* : String */;
2959 char* var326
/* : CString */;
2960 val
* var327
/* : String */;
2961 val
* var328
/* : nullable Int */;
2962 val
* var329
/* : nullable Int */;
2963 val
* var330
/* : nullable Bool */;
2964 val
* var331
/* : nullable Bool */;
2965 val
* var332
/* : nullable MClass */;
2966 val
* var_cla333
/* var cla: nullable MClass */;
2967 short int var334
/* : Bool */;
2968 static val
* varonce335
;
2969 val
* var336
/* : String */;
2970 char* var337
/* : CString */;
2971 val
* var338
/* : String */;
2972 val
* var339
/* : nullable Int */;
2973 val
* var340
/* : nullable Int */;
2974 val
* var341
/* : nullable Bool */;
2975 val
* var342
/* : nullable Bool */;
2976 val
* var343
/* : nullable MClass */;
2977 short int var344
/* : Bool */;
2978 static val
* varonce345
;
2979 val
* var346
/* : String */;
2980 char* var347
/* : CString */;
2981 val
* var348
/* : String */;
2982 val
* var349
/* : nullable Int */;
2983 val
* var350
/* : nullable Int */;
2984 val
* var351
/* : nullable Bool */;
2985 val
* var352
/* : nullable Bool */;
2986 val
* var353
/* : nullable MClass */;
2987 short int var354
/* : Bool */;
2988 short int var355
/* : Bool */;
2989 short int var357
/* : Bool */;
2990 short int var358
/* : Bool */;
2991 val
* var359
/* : MClassType */;
2992 val
* var361
/* : MClassType */;
2993 val
* var363
/* : NativeArray[String] */;
2994 static val
* varonce362
;
2995 static val
* varonce364
;
2996 val
* var365
/* : String */;
2997 char* var366
/* : CString */;
2998 val
* var367
/* : String */;
2999 val
* var368
/* : nullable Int */;
3000 val
* var369
/* : nullable Int */;
3001 val
* var370
/* : nullable Bool */;
3002 val
* var371
/* : nullable Bool */;
3003 static val
* varonce372
;
3004 val
* var373
/* : String */;
3005 char* var374
/* : CString */;
3006 val
* var375
/* : String */;
3007 val
* var376
/* : nullable Int */;
3008 val
* var377
/* : nullable Int */;
3009 val
* var378
/* : nullable Bool */;
3010 val
* var379
/* : nullable Bool */;
3011 val
* var380
/* : String */;
3012 val
* var381
/* : String */;
3013 short int var382
/* : Bool */;
3014 short int var383
/* : Bool */;
3015 short int var385
/* : Bool */;
3016 short int var387
/* : Bool */;
3017 short int var388
/* : Bool */;
3018 short int var389
/* : Bool */;
3019 short int var390
/* : Bool */;
3020 short int var392
/* : Bool */;
3021 short int var393
/* : Bool */;
3022 short int var_
/* var : Bool */;
3023 short int var394
/* : Bool */;
3024 short int var395
/* : Bool */;
3025 short int var397
/* : Bool */;
3026 short int var399
/* : Bool */;
3027 short int var400
/* : Bool */;
3030 val
* var403
/* : AType */;
3031 val
* var405
/* : AType */;
3032 val
* var406
/* : nullable MType */;
3033 val
* var_xmtype
/* var xmtype: nullable MType */;
3034 short int var407
/* : Bool */;
3035 short int var408
/* : Bool */;
3036 short int var410
/* : Bool */;
3037 short int var412
/* : Bool */;
3038 static val
* varonce413
;
3039 val
* var414
/* : String */;
3040 char* var415
/* : CString */;
3041 val
* var416
/* : String */;
3042 val
* var417
/* : nullable Int */;
3043 val
* var418
/* : nullable Int */;
3044 val
* var419
/* : nullable Bool */;
3045 val
* var420
/* : nullable Bool */;
3046 static val
* varonce421
;
3047 val
* var422
/* : String */;
3048 char* var423
/* : CString */;
3049 val
* var424
/* : String */;
3050 val
* var425
/* : nullable Int */;
3051 val
* var426
/* : nullable Int */;
3052 val
* var427
/* : nullable Bool */;
3053 val
* var428
/* : nullable Bool */;
3054 short int var429
/* : Bool */;
3055 short int var430
/* : Bool */;
3056 short int var432
/* : Bool */;
3057 short int var434
/* : Bool */;
3058 val
* var436
/* : NativeArray[String] */;
3059 static val
* varonce435
;
3060 static val
* varonce437
;
3061 val
* var438
/* : String */;
3062 char* var439
/* : CString */;
3063 val
* var440
/* : String */;
3064 val
* var441
/* : nullable Int */;
3065 val
* var442
/* : nullable Int */;
3066 val
* var443
/* : nullable Bool */;
3067 val
* var444
/* : nullable Bool */;
3068 static val
* varonce445
;
3069 val
* var446
/* : String */;
3070 char* var447
/* : CString */;
3071 val
* var448
/* : String */;
3072 val
* var449
/* : nullable Int */;
3073 val
* var450
/* : nullable Int */;
3074 val
* var451
/* : nullable Bool */;
3075 val
* var452
/* : nullable Bool */;
3076 val
* var453
/* : String */;
3077 val
* var454
/* : String */;
3078 short int var456
/* : Bool */;
3079 short int var457
/* : Bool */;
3080 short int var459
/* : Bool */;
3081 short int var460
/* : Bool */;
3082 val
* var462
/* : MSignature */;
3083 val
* var463
/* : Array[MParameter] */;
3084 val
* var_msignature464
/* var msignature: MSignature */;
3085 val
* var466
/* : nullable MMethodDef */;
3086 val
* var468
/* : nullable MMethodDef */;
3087 val
* var_mwritepropdef
/* var mwritepropdef: nullable MMethodDef */;
3088 short int var469
/* : Bool */;
3089 short int var470
/* : Bool */;
3090 short int var472
/* : Bool */;
3091 short int var473
/* : Bool */;
3092 val
* var_mwritetype
/* var mwritetype: MType */;
3093 short int var474
/* : Bool */;
3094 short int var476
/* : Bool */;
3095 val
* var477
/* : MType */;
3096 val
* var478
/* : TId */;
3097 val
* var480
/* : TId */;
3098 val
* var481
/* : String */;
3099 val
* var_name
/* var name: String */;
3100 val
* var482
/* : MParameter */;
3101 val
* var_mparameter
/* var mparameter: MParameter */;
3102 val
* var483
/* : MSignature */;
3103 val
* var484
/* : Array[MParameter] */;
3104 val
* var_485
/* var : Array[MParameter] */;
3105 val
* var_msignature486
/* var msignature: MSignature */;
3106 val
* var488
/* : nullable MAttributeDef */;
3107 val
* var490
/* : nullable MAttributeDef */;
3108 val
* var_mlazypropdef
/* var mlazypropdef: nullable MAttributeDef */;
3109 short int var491
/* : Bool */;
3110 short int var492
/* : Bool */;
3111 short int var494
/* : Bool */;
3112 short int var495
/* : Bool */;
3113 val
* var496
/* : MClassType */;
3114 var_modelbuilder
= p0
;
3116 { /* Inline modelize_property$AAttrPropdef$mreadpropdef (self) on <self:AAttrPropdef> */
3117 var2
= self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___mreadpropdef
].val
; /* _mreadpropdef on <self:AAttrPropdef> */
3122 var_mreadpropdef
= var
;
3124 { /* Inline modelize_property$APropdef$mpropdef (self) on <self:AAttrPropdef> */
3125 var5
= self
->attrs
[COLOR_nitc__modelize_property__APropdef___mpropdef
].val
; /* _mpropdef on <self:AAttrPropdef> */
3130 var_mpropdef
= var3
;
3131 if (var_mreadpropdef
== NULL
) {
3132 var6
= 1; /* is null */
3134 var6
= 0; /* arg is null but recv is not */
3137 { /* Inline kernel$Object$== (var_mreadpropdef,((val*)NULL)) on <var_mreadpropdef:nullable MMethodDef> */
3138 var_other
= ((val
*)NULL
);
3140 { /* Inline kernel$Object$is_same_instance (var_mreadpropdef,var_other) on <var_mreadpropdef:nullable MMethodDef(MMethodDef)> */
3141 var11
= var_mreadpropdef
== var_other
;
3144 RET_LABEL10
:(void)0;
3158 { /* Inline model$MPropDef$mclassdef (var_mreadpropdef) on <var_mreadpropdef:nullable MMethodDef(MMethodDef)> */
3159 var14
= var_mreadpropdef
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <var_mreadpropdef:nullable MMethodDef(MMethodDef)> */
3160 if (unlikely(var14
== NULL
)) {
3161 if(catchStack
.cursor
>= 0){
3162 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3164 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
3165 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
3169 RET_LABEL13
:(void)0;
3172 var_mclassdef
= var12
;
3174 { /* Inline model$MClassDef$mmodule (var_mclassdef) on <var_mclassdef:MClassDef> */
3175 var17
= var_mclassdef
->attrs
[COLOR_nitc__model__MClassDef___mmodule
].val
; /* _mmodule on <var_mclassdef:MClassDef> */
3176 if (unlikely(var17
== NULL
)) {
3177 if(catchStack
.cursor
>= 0){
3178 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3180 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule");
3181 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 588);
3185 RET_LABEL16
:(void)0;
3188 var_mmodule
= var15
;
3189 var_mtype
= ((val
*)NULL
);
3191 { /* Inline parser_nodes$AAttrPropdef$n_type (self) on <self:AAttrPropdef> */
3192 var20
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrPropdef___n_type
].val
; /* _n_type on <self:AAttrPropdef> */
3194 RET_LABEL19
:(void)0;
3198 if (var_ntype
== NULL
) {
3199 var21
= 0; /* is null */
3201 var21
= 1; /* arg is null and recv is not */
3204 { /* Inline kernel$Object$!= (var_ntype,((val*)NULL)) on <var_ntype:nullable AType> */
3205 var_other24
= ((val
*)NULL
);
3207 var25
= ((short int(*)(val
* self
, val
* p0
))(var_ntype
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_ntype
, var_other24
); /* == on <var_ntype:nullable AType(AType)>*/
3212 RET_LABEL23
:(void)0;
3218 var27
= nitc___nitc__ModelBuilder___resolve_mtype_unchecked(var_modelbuilder
, var_mmodule
, var_mclassdef
, var_ntype
, 1);
3221 if (var_mtype
== NULL
) {
3222 var28
= 1; /* is null */
3224 var28
= 0; /* arg is null but recv is not */
3227 { /* Inline kernel$Object$== (var_mtype,((val*)NULL)) on <var_mtype:nullable MType> */
3228 var_other
= ((val
*)NULL
);
3230 { /* Inline kernel$Object$is_same_instance (var_mtype,var_other) on <var_mtype:nullable MType(MType)> */
3231 var33
= var_mtype
== var_other
;
3234 RET_LABEL32
:(void)0;
3239 RET_LABEL30
:(void)0;
3249 var_inherited_type
= ((val
*)NULL
);
3251 var34
= nitc___nitc__MPropDef___is_intro(var_mreadpropdef
);
3256 { /* Inline model$MPropDef$mproperty (var_mreadpropdef) on <var_mreadpropdef:nullable MMethodDef(MMethodDef)> */
3257 var38
= var_mreadpropdef
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <var_mreadpropdef:nullable MMethodDef(MMethodDef)> */
3258 if (unlikely(var38
== NULL
)) {
3259 if(catchStack
.cursor
>= 0){
3260 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3262 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
3263 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
3267 RET_LABEL37
:(void)0;
3271 { /* Inline model$MProperty$intro (var36) on <var36:MProperty(MMethod)> */
3272 var41
= var36
->attrs
[COLOR_nitc__model__MProperty___intro
].val
; /* _intro on <var36:MProperty(MMethod)> */
3273 if (unlikely(var41
== NULL
)) {
3274 if(catchStack
.cursor
>= 0){
3275 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3277 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro");
3278 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2097);
3282 RET_LABEL40
:(void)0;
3286 { /* Inline model$MMethodDef$msignature (var39) on <var39:MPropDef(MMethodDef)> */
3287 var44
= var39
->attrs
[COLOR_nitc__model__MMethodDef___msignature
].val
; /* _msignature on <var39:MPropDef(MMethodDef)> */
3289 RET_LABEL43
:(void)0;
3292 var_msignature
= var42
;
3293 if (var_msignature
== NULL
) {
3294 var45
= 1; /* is null */
3296 var45
= 0; /* arg is null but recv is not */
3299 { /* Inline kernel$Object$== (var_msignature,((val*)NULL)) on <var_msignature:nullable MSignature> */
3300 var_other
= ((val
*)NULL
);
3302 { /* Inline kernel$Object$is_same_instance (var_msignature,var_other) on <var_msignature:nullable MSignature(MSignature)> */
3303 var50
= var_msignature
== var_other
;
3306 RET_LABEL49
:(void)0;
3311 RET_LABEL47
:(void)0;
3320 { /* Inline model$MSignature$return_mtype (var_msignature) on <var_msignature:nullable MSignature(MSignature)> */
3321 var53
= var_msignature
->attrs
[COLOR_nitc__model__MSignature___return_mtype
].val
; /* _return_mtype on <var_msignature:nullable MSignature(MSignature)> */
3323 RET_LABEL52
:(void)0;
3326 var_inherited_type
= var51
;
3327 if (var_inherited_type
== NULL
) {
3328 var54
= 0; /* is null */
3330 var54
= 1; /* arg is null and recv is not */
3333 { /* Inline kernel$Object$!= (var_inherited_type,((val*)NULL)) on <var_inherited_type:nullable MType> */
3334 var_other24
= ((val
*)NULL
);
3336 var57
= ((short int(*)(val
* self
, val
* p0
))(var_inherited_type
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_inherited_type
, var_other24
); /* == on <var_inherited_type:nullable MType(MType)>*/
3341 RET_LABEL56
:(void)0;
3347 { /* Inline model$MClassDef$mclass (var_mclassdef) on <var_mclassdef:MClassDef> */
3348 var61
= var_mclassdef
->attrs
[COLOR_nitc__model__MClassDef___mclass
].val
; /* _mclass on <var_mclassdef:MClassDef> */
3349 if (unlikely(var61
== NULL
)) {
3350 if(catchStack
.cursor
>= 0){
3351 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3353 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass");
3354 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 591);
3358 RET_LABEL60
:(void)0;
3362 { /* Inline model$MClass$mclass_type (var59) on <var59:MClass> */
3363 var64
= var59
->attrs
[COLOR_nitc__model__MClass___mclass_type
].val
; /* _mclass_type on <var59:MClass> */
3364 if (unlikely(var64
== NULL
)) {
3365 if(catchStack
.cursor
>= 0){
3366 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3368 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass_type");
3369 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 520);
3373 RET_LABEL63
:(void)0;
3377 { /* Inline model$MClassDef$bound_mtype (var_mclassdef) on <var_mclassdef:MClassDef> */
3378 var67
= var_mclassdef
->attrs
[COLOR_nitc__model__MClassDef___bound_mtype
].val
; /* _bound_mtype on <var_mclassdef:MClassDef> */
3379 if (unlikely(var67
== NULL
)) {
3380 if(catchStack
.cursor
>= 0){
3381 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3383 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _bound_mtype");
3384 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 594);
3388 RET_LABEL66
:(void)0;
3392 var68
= ((val
*(*)(val
* self
, val
* p0
, val
* p1
, val
* p2
, short int p3
))(var_inherited_type
->class->vft
[COLOR_nitc__model__MType__resolve_for
]))(var_inherited_type
, var62
, var65
, var_mmodule
, 0); /* resolve_for on <var_inherited_type:nullable MType(MType)>*/
3394 var_inherited_type
= var68
;
3395 if (var_mtype
== NULL
) {
3396 var69
= 1; /* is null */
3398 var69
= 0; /* arg is null but recv is not */
3401 { /* Inline kernel$Object$== (var_mtype,((val*)NULL)) on <var_mtype:nullable MType> */
3402 var_other
= ((val
*)NULL
);
3404 { /* Inline kernel$Object$is_same_instance (var_mtype,var_other) on <var_mtype:nullable MType(MType)> */
3405 var74
= var_mtype
== var_other
;
3408 RET_LABEL73
:(void)0;
3413 RET_LABEL71
:(void)0;
3418 var_mtype
= var_inherited_type
;
3426 { /* Inline parser_nodes$AAttrPropdef$n_expr (self) on <self:AAttrPropdef> */
3427 var77
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrPropdef___n_expr
].val
; /* _n_expr on <self:AAttrPropdef> */
3429 RET_LABEL76
:(void)0;
3433 if (var_mtype
== NULL
) {
3434 var78
= 1; /* is null */
3436 var78
= 0; /* arg is null but recv is not */
3439 { /* Inline kernel$Object$== (var_mtype,((val*)NULL)) on <var_mtype:nullable MType> */
3440 var_other
= ((val
*)NULL
);
3442 { /* Inline kernel$Object$is_same_instance (var_mtype,var_other) on <var_mtype:nullable MType(MType)> */
3443 var83
= var_mtype
== var_other
;
3446 RET_LABEL82
:(void)0;
3451 RET_LABEL80
:(void)0;
3456 if (var_nexpr
== NULL
) {
3457 var84
= 0; /* is null */
3459 var84
= 1; /* arg is null and recv is not */
3462 { /* Inline kernel$Object$!= (var_nexpr,((val*)NULL)) on <var_nexpr:nullable AExpr> */
3463 var_other24
= ((val
*)NULL
);
3465 var87
= ((short int(*)(val
* self
, val
* p0
))(var_nexpr
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_nexpr
, var_other24
); /* == on <var_nexpr:nullable AExpr(AExpr)>*/
3470 RET_LABEL86
:(void)0;
3475 /* <var_nexpr:nullable AExpr(AExpr)> isa ANewExpr */
3476 cltype
= type_nitc__ANewExpr
.color
;
3477 idtype
= type_nitc__ANewExpr
.id
;
3478 if(cltype
>= var_nexpr
->type
->table_size
) {
3481 var89
= var_nexpr
->type
->type_table
[cltype
] == idtype
;
3485 { /* Inline parser_nodes$ANewExpr$n_type (var_nexpr) on <var_nexpr:nullable AExpr(ANewExpr)> */
3486 var92
= var_nexpr
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_type
].val
; /* _n_type on <var_nexpr:nullable AExpr(ANewExpr)> */
3487 if (unlikely(var92
== NULL
)) {
3488 if(catchStack
.cursor
>= 0){
3489 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3491 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
3492 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2340);
3496 RET_LABEL91
:(void)0;
3500 var93
= nitc___nitc__ModelBuilder___resolve_mtype_unchecked(var_modelbuilder
, var_mmodule
, var_mclassdef
, var90
, 1);
3504 /* <var_nexpr:nullable AExpr(AExpr)> isa AAsCastExpr */
3505 cltype95
= type_nitc__AAsCastExpr
.color
;
3506 idtype96
= type_nitc__AAsCastExpr
.id
;
3507 if(cltype95
>= var_nexpr
->type
->table_size
) {
3510 var94
= var_nexpr
->type
->type_table
[cltype95
] == idtype96
;
3514 { /* Inline parser_nodes$AAsCastExpr$n_type (var_nexpr) on <var_nexpr:nullable AExpr(AAsCastExpr)> */
3515 var99
= var_nexpr
->attrs
[COLOR_nitc__parser_nodes__AAsCastExpr___n_type
].val
; /* _n_type on <var_nexpr:nullable AExpr(AAsCastExpr)> */
3516 if (unlikely(var99
== NULL
)) {
3517 if(catchStack
.cursor
>= 0){
3518 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3520 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
3521 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2684);
3525 RET_LABEL98
:(void)0;
3529 var100
= nitc___nitc__ModelBuilder___resolve_mtype_unchecked(var_modelbuilder
, var_mmodule
, var_mclassdef
, var97
, 1);
3533 /* <var_nexpr:nullable AExpr(AExpr)> isa AIntegerExpr */
3534 cltype102
= type_nitc__AIntegerExpr
.color
;
3535 idtype103
= type_nitc__AIntegerExpr
.id
;
3536 if(cltype102
>= var_nexpr
->type
->table_size
) {
3539 var101
= var_nexpr
->type
->type_table
[cltype102
] == idtype103
;
3542 var_cla
= ((val
*)NULL
);
3544 { /* Inline literal$AIntegerExpr$value (var_nexpr) on <var_nexpr:nullable AExpr(AIntegerExpr)> */
3545 var106
= var_nexpr
->attrs
[COLOR_nitc__literal__AIntegerExpr___value
].val
; /* _value on <var_nexpr:nullable AExpr(AIntegerExpr)> */
3547 RET_LABEL105
:(void)0;
3550 /* <var104:nullable Numeric> isa Int */
3551 cltype108
= type_core__Int
.color
;
3552 idtype109
= type_core__Int
.id
;
3553 if(var104
== NULL
) {
3556 if(cltype108
>= (((long)var104
&3)?type_info
[((long)var104
&3)]:var104
->type
)->table_size
) {
3559 var107
= (((long)var104
&3)?type_info
[((long)var104
&3)]:var104
->type
)->type_table
[cltype108
] == idtype109
;
3563 if (likely(varonce
!=NULL
)) {
3567 var113
= (val
*)(3l<<2|1);
3568 var114
= (val
*)(3l<<2|1);
3569 var115
= (val
*)((long)(0)<<2|3);
3570 var116
= (val
*)((long)(0)<<2|3);
3571 var112
= core__flat___CString___to_s_unsafe(var111
, var113
, var114
, var115
, var116
);
3576 var117
= nitc___nitc__ModelBuilder___try_get_mclass_by_name(var_modelbuilder
, var_nexpr
, var_mmodule
, var110
);
3581 { /* Inline literal$AIntegerExpr$value (var_nexpr) on <var_nexpr:nullable AExpr(AIntegerExpr)> */
3582 var120
= var_nexpr
->attrs
[COLOR_nitc__literal__AIntegerExpr___value
].val
; /* _value on <var_nexpr:nullable AExpr(AIntegerExpr)> */
3584 RET_LABEL119
:(void)0;
3587 /* <var118:nullable Numeric> isa Byte */
3588 cltype122
= type_core__Byte
.color
;
3589 idtype123
= type_core__Byte
.id
;
3590 if(var118
== NULL
) {
3593 if(cltype122
>= (((long)var118
&3)?type_info
[((long)var118
&3)]:var118
->type
)->table_size
) {
3596 var121
= (((long)var118
&3)?type_info
[((long)var118
&3)]:var118
->type
)->type_table
[cltype122
] == idtype123
;
3600 if (likely(varonce124
!=NULL
)) {
3601 var125
= varonce124
;
3604 var128
= (val
*)(4l<<2|1);
3605 var129
= (val
*)(4l<<2|1);
3606 var130
= (val
*)((long)(0)<<2|3);
3607 var131
= (val
*)((long)(0)<<2|3);
3608 var127
= core__flat___CString___to_s_unsafe(var126
, var128
, var129
, var130
, var131
);
3610 varonce124
= var125
;
3613 var132
= nitc___nitc__ModelBuilder___try_get_mclass_by_name(var_modelbuilder
, var_nexpr
, var_mmodule
, var125
);
3618 { /* Inline literal$AIntegerExpr$value (var_nexpr) on <var_nexpr:nullable AExpr(AIntegerExpr)> */
3619 var135
= var_nexpr
->attrs
[COLOR_nitc__literal__AIntegerExpr___value
].val
; /* _value on <var_nexpr:nullable AExpr(AIntegerExpr)> */
3621 RET_LABEL134
:(void)0;
3624 /* <var133:nullable Numeric> isa Int8 */
3625 cltype137
= type_core__Int8
.color
;
3626 idtype138
= type_core__Int8
.id
;
3627 if(var133
== NULL
) {
3630 if(cltype137
>= (((long)var133
&3)?type_info
[((long)var133
&3)]:var133
->type
)->table_size
) {
3633 var136
= (((long)var133
&3)?type_info
[((long)var133
&3)]:var133
->type
)->type_table
[cltype137
] == idtype138
;
3637 if (likely(varonce139
!=NULL
)) {
3638 var140
= varonce139
;
3641 var143
= (val
*)(4l<<2|1);
3642 var144
= (val
*)(4l<<2|1);
3643 var145
= (val
*)((long)(0)<<2|3);
3644 var146
= (val
*)((long)(0)<<2|3);
3645 var142
= core__flat___CString___to_s_unsafe(var141
, var143
, var144
, var145
, var146
);
3647 varonce139
= var140
;
3650 var147
= nitc___nitc__ModelBuilder___try_get_mclass_by_name(var_modelbuilder
, var_nexpr
, var_mmodule
, var140
);
3655 { /* Inline literal$AIntegerExpr$value (var_nexpr) on <var_nexpr:nullable AExpr(AIntegerExpr)> */
3656 var150
= var_nexpr
->attrs
[COLOR_nitc__literal__AIntegerExpr___value
].val
; /* _value on <var_nexpr:nullable AExpr(AIntegerExpr)> */
3658 RET_LABEL149
:(void)0;
3661 /* <var148:nullable Numeric> isa Int16 */
3662 cltype152
= type_core__Int16
.color
;
3663 idtype153
= type_core__Int16
.id
;
3664 if(var148
== NULL
) {
3667 if(cltype152
>= (((long)var148
&3)?type_info
[((long)var148
&3)]:var148
->type
)->table_size
) {
3670 var151
= (((long)var148
&3)?type_info
[((long)var148
&3)]:var148
->type
)->type_table
[cltype152
] == idtype153
;
3674 if (likely(varonce154
!=NULL
)) {
3675 var155
= varonce154
;
3678 var158
= (val
*)(5l<<2|1);
3679 var159
= (val
*)(5l<<2|1);
3680 var160
= (val
*)((long)(0)<<2|3);
3681 var161
= (val
*)((long)(0)<<2|3);
3682 var157
= core__flat___CString___to_s_unsafe(var156
, var158
, var159
, var160
, var161
);
3684 varonce154
= var155
;
3687 var162
= nitc___nitc__ModelBuilder___try_get_mclass_by_name(var_modelbuilder
, var_nexpr
, var_mmodule
, var155
);
3692 { /* Inline literal$AIntegerExpr$value (var_nexpr) on <var_nexpr:nullable AExpr(AIntegerExpr)> */
3693 var165
= var_nexpr
->attrs
[COLOR_nitc__literal__AIntegerExpr___value
].val
; /* _value on <var_nexpr:nullable AExpr(AIntegerExpr)> */
3695 RET_LABEL164
:(void)0;
3698 /* <var163:nullable Numeric> isa UInt16 */
3699 cltype167
= type_core__UInt16
.color
;
3700 idtype168
= type_core__UInt16
.id
;
3701 if(var163
== NULL
) {
3704 if(cltype167
>= (((long)var163
&3)?type_info
[((long)var163
&3)]:var163
->type
)->table_size
) {
3707 var166
= (((long)var163
&3)?type_info
[((long)var163
&3)]:var163
->type
)->type_table
[cltype167
] == idtype168
;
3711 if (likely(varonce169
!=NULL
)) {
3712 var170
= varonce169
;
3715 var173
= (val
*)(6l<<2|1);
3716 var174
= (val
*)(6l<<2|1);
3717 var175
= (val
*)((long)(0)<<2|3);
3718 var176
= (val
*)((long)(0)<<2|3);
3719 var172
= core__flat___CString___to_s_unsafe(var171
, var173
, var174
, var175
, var176
);
3721 varonce169
= var170
;
3724 var177
= nitc___nitc__ModelBuilder___try_get_mclass_by_name(var_modelbuilder
, var_nexpr
, var_mmodule
, var170
);
3729 { /* Inline literal$AIntegerExpr$value (var_nexpr) on <var_nexpr:nullable AExpr(AIntegerExpr)> */
3730 var180
= var_nexpr
->attrs
[COLOR_nitc__literal__AIntegerExpr___value
].val
; /* _value on <var_nexpr:nullable AExpr(AIntegerExpr)> */
3732 RET_LABEL179
:(void)0;
3735 /* <var178:nullable Numeric> isa Int32 */
3736 cltype182
= type_core__Int32
.color
;
3737 idtype183
= type_core__Int32
.id
;
3738 if(var178
== NULL
) {
3741 if(cltype182
>= (((long)var178
&3)?type_info
[((long)var178
&3)]:var178
->type
)->table_size
) {
3744 var181
= (((long)var178
&3)?type_info
[((long)var178
&3)]:var178
->type
)->type_table
[cltype182
] == idtype183
;
3748 if (likely(varonce184
!=NULL
)) {
3749 var185
= varonce184
;
3752 var188
= (val
*)(5l<<2|1);
3753 var189
= (val
*)(5l<<2|1);
3754 var190
= (val
*)((long)(0)<<2|3);
3755 var191
= (val
*)((long)(0)<<2|3);
3756 var187
= core__flat___CString___to_s_unsafe(var186
, var188
, var189
, var190
, var191
);
3758 varonce184
= var185
;
3761 var192
= nitc___nitc__ModelBuilder___try_get_mclass_by_name(var_modelbuilder
, var_nexpr
, var_mmodule
, var185
);
3766 { /* Inline literal$AIntegerExpr$value (var_nexpr) on <var_nexpr:nullable AExpr(AIntegerExpr)> */
3767 var195
= var_nexpr
->attrs
[COLOR_nitc__literal__AIntegerExpr___value
].val
; /* _value on <var_nexpr:nullable AExpr(AIntegerExpr)> */
3769 RET_LABEL194
:(void)0;
3772 /* <var193:nullable Numeric> isa UInt32 */
3773 cltype197
= type_core__UInt32
.color
;
3774 idtype198
= type_core__UInt32
.id
;
3775 if(var193
== NULL
) {
3778 if(cltype197
>= (((long)var193
&3)?type_info
[((long)var193
&3)]:var193
->type
)->table_size
) {
3781 var196
= (((long)var193
&3)?type_info
[((long)var193
&3)]:var193
->type
)->type_table
[cltype197
] == idtype198
;
3785 if (likely(varonce199
!=NULL
)) {
3786 var200
= varonce199
;
3789 var203
= (val
*)(6l<<2|1);
3790 var204
= (val
*)(6l<<2|1);
3791 var205
= (val
*)((long)(0)<<2|3);
3792 var206
= (val
*)((long)(0)<<2|3);
3793 var202
= core__flat___CString___to_s_unsafe(var201
, var203
, var204
, var205
, var206
);
3795 varonce199
= var200
;
3798 var207
= nitc___nitc__ModelBuilder___try_get_mclass_by_name(var_modelbuilder
, var_nexpr
, var_mmodule
, var200
);
3802 if(catchStack
.cursor
>= 0){
3803 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3805 PRINT_ERROR("Runtime error: %s", "Aborted");
3806 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 1393);
3815 if (var_cla
== NULL
) {
3816 var208
= 0; /* is null */
3818 var208
= 1; /* arg is null and recv is not */
3821 { /* Inline kernel$Object$!= (var_cla,((val*)NULL)) on <var_cla:nullable MClass> */
3822 var_other24
= ((val
*)NULL
);
3824 var211
= ((short int(*)(val
* self
, val
* p0
))(var_cla
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_cla
, var_other24
); /* == on <var_cla:nullable MClass(MClass)>*/
3829 RET_LABEL210
:(void)0;
3835 { /* Inline model$MClass$mclass_type (var_cla) on <var_cla:nullable MClass(MClass)> */
3836 var215
= var_cla
->attrs
[COLOR_nitc__model__MClass___mclass_type
].val
; /* _mclass_type on <var_cla:nullable MClass(MClass)> */
3837 if (unlikely(var215
== NULL
)) {
3838 if(catchStack
.cursor
>= 0){
3839 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3841 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass_type");
3842 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 520);
3846 RET_LABEL214
:(void)0;
3853 /* <var_nexpr:nullable AExpr(AExpr)> isa AFloatExpr */
3854 cltype217
= type_nitc__AFloatExpr
.color
;
3855 idtype218
= type_nitc__AFloatExpr
.id
;
3856 if(cltype217
>= var_nexpr
->type
->table_size
) {
3859 var216
= var_nexpr
->type
->type_table
[cltype217
] == idtype218
;
3862 if (likely(varonce219
!=NULL
)) {
3863 var220
= varonce219
;
3866 var223
= (val
*)(5l<<2|1);
3867 var224
= (val
*)(5l<<2|1);
3868 var225
= (val
*)((long)(0)<<2|3);
3869 var226
= (val
*)((long)(0)<<2|3);
3870 var222
= core__flat___CString___to_s_unsafe(var221
, var223
, var224
, var225
, var226
);
3872 varonce219
= var220
;
3875 var227
= nitc___nitc__ModelBuilder___try_get_mclass_by_name(var_modelbuilder
, var_nexpr
, var_mmodule
, var220
);
3877 var_cla228
= var227
;
3878 if (var_cla228
== NULL
) {
3879 var229
= 0; /* is null */
3881 var229
= 1; /* arg is null and recv is not */
3884 { /* Inline kernel$Object$!= (var_cla228,((val*)NULL)) on <var_cla228:nullable MClass> */
3885 var_other24
= ((val
*)NULL
);
3887 var232
= ((short int(*)(val
* self
, val
* p0
))(var_cla228
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_cla228
, var_other24
); /* == on <var_cla228:nullable MClass(MClass)>*/
3892 RET_LABEL231
:(void)0;
3898 { /* Inline model$MClass$mclass_type (var_cla228) on <var_cla228:nullable MClass(MClass)> */
3899 var236
= var_cla228
->attrs
[COLOR_nitc__model__MClass___mclass_type
].val
; /* _mclass_type on <var_cla228:nullable MClass(MClass)> */
3900 if (unlikely(var236
== NULL
)) {
3901 if(catchStack
.cursor
>= 0){
3902 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
3904 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass_type");
3905 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 520);
3909 RET_LABEL235
:(void)0;
3916 /* <var_nexpr:nullable AExpr(AExpr)> isa ACharExpr */
3917 cltype238
= type_nitc__ACharExpr
.color
;
3918 idtype239
= type_nitc__ACharExpr
.id
;
3919 if(cltype238
>= var_nexpr
->type
->table_size
) {
3922 var237
= var_nexpr
->type
->type_table
[cltype238
] == idtype239
;
3926 var240
= nitc__literal___ACharExpr___is_ascii(var_nexpr
);
3929 if (likely(varonce241
!=NULL
)) {
3930 var242
= varonce241
;
3933 var245
= (val
*)(4l<<2|1);
3934 var246
= (val
*)(4l<<2|1);
3935 var247
= (val
*)((long)(0)<<2|3);
3936 var248
= (val
*)((long)(0)<<2|3);
3937 var244
= core__flat___CString___to_s_unsafe(var243
, var245
, var246
, var247
, var248
);
3939 varonce241
= var242
;
3942 var249
= nitc___nitc__ModelBuilder___try_get_mclass_by_name(var_modelbuilder
, var_nexpr
, var_mmodule
, var242
);
3944 var_cla250
= var249
;
3947 var251
= nitc__literal___ACharExpr___is_code_point(var_nexpr
);
3950 if (likely(varonce252
!=NULL
)) {
3951 var253
= varonce252
;
3954 var256
= (val
*)(3l<<2|1);
3955 var257
= (val
*)(3l<<2|1);
3956 var258
= (val
*)((long)(0)<<2|3);
3957 var259
= (val
*)((long)(0)<<2|3);
3958 var255
= core__flat___CString___to_s_unsafe(var254
, var256
, var257
, var258
, var259
);
3960 varonce252
= var253
;
3963 var260
= nitc___nitc__ModelBuilder___try_get_mclass_by_name(var_modelbuilder
, var_nexpr
, var_mmodule
, var253
);
3965 var_cla250
= var260
;
3967 if (likely(varonce261
!=NULL
)) {
3968 var262
= varonce261
;
3971 var265
= (val
*)(4l<<2|1);
3972 var266
= (val
*)(4l<<2|1);
3973 var267
= (val
*)((long)(0)<<2|3);
3974 var268
= (val
*)((long)(0)<<2|3);
3975 var264
= core__flat___CString___to_s_unsafe(var263
, var265
, var266
, var267
, var268
);
3977 varonce261
= var262
;
3980 var269
= nitc___nitc__ModelBuilder___try_get_mclass_by_name(var_modelbuilder
, var_nexpr
, var_mmodule
, var262
);
3982 var_cla250
= var269
;
3985 if (var_cla250
== NULL
) {
3986 var270
= 0; /* is null */
3988 var270
= 1; /* arg is null and recv is not */
3991 { /* Inline kernel$Object$!= (var_cla250,((val*)NULL)) on <var_cla250:nullable MClass> */
3992 var_other24
= ((val
*)NULL
);
3994 var273
= ((short int(*)(val
* self
, val
* p0
))(var_cla250
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_cla250
, var_other24
); /* == on <var_cla250:nullable MClass(MClass)>*/
3999 RET_LABEL272
:(void)0;
4005 { /* Inline model$MClass$mclass_type (var_cla250) on <var_cla250:nullable MClass(MClass)> */
4006 var277
= var_cla250
->attrs
[COLOR_nitc__model__MClass___mclass_type
].val
; /* _mclass_type on <var_cla250:nullable MClass(MClass)> */
4007 if (unlikely(var277
== NULL
)) {
4008 if(catchStack
.cursor
>= 0){
4009 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4011 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass_type");
4012 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 520);
4016 RET_LABEL276
:(void)0;
4023 /* <var_nexpr:nullable AExpr(AExpr)> isa ABoolExpr */
4024 cltype279
= type_nitc__ABoolExpr
.color
;
4025 idtype280
= type_nitc__ABoolExpr
.id
;
4026 if(cltype279
>= var_nexpr
->type
->table_size
) {
4029 var278
= var_nexpr
->type
->type_table
[cltype279
] == idtype280
;
4032 if (likely(varonce281
!=NULL
)) {
4033 var282
= varonce281
;
4036 var285
= (val
*)(4l<<2|1);
4037 var286
= (val
*)(4l<<2|1);
4038 var287
= (val
*)((long)(0)<<2|3);
4039 var288
= (val
*)((long)(0)<<2|3);
4040 var284
= core__flat___CString___to_s_unsafe(var283
, var285
, var286
, var287
, var288
);
4042 varonce281
= var282
;
4045 var289
= nitc___nitc__ModelBuilder___try_get_mclass_by_name(var_modelbuilder
, var_nexpr
, var_mmodule
, var282
);
4047 var_cla290
= var289
;
4048 if (var_cla290
== NULL
) {
4049 var291
= 0; /* is null */
4051 var291
= 1; /* arg is null and recv is not */
4054 { /* Inline kernel$Object$!= (var_cla290,((val*)NULL)) on <var_cla290:nullable MClass> */
4055 var_other24
= ((val
*)NULL
);
4057 var294
= ((short int(*)(val
* self
, val
* p0
))(var_cla290
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_cla290
, var_other24
); /* == on <var_cla290:nullable MClass(MClass)>*/
4062 RET_LABEL293
:(void)0;
4068 { /* Inline model$MClass$mclass_type (var_cla290) on <var_cla290:nullable MClass(MClass)> */
4069 var298
= var_cla290
->attrs
[COLOR_nitc__model__MClass___mclass_type
].val
; /* _mclass_type on <var_cla290:nullable MClass(MClass)> */
4070 if (unlikely(var298
== NULL
)) {
4071 if(catchStack
.cursor
>= 0){
4072 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4074 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass_type");
4075 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 520);
4079 RET_LABEL297
:(void)0;
4086 /* <var_nexpr:nullable AExpr(AExpr)> isa ASuperstringExpr */
4087 cltype300
= type_nitc__ASuperstringExpr
.color
;
4088 idtype301
= type_nitc__ASuperstringExpr
.id
;
4089 if(cltype300
>= var_nexpr
->type
->table_size
) {
4092 var299
= var_nexpr
->type
->type_table
[cltype300
] == idtype301
;
4095 if (likely(varonce302
!=NULL
)) {
4096 var303
= varonce302
;
4099 var306
= (val
*)(6l<<2|1);
4100 var307
= (val
*)(6l<<2|1);
4101 var308
= (val
*)((long)(0)<<2|3);
4102 var309
= (val
*)((long)(0)<<2|3);
4103 var305
= core__flat___CString___to_s_unsafe(var304
, var306
, var307
, var308
, var309
);
4105 varonce302
= var303
;
4108 var310
= nitc___nitc__ModelBuilder___try_get_mclass_by_name(var_modelbuilder
, var_nexpr
, var_mmodule
, var303
);
4110 var_cla311
= var310
;
4111 if (var_cla311
== NULL
) {
4112 var312
= 0; /* is null */
4114 var312
= 1; /* arg is null and recv is not */
4117 { /* Inline kernel$Object$!= (var_cla311,((val*)NULL)) on <var_cla311:nullable MClass> */
4118 var_other24
= ((val
*)NULL
);
4120 var315
= ((short int(*)(val
* self
, val
* p0
))(var_cla311
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_cla311
, var_other24
); /* == on <var_cla311:nullable MClass(MClass)>*/
4125 RET_LABEL314
:(void)0;
4131 { /* Inline model$MClass$mclass_type (var_cla311) on <var_cla311:nullable MClass(MClass)> */
4132 var319
= var_cla311
->attrs
[COLOR_nitc__model__MClass___mclass_type
].val
; /* _mclass_type on <var_cla311:nullable MClass(MClass)> */
4133 if (unlikely(var319
== NULL
)) {
4134 if(catchStack
.cursor
>= 0){
4135 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4137 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass_type");
4138 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 520);
4142 RET_LABEL318
:(void)0;
4149 /* <var_nexpr:nullable AExpr(AExpr)> isa AStringFormExpr */
4150 cltype321
= type_nitc__AStringFormExpr
.color
;
4151 idtype322
= type_nitc__AStringFormExpr
.id
;
4152 if(cltype321
>= var_nexpr
->type
->table_size
) {
4155 var320
= var_nexpr
->type
->type_table
[cltype321
] == idtype322
;
4159 var323
= nitc___nitc__AugmentedStringFormExpr___is_bytestring(var_nexpr
);
4162 if (likely(varonce324
!=NULL
)) {
4163 var325
= varonce324
;
4166 var328
= (val
*)(5l<<2|1);
4167 var329
= (val
*)(5l<<2|1);
4168 var330
= (val
*)((long)(0)<<2|3);
4169 var331
= (val
*)((long)(0)<<2|3);
4170 var327
= core__flat___CString___to_s_unsafe(var326
, var328
, var329
, var330
, var331
);
4172 varonce324
= var325
;
4175 var332
= nitc___nitc__ModelBuilder___try_get_mclass_by_name(var_modelbuilder
, var_nexpr
, var_mmodule
, var325
);
4177 var_cla333
= var332
;
4180 var334
= nitc___nitc__AugmentedStringFormExpr___is_re(var_nexpr
);
4183 if (likely(varonce335
!=NULL
)) {
4184 var336
= varonce335
;
4187 var339
= (val
*)(5l<<2|1);
4188 var340
= (val
*)(5l<<2|1);
4189 var341
= (val
*)((long)(0)<<2|3);
4190 var342
= (val
*)((long)(0)<<2|3);
4191 var338
= core__flat___CString___to_s_unsafe(var337
, var339
, var340
, var341
, var342
);
4193 varonce335
= var336
;
4196 var343
= nitc___nitc__ModelBuilder___try_get_mclass_by_name(var_modelbuilder
, var_nexpr
, var_mmodule
, var336
);
4198 var_cla333
= var343
;
4201 var344
= nitc___nitc__AugmentedStringFormExpr___is_string(var_nexpr
);
4204 if (likely(varonce345
!=NULL
)) {
4205 var346
= varonce345
;
4208 var349
= (val
*)(6l<<2|1);
4209 var350
= (val
*)(6l<<2|1);
4210 var351
= (val
*)((long)(0)<<2|3);
4211 var352
= (val
*)((long)(0)<<2|3);
4212 var348
= core__flat___CString___to_s_unsafe(var347
, var349
, var350
, var351
, var352
);
4214 varonce345
= var346
;
4217 var353
= nitc___nitc__ModelBuilder___try_get_mclass_by_name(var_modelbuilder
, var_nexpr
, var_mmodule
, var346
);
4219 var_cla333
= var353
;
4221 if(catchStack
.cursor
>= 0){
4222 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4224 PRINT_ERROR("Runtime error: %s", "Aborted");
4225 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 1424);
4230 if (var_cla333
== NULL
) {
4231 var354
= 0; /* is null */
4233 var354
= 1; /* arg is null and recv is not */
4236 { /* Inline kernel$Object$!= (var_cla333,((val*)NULL)) on <var_cla333:nullable MClass> */
4237 var_other24
= ((val
*)NULL
);
4239 var357
= ((short int(*)(val
* self
, val
* p0
))(var_cla333
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_cla333
, var_other24
); /* == on <var_cla333:nullable MClass(MClass)>*/
4244 RET_LABEL356
:(void)0;
4250 { /* Inline model$MClass$mclass_type (var_cla333) on <var_cla333:nullable MClass(MClass)> */
4251 var361
= var_cla333
->attrs
[COLOR_nitc__model__MClass___mclass_type
].val
; /* _mclass_type on <var_cla333:nullable MClass(MClass)> */
4252 if (unlikely(var361
== NULL
)) {
4253 if(catchStack
.cursor
>= 0){
4254 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4256 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass_type");
4257 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 520);
4261 RET_LABEL360
:(void)0;
4268 if (unlikely(varonce362
==NULL
)) {
4269 var363
= NEW_core__NativeArray((int)3l, &type_core__NativeArray__core__String
);
4270 if (likely(varonce364
!=NULL
)) {
4271 var365
= varonce364
;
4273 var366
= "Error: untyped attribute `";
4274 var368
= (val
*)(26l<<2|1);
4275 var369
= (val
*)(26l<<2|1);
4276 var370
= (val
*)((long)(0)<<2|3);
4277 var371
= (val
*)((long)(0)<<2|3);
4278 var367
= core__flat___CString___to_s_unsafe(var366
, var368
, var369
, var370
, var371
);
4280 varonce364
= var365
;
4282 ((struct instance_core__NativeArray
*)var363
)->values
[0]=var365
;
4283 if (likely(varonce372
!=NULL
)) {
4284 var373
= varonce372
;
4286 var374
= "`. Implicit typing allowed only for literals and new.";
4287 var376
= (val
*)(53l<<2|1);
4288 var377
= (val
*)(53l<<2|1);
4289 var378
= (val
*)((long)(0)<<2|3);
4290 var379
= (val
*)((long)(0)<<2|3);
4291 var375
= core__flat___CString___to_s_unsafe(var374
, var376
, var377
, var378
, var379
);
4293 varonce372
= var373
;
4295 ((struct instance_core__NativeArray
*)var363
)->values
[2]=var373
;
4297 var363
= varonce362
;
4301 var380
= ((val
*(*)(val
* self
))(var_mreadpropdef
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var_mreadpropdef
); /* to_s on <var_mreadpropdef:nullable MMethodDef(MMethodDef)>*/
4303 ((struct instance_core__NativeArray
*)var363
)->values
[1]=var380
;
4305 var381
= ((val
*(*)(val
* self
))(var363
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var363
); /* native_to_s on <var363:NativeArray[String]>*/
4307 varonce362
= var363
;
4309 nitc___nitc__ModelBuilder___error(var_modelbuilder
, self
, var381
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
4319 if (var_mtype
== NULL
) {
4320 var382
= 1; /* is null */
4322 var382
= 0; /* arg is null but recv is not */
4325 { /* Inline kernel$Object$== (var_mtype,((val*)NULL)) on <var_mtype:nullable MType> */
4326 var_other
= ((val
*)NULL
);
4328 { /* Inline kernel$Object$is_same_instance (var_mtype,var_other) on <var_mtype:nullable MType(MType)> */
4329 var387
= var_mtype
== var_other
;
4332 RET_LABEL386
:(void)0;
4337 RET_LABEL384
:(void)0;
4348 if (var_ntype
== NULL
) {
4349 var389
= 0; /* is null */
4351 var389
= 1; /* arg is null and recv is not */
4354 { /* Inline kernel$Object$!= (var_ntype,((val*)NULL)) on <var_ntype:nullable AType> */
4355 var_other24
= ((val
*)NULL
);
4357 var392
= ((short int(*)(val
* self
, val
* p0
))(var_ntype
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_ntype
, var_other24
); /* == on <var_ntype:nullable AType(AType)>*/
4362 RET_LABEL391
:(void)0;
4368 if (var_inherited_type
== NULL
) {
4369 var394
= 0; /* <var_mtype:nullable MType(MType)> cannot be null */
4371 { /* Inline kernel$Object$== (var_inherited_type,var_mtype) on <var_inherited_type:nullable MType> */
4372 var_other
= var_mtype
;
4374 { /* Inline kernel$Object$is_same_instance (var_inherited_type,var_other) on <var_inherited_type:nullable MType(MType)> */
4375 var399
= var_inherited_type
== var_other
;
4378 RET_LABEL398
:(void)0;
4383 RET_LABEL396
:(void)0;
4392 /* <var_nexpr:nullable AExpr> isa ANewExpr */
4393 cltype401
= type_nitc__ANewExpr
.color
;
4394 idtype402
= type_nitc__ANewExpr
.id
;
4395 if(var_nexpr
== NULL
) {
4398 if(cltype401
>= var_nexpr
->type
->table_size
) {
4401 var400
= var_nexpr
->type
->type_table
[cltype401
] == idtype402
;
4406 { /* Inline parser_nodes$ANewExpr$n_type (var_nexpr) on <var_nexpr:nullable AExpr(ANewExpr)> */
4407 var405
= var_nexpr
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_type
].val
; /* _n_type on <var_nexpr:nullable AExpr(ANewExpr)> */
4408 if (unlikely(var405
== NULL
)) {
4409 if(catchStack
.cursor
>= 0){
4410 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4412 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
4413 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2340);
4417 RET_LABEL404
:(void)0;
4421 var406
= nitc___nitc__ModelBuilder___resolve_mtype_unchecked(var_modelbuilder
, var_mmodule
, var_mclassdef
, var403
, 1);
4423 var_xmtype
= var406
;
4424 if (var_xmtype
== NULL
) {
4425 var407
= 0; /* <var_mtype:nullable MType(MType)> cannot be null */
4427 { /* Inline kernel$Object$== (var_xmtype,var_mtype) on <var_xmtype:nullable MType> */
4428 var_other
= var_mtype
;
4430 { /* Inline kernel$Object$is_same_instance (var_xmtype,var_other) on <var_xmtype:nullable MType(MType)> */
4431 var412
= var_xmtype
== var_other
;
4434 RET_LABEL411
:(void)0;
4439 RET_LABEL409
:(void)0;
4444 if (likely(varonce413
!=NULL
)) {
4445 var414
= varonce413
;
4447 var415
= "useless-type";
4448 var417
= (val
*)(12l<<2|1);
4449 var418
= (val
*)(12l<<2|1);
4450 var419
= (val
*)((long)(0)<<2|3);
4451 var420
= (val
*)((long)(0)<<2|3);
4452 var416
= core__flat___CString___to_s_unsafe(var415
, var417
, var418
, var419
, var420
);
4454 varonce413
= var414
;
4456 if (likely(varonce421
!=NULL
)) {
4457 var422
= varonce421
;
4459 var423
= "Warning: useless type definition";
4460 var425
= (val
*)(32l<<2|1);
4461 var426
= (val
*)(32l<<2|1);
4462 var427
= (val
*)((long)(0)<<2|3);
4463 var428
= (val
*)((long)(0)<<2|3);
4464 var424
= core__flat___CString___to_s_unsafe(var423
, var425
, var426
, var427
, var428
);
4466 varonce421
= var422
;
4469 nitc___nitc__ModelBuilder___advice(var_modelbuilder
, var_ntype
, var414
, var422
); /* Direct call modelbuilder_base$ModelBuilder$advice on <var_modelbuilder:ModelBuilder>*/
4478 if (var_mtype
== NULL
) {
4479 var429
= 1; /* is null */
4481 var429
= 0; /* arg is null but recv is not */
4484 { /* Inline kernel$Object$== (var_mtype,((val*)NULL)) on <var_mtype:nullable MType> */
4485 var_other
= ((val
*)NULL
);
4487 { /* Inline kernel$Object$is_same_instance (var_mtype,var_other) on <var_mtype:nullable MType(MType)> */
4488 var434
= var_mtype
== var_other
;
4491 RET_LABEL433
:(void)0;
4496 RET_LABEL431
:(void)0;
4501 if (unlikely(varonce435
==NULL
)) {
4502 var436
= NEW_core__NativeArray((int)3l, &type_core__NativeArray__core__String
);
4503 if (likely(varonce437
!=NULL
)) {
4504 var438
= varonce437
;
4506 var439
= "Error: untyped attribute `";
4507 var441
= (val
*)(26l<<2|1);
4508 var442
= (val
*)(26l<<2|1);
4509 var443
= (val
*)((long)(0)<<2|3);
4510 var444
= (val
*)((long)(0)<<2|3);
4511 var440
= core__flat___CString___to_s_unsafe(var439
, var441
, var442
, var443
, var444
);
4513 varonce437
= var438
;
4515 ((struct instance_core__NativeArray
*)var436
)->values
[0]=var438
;
4516 if (likely(varonce445
!=NULL
)) {
4517 var446
= varonce445
;
4520 var449
= (val
*)(2l<<2|1);
4521 var450
= (val
*)(2l<<2|1);
4522 var451
= (val
*)((long)(0)<<2|3);
4523 var452
= (val
*)((long)(0)<<2|3);
4524 var448
= core__flat___CString___to_s_unsafe(var447
, var449
, var450
, var451
, var452
);
4526 varonce445
= var446
;
4528 ((struct instance_core__NativeArray
*)var436
)->values
[2]=var446
;
4530 var436
= varonce435
;
4534 var453
= ((val
*(*)(val
* self
))(var_mreadpropdef
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var_mreadpropdef
); /* to_s on <var_mreadpropdef:nullable MMethodDef(MMethodDef)>*/
4536 ((struct instance_core__NativeArray
*)var436
)->values
[1]=var453
;
4538 var454
= ((val
*(*)(val
* self
))(var436
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var436
); /* native_to_s on <var436:NativeArray[String]>*/
4540 varonce435
= var436
;
4542 nitc___nitc__ModelBuilder___error(var_modelbuilder
, self
, var454
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
4548 { /* Inline modelize_property$AAttrPropdef$mtype= (self,var_mtype) on <self:AAttrPropdef> */
4549 self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___mtype
].val
= var_mtype
; /* _mtype on <self:AAttrPropdef> */
4550 RET_LABEL455
:(void)0;
4553 if (var_mpropdef
== NULL
) {
4554 var456
= 0; /* is null */
4556 var456
= 1; /* arg is null and recv is not */
4559 { /* Inline kernel$Object$!= (var_mpropdef,((val*)NULL)) on <var_mpropdef:nullable MAttributeDef> */
4560 var_other24
= ((val
*)NULL
);
4562 var459
= ((short int(*)(val
* self
, val
* p0
))(var_mpropdef
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_mpropdef
, var_other24
); /* == on <var_mpropdef:nullable MAttributeDef(MAttributeDef)>*/
4567 RET_LABEL458
:(void)0;
4573 { /* Inline model$MAttributeDef$static_mtype= (var_mpropdef,var_mtype) on <var_mpropdef:nullable MAttributeDef(MAttributeDef)> */
4574 var_mpropdef
->attrs
[COLOR_nitc__model__MAttributeDef___static_mtype
].val
= var_mtype
; /* _static_mtype on <var_mpropdef:nullable MAttributeDef(MAttributeDef)> */
4575 RET_LABEL461
:(void)0;
4580 var462
= NEW_nitc__MSignature(&type_nitc__MSignature
);
4581 var463
= NEW_core__Array(&type_core__Array__nitc__MParameter
);
4583 core___core__Array___core__kernel__Object__init(var463
); /* Direct call array$Array$init on <var463:Array[MParameter]>*/
4586 ((void(*)(val
* self
, val
* p0
))(var462
->class->vft
[COLOR_nitc__model__MSignature__mparameters_61d
]))(var462
, var463
); /* mparameters= on <var462:MSignature>*/
4589 ((void(*)(val
* self
, val
* p0
))(var462
->class->vft
[COLOR_nitc__model__MSignature__return_mtype_61d
]))(var462
, var_mtype
); /* return_mtype= on <var462:MSignature>*/
4592 ((void(*)(val
* self
))(var462
->class->vft
[COLOR_core__kernel__Object__init
]))(var462
); /* init on <var462:MSignature>*/
4594 var_msignature464
= var462
;
4596 { /* Inline model$MMethodDef$msignature= (var_mreadpropdef,var_msignature464) on <var_mreadpropdef:nullable MMethodDef(MMethodDef)> */
4597 var_mreadpropdef
->attrs
[COLOR_nitc__model__MMethodDef___msignature
].val
= var_msignature464
; /* _msignature on <var_mreadpropdef:nullable MMethodDef(MMethodDef)> */
4598 RET_LABEL465
:(void)0;
4602 { /* Inline modelize_property$AAttrPropdef$mwritepropdef (self) on <self:AAttrPropdef> */
4603 var468
= self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___mwritepropdef
].val
; /* _mwritepropdef on <self:AAttrPropdef> */
4605 RET_LABEL467
:(void)0;
4608 var_mwritepropdef
= var466
;
4609 if (var_mwritepropdef
== NULL
) {
4610 var469
= 0; /* is null */
4612 var469
= 1; /* arg is null and recv is not */
4615 { /* Inline kernel$Object$!= (var_mwritepropdef,((val*)NULL)) on <var_mwritepropdef:nullable MMethodDef> */
4616 var_other24
= ((val
*)NULL
);
4618 var472
= ((short int(*)(val
* self
, val
* p0
))(var_mwritepropdef
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_mwritepropdef
, var_other24
); /* == on <var_mwritepropdef:nullable MMethodDef(MMethodDef)>*/
4623 RET_LABEL471
:(void)0;
4628 var_mwritetype
= var_mtype
;
4630 { /* Inline modelize_property$AAttrPropdef$is_optional (self) on <self:AAttrPropdef> */
4631 var476
= self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___is_optional
].s
; /* _is_optional on <self:AAttrPropdef> */
4633 RET_LABEL475
:(void)0;
4638 var477
= ((val
*(*)(val
* self
))(var_mwritetype
->class->vft
[COLOR_nitc__model__MType__as_nullable
]))(var_mwritetype
); /* as_nullable on <var_mwritetype:MType>*/
4640 var_mwritetype
= var477
;
4644 { /* Inline parser_nodes$AAttrPropdef$n_id2 (self) on <self:AAttrPropdef> */
4645 var480
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrPropdef___n_id2
].val
; /* _n_id2 on <self:AAttrPropdef> */
4646 if (unlikely(var480
== NULL
)) {
4647 if(catchStack
.cursor
>= 0){
4648 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4650 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id2");
4651 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1340);
4655 RET_LABEL479
:(void)0;
4659 var481
= nitc__lexer_work___Token___text(var478
);
4662 var482
= NEW_nitc__MParameter(&type_nitc__MParameter
);
4664 ((void(*)(val
* self
, val
* p0
))(var482
->class->vft
[COLOR_nitc__model__MParameter__name_61d
]))(var482
, var_name
); /* name= on <var482:MParameter>*/
4667 ((void(*)(val
* self
, val
* p0
))(var482
->class->vft
[COLOR_nitc__model__MParameter__mtype_61d
]))(var482
, var_mwritetype
); /* mtype= on <var482:MParameter>*/
4670 ((void(*)(val
* self
, short int p0
))(var482
->class->vft
[COLOR_nitc__model__MParameter__is_vararg_61d
]))(var482
, 0); /* is_vararg= on <var482:MParameter>*/
4673 ((void(*)(val
* self
))(var482
->class->vft
[COLOR_core__kernel__Object__init
]))(var482
); /* init on <var482:MParameter>*/
4675 var_mparameter
= var482
;
4676 var483
= NEW_nitc__MSignature(&type_nitc__MSignature
);
4677 var484
= NEW_core__Array(&type_core__Array__nitc__MParameter
);
4679 core___core__Array___with_capacity(var484
, 1l); /* Direct call array$Array$with_capacity on <var484:Array[MParameter]>*/
4683 core___core__AbstractArray___core__abstract_collection__Sequence__push(var_485
, var_mparameter
); /* Direct call array$AbstractArray$push on <var_485:Array[MParameter]>*/
4686 ((void(*)(val
* self
, val
* p0
))(var483
->class->vft
[COLOR_nitc__model__MSignature__mparameters_61d
]))(var483
, var_485
); /* mparameters= on <var483:MSignature>*/
4689 ((void(*)(val
* self
, val
* p0
))(var483
->class->vft
[COLOR_nitc__model__MSignature__return_mtype_61d
]))(var483
, ((val
*)NULL
)); /* return_mtype= on <var483:MSignature>*/
4692 ((void(*)(val
* self
))(var483
->class->vft
[COLOR_core__kernel__Object__init
]))(var483
); /* init on <var483:MSignature>*/
4694 var_msignature486
= var483
;
4696 { /* Inline model$MMethodDef$msignature= (var_mwritepropdef,var_msignature486) on <var_mwritepropdef:nullable MMethodDef(MMethodDef)> */
4697 var_mwritepropdef
->attrs
[COLOR_nitc__model__MMethodDef___msignature
].val
= var_msignature486
; /* _msignature on <var_mwritepropdef:nullable MMethodDef(MMethodDef)> */
4698 RET_LABEL487
:(void)0;
4704 { /* Inline modelize_property$AAttrPropdef$mlazypropdef (self) on <self:AAttrPropdef> */
4705 var490
= self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___mlazypropdef
].val
; /* _mlazypropdef on <self:AAttrPropdef> */
4707 RET_LABEL489
:(void)0;
4710 var_mlazypropdef
= var488
;
4711 if (var_mlazypropdef
== NULL
) {
4712 var491
= 0; /* is null */
4714 var491
= 1; /* arg is null and recv is not */
4717 { /* Inline kernel$Object$!= (var_mlazypropdef,((val*)NULL)) on <var_mlazypropdef:nullable MAttributeDef> */
4718 var_other24
= ((val
*)NULL
);
4720 var494
= ((short int(*)(val
* self
, val
* p0
))(var_mlazypropdef
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_mlazypropdef
, var_other24
); /* == on <var_mlazypropdef:nullable MAttributeDef(MAttributeDef)>*/
4725 RET_LABEL493
:(void)0;
4731 var496
= nitc__model___MModule___bool_type(var_mmodule
);
4734 { /* Inline model$MAttributeDef$static_mtype= (var_mlazypropdef,var496) on <var_mlazypropdef:nullable MAttributeDef(MAttributeDef)> */
4735 var_mlazypropdef
->attrs
[COLOR_nitc__model__MAttributeDef___static_mtype
].val
= var496
; /* _static_mtype on <var_mlazypropdef:nullable MAttributeDef(MAttributeDef)> */
4736 RET_LABEL497
:(void)0;
4742 nitc__modelize_property___AAttrPropdef___APropdef__check_repeated_types(self
, var_modelbuilder
); /* Direct call modelize_property$AAttrPropdef$check_repeated_types on <self:AAttrPropdef>*/
4746 /* method modelize_property$AAttrPropdef$check_signature for (self: AAttrPropdef, ModelBuilder) */
4747 void nitc__modelize_property___AAttrPropdef___APropdef__check_signature(val
* self
, val
* p0
) {
4748 val
* var_modelbuilder
/* var modelbuilder: ModelBuilder */;
4749 val
* var
/* : nullable MPropDef */;
4750 val
* var2
/* : nullable MPropDef */;
4751 val
* var_mpropdef
/* var mpropdef: nullable MAttributeDef */;
4752 short int var3
/* : Bool */;
4753 short int var4
/* : Bool */;
4754 val
* var_other
/* var other: nullable Object */;
4755 short int var6
/* : Bool */;
4756 short int var8
/* : Bool */;
4757 val
* var9
/* : nullable AType */;
4758 val
* var11
/* : nullable AType */;
4759 val
* var_ntype
/* var ntype: nullable AType */;
4760 val
* var12
/* : nullable MType */;
4761 val
* var14
/* : nullable MType */;
4762 val
* var_mtype
/* var mtype: nullable MType */;
4763 short int var15
/* : Bool */;
4764 short int var16
/* : Bool */;
4765 short int var18
/* : Bool */;
4766 short int var20
/* : Bool */;
4767 val
* var21
/* : MClassDef */;
4768 val
* var23
/* : MClassDef */;
4769 val
* var_mclassdef
/* var mclassdef: MClassDef */;
4770 val
* var24
/* : MModule */;
4771 val
* var26
/* : MModule */;
4772 val
* var_mmodule
/* var mmodule: MModule */;
4773 short int var27
/* : Bool */;
4774 short int var28
/* : Bool */;
4775 val
* var_other30
/* var other: nullable Object */;
4776 short int var31
/* : Bool */;
4777 short int var32
/* : Bool */;
4778 val
* var33
/* : nullable MType */;
4779 short int var34
/* : Bool */;
4780 short int var35
/* : Bool */;
4781 short int var37
/* : Bool */;
4782 short int var39
/* : Bool */;
4783 val
* var40
/* : nullable AExpr */;
4784 val
* var42
/* : nullable AExpr */;
4785 val
* var_nexpr
/* var nexpr: nullable AExpr */;
4786 short int var43
/* : Bool */;
4789 val
* var44
/* : AType */;
4790 val
* var46
/* : AType */;
4791 val
* var47
/* : nullable MType */;
4792 short int var48
/* : Bool */;
4793 short int var49
/* : Bool */;
4794 short int var51
/* : Bool */;
4795 short int var53
/* : Bool */;
4796 short int var54
/* : Bool */;
4797 short int var55
/* : Bool */;
4798 val
* var56
/* : MProperty */;
4799 val
* var58
/* : MProperty */;
4800 val
* var59
/* : MPropDef */;
4801 val
* var61
/* : MPropDef */;
4802 val
* var62
/* : nullable MType */;
4803 val
* var64
/* : nullable MType */;
4804 val
* var_precursor_type
/* var precursor_type: nullable MType */;
4805 short int var65
/* : Bool */;
4806 short int var66
/* : Bool */;
4807 short int var68
/* : Bool */;
4808 short int var70
/* : Bool */;
4809 short int var71
/* : Bool */;
4810 short int var73
/* : Bool */;
4811 short int var74
/* : Bool */;
4812 val
* var75
/* : NativeArray[String] */;
4813 static val
* varonce
;
4814 static val
* varonce76
;
4815 val
* var77
/* : String */;
4816 char* var78
/* : CString */;
4817 val
* var79
/* : String */;
4818 val
* var80
/* : nullable Int */;
4819 val
* var81
/* : nullable Int */;
4820 val
* var82
/* : nullable Bool */;
4821 val
* var83
/* : nullable Bool */;
4822 static val
* varonce84
;
4823 val
* var85
/* : String */;
4824 char* var86
/* : CString */;
4825 val
* var87
/* : String */;
4826 val
* var88
/* : nullable Int */;
4827 val
* var89
/* : nullable Int */;
4828 val
* var90
/* : nullable Bool */;
4829 val
* var91
/* : nullable Bool */;
4830 static val
* varonce92
;
4831 val
* var93
/* : String */;
4832 char* var94
/* : CString */;
4833 val
* var95
/* : String */;
4834 val
* var96
/* : nullable Int */;
4835 val
* var97
/* : nullable Int */;
4836 val
* var98
/* : nullable Bool */;
4837 val
* var99
/* : nullable Bool */;
4838 val
* var100
/* : String */;
4839 val
* var101
/* : String */;
4840 val
* var102
/* : String */;
4841 val
* var103
/* : nullable MMethodDef */;
4842 val
* var105
/* : nullable MMethodDef */;
4843 val
* var_meth
/* var meth: nullable MMethodDef */;
4844 short int var106
/* : Bool */;
4845 short int var107
/* : Bool */;
4846 short int var109
/* : Bool */;
4847 short int var110
/* : Bool */;
4848 val
* var_node
/* var node: nullable ANode */;
4849 short int var111
/* : Bool */;
4850 short int var112
/* : Bool */;
4851 short int var114
/* : Bool */;
4852 short int var116
/* : Bool */;
4853 val
* var117
/* : nullable MMethodDef */;
4854 val
* var119
/* : nullable MMethodDef */;
4855 short int var120
/* : Bool */;
4856 short int var121
/* : Bool */;
4857 short int var123
/* : Bool */;
4858 short int var124
/* : Bool */;
4859 val
* var_node125
/* var node: nullable ANode */;
4860 short int var126
/* : Bool */;
4861 short int var127
/* : Bool */;
4862 short int var129
/* : Bool */;
4863 short int var131
/* : Bool */;
4864 var_modelbuilder
= p0
;
4866 { /* Inline modelize_property$APropdef$mpropdef (self) on <self:AAttrPropdef> */
4867 var2
= self
->attrs
[COLOR_nitc__modelize_property__APropdef___mpropdef
].val
; /* _mpropdef on <self:AAttrPropdef> */
4873 if (var_mpropdef
== NULL
) {
4874 var3
= 1; /* is null */
4876 var3
= 0; /* arg is null but recv is not */
4879 { /* Inline kernel$Object$== (var_mpropdef,((val*)NULL)) on <var_mpropdef:nullable MAttributeDef> */
4880 var_other
= ((val
*)NULL
);
4882 { /* Inline kernel$Object$is_same_instance (var_mpropdef,var_other) on <var_mpropdef:nullable MAttributeDef(MAttributeDef)> */
4883 var8
= var_mpropdef
== var_other
;
4900 { /* Inline parser_nodes$AAttrPropdef$n_type (self) on <self:AAttrPropdef> */
4901 var11
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrPropdef___n_type
].val
; /* _n_type on <self:AAttrPropdef> */
4903 RET_LABEL10
:(void)0;
4908 { /* Inline modelize_property$AAttrPropdef$mtype (self) on <self:AAttrPropdef> */
4909 var14
= self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___mtype
].val
; /* _mtype on <self:AAttrPropdef> */
4911 RET_LABEL13
:(void)0;
4915 if (var_mtype
== NULL
) {
4916 var15
= 1; /* is null */
4918 var15
= 0; /* arg is null but recv is not */
4921 { /* Inline kernel$Object$== (var_mtype,((val*)NULL)) on <var_mtype:nullable MType> */
4922 var_other
= ((val
*)NULL
);
4924 { /* Inline kernel$Object$is_same_instance (var_mtype,var_other) on <var_mtype:nullable MType(MType)> */
4925 var20
= var_mtype
== var_other
;
4928 RET_LABEL19
:(void)0;
4933 RET_LABEL17
:(void)0;
4942 { /* Inline model$MPropDef$mclassdef (var_mpropdef) on <var_mpropdef:nullable MAttributeDef(MAttributeDef)> */
4943 var23
= var_mpropdef
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <var_mpropdef:nullable MAttributeDef(MAttributeDef)> */
4944 if (unlikely(var23
== NULL
)) {
4945 if(catchStack
.cursor
>= 0){
4946 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4948 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
4949 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
4953 RET_LABEL22
:(void)0;
4956 var_mclassdef
= var21
;
4958 { /* Inline model$MClassDef$mmodule (var_mclassdef) on <var_mclassdef:MClassDef> */
4959 var26
= var_mclassdef
->attrs
[COLOR_nitc__model__MClassDef___mmodule
].val
; /* _mmodule on <var_mclassdef:MClassDef> */
4960 if (unlikely(var26
== NULL
)) {
4961 if(catchStack
.cursor
>= 0){
4962 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
4964 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule");
4965 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 588);
4969 RET_LABEL25
:(void)0;
4972 var_mmodule
= var24
;
4973 if (var_ntype
== NULL
) {
4974 var27
= 0; /* is null */
4976 var27
= 1; /* arg is null and recv is not */
4979 { /* Inline kernel$Object$!= (var_ntype,((val*)NULL)) on <var_ntype:nullable AType> */
4980 var_other30
= ((val
*)NULL
);
4982 var31
= ((short int(*)(val
* self
, val
* p0
))(var_ntype
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_ntype
, var_other30
); /* == on <var_ntype:nullable AType(AType)>*/
4987 RET_LABEL29
:(void)0;
4993 var33
= nitc___nitc__ModelBuilder___resolve_mtype(var_modelbuilder
, var_mmodule
, var_mclassdef
, var_ntype
);
4995 if (var33
== NULL
) {
4996 var34
= 1; /* is null */
4998 var34
= 0; /* arg is null but recv is not */
5001 { /* Inline kernel$Object$== (var33,((val*)NULL)) on <var33:nullable MType> */
5002 var_other
= ((val
*)NULL
);
5004 { /* Inline kernel$Object$is_same_instance (var33,var_other) on <var33:nullable MType(MType)> */
5005 var39
= var33
== var_other
;
5008 RET_LABEL38
:(void)0;
5013 RET_LABEL36
:(void)0;
5024 { /* Inline parser_nodes$AAttrPropdef$n_expr (self) on <self:AAttrPropdef> */
5025 var42
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrPropdef___n_expr
].val
; /* _n_expr on <self:AAttrPropdef> */
5027 RET_LABEL41
:(void)0;
5031 /* <var_nexpr:nullable AExpr> isa ANewExpr */
5032 cltype
= type_nitc__ANewExpr
.color
;
5033 idtype
= type_nitc__ANewExpr
.id
;
5034 if(var_nexpr
== NULL
) {
5037 if(cltype
>= var_nexpr
->type
->table_size
) {
5040 var43
= var_nexpr
->type
->type_table
[cltype
] == idtype
;
5045 { /* Inline parser_nodes$ANewExpr$n_type (var_nexpr) on <var_nexpr:nullable AExpr(ANewExpr)> */
5046 var46
= var_nexpr
->attrs
[COLOR_nitc__parser_nodes__ANewExpr___n_type
].val
; /* _n_type on <var_nexpr:nullable AExpr(ANewExpr)> */
5047 if (unlikely(var46
== NULL
)) {
5048 if(catchStack
.cursor
>= 0){
5049 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5051 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
5052 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 2340);
5056 RET_LABEL45
:(void)0;
5060 var47
= nitc___nitc__ModelBuilder___resolve_mtype(var_modelbuilder
, var_mmodule
, var_mclassdef
, var44
);
5062 if (var47
== NULL
) {
5063 var48
= 1; /* is null */
5065 var48
= 0; /* arg is null but recv is not */
5068 { /* Inline kernel$Object$== (var47,((val*)NULL)) on <var47:nullable MType> */
5069 var_other
= ((val
*)NULL
);
5071 { /* Inline kernel$Object$is_same_instance (var47,var_other) on <var47:nullable MType(MType)> */
5072 var53
= var47
== var_other
;
5075 RET_LABEL52
:(void)0;
5080 RET_LABEL50
:(void)0;
5091 var54
= nitc___nitc__MPropDef___is_intro(var_mpropdef
);
5096 { /* Inline model$MPropDef$mproperty (var_mpropdef) on <var_mpropdef:nullable MAttributeDef(MAttributeDef)> */
5097 var58
= var_mpropdef
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <var_mpropdef:nullable MAttributeDef(MAttributeDef)> */
5098 if (unlikely(var58
== NULL
)) {
5099 if(catchStack
.cursor
>= 0){
5100 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5102 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
5103 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
5107 RET_LABEL57
:(void)0;
5111 { /* Inline model$MProperty$intro (var56) on <var56:MProperty(MAttribute)> */
5112 var61
= var56
->attrs
[COLOR_nitc__model__MProperty___intro
].val
; /* _intro on <var56:MProperty(MAttribute)> */
5113 if (unlikely(var61
== NULL
)) {
5114 if(catchStack
.cursor
>= 0){
5115 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5117 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro");
5118 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2097);
5122 RET_LABEL60
:(void)0;
5126 { /* Inline model$MAttributeDef$static_mtype (var59) on <var59:MPropDef(MAttributeDef)> */
5127 var64
= var59
->attrs
[COLOR_nitc__model__MAttributeDef___static_mtype
].val
; /* _static_mtype on <var59:MPropDef(MAttributeDef)> */
5129 RET_LABEL63
:(void)0;
5132 var_precursor_type
= var62
;
5133 if (var_precursor_type
== NULL
) {
5134 var65
= 1; /* is null */
5136 var65
= 0; /* arg is null but recv is not */
5139 { /* Inline kernel$Object$== (var_precursor_type,((val*)NULL)) on <var_precursor_type:nullable MType> */
5140 var_other
= ((val
*)NULL
);
5142 { /* Inline kernel$Object$is_same_instance (var_precursor_type,var_other) on <var_precursor_type:nullable MType(MType)> */
5143 var70
= var_precursor_type
== var_other
;
5146 RET_LABEL69
:(void)0;
5151 RET_LABEL67
:(void)0;
5160 { /* Inline kernel$Object$!= (var_mtype,var_precursor_type) on <var_mtype:nullable MType(MType)> */
5161 var_other30
= var_precursor_type
;
5163 var73
= ((short int(*)(val
* self
, val
* p0
))(var_mtype
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_mtype
, var_other30
); /* == on <var_mtype:nullable MType(MType)>*/
5168 RET_LABEL72
:(void)0;
5172 if (unlikely(var_ntype
== NULL
)) {
5173 if(catchStack
.cursor
>= 0){
5174 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5176 PRINT_ERROR("Runtime error: %s", "Cast failed");
5177 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 1505);
5180 if (unlikely(varonce
==NULL
)) {
5181 var75
= NEW_core__NativeArray((int)5l, &type_core__NativeArray__core__String
);
5182 if (likely(varonce76
!=NULL
)) {
5185 var78
= "Redef Error: expected `";
5186 var80
= (val
*)(23l<<2|1);
5187 var81
= (val
*)(23l<<2|1);
5188 var82
= (val
*)((long)(0)<<2|3);
5189 var83
= (val
*)((long)(0)<<2|3);
5190 var79
= core__flat___CString___to_s_unsafe(var78
, var80
, var81
, var82
, var83
);
5194 ((struct instance_core__NativeArray
*)var75
)->values
[0]=var77
;
5195 if (likely(varonce84
!=NULL
)) {
5198 var86
= "` type as a bound; got `";
5199 var88
= (val
*)(24l<<2|1);
5200 var89
= (val
*)(24l<<2|1);
5201 var90
= (val
*)((long)(0)<<2|3);
5202 var91
= (val
*)((long)(0)<<2|3);
5203 var87
= core__flat___CString___to_s_unsafe(var86
, var88
, var89
, var90
, var91
);
5207 ((struct instance_core__NativeArray
*)var75
)->values
[2]=var85
;
5208 if (likely(varonce92
!=NULL
)) {
5212 var96
= (val
*)(2l<<2|1);
5213 var97
= (val
*)(2l<<2|1);
5214 var98
= (val
*)((long)(0)<<2|3);
5215 var99
= (val
*)((long)(0)<<2|3);
5216 var95
= core__flat___CString___to_s_unsafe(var94
, var96
, var97
, var98
, var99
);
5220 ((struct instance_core__NativeArray
*)var75
)->values
[4]=var93
;
5226 var100
= ((val
*(*)(val
* self
))(var_precursor_type
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var_precursor_type
); /* to_s on <var_precursor_type:nullable MType(MType)>*/
5228 ((struct instance_core__NativeArray
*)var75
)->values
[1]=var100
;
5230 var101
= ((val
*(*)(val
* self
))(var_mtype
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var_mtype
); /* to_s on <var_mtype:nullable MType(MType)>*/
5232 ((struct instance_core__NativeArray
*)var75
)->values
[3]=var101
;
5234 var102
= ((val
*(*)(val
* self
))(var75
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var75
); /* native_to_s on <var75:NativeArray[String]>*/
5238 nitc___nitc__ModelBuilder___error(var_modelbuilder
, var_ntype
, var102
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
5246 { /* Inline modelize_property$AAttrPropdef$mreadpropdef (self) on <self:AAttrPropdef> */
5247 var105
= self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___mreadpropdef
].val
; /* _mreadpropdef on <self:AAttrPropdef> */
5249 RET_LABEL104
:(void)0;
5253 if (var_meth
== NULL
) {
5254 var106
= 0; /* is null */
5256 var106
= 1; /* arg is null and recv is not */
5259 { /* Inline kernel$Object$!= (var_meth,((val*)NULL)) on <var_meth:nullable MMethodDef> */
5260 var_other30
= ((val
*)NULL
);
5262 var109
= ((short int(*)(val
* self
, val
* p0
))(var_meth
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_meth
, var_other30
); /* == on <var_meth:nullable MMethodDef(MMethodDef)>*/
5267 RET_LABEL108
:(void)0;
5273 nitc__modelize_property___AAttrPropdef___check_method_signature(self
, var_modelbuilder
, var_meth
); /* Direct call modelize_property$AAttrPropdef$check_method_signature on <self:AAttrPropdef>*/
5275 var_node
= var_ntype
;
5276 if (var_node
== NULL
) {
5277 var111
= 1; /* is null */
5279 var111
= 0; /* arg is null but recv is not */
5282 { /* Inline kernel$Object$== (var_node,((val*)NULL)) on <var_node:nullable ANode> */
5283 var_other
= ((val
*)NULL
);
5285 { /* Inline kernel$Object$is_same_instance (var_node,var_other) on <var_node:nullable ANode(ANode)> */
5286 var116
= var_node
== var_other
;
5289 RET_LABEL115
:(void)0;
5294 RET_LABEL113
:(void)0;
5303 nitc__modelize_property___ModelBuilder___check_visibility(var_modelbuilder
, var_node
, var_mtype
, var_meth
); /* Direct call modelize_property$ModelBuilder$check_visibility on <var_modelbuilder:ModelBuilder>*/
5308 { /* Inline modelize_property$AAttrPropdef$mwritepropdef (self) on <self:AAttrPropdef> */
5309 var119
= self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___mwritepropdef
].val
; /* _mwritepropdef on <self:AAttrPropdef> */
5311 RET_LABEL118
:(void)0;
5315 if (var_meth
== NULL
) {
5316 var120
= 0; /* is null */
5318 var120
= 1; /* arg is null and recv is not */
5321 { /* Inline kernel$Object$!= (var_meth,((val*)NULL)) on <var_meth:nullable MMethodDef> */
5322 var_other30
= ((val
*)NULL
);
5324 var123
= ((short int(*)(val
* self
, val
* p0
))(var_meth
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_meth
, var_other30
); /* == on <var_meth:nullable MMethodDef(MMethodDef)>*/
5329 RET_LABEL122
:(void)0;
5335 nitc__modelize_property___AAttrPropdef___check_method_signature(self
, var_modelbuilder
, var_meth
); /* Direct call modelize_property$AAttrPropdef$check_method_signature on <self:AAttrPropdef>*/
5337 var_node125
= var_ntype
;
5338 if (var_node125
== NULL
) {
5339 var126
= 1; /* is null */
5341 var126
= 0; /* arg is null but recv is not */
5344 { /* Inline kernel$Object$== (var_node125,((val*)NULL)) on <var_node125:nullable ANode> */
5345 var_other
= ((val
*)NULL
);
5347 { /* Inline kernel$Object$is_same_instance (var_node125,var_other) on <var_node125:nullable ANode(ANode)> */
5348 var131
= var_node125
== var_other
;
5351 RET_LABEL130
:(void)0;
5356 RET_LABEL128
:(void)0;
5365 nitc__modelize_property___ModelBuilder___check_visibility(var_modelbuilder
, var_node125
, var_mtype
, var_meth
); /* Direct call modelize_property$ModelBuilder$check_visibility on <var_modelbuilder:ModelBuilder>*/
5371 /* method modelize_property$AAttrPropdef$check_method_signature for (self: AAttrPropdef, ModelBuilder, MMethodDef) */
5372 void nitc__modelize_property___AAttrPropdef___check_method_signature(val
* self
, val
* p0
, val
* p1
) {
5373 val
* var_modelbuilder
/* var modelbuilder: ModelBuilder */;
5374 val
* var_mpropdef
/* var mpropdef: MMethodDef */;
5375 val
* var
/* : MClassDef */;
5376 val
* var2
/* : MClassDef */;
5377 val
* var_mclassdef
/* var mclassdef: MClassDef */;
5378 val
* var3
/* : MModule */;
5379 val
* var5
/* : MModule */;
5380 val
* var_mmodule
/* var mmodule: MModule */;
5381 val
* var6
/* : nullable AType */;
5382 val
* var8
/* : nullable AType */;
5383 val
* var_nsig
/* var nsig: nullable AType */;
5384 val
* var9
/* : nullable MSignature */;
5385 val
* var11
/* : nullable MSignature */;
5386 val
* var_mysignature
/* var mysignature: nullable MSignature */;
5387 short int var12
/* : Bool */;
5388 short int var13
/* : Bool */;
5389 val
* var_other
/* var other: nullable Object */;
5390 short int var15
/* : Bool */;
5391 short int var17
/* : Bool */;
5392 short int var18
/* : Bool */;
5393 short int var19
/* : Bool */;
5394 val
* var20
/* : MProperty */;
5395 val
* var22
/* : MProperty */;
5396 val
* var23
/* : MPropDef */;
5397 val
* var25
/* : MPropDef */;
5398 val
* var26
/* : nullable MSignature */;
5399 val
* var28
/* : nullable MSignature */;
5400 val
* var_msignature
/* var msignature: nullable MSignature */;
5401 short int var29
/* : Bool */;
5402 short int var30
/* : Bool */;
5403 short int var32
/* : Bool */;
5404 short int var34
/* : Bool */;
5405 long var35
/* : Int */;
5406 long var36
/* : Int */;
5407 short int var37
/* : Bool */;
5408 short int var39
/* : Bool */;
5409 short int var40
/* : Bool */;
5410 short int var41
/* : Bool */;
5411 short int var42
/* : Bool */;
5412 val
* var_other44
/* var other: nullable Object */;
5413 short int var45
/* : Bool */;
5414 short int var46
/* : Bool */;
5415 val
* var_node
/* var node: ANode */;
5416 val
* var47
/* : NativeArray[String] */;
5417 static val
* varonce
;
5418 static val
* varonce48
;
5419 val
* var49
/* : String */;
5420 char* var50
/* : CString */;
5421 val
* var51
/* : String */;
5422 val
* var52
/* : nullable Int */;
5423 val
* var53
/* : nullable Int */;
5424 val
* var54
/* : nullable Bool */;
5425 val
* var55
/* : nullable Bool */;
5426 static val
* varonce56
;
5427 val
* var57
/* : String */;
5428 char* var58
/* : CString */;
5429 val
* var59
/* : String */;
5430 val
* var60
/* : nullable Int */;
5431 val
* var61
/* : nullable Int */;
5432 val
* var62
/* : nullable Bool */;
5433 val
* var63
/* : nullable Bool */;
5434 static val
* varonce64
;
5435 val
* var65
/* : String */;
5436 char* var66
/* : CString */;
5437 val
* var67
/* : String */;
5438 val
* var68
/* : nullable Int */;
5439 val
* var69
/* : nullable Int */;
5440 val
* var70
/* : nullable Bool */;
5441 val
* var71
/* : nullable Bool */;
5442 static val
* varonce72
;
5443 val
* var73
/* : String */;
5444 char* var74
/* : CString */;
5445 val
* var75
/* : String */;
5446 val
* var76
/* : nullable Int */;
5447 val
* var77
/* : nullable Int */;
5448 val
* var78
/* : nullable Bool */;
5449 val
* var79
/* : nullable Bool */;
5450 static val
* varonce80
;
5451 val
* var81
/* : String */;
5452 char* var82
/* : CString */;
5453 val
* var83
/* : String */;
5454 val
* var84
/* : nullable Int */;
5455 val
* var85
/* : nullable Int */;
5456 val
* var86
/* : nullable Bool */;
5457 val
* var87
/* : nullable Bool */;
5458 long var88
/* : Int */;
5459 val
* var89
/* : String */;
5460 val
* var90
/* : MProperty */;
5461 val
* var92
/* : MProperty */;
5462 val
* var93
/* : String */;
5463 val
* var95
/* : String */;
5464 val
* var96
/* : String */;
5465 long var97
/* : Int */;
5466 val
* var98
/* : String */;
5467 val
* var99
/* : MProperty */;
5468 val
* var101
/* : MProperty */;
5469 val
* var102
/* : String */;
5470 val
* var103
/* : String */;
5471 val
* var104
/* : nullable MType */;
5472 val
* var106
/* : nullable MType */;
5473 val
* var_precursor_ret_type
/* var precursor_ret_type: nullable MType */;
5474 val
* var107
/* : nullable MType */;
5475 val
* var109
/* : nullable MType */;
5476 val
* var_ret_type
/* var ret_type: nullable MType */;
5477 short int var110
/* : Bool */;
5478 short int var111
/* : Bool */;
5479 short int var112
/* : Bool */;
5480 short int var114
/* : Bool */;
5481 short int var115
/* : Bool */;
5482 short int var_
/* var : Bool */;
5483 short int var116
/* : Bool */;
5484 short int var117
/* : Bool */;
5485 short int var119
/* : Bool */;
5486 short int var121
/* : Bool */;
5487 short int var122
/* : Bool */;
5488 short int var123
/* : Bool */;
5489 short int var125
/* : Bool */;
5490 short int var126
/* : Bool */;
5491 val
* var_node127
/* var node: ANode */;
5492 val
* var129
/* : NativeArray[String] */;
5493 static val
* varonce128
;
5494 static val
* varonce130
;
5495 val
* var131
/* : String */;
5496 char* var132
/* : CString */;
5497 val
* var133
/* : String */;
5498 val
* var134
/* : nullable Int */;
5499 val
* var135
/* : nullable Int */;
5500 val
* var136
/* : nullable Bool */;
5501 val
* var137
/* : nullable Bool */;
5502 static val
* varonce138
;
5503 val
* var139
/* : String */;
5504 char* var140
/* : CString */;
5505 val
* var141
/* : String */;
5506 val
* var142
/* : nullable Int */;
5507 val
* var143
/* : nullable Int */;
5508 val
* var144
/* : nullable Bool */;
5509 val
* var145
/* : nullable Bool */;
5510 val
* var146
/* : MProperty */;
5511 val
* var148
/* : MProperty */;
5512 val
* var149
/* : String */;
5513 val
* var150
/* : String */;
5514 long var151
/* : Int */;
5515 short int var152
/* : Bool */;
5516 short int var154
/* : Bool */;
5519 const char* var_class_name
;
5520 short int var155
/* : Bool */;
5521 long var_i
/* var i: Int */;
5522 long var156
/* : Int */;
5523 long var_157
/* var : Int */;
5524 short int var158
/* : Bool */;
5525 short int var160
/* : Bool */;
5528 const char* var_class_name163
;
5529 short int var164
/* : Bool */;
5530 val
* var165
/* : Array[MParameter] */;
5531 val
* var167
/* : Array[MParameter] */;
5532 val
* var168
/* : nullable Object */;
5533 val
* var169
/* : MType */;
5534 val
* var171
/* : MType */;
5535 val
* var_myt
/* var myt: MType */;
5536 val
* var172
/* : Array[MParameter] */;
5537 val
* var174
/* : Array[MParameter] */;
5538 val
* var175
/* : nullable Object */;
5539 val
* var176
/* : MType */;
5540 val
* var178
/* : MType */;
5541 val
* var_prt
/* var prt: MType */;
5542 short int var179
/* : Bool */;
5543 short int var180
/* : Bool */;
5544 short int var182
/* : Bool */;
5545 short int var183
/* : Bool */;
5546 val
* var_node184
/* var node: ANode */;
5547 val
* var185
/* : MClassType */;
5548 val
* var187
/* : MClassType */;
5549 short int var188
/* : Bool */;
5550 short int var189
/* : Bool */;
5551 val
* var191
/* : NativeArray[String] */;
5552 static val
* varonce190
;
5553 static val
* varonce192
;
5554 val
* var193
/* : String */;
5555 char* var194
/* : CString */;
5556 val
* var195
/* : String */;
5557 val
* var196
/* : nullable Int */;
5558 val
* var197
/* : nullable Int */;
5559 val
* var198
/* : nullable Bool */;
5560 val
* var199
/* : nullable Bool */;
5561 static val
* varonce200
;
5562 val
* var201
/* : String */;
5563 char* var202
/* : CString */;
5564 val
* var203
/* : String */;
5565 val
* var204
/* : nullable Int */;
5566 val
* var205
/* : nullable Int */;
5567 val
* var206
/* : nullable Bool */;
5568 val
* var207
/* : nullable Bool */;
5569 static val
* varonce208
;
5570 val
* var209
/* : String */;
5571 char* var210
/* : CString */;
5572 val
* var211
/* : String */;
5573 val
* var212
/* : nullable Int */;
5574 val
* var213
/* : nullable Int */;
5575 val
* var214
/* : nullable Bool */;
5576 val
* var215
/* : nullable Bool */;
5577 static val
* varonce216
;
5578 val
* var217
/* : String */;
5579 char* var218
/* : CString */;
5580 val
* var219
/* : String */;
5581 val
* var220
/* : nullable Int */;
5582 val
* var221
/* : nullable Int */;
5583 val
* var222
/* : nullable Bool */;
5584 val
* var223
/* : nullable Bool */;
5585 val
* var224
/* : String */;
5586 val
* var225
/* : Array[MParameter] */;
5587 val
* var227
/* : Array[MParameter] */;
5588 val
* var228
/* : nullable Object */;
5589 val
* var229
/* : String */;
5590 val
* var231
/* : String */;
5591 val
* var232
/* : String */;
5592 val
* var233
/* : String */;
5593 long var234
/* : Int */;
5594 short int var235
/* : Bool */;
5595 short int var236
/* : Bool */;
5596 short int var238
/* : Bool */;
5597 short int var239
/* : Bool */;
5598 short int var240
/* : Bool */;
5599 short int var241
/* : Bool */;
5600 short int var243
/* : Bool */;
5601 short int var244
/* : Bool */;
5602 val
* var_node245
/* var node: ANode */;
5603 short int var246
/* : Bool */;
5604 short int var247
/* : Bool */;
5605 short int var249
/* : Bool */;
5606 short int var251
/* : Bool */;
5607 val
* var252
/* : MClassType */;
5608 val
* var254
/* : MClassType */;
5609 short int var255
/* : Bool */;
5610 short int var256
/* : Bool */;
5611 val
* var258
/* : NativeArray[String] */;
5612 static val
* varonce257
;
5613 static val
* varonce259
;
5614 val
* var260
/* : String */;
5615 char* var261
/* : CString */;
5616 val
* var262
/* : String */;
5617 val
* var263
/* : nullable Int */;
5618 val
* var264
/* : nullable Int */;
5619 val
* var265
/* : nullable Bool */;
5620 val
* var266
/* : nullable Bool */;
5621 static val
* varonce267
;
5622 val
* var268
/* : String */;
5623 char* var269
/* : CString */;
5624 val
* var270
/* : String */;
5625 val
* var271
/* : nullable Int */;
5626 val
* var272
/* : nullable Int */;
5627 val
* var273
/* : nullable Bool */;
5628 val
* var274
/* : nullable Bool */;
5629 static val
* varonce275
;
5630 val
* var276
/* : String */;
5631 char* var277
/* : CString */;
5632 val
* var278
/* : String */;
5633 val
* var279
/* : nullable Int */;
5634 val
* var280
/* : nullable Int */;
5635 val
* var281
/* : nullable Bool */;
5636 val
* var282
/* : nullable Bool */;
5637 val
* var283
/* : String */;
5638 val
* var284
/* : String */;
5639 val
* var285
/* : String */;
5640 var_modelbuilder
= p0
;
5643 { /* Inline model$MPropDef$mclassdef (var_mpropdef) on <var_mpropdef:MMethodDef> */
5644 var2
= var_mpropdef
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <var_mpropdef:MMethodDef> */
5645 if (unlikely(var2
== NULL
)) {
5646 if(catchStack
.cursor
>= 0){
5647 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5649 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
5650 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
5657 var_mclassdef
= var
;
5659 { /* Inline model$MClassDef$mmodule (var_mclassdef) on <var_mclassdef:MClassDef> */
5660 var5
= var_mclassdef
->attrs
[COLOR_nitc__model__MClassDef___mmodule
].val
; /* _mmodule on <var_mclassdef:MClassDef> */
5661 if (unlikely(var5
== NULL
)) {
5662 if(catchStack
.cursor
>= 0){
5663 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5665 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule");
5666 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 588);
5675 { /* Inline parser_nodes$AAttrPropdef$n_type (self) on <self:AAttrPropdef> */
5676 var8
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrPropdef___n_type
].val
; /* _n_type on <self:AAttrPropdef> */
5683 { /* Inline model$MMethodDef$msignature (var_mpropdef) on <var_mpropdef:MMethodDef> */
5684 var11
= var_mpropdef
->attrs
[COLOR_nitc__model__MMethodDef___msignature
].val
; /* _msignature on <var_mpropdef:MMethodDef> */
5686 RET_LABEL10
:(void)0;
5689 var_mysignature
= var9
;
5690 if (var_mysignature
== NULL
) {
5691 var12
= 1; /* is null */
5693 var12
= 0; /* arg is null but recv is not */
5696 { /* Inline kernel$Object$== (var_mysignature,((val*)NULL)) on <var_mysignature:nullable MSignature> */
5697 var_other
= ((val
*)NULL
);
5699 { /* Inline kernel$Object$is_same_instance (var_mysignature,var_other) on <var_mysignature:nullable MSignature(MSignature)> */
5700 var17
= var_mysignature
== var_other
;
5703 RET_LABEL16
:(void)0;
5708 RET_LABEL14
:(void)0;
5717 var18
= nitc___nitc__MPropDef___is_intro(var_mpropdef
);
5722 { /* Inline model$MPropDef$mproperty (var_mpropdef) on <var_mpropdef:MMethodDef> */
5723 var22
= var_mpropdef
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <var_mpropdef:MMethodDef> */
5724 if (unlikely(var22
== NULL
)) {
5725 if(catchStack
.cursor
>= 0){
5726 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5728 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
5729 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
5733 RET_LABEL21
:(void)0;
5737 { /* Inline model$MProperty$intro (var20) on <var20:MProperty(MMethod)> */
5738 var25
= var20
->attrs
[COLOR_nitc__model__MProperty___intro
].val
; /* _intro on <var20:MProperty(MMethod)> */
5739 if (unlikely(var25
== NULL
)) {
5740 if(catchStack
.cursor
>= 0){
5741 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5743 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro");
5744 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2097);
5748 RET_LABEL24
:(void)0;
5752 { /* Inline model$MMethodDef$msignature (var23) on <var23:MPropDef(MMethodDef)> */
5753 var28
= var23
->attrs
[COLOR_nitc__model__MMethodDef___msignature
].val
; /* _msignature on <var23:MPropDef(MMethodDef)> */
5755 RET_LABEL27
:(void)0;
5758 var_msignature
= var26
;
5759 if (var_msignature
== NULL
) {
5760 var29
= 1; /* is null */
5762 var29
= 0; /* arg is null but recv is not */
5765 { /* Inline kernel$Object$== (var_msignature,((val*)NULL)) on <var_msignature:nullable MSignature> */
5766 var_other
= ((val
*)NULL
);
5768 { /* Inline kernel$Object$is_same_instance (var_msignature,var_other) on <var_msignature:nullable MSignature(MSignature)> */
5769 var34
= var_msignature
== var_other
;
5772 RET_LABEL33
:(void)0;
5777 RET_LABEL31
:(void)0;
5786 var35
= nitc___nitc__MSignature___arity(var_mysignature
);
5789 var36
= nitc___nitc__MSignature___arity(var_msignature
);
5792 { /* Inline kernel$Int$!= (var35,var36) on <var35:Int> */
5793 var39
= var35
== var36
;
5797 RET_LABEL38
:(void)0;
5801 if (var_nsig
== NULL
) {
5802 var41
= 0; /* is null */
5804 var41
= 1; /* arg is null and recv is not */
5807 { /* Inline kernel$Object$!= (var_nsig,((val*)NULL)) on <var_nsig:nullable AType> */
5808 var_other44
= ((val
*)NULL
);
5810 var45
= ((short int(*)(val
* self
, val
* p0
))(var_nsig
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_nsig
, var_other44
); /* == on <var_nsig:nullable AType(AType)>*/
5815 RET_LABEL43
:(void)0;
5820 var_node
= var_nsig
;
5824 if (unlikely(varonce
==NULL
)) {
5825 var47
= NEW_core__NativeArray((int)10l, &type_core__NativeArray__core__String
);
5826 if (likely(varonce48
!=NULL
)) {
5829 var50
= "Redef Error: expected ";
5830 var52
= (val
*)(22l<<2|1);
5831 var53
= (val
*)(22l<<2|1);
5832 var54
= (val
*)((long)(0)<<2|3);
5833 var55
= (val
*)((long)(0)<<2|3);
5834 var51
= core__flat___CString___to_s_unsafe(var50
, var52
, var53
, var54
, var55
);
5838 ((struct instance_core__NativeArray
*)var47
)->values
[0]=var49
;
5839 if (likely(varonce56
!=NULL
)) {
5842 var58
= " parameter(s) for `";
5843 var60
= (val
*)(19l<<2|1);
5844 var61
= (val
*)(19l<<2|1);
5845 var62
= (val
*)((long)(0)<<2|3);
5846 var63
= (val
*)((long)(0)<<2|3);
5847 var59
= core__flat___CString___to_s_unsafe(var58
, var60
, var61
, var62
, var63
);
5851 ((struct instance_core__NativeArray
*)var47
)->values
[2]=var57
;
5852 if (likely(varonce64
!=NULL
)) {
5856 var68
= (val
*)(7l<<2|1);
5857 var69
= (val
*)(7l<<2|1);
5858 var70
= (val
*)((long)(0)<<2|3);
5859 var71
= (val
*)((long)(0)<<2|3);
5860 var67
= core__flat___CString___to_s_unsafe(var66
, var68
, var69
, var70
, var71
);
5864 ((struct instance_core__NativeArray
*)var47
)->values
[5]=var65
;
5865 if (likely(varonce72
!=NULL
)) {
5868 var74
= ". See introduction at `";
5869 var76
= (val
*)(23l<<2|1);
5870 var77
= (val
*)(23l<<2|1);
5871 var78
= (val
*)((long)(0)<<2|3);
5872 var79
= (val
*)((long)(0)<<2|3);
5873 var75
= core__flat___CString___to_s_unsafe(var74
, var76
, var77
, var78
, var79
);
5877 ((struct instance_core__NativeArray
*)var47
)->values
[7]=var73
;
5878 if (likely(varonce80
!=NULL
)) {
5882 var84
= (val
*)(2l<<2|1);
5883 var85
= (val
*)(2l<<2|1);
5884 var86
= (val
*)((long)(0)<<2|3);
5885 var87
= (val
*)((long)(0)<<2|3);
5886 var83
= core__flat___CString___to_s_unsafe(var82
, var84
, var85
, var86
, var87
);
5890 ((struct instance_core__NativeArray
*)var47
)->values
[9]=var81
;
5896 var88
= nitc___nitc__MSignature___arity(var_msignature
);
5898 var89
= core__flat___Int___core__abstract_text__Object__to_s(var88
);
5899 ((struct instance_core__NativeArray
*)var47
)->values
[1]=var89
;
5901 { /* Inline model$MPropDef$mproperty (var_mpropdef) on <var_mpropdef:MMethodDef> */
5902 var92
= var_mpropdef
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <var_mpropdef:MMethodDef> */
5903 if (unlikely(var92
== NULL
)) {
5904 if(catchStack
.cursor
>= 0){
5905 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5907 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
5908 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
5912 RET_LABEL91
:(void)0;
5916 { /* Inline model$MProperty$name (var90) on <var90:MProperty(MMethod)> */
5917 var95
= var90
->attrs
[COLOR_nitc__model__MProperty___name
].val
; /* _name on <var90:MProperty(MMethod)> */
5918 if (unlikely(var95
== NULL
)) {
5919 if(catchStack
.cursor
>= 0){
5920 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5922 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name");
5923 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2047);
5927 RET_LABEL94
:(void)0;
5930 ((struct instance_core__NativeArray
*)var47
)->values
[3]=var93
;
5932 var96
= ((val
*(*)(val
* self
))(var_msignature
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var_msignature
); /* to_s on <var_msignature:nullable MSignature(MSignature)>*/
5934 ((struct instance_core__NativeArray
*)var47
)->values
[4]=var96
;
5936 var97
= nitc___nitc__MSignature___arity(var_mysignature
);
5938 var98
= core__flat___Int___core__abstract_text__Object__to_s(var97
);
5939 ((struct instance_core__NativeArray
*)var47
)->values
[6]=var98
;
5941 { /* Inline model$MPropDef$mproperty (var_mpropdef) on <var_mpropdef:MMethodDef> */
5942 var101
= var_mpropdef
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <var_mpropdef:MMethodDef> */
5943 if (unlikely(var101
== NULL
)) {
5944 if(catchStack
.cursor
>= 0){
5945 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
5947 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
5948 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
5952 RET_LABEL100
:(void)0;
5956 var102
= nitc___nitc__MProperty___nitc__model_base__MEntity__full_name(var99
);
5958 ((struct instance_core__NativeArray
*)var47
)->values
[8]=var102
;
5960 var103
= ((val
*(*)(val
* self
))(var47
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var47
); /* native_to_s on <var47:NativeArray[String]>*/
5964 nitc___nitc__ModelBuilder___error(var_modelbuilder
, var_node
, var103
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
5970 { /* Inline model$MSignature$return_mtype (var_msignature) on <var_msignature:nullable MSignature(MSignature)> */
5971 var106
= var_msignature
->attrs
[COLOR_nitc__model__MSignature___return_mtype
].val
; /* _return_mtype on <var_msignature:nullable MSignature(MSignature)> */
5973 RET_LABEL105
:(void)0;
5976 var_precursor_ret_type
= var104
;
5978 { /* Inline model$MSignature$return_mtype (var_mysignature) on <var_mysignature:nullable MSignature(MSignature)> */
5979 var109
= var_mysignature
->attrs
[COLOR_nitc__model__MSignature___return_mtype
].val
; /* _return_mtype on <var_mysignature:nullable MSignature(MSignature)> */
5981 RET_LABEL108
:(void)0;
5984 var_ret_type
= var107
;
5985 if (var_ret_type
== NULL
) {
5986 var111
= 0; /* is null */
5988 var111
= 1; /* arg is null and recv is not */
5991 { /* Inline kernel$Object$!= (var_ret_type,((val*)NULL)) on <var_ret_type:nullable MType> */
5992 var_other44
= ((val
*)NULL
);
5994 var114
= ((short int(*)(val
* self
, val
* p0
))(var_ret_type
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_ret_type
, var_other44
); /* == on <var_ret_type:nullable MType(MType)>*/
5999 RET_LABEL113
:(void)0;
6005 if (var_precursor_ret_type
== NULL
) {
6006 var116
= 1; /* is null */
6008 var116
= 0; /* arg is null but recv is not */
6011 { /* Inline kernel$Object$== (var_precursor_ret_type,((val*)NULL)) on <var_precursor_ret_type:nullable MType> */
6012 var_other
= ((val
*)NULL
);
6014 { /* Inline kernel$Object$is_same_instance (var_precursor_ret_type,var_other) on <var_precursor_ret_type:nullable MType(MType)> */
6015 var121
= var_precursor_ret_type
== var_other
;
6018 RET_LABEL120
:(void)0;
6023 RET_LABEL118
:(void)0;
6032 if (var_nsig
== NULL
) {
6033 var122
= 0; /* is null */
6035 var122
= 1; /* arg is null and recv is not */
6038 { /* Inline kernel$Object$!= (var_nsig,((val*)NULL)) on <var_nsig:nullable AType> */
6039 var_other44
= ((val
*)NULL
);
6041 var125
= ((short int(*)(val
* self
, val
* p0
))(var_nsig
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_nsig
, var_other44
); /* == on <var_nsig:nullable AType(AType)>*/
6046 RET_LABEL124
:(void)0;
6051 var_node127
= var_nsig
;
6055 if (unlikely(varonce128
==NULL
)) {
6056 var129
= NEW_core__NativeArray((int)3l, &type_core__NativeArray__core__String
);
6057 if (likely(varonce130
!=NULL
)) {
6058 var131
= varonce130
;
6060 var132
= "Redef Error: `";
6061 var134
= (val
*)(14l<<2|1);
6062 var135
= (val
*)(14l<<2|1);
6063 var136
= (val
*)((long)(0)<<2|3);
6064 var137
= (val
*)((long)(0)<<2|3);
6065 var133
= core__flat___CString___to_s_unsafe(var132
, var134
, var135
, var136
, var137
);
6067 varonce130
= var131
;
6069 ((struct instance_core__NativeArray
*)var129
)->values
[0]=var131
;
6070 if (likely(varonce138
!=NULL
)) {
6071 var139
= varonce138
;
6073 var140
= "` is a procedure, not a function.";
6074 var142
= (val
*)(33l<<2|1);
6075 var143
= (val
*)(33l<<2|1);
6076 var144
= (val
*)((long)(0)<<2|3);
6077 var145
= (val
*)((long)(0)<<2|3);
6078 var141
= core__flat___CString___to_s_unsafe(var140
, var142
, var143
, var144
, var145
);
6080 varonce138
= var139
;
6082 ((struct instance_core__NativeArray
*)var129
)->values
[2]=var139
;
6084 var129
= varonce128
;
6088 { /* Inline model$MPropDef$mproperty (var_mpropdef) on <var_mpropdef:MMethodDef> */
6089 var148
= var_mpropdef
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <var_mpropdef:MMethodDef> */
6090 if (unlikely(var148
== NULL
)) {
6091 if(catchStack
.cursor
>= 0){
6092 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6094 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
6095 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
6099 RET_LABEL147
:(void)0;
6103 var149
= ((val
*(*)(val
* self
))(var146
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var146
); /* to_s on <var146:MProperty(MMethod)>*/
6105 ((struct instance_core__NativeArray
*)var129
)->values
[1]=var149
;
6107 var150
= ((val
*(*)(val
* self
))(var129
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var129
); /* native_to_s on <var129:NativeArray[String]>*/
6109 varonce128
= var129
;
6111 nitc___nitc__ModelBuilder___error(var_modelbuilder
, var_node127
, var150
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
6117 var151
= nitc___nitc__MSignature___arity(var_mysignature
);
6120 { /* Inline kernel$Int$> (var151,0l) on <var151:Int> */
6121 /* Covariant cast for argument 0 (i) <0l:Int> isa OTHER */
6122 /* <0l:Int> isa OTHER */
6123 var154
= 1; /* easy <0l:Int> isa OTHER*/
6124 if (unlikely(!var154
)) {
6125 var_class_name
= type_core__Int
.name
;
6126 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
6127 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 727);
6130 var155
= var151
> 0l;
6133 RET_LABEL153
:(void)0;
6139 var156
= nitc___nitc__MSignature___arity(var_mysignature
);
6144 { /* Inline kernel$Int$< (var_i,var_157) on <var_i:Int> */
6145 /* Covariant cast for argument 0 (i) <var_157:Int> isa OTHER */
6146 /* <var_157:Int> isa OTHER */
6147 var160
= 1; /* easy <var_157:Int> isa OTHER*/
6148 if (unlikely(!var160
)) {
6149 var_class_name163
= type_core__Int
.name
;
6150 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name163
);
6151 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 725);
6154 var164
= var_i
< var_157
;
6157 RET_LABEL159
:(void)0;
6165 { /* Inline model$MSignature$mparameters (var_mysignature) on <var_mysignature:nullable MSignature(MSignature)> */
6166 var167
= var_mysignature
->attrs
[COLOR_nitc__model__MSignature___mparameters
].val
; /* _mparameters on <var_mysignature:nullable MSignature(MSignature)> */
6167 if (unlikely(var167
== NULL
)) {
6168 if(catchStack
.cursor
>= 0){
6169 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6171 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mparameters");
6172 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 1879);
6176 RET_LABEL166
:(void)0;
6180 var168
= core___core__Array___core__abstract_collection__SequenceRead___91d_93d(var165
, var_i
);
6183 { /* Inline model$MParameter$mtype (var168) on <var168:nullable Object(MParameter)> */
6184 var171
= var168
->attrs
[COLOR_nitc__model__MParameter___mtype
].val
; /* _mtype on <var168:nullable Object(MParameter)> */
6185 if (unlikely(var171
== NULL
)) {
6186 if(catchStack
.cursor
>= 0){
6187 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6189 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mtype");
6190 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 1996);
6194 RET_LABEL170
:(void)0;
6199 { /* Inline model$MSignature$mparameters (var_msignature) on <var_msignature:nullable MSignature(MSignature)> */
6200 var174
= var_msignature
->attrs
[COLOR_nitc__model__MSignature___mparameters
].val
; /* _mparameters on <var_msignature:nullable MSignature(MSignature)> */
6201 if (unlikely(var174
== NULL
)) {
6202 if(catchStack
.cursor
>= 0){
6203 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6205 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mparameters");
6206 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 1879);
6210 RET_LABEL173
:(void)0;
6214 var175
= core___core__Array___core__abstract_collection__SequenceRead___91d_93d(var172
, var_i
);
6217 { /* Inline model$MParameter$mtype (var175) on <var175:nullable Object(MParameter)> */
6218 var178
= var175
->attrs
[COLOR_nitc__model__MParameter___mtype
].val
; /* _mtype on <var175:nullable Object(MParameter)> */
6219 if (unlikely(var178
== NULL
)) {
6220 if(catchStack
.cursor
>= 0){
6221 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6223 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mtype");
6224 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 1996);
6228 RET_LABEL177
:(void)0;
6232 if (var_nsig
== NULL
) {
6233 var179
= 0; /* is null */
6235 var179
= 1; /* arg is null and recv is not */
6238 { /* Inline kernel$Object$!= (var_nsig,((val*)NULL)) on <var_nsig:nullable AType> */
6239 var_other44
= ((val
*)NULL
);
6241 var182
= ((short int(*)(val
* self
, val
* p0
))(var_nsig
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_nsig
, var_other44
); /* == on <var_nsig:nullable AType(AType)>*/
6246 RET_LABEL181
:(void)0;
6251 var_node184
= var_nsig
;
6256 { /* Inline model$MClassDef$bound_mtype (var_mclassdef) on <var_mclassdef:MClassDef> */
6257 var187
= var_mclassdef
->attrs
[COLOR_nitc__model__MClassDef___bound_mtype
].val
; /* _bound_mtype on <var_mclassdef:MClassDef> */
6258 if (unlikely(var187
== NULL
)) {
6259 if(catchStack
.cursor
>= 0){
6260 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6262 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _bound_mtype");
6263 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 594);
6267 RET_LABEL186
:(void)0;
6271 var188
= nitc___nitc__ModelBuilder___check_sametype(var_modelbuilder
, var_node184
, var_mmodule
, var185
, var_myt
, var_prt
);
6275 if (unlikely(varonce190
==NULL
)) {
6276 var191
= NEW_core__NativeArray((int)7l, &type_core__NativeArray__core__String
);
6277 if (likely(varonce192
!=NULL
)) {
6278 var193
= varonce192
;
6280 var194
= "Redef Error: expected `";
6281 var196
= (val
*)(23l<<2|1);
6282 var197
= (val
*)(23l<<2|1);
6283 var198
= (val
*)((long)(0)<<2|3);
6284 var199
= (val
*)((long)(0)<<2|3);
6285 var195
= core__flat___CString___to_s_unsafe(var194
, var196
, var197
, var198
, var199
);
6287 varonce192
= var193
;
6289 ((struct instance_core__NativeArray
*)var191
)->values
[0]=var193
;
6290 if (likely(varonce200
!=NULL
)) {
6291 var201
= varonce200
;
6293 var202
= "` type for parameter `";
6294 var204
= (val
*)(22l<<2|1);
6295 var205
= (val
*)(22l<<2|1);
6296 var206
= (val
*)((long)(0)<<2|3);
6297 var207
= (val
*)((long)(0)<<2|3);
6298 var203
= core__flat___CString___to_s_unsafe(var202
, var204
, var205
, var206
, var207
);
6300 varonce200
= var201
;
6302 ((struct instance_core__NativeArray
*)var191
)->values
[2]=var201
;
6303 if (likely(varonce208
!=NULL
)) {
6304 var209
= varonce208
;
6306 var210
= "\'; got `";
6307 var212
= (val
*)(8l<<2|1);
6308 var213
= (val
*)(8l<<2|1);
6309 var214
= (val
*)((long)(0)<<2|3);
6310 var215
= (val
*)((long)(0)<<2|3);
6311 var211
= core__flat___CString___to_s_unsafe(var210
, var212
, var213
, var214
, var215
);
6313 varonce208
= var209
;
6315 ((struct instance_core__NativeArray
*)var191
)->values
[4]=var209
;
6316 if (likely(varonce216
!=NULL
)) {
6317 var217
= varonce216
;
6320 var220
= (val
*)(2l<<2|1);
6321 var221
= (val
*)(2l<<2|1);
6322 var222
= (val
*)((long)(0)<<2|3);
6323 var223
= (val
*)((long)(0)<<2|3);
6324 var219
= core__flat___CString___to_s_unsafe(var218
, var220
, var221
, var222
, var223
);
6326 varonce216
= var217
;
6328 ((struct instance_core__NativeArray
*)var191
)->values
[6]=var217
;
6330 var191
= varonce190
;
6334 var224
= ((val
*(*)(val
* self
))(var_prt
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var_prt
); /* to_s on <var_prt:MType>*/
6336 ((struct instance_core__NativeArray
*)var191
)->values
[1]=var224
;
6338 { /* Inline model$MSignature$mparameters (var_mysignature) on <var_mysignature:nullable MSignature(MSignature)> */
6339 var227
= var_mysignature
->attrs
[COLOR_nitc__model__MSignature___mparameters
].val
; /* _mparameters on <var_mysignature:nullable MSignature(MSignature)> */
6340 if (unlikely(var227
== NULL
)) {
6341 if(catchStack
.cursor
>= 0){
6342 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6344 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mparameters");
6345 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 1879);
6349 RET_LABEL226
:(void)0;
6353 var228
= core___core__Array___core__abstract_collection__SequenceRead___91d_93d(var225
, var_i
);
6356 { /* Inline model$MParameter$name (var228) on <var228:nullable Object(MParameter)> */
6357 var231
= var228
->attrs
[COLOR_nitc__model__MParameter___name
].val
; /* _name on <var228:nullable Object(MParameter)> */
6358 if (unlikely(var231
== NULL
)) {
6359 if(catchStack
.cursor
>= 0){
6360 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6362 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name");
6363 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 1993);
6367 RET_LABEL230
:(void)0;
6370 ((struct instance_core__NativeArray
*)var191
)->values
[3]=var229
;
6372 var232
= ((val
*(*)(val
* self
))(var_myt
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var_myt
); /* to_s on <var_myt:MType>*/
6374 ((struct instance_core__NativeArray
*)var191
)->values
[5]=var232
;
6376 var233
= ((val
*(*)(val
* self
))(var191
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var191
); /* native_to_s on <var191:NativeArray[String]>*/
6378 varonce190
= var191
;
6380 nitc___nitc__ModelBuilder___error(var_modelbuilder
, var_node184
, var233
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
6385 var234
= core___core__Int___Discrete__successor(var_i
, 1l);
6389 BREAK_label
: (void)0;
6392 if (var_precursor_ret_type
== NULL
) {
6393 var235
= 0; /* is null */
6395 var235
= 1; /* arg is null and recv is not */
6398 { /* Inline kernel$Object$!= (var_precursor_ret_type,((val*)NULL)) on <var_precursor_ret_type:nullable MType> */
6399 var_other44
= ((val
*)NULL
);
6401 var238
= ((short int(*)(val
* self
, val
* p0
))(var_precursor_ret_type
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_precursor_ret_type
, var_other44
); /* == on <var_precursor_ret_type:nullable MType(MType)>*/
6406 RET_LABEL237
:(void)0;
6411 if (var_nsig
== NULL
) {
6412 var240
= 0; /* is null */
6414 var240
= 1; /* arg is null and recv is not */
6417 { /* Inline kernel$Object$!= (var_nsig,((val*)NULL)) on <var_nsig:nullable AType> */
6418 var_other44
= ((val
*)NULL
);
6420 var243
= ((short int(*)(val
* self
, val
* p0
))(var_nsig
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_nsig
, var_other44
); /* == on <var_nsig:nullable AType(AType)>*/
6425 RET_LABEL242
:(void)0;
6430 var_node245
= var_nsig
;
6434 if (var_ret_type
== NULL
) {
6435 var246
= 1; /* is null */
6437 var246
= 0; /* arg is null but recv is not */
6440 { /* Inline kernel$Object$== (var_ret_type,((val*)NULL)) on <var_ret_type:nullable MType> */
6441 var_other
= ((val
*)NULL
);
6443 { /* Inline kernel$Object$is_same_instance (var_ret_type,var_other) on <var_ret_type:nullable MType(MType)> */
6444 var251
= var_ret_type
== var_other
;
6447 RET_LABEL250
:(void)0;
6452 RET_LABEL248
:(void)0;
6457 var_ret_type
= var_precursor_ret_type
;
6460 { /* Inline model$MClassDef$bound_mtype (var_mclassdef) on <var_mclassdef:MClassDef> */
6461 var254
= var_mclassdef
->attrs
[COLOR_nitc__model__MClassDef___bound_mtype
].val
; /* _bound_mtype on <var_mclassdef:MClassDef> */
6462 if (unlikely(var254
== NULL
)) {
6463 if(catchStack
.cursor
>= 0){
6464 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6466 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _bound_mtype");
6467 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 594);
6471 RET_LABEL253
:(void)0;
6475 var255
= nitc___nitc__ModelBuilder___check_subtype(var_modelbuilder
, var_node245
, var_mmodule
, var252
, var_ret_type
, var_precursor_ret_type
);
6479 if (unlikely(varonce257
==NULL
)) {
6480 var258
= NEW_core__NativeArray((int)5l, &type_core__NativeArray__core__String
);
6481 if (likely(varonce259
!=NULL
)) {
6482 var260
= varonce259
;
6484 var261
= "Redef Error: expected `";
6485 var263
= (val
*)(23l<<2|1);
6486 var264
= (val
*)(23l<<2|1);
6487 var265
= (val
*)((long)(0)<<2|3);
6488 var266
= (val
*)((long)(0)<<2|3);
6489 var262
= core__flat___CString___to_s_unsafe(var261
, var263
, var264
, var265
, var266
);
6491 varonce259
= var260
;
6493 ((struct instance_core__NativeArray
*)var258
)->values
[0]=var260
;
6494 if (likely(varonce267
!=NULL
)) {
6495 var268
= varonce267
;
6497 var269
= "` return type; got `";
6498 var271
= (val
*)(20l<<2|1);
6499 var272
= (val
*)(20l<<2|1);
6500 var273
= (val
*)((long)(0)<<2|3);
6501 var274
= (val
*)((long)(0)<<2|3);
6502 var270
= core__flat___CString___to_s_unsafe(var269
, var271
, var272
, var273
, var274
);
6504 varonce267
= var268
;
6506 ((struct instance_core__NativeArray
*)var258
)->values
[2]=var268
;
6507 if (likely(varonce275
!=NULL
)) {
6508 var276
= varonce275
;
6511 var279
= (val
*)(2l<<2|1);
6512 var280
= (val
*)(2l<<2|1);
6513 var281
= (val
*)((long)(0)<<2|3);
6514 var282
= (val
*)((long)(0)<<2|3);
6515 var278
= core__flat___CString___to_s_unsafe(var277
, var279
, var280
, var281
, var282
);
6517 varonce275
= var276
;
6519 ((struct instance_core__NativeArray
*)var258
)->values
[4]=var276
;
6521 var258
= varonce257
;
6525 var283
= ((val
*(*)(val
* self
))(var_precursor_ret_type
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var_precursor_ret_type
); /* to_s on <var_precursor_ret_type:nullable MType(MType)>*/
6527 ((struct instance_core__NativeArray
*)var258
)->values
[1]=var283
;
6529 var284
= ((val
*(*)(val
* self
))(var_ret_type
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var_ret_type
); /* to_s on <var_ret_type:nullable MType(MType)>*/
6531 ((struct instance_core__NativeArray
*)var258
)->values
[3]=var284
;
6533 var285
= ((val
*(*)(val
* self
))(var258
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var258
); /* native_to_s on <var258:NativeArray[String]>*/
6535 varonce257
= var258
;
6537 nitc___nitc__ModelBuilder___error(var_modelbuilder
, var_node245
, var285
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
6548 /* method modelize_property$AAttrPropdef$check_repeated_types for (self: AAttrPropdef, ModelBuilder) */
6549 void nitc__modelize_property___AAttrPropdef___APropdef__check_repeated_types(val
* self
, val
* p0
) {
6550 val
* var_modelbuilder
/* var modelbuilder: ModelBuilder */;
6551 val
* var
/* : nullable MMethodDef */;
6552 val
* var2
/* : nullable MMethodDef */;
6553 val
* var_mreadpropdef
/* var mreadpropdef: nullable MMethodDef */;
6554 short int var3
/* : Bool */;
6555 short int var4
/* : Bool */;
6556 val
* var_other
/* var other: nullable Object */;
6557 short int var6
/* : Bool */;
6558 short int var8
/* : Bool */;
6559 short int var9
/* : Bool */;
6560 short int var10
/* : Bool */;
6561 short int var_
/* var : Bool */;
6562 val
* var11
/* : nullable AType */;
6563 val
* var13
/* : nullable AType */;
6564 short int var14
/* : Bool */;
6565 short int var15
/* : Bool */;
6566 short int var17
/* : Bool */;
6567 short int var19
/* : Bool */;
6568 val
* var20
/* : MProperty */;
6569 val
* var22
/* : MProperty */;
6570 val
* var23
/* : MPropDef */;
6571 val
* var25
/* : MPropDef */;
6572 val
* var_intro
/* var intro: MMethodDef */;
6573 val
* var26
/* : HashMap[MPropDef, APropdef] */;
6574 val
* var28
/* : HashMap[MPropDef, APropdef] */;
6575 val
* var29
/* : nullable Object */;
6576 val
* var_n_intro
/* var n_intro: nullable APropdef */;
6577 short int var30
/* : Bool */;
6578 short int var31
/* : Bool */;
6579 short int var33
/* : Bool */;
6580 short int var35
/* : Bool */;
6581 val
* var_ntype
/* var ntype: nullable Object */;
6582 short int var36
/* : Bool */;
6585 val
* var37
/* : nullable ASignature */;
6586 val
* var39
/* : nullable ASignature */;
6587 val
* var40
/* : nullable MType */;
6588 val
* var42
/* : nullable MType */;
6589 short int var43
/* : Bool */;
6590 short int var44
/* : Bool */;
6593 short int var_47
/* var : Bool */;
6594 val
* var48
/* : nullable AType */;
6595 val
* var50
/* : nullable AType */;
6596 short int var51
/* : Bool */;
6597 short int var52
/* : Bool */;
6598 val
* var_other54
/* var other: nullable Object */;
6599 short int var55
/* : Bool */;
6600 short int var56
/* : Bool */;
6601 val
* var57
/* : nullable AType */;
6602 val
* var59
/* : nullable AType */;
6603 val
* var60
/* : nullable MType */;
6604 val
* var62
/* : nullable MType */;
6605 short int var63
/* : Bool */;
6606 short int var64
/* : Bool */;
6607 short int var65
/* : Bool */;
6608 short int var66
/* : Bool */;
6609 short int var68
/* : Bool */;
6610 short int var70
/* : Bool */;
6611 short int var_71
/* var : Bool */;
6612 val
* var72
/* : nullable AType */;
6613 val
* var74
/* : nullable AType */;
6614 val
* var75
/* : nullable MType */;
6615 val
* var77
/* : nullable MType */;
6616 short int var78
/* : Bool */;
6617 short int var80
/* : Bool */;
6618 short int var81
/* : Bool */;
6619 short int var_82
/* var : Bool */;
6620 val
* var83
/* : nullable MPropDef */;
6621 val
* var85
/* : nullable MPropDef */;
6622 short int var86
/* : Bool */;
6623 short int var87
/* : Bool */;
6624 short int var89
/* : Bool */;
6625 short int var91
/* : Bool */;
6626 val
* var92
/* : nullable AType */;
6627 val
* var94
/* : nullable AType */;
6628 static val
* varonce
;
6629 val
* var95
/* : String */;
6630 char* var96
/* : CString */;
6631 val
* var97
/* : String */;
6632 val
* var98
/* : nullable Int */;
6633 val
* var99
/* : nullable Int */;
6634 val
* var100
/* : nullable Bool */;
6635 val
* var101
/* : nullable Bool */;
6636 val
* var103
/* : NativeArray[String] */;
6637 static val
* varonce102
;
6638 static val
* varonce104
;
6639 val
* var105
/* : String */;
6640 char* var106
/* : CString */;
6641 val
* var107
/* : String */;
6642 val
* var108
/* : nullable Int */;
6643 val
* var109
/* : nullable Int */;
6644 val
* var110
/* : nullable Bool */;
6645 val
* var111
/* : nullable Bool */;
6646 static val
* varonce112
;
6647 val
* var113
/* : String */;
6648 char* var114
/* : CString */;
6649 val
* var115
/* : String */;
6650 val
* var116
/* : nullable Int */;
6651 val
* var117
/* : nullable Int */;
6652 val
* var118
/* : nullable Bool */;
6653 val
* var119
/* : nullable Bool */;
6654 val
* var120
/* : nullable MPropDef */;
6655 val
* var122
/* : nullable MPropDef */;
6656 val
* var123
/* : String */;
6657 val
* var124
/* : String */;
6658 var_modelbuilder
= p0
;
6660 { /* Inline modelize_property$AAttrPropdef$mreadpropdef (self) on <self:AAttrPropdef> */
6661 var2
= self
->attrs
[COLOR_nitc__modelize_property__AAttrPropdef___mreadpropdef
].val
; /* _mreadpropdef on <self:AAttrPropdef> */
6666 var_mreadpropdef
= var
;
6667 if (var_mreadpropdef
== NULL
) {
6668 var3
= 1; /* is null */
6670 var3
= 0; /* arg is null but recv is not */
6673 { /* Inline kernel$Object$== (var_mreadpropdef,((val*)NULL)) on <var_mreadpropdef:nullable MMethodDef> */
6674 var_other
= ((val
*)NULL
);
6676 { /* Inline kernel$Object$is_same_instance (var_mreadpropdef,var_other) on <var_mreadpropdef:nullable MMethodDef(MMethodDef)> */
6677 var8
= var_mreadpropdef
== var_other
;
6694 var10
= nitc___nitc__MPropDef___is_intro(var_mreadpropdef
);
6701 { /* Inline parser_nodes$AAttrPropdef$n_type (self) on <self:AAttrPropdef> */
6702 var13
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrPropdef___n_type
].val
; /* _n_type on <self:AAttrPropdef> */
6704 RET_LABEL12
:(void)0;
6707 if (var11
== NULL
) {
6708 var14
= 1; /* is null */
6710 var14
= 0; /* arg is null but recv is not */
6713 { /* Inline kernel$Object$== (var11,((val*)NULL)) on <var11:nullable AType> */
6714 var_other
= ((val
*)NULL
);
6716 { /* Inline kernel$Object$is_same_instance (var11,var_other) on <var11:nullable AType(AType)> */
6717 var19
= var11
== var_other
;
6720 RET_LABEL18
:(void)0;
6725 RET_LABEL16
:(void)0;
6736 { /* Inline model$MPropDef$mproperty (var_mreadpropdef) on <var_mreadpropdef:nullable MMethodDef(MMethodDef)> */
6737 var22
= var_mreadpropdef
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <var_mreadpropdef:nullable MMethodDef(MMethodDef)> */
6738 if (unlikely(var22
== NULL
)) {
6739 if(catchStack
.cursor
>= 0){
6740 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6742 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
6743 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
6747 RET_LABEL21
:(void)0;
6751 { /* Inline model$MProperty$intro (var20) on <var20:MProperty(MMethod)> */
6752 var25
= var20
->attrs
[COLOR_nitc__model__MProperty___intro
].val
; /* _intro on <var20:MProperty(MMethod)> */
6753 if (unlikely(var25
== NULL
)) {
6754 if(catchStack
.cursor
>= 0){
6755 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6757 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro");
6758 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2097);
6762 RET_LABEL24
:(void)0;
6767 { /* Inline modelize_property$ModelBuilder$mpropdef2npropdef (var_modelbuilder) on <var_modelbuilder:ModelBuilder> */
6768 var28
= var_modelbuilder
->attrs
[COLOR_nitc__modelize_property__ModelBuilder___mpropdef2npropdef
].val
; /* _mpropdef2npropdef on <var_modelbuilder:ModelBuilder> */
6769 if (unlikely(var28
== NULL
)) {
6770 if(catchStack
.cursor
>= 0){
6771 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6773 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mpropdef2npropdef");
6774 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 40);
6778 RET_LABEL27
:(void)0;
6782 var29
= core___core__HashMap___core__abstract_collection__MapRead__get_or_null(var26
, var_intro
);
6784 var_n_intro
= var29
;
6785 if (var_n_intro
== NULL
) {
6786 var30
= 1; /* is null */
6788 var30
= 0; /* arg is null but recv is not */
6791 { /* Inline kernel$Object$== (var_n_intro,((val*)NULL)) on <var_n_intro:nullable APropdef> */
6792 var_other
= ((val
*)NULL
);
6794 { /* Inline kernel$Object$is_same_instance (var_n_intro,var_other) on <var_n_intro:nullable APropdef(APropdef)> */
6795 var35
= var_n_intro
== var_other
;
6798 RET_LABEL34
:(void)0;
6803 RET_LABEL32
:(void)0;
6811 var_ntype
= ((val
*)NULL
);
6812 /* <var_n_intro:nullable APropdef(APropdef)> isa AMethPropdef */
6813 cltype
= type_nitc__AMethPropdef
.color
;
6814 idtype
= type_nitc__AMethPropdef
.id
;
6815 if(cltype
>= var_n_intro
->type
->table_size
) {
6818 var36
= var_n_intro
->type
->type_table
[cltype
] == idtype
;
6822 { /* Inline parser_nodes$AMethPropdef$n_signature (var_n_intro) on <var_n_intro:nullable APropdef(AMethPropdef)> */
6823 var39
= var_n_intro
->attrs
[COLOR_nitc__parser_nodes__AMethPropdef___n_signature
].val
; /* _n_signature on <var_n_intro:nullable APropdef(AMethPropdef)> */
6825 RET_LABEL38
:(void)0;
6828 if (var37
== NULL
) {
6829 if(catchStack
.cursor
>= 0){
6830 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6832 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6833 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 1593);
6836 { /* Inline modelize_property$ASignature$ret_type (var37) on <var37:nullable ASignature> */
6837 if (unlikely(var37
== NULL
)) {
6838 if(catchStack
.cursor
>= 0){
6839 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6841 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6842 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 668);
6845 var42
= var37
->attrs
[COLOR_nitc__modelize_property__ASignature___ret_type
].val
; /* _ret_type on <var37:nullable ASignature> */
6847 RET_LABEL41
:(void)0;
6852 /* <var_n_intro:nullable APropdef(APropdef)> isa AAttrPropdef */
6853 cltype45
= type_nitc__AAttrPropdef
.color
;
6854 idtype46
= type_nitc__AAttrPropdef
.id
;
6855 if(cltype45
>= var_n_intro
->type
->table_size
) {
6858 var44
= var_n_intro
->type
->type_table
[cltype45
] == idtype46
;
6863 { /* Inline parser_nodes$AAttrPropdef$n_type (var_n_intro) on <var_n_intro:nullable APropdef(AAttrPropdef)> */
6864 var50
= var_n_intro
->attrs
[COLOR_nitc__parser_nodes__AAttrPropdef___n_type
].val
; /* _n_type on <var_n_intro:nullable APropdef(AAttrPropdef)> */
6866 RET_LABEL49
:(void)0;
6869 if (var48
== NULL
) {
6870 var51
= 0; /* is null */
6872 var51
= 1; /* arg is null and recv is not */
6875 { /* Inline kernel$Object$!= (var48,((val*)NULL)) on <var48:nullable AType> */
6876 var_other54
= ((val
*)NULL
);
6878 var55
= ((short int(*)(val
* self
, val
* p0
))(var48
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var48
, var_other54
); /* == on <var48:nullable AType(AType)>*/
6883 RET_LABEL53
:(void)0;
6893 { /* Inline parser_nodes$AAttrPropdef$n_type (var_n_intro) on <var_n_intro:nullable APropdef(AAttrPropdef)> */
6894 var59
= var_n_intro
->attrs
[COLOR_nitc__parser_nodes__AAttrPropdef___n_type
].val
; /* _n_type on <var_n_intro:nullable APropdef(AAttrPropdef)> */
6896 RET_LABEL58
:(void)0;
6899 if (var57
== NULL
) {
6900 if(catchStack
.cursor
>= 0){
6901 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6903 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6904 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 1595);
6907 { /* Inline modelbuilder_base$AType$mtype (var57) on <var57:nullable AType> */
6908 if (unlikely(var57
== NULL
)) {
6909 if(catchStack
.cursor
>= 0){
6910 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6912 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6913 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelbuilder_base
, 495);
6916 var62
= var57
->attrs
[COLOR_nitc__modelbuilder_base__AType___mtype
].val
; /* _mtype on <var57:nullable AType> */
6918 RET_LABEL61
:(void)0;
6925 if (var_ntype
== NULL
) {
6926 var65
= 1; /* is null */
6928 var65
= 0; /* arg is null but recv is not */
6931 { /* Inline kernel$Object$== (var_ntype,((val*)NULL)) on <var_ntype:nullable Object(nullable MType)> */
6932 var_other
= ((val
*)NULL
);
6934 { /* Inline kernel$Object$is_same_instance (var_ntype,var_other) on <var_ntype:nullable Object(MType)> */
6935 var70
= var_ntype
== var_other
;
6938 RET_LABEL69
:(void)0;
6943 RET_LABEL67
:(void)0;
6952 { /* Inline parser_nodes$AAttrPropdef$n_type (self) on <self:AAttrPropdef> */
6953 var74
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrPropdef___n_type
].val
; /* _n_type on <self:AAttrPropdef> */
6955 RET_LABEL73
:(void)0;
6958 if (var72
== NULL
) {
6959 if(catchStack
.cursor
>= 0){
6960 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6962 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6963 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 1598);
6966 { /* Inline modelbuilder_base$AType$mtype (var72) on <var72:nullable AType> */
6967 if (unlikely(var72
== NULL
)) {
6968 if(catchStack
.cursor
>= 0){
6969 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
6971 PRINT_ERROR("Runtime error: %s", "Receiver is null");
6972 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelbuilder_base
, 495);
6975 var77
= var72
->attrs
[COLOR_nitc__modelbuilder_base__AType___mtype
].val
; /* _mtype on <var72:nullable AType> */
6977 RET_LABEL76
:(void)0;
6981 { /* Inline kernel$Object$!= (var_ntype,var75) on <var_ntype:nullable Object(MType)> */
6982 var_other54
= var75
;
6984 var80
= ((short int(*)(val
* self
, val
* p0
))(var_ntype
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_ntype
, var_other54
); /* == on <var_ntype:nullable Object(MType)>*/
6989 RET_LABEL79
:(void)0;
6999 { /* Inline modelize_property$APropdef$mpropdef (self) on <self:AAttrPropdef> */
7000 var85
= self
->attrs
[COLOR_nitc__modelize_property__APropdef___mpropdef
].val
; /* _mpropdef on <self:AAttrPropdef> */
7002 RET_LABEL84
:(void)0;
7005 if (var83
== NULL
) {
7006 var86
= 1; /* is null */
7008 var86
= 0; /* arg is null but recv is not */
7011 { /* Inline kernel$Object$== (var83,((val*)NULL)) on <var83:nullable MPropDef(nullable MAttributeDef)> */
7012 var_other
= ((val
*)NULL
);
7014 { /* Inline kernel$Object$is_same_instance (var83,var_other) on <var83:nullable MPropDef(MAttributeDef)> */
7015 var91
= var83
== var_other
;
7018 RET_LABEL90
:(void)0;
7023 RET_LABEL88
:(void)0;
7034 { /* Inline parser_nodes$AAttrPropdef$n_type (self) on <self:AAttrPropdef> */
7035 var94
= self
->attrs
[COLOR_nitc__parser_nodes__AAttrPropdef___n_type
].val
; /* _n_type on <self:AAttrPropdef> */
7037 RET_LABEL93
:(void)0;
7040 if (likely(varonce
!=NULL
)) {
7043 var96
= "useless-signature";
7044 var98
= (val
*)(17l<<2|1);
7045 var99
= (val
*)(17l<<2|1);
7046 var100
= (val
*)((long)(0)<<2|3);
7047 var101
= (val
*)((long)(0)<<2|3);
7048 var97
= core__flat___CString___to_s_unsafe(var96
, var98
, var99
, var100
, var101
);
7052 if (unlikely(varonce102
==NULL
)) {
7053 var103
= NEW_core__NativeArray((int)3l, &type_core__NativeArray__core__String
);
7054 if (likely(varonce104
!=NULL
)) {
7055 var105
= varonce104
;
7057 var106
= "Warning: useless type repetition on redefined attribute `";
7058 var108
= (val
*)(57l<<2|1);
7059 var109
= (val
*)(57l<<2|1);
7060 var110
= (val
*)((long)(0)<<2|3);
7061 var111
= (val
*)((long)(0)<<2|3);
7062 var107
= core__flat___CString___to_s_unsafe(var106
, var108
, var109
, var110
, var111
);
7064 varonce104
= var105
;
7066 ((struct instance_core__NativeArray
*)var103
)->values
[0]=var105
;
7067 if (likely(varonce112
!=NULL
)) {
7068 var113
= varonce112
;
7071 var116
= (val
*)(1l<<2|1);
7072 var117
= (val
*)(1l<<2|1);
7073 var118
= (val
*)((long)(0)<<2|3);
7074 var119
= (val
*)((long)(0)<<2|3);
7075 var115
= core__flat___CString___to_s_unsafe(var114
, var116
, var117
, var118
, var119
);
7077 varonce112
= var113
;
7079 ((struct instance_core__NativeArray
*)var103
)->values
[2]=var113
;
7081 var103
= varonce102
;
7085 { /* Inline modelize_property$APropdef$mpropdef (self) on <self:AAttrPropdef> */
7086 var122
= self
->attrs
[COLOR_nitc__modelize_property__APropdef___mpropdef
].val
; /* _mpropdef on <self:AAttrPropdef> */
7088 RET_LABEL121
:(void)0;
7091 if (var120
== NULL
) {
7092 if(catchStack
.cursor
>= 0){
7093 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7095 PRINT_ERROR("Runtime error: %s", "Receiver is null");
7096 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 1599);
7099 var123
= nitc___nitc__MPropDef___nitc__model_base__MEntity__name(var120
);
7101 ((struct instance_core__NativeArray
*)var103
)->values
[1]=var123
;
7103 var124
= ((val
*(*)(val
* self
))(var103
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var103
); /* native_to_s on <var103:NativeArray[String]>*/
7105 varonce102
= var103
;
7107 nitc___nitc__ModelBuilder___advice(var_modelbuilder
, var92
, var95
, var124
); /* Direct call modelbuilder_base$ModelBuilder$advice on <var_modelbuilder:ModelBuilder>*/
7111 /* method modelize_property$ATypePropdef$build_property for (self: ATypePropdef, ModelBuilder, MClassDef) */
7112 void nitc__modelize_property___ATypePropdef___APropdef__build_property(val
* self
, val
* p0
, val
* p1
) {
7113 val
* var_modelbuilder
/* var modelbuilder: ModelBuilder */;
7114 val
* var_mclassdef
/* var mclassdef: MClassDef */;
7115 val
* var
/* : AQclassid */;
7116 val
* var2
/* : AQclassid */;
7117 val
* var3
/* : TClassid */;
7118 val
* var5
/* : TClassid */;
7119 val
* var6
/* : String */;
7120 val
* var_name
/* var name: String */;
7121 val
* var7
/* : AQclassid */;
7122 val
* var9
/* : AQclassid */;
7123 val
* var10
/* : nullable MProperty */;
7124 val
* var_mprop
/* var mprop: nullable MProperty */;
7125 short int var11
/* : Bool */;
7126 short int var12
/* : Bool */;
7127 val
* var_other
/* var other: nullable Object */;
7128 short int var14
/* : Bool */;
7129 short int var16
/* : Bool */;
7130 val
* var17
/* : nullable AVisibility */;
7131 val
* var19
/* : nullable AVisibility */;
7132 val
* var20
/* : MVisibility */;
7133 val
* var_mvisibility
/* var mvisibility: MVisibility */;
7134 val
* var21
/* : MVirtualTypeProp */;
7135 val
* var22
/* : Location */;
7136 val
* var24
/* : Location */;
7137 val
* var25
/* : SequenceRead[Char] */;
7138 val
* var_
/* var : SequenceRead[Char] */;
7139 val
* var26
/* : Iterator[nullable Object] */;
7140 val
* var_27
/* var : IndexedIterator[Char] */;
7141 short int var28
/* : Bool */;
7142 val
* var29
/* : nullable Object */;
7143 uint32_t var30
/* : Char */;
7144 uint32_t var_c
/* var c: Char */;
7145 short int var31
/* : Bool */;
7146 short int var32
/* : Bool */;
7147 short int var34
/* : Bool */;
7150 const char* var_class_name
;
7151 short int var35
/* : Bool */;
7152 short int var_36
/* var : Bool */;
7153 short int var37
/* : Bool */;
7154 short int var39
/* : Bool */;
7157 const char* var_class_name42
;
7158 short int var43
/* : Bool */;
7159 val
* var44
/* : AQclassid */;
7160 val
* var46
/* : AQclassid */;
7161 static val
* varonce
;
7162 val
* var47
/* : String */;
7163 char* var48
/* : CString */;
7164 val
* var49
/* : String */;
7165 val
* var50
/* : nullable Int */;
7166 val
* var51
/* : nullable Int */;
7167 val
* var52
/* : nullable Bool */;
7168 val
* var53
/* : nullable Bool */;
7169 val
* var55
/* : NativeArray[String] */;
7170 static val
* varonce54
;
7171 static val
* varonce56
;
7172 val
* var57
/* : String */;
7173 char* var58
/* : CString */;
7174 val
* var59
/* : String */;
7175 val
* var60
/* : nullable Int */;
7176 val
* var61
/* : nullable Int */;
7177 val
* var62
/* : nullable Bool */;
7178 val
* var63
/* : nullable Bool */;
7179 static val
* varonce64
;
7180 val
* var65
/* : String */;
7181 char* var66
/* : CString */;
7182 val
* var67
/* : String */;
7183 val
* var68
/* : nullable Int */;
7184 val
* var69
/* : nullable Int */;
7185 val
* var70
/* : nullable Bool */;
7186 val
* var71
/* : nullable Bool */;
7187 val
* var72
/* : String */;
7188 short int var73
/* : Bool */;
7189 short int var75
/* : Bool */;
7190 short int var76
/* : Bool */;
7193 val
* var79
/* : nullable AVisibility */;
7194 val
* var81
/* : nullable AVisibility */;
7195 val
* var82
/* : MVirtualTypeDef */;
7196 val
* var83
/* : Location */;
7197 val
* var85
/* : Location */;
7198 val
* var_mpropdef
/* var mpropdef: MVirtualTypeDef */;
7199 short int var86
/* : Bool */;
7202 const struct type
* type_struct
;
7203 const char* var_class_name89
;
7204 short int var91
/* : Bool */;
7207 const struct type
* type_struct94
;
7208 const char* var_class_name95
;
7209 short int var96
/* : Bool */;
7210 val
* var97
/* : ToolContext */;
7211 val
* var99
/* : ToolContext */;
7212 val
* var101
/* : NativeArray[String] */;
7213 static val
* varonce100
;
7214 static val
* varonce102
;
7215 val
* var103
/* : String */;
7216 char* var104
/* : CString */;
7217 val
* var105
/* : String */;
7218 val
* var106
/* : nullable Int */;
7219 val
* var107
/* : nullable Int */;
7220 val
* var108
/* : nullable Bool */;
7221 val
* var109
/* : nullable Bool */;
7222 val
* var110
/* : String */;
7223 val
* var111
/* : String */;
7224 val
* var112
/* : String */;
7225 val
* var113
/* : ToolContext */;
7226 val
* var115
/* : ToolContext */;
7227 val
* var117
/* : NativeArray[String] */;
7228 static val
* varonce116
;
7229 static val
* varonce118
;
7230 val
* var119
/* : String */;
7231 char* var120
/* : CString */;
7232 val
* var121
/* : String */;
7233 val
* var122
/* : nullable Int */;
7234 val
* var123
/* : nullable Int */;
7235 val
* var124
/* : nullable Bool */;
7236 val
* var125
/* : nullable Bool */;
7237 val
* var126
/* : String */;
7238 val
* var127
/* : String */;
7239 val
* var128
/* : String */;
7240 val
* var129
/* : nullable TKwredef */;
7241 val
* var131
/* : nullable TKwredef */;
7242 short int var132
/* : Bool */;
7243 short int var133
/* : Bool */;
7244 short int var134
/* : Bool */;
7245 short int var135
/* : Bool */;
7246 val
* var137
/* : Map[MProperty, APropdef] */;
7247 val
* var139
/* : Map[MProperty, APropdef] */;
7248 val
* var140
/* : HashMap[MPropDef, APropdef] */;
7249 val
* var142
/* : HashMap[MPropDef, APropdef] */;
7250 static val
* varonce143
;
7251 val
* var144
/* : String */;
7252 char* var145
/* : CString */;
7253 val
* var146
/* : String */;
7254 val
* var147
/* : nullable Int */;
7255 val
* var148
/* : nullable Int */;
7256 val
* var149
/* : nullable Bool */;
7257 val
* var150
/* : nullable Bool */;
7258 val
* var151
/* : nullable AAnnotation */;
7259 val
* var_atfixed
/* var atfixed: nullable AAnnotation */;
7260 short int var152
/* : Bool */;
7261 short int var153
/* : Bool */;
7262 val
* var_other155
/* var other: nullable Object */;
7263 short int var156
/* : Bool */;
7264 short int var157
/* : Bool */;
7265 var_modelbuilder
= p0
;
7268 { /* Inline parser_nodes$ATypePropdef$n_qid (self) on <self:ATypePropdef> */
7269 var2
= self
->attrs
[COLOR_nitc__parser_nodes__ATypePropdef___n_qid
].val
; /* _n_qid on <self:ATypePropdef> */
7270 if (unlikely(var2
== NULL
)) {
7271 if(catchStack
.cursor
>= 0){
7272 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7274 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid");
7275 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1556);
7283 { /* Inline parser_nodes$AQclassid$n_id (var) on <var:AQclassid> */
7284 var5
= var
->attrs
[COLOR_nitc__parser_nodes__AQclassid___n_id
].val
; /* _n_id on <var:AQclassid> */
7285 if (unlikely(var5
== NULL
)) {
7286 if(catchStack
.cursor
>= 0){
7287 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7289 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_id");
7290 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1733);
7298 var6
= nitc__lexer_work___Token___text(var3
);
7302 { /* Inline parser_nodes$ATypePropdef$n_qid (self) on <self:ATypePropdef> */
7303 var9
= self
->attrs
[COLOR_nitc__parser_nodes__ATypePropdef___n_qid
].val
; /* _n_qid on <self:ATypePropdef> */
7304 if (unlikely(var9
== NULL
)) {
7305 if(catchStack
.cursor
>= 0){
7306 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7308 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid");
7309 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1556);
7317 var10
= nitc___nitc__ModelBuilder___try_get_mproperty_by_name(var_modelbuilder
, var7
, var_mclassdef
, var_name
);
7320 if (var_mprop
== NULL
) {
7321 var11
= 1; /* is null */
7323 var11
= 0; /* arg is null but recv is not */
7326 { /* Inline kernel$Object$== (var_mprop,((val*)NULL)) on <var_mprop:nullable MProperty> */
7327 var_other
= ((val
*)NULL
);
7329 { /* Inline kernel$Object$is_same_instance (var_mprop,var_other) on <var_mprop:nullable MProperty(MProperty)> */
7330 var16
= var_mprop
== var_other
;
7333 RET_LABEL15
:(void)0;
7338 RET_LABEL13
:(void)0;
7344 { /* Inline parser_nodes$ADefinition$n_visibility (self) on <self:ATypePropdef> */
7345 var19
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
; /* _n_visibility on <self:ATypePropdef> */
7347 RET_LABEL18
:(void)0;
7351 var20
= nitc__modelize_property___APropdef___new_property_visibility(self
, var_modelbuilder
, var_mclassdef
, var17
);
7353 var_mvisibility
= var20
;
7354 var21
= NEW_nitc__MVirtualTypeProp(&type_nitc__MVirtualTypeProp
);
7356 { /* Inline parser_nodes$ANode$location (self) on <self:ATypePropdef> */
7357 var24
= self
->attrs
[COLOR_nitc__parser_nodes__ANode___location
].val
; /* _location on <self:ATypePropdef> */
7358 if (unlikely(var24
== NULL
)) {
7359 if(catchStack
.cursor
>= 0){
7360 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7362 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _location");
7363 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 25);
7367 RET_LABEL23
:(void)0;
7371 ((void(*)(val
* self
, val
* p0
))(var21
->class->vft
[COLOR_nitc__model__MProperty__intro_mclassdef_61d
]))(var21
, var_mclassdef
); /* intro_mclassdef= on <var21:MVirtualTypeProp>*/
7374 ((void(*)(val
* self
, val
* p0
))(var21
->class->vft
[COLOR_nitc__model__MProperty__name_61d
]))(var21
, var_name
); /* name= on <var21:MVirtualTypeProp>*/
7377 ((void(*)(val
* self
, val
* p0
))(var21
->class->vft
[COLOR_nitc__model__MProperty__location_61d
]))(var21
, var22
); /* location= on <var21:MVirtualTypeProp>*/
7380 ((void(*)(val
* self
, val
* p0
))(var21
->class->vft
[COLOR_nitc__model__MProperty__visibility_61d
]))(var21
, var_mvisibility
); /* visibility= on <var21:MVirtualTypeProp>*/
7383 ((void(*)(val
* self
))(var21
->class->vft
[COLOR_core__kernel__Object__init
]))(var21
); /* init on <var21:MVirtualTypeProp>*/
7387 var25
= ((val
*(*)(val
* self
))(var_name
->class->vft
[COLOR_core__abstract_text__Text__chars
]))(var_name
); /* chars on <var_name:String>*/
7391 var26
= ((val
*(*)(val
* self
))((((long)var_
&3)?class_info
[((long)var_
&3)]:var_
->class)->vft
[COLOR_core__abstract_collection__Collection__iterator
]))(var_
); /* iterator on <var_:SequenceRead[Char]>*/
7396 var28
= ((short int(*)(val
* self
))((((long)var_27
&3)?class_info
[((long)var_27
&3)]:var_27
->class)->vft
[COLOR_core__abstract_collection__Iterator__is_ok
]))(var_27
); /* is_ok on <var_27:IndexedIterator[Char]>*/
7403 var29
= ((val
*(*)(val
* self
))((((long)var_27
&3)?class_info
[((long)var_27
&3)]:var_27
->class)->vft
[COLOR_core__abstract_collection__Iterator__item
]))(var_27
); /* item on <var_27:IndexedIterator[Char]>*/
7405 var30
= (uint32_t)((long)(var29
)>>2);
7408 { /* Inline kernel$Char$>= (var_c,'a') on <var_c:Char> */
7409 /* Covariant cast for argument 0 (i) <'a':Char> isa OTHER */
7410 /* <'a':Char> isa OTHER */
7411 var34
= 1; /* easy <'a':Char> isa OTHER*/
7412 if (unlikely(!var34
)) {
7413 var_class_name
= type_core__Char
.name
;
7414 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
7415 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 915);
7418 var35
= var_c
>= 'a';
7421 RET_LABEL33
:(void)0;
7427 { /* Inline kernel$Char$<= (var_c,'z') on <var_c:Char> */
7428 /* Covariant cast for argument 0 (i) <'z':Char> isa OTHER */
7429 /* <'z':Char> isa OTHER */
7430 var39
= 1; /* easy <'z':Char> isa OTHER*/
7431 if (unlikely(!var39
)) {
7432 var_class_name42
= type_core__Char
.name
;
7433 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name42
);
7434 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 913);
7437 var43
= var_c
<= 'z';
7440 RET_LABEL38
:(void)0;
7449 { /* Inline parser_nodes$ATypePropdef$n_qid (self) on <self:ATypePropdef> */
7450 var46
= self
->attrs
[COLOR_nitc__parser_nodes__ATypePropdef___n_qid
].val
; /* _n_qid on <self:ATypePropdef> */
7451 if (unlikely(var46
== NULL
)) {
7452 if(catchStack
.cursor
>= 0){
7453 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7455 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_qid");
7456 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1556);
7460 RET_LABEL45
:(void)0;
7463 if (likely(varonce
!=NULL
)) {
7466 var48
= "bad-type-name";
7467 var50
= (val
*)(13l<<2|1);
7468 var51
= (val
*)(13l<<2|1);
7469 var52
= (val
*)((long)(0)<<2|3);
7470 var53
= (val
*)((long)(0)<<2|3);
7471 var49
= core__flat___CString___to_s_unsafe(var48
, var50
, var51
, var52
, var53
);
7475 if (unlikely(varonce54
==NULL
)) {
7476 var55
= NEW_core__NativeArray((int)3l, &type_core__NativeArray__core__String
);
7477 if (likely(varonce56
!=NULL
)) {
7480 var58
= "Warning: lowercase in the virtual type `";
7481 var60
= (val
*)(40l<<2|1);
7482 var61
= (val
*)(40l<<2|1);
7483 var62
= (val
*)((long)(0)<<2|3);
7484 var63
= (val
*)((long)(0)<<2|3);
7485 var59
= core__flat___CString___to_s_unsafe(var58
, var60
, var61
, var62
, var63
);
7489 ((struct instance_core__NativeArray
*)var55
)->values
[0]=var57
;
7490 if (likely(varonce64
!=NULL
)) {
7494 var68
= (val
*)(2l<<2|1);
7495 var69
= (val
*)(2l<<2|1);
7496 var70
= (val
*)((long)(0)<<2|3);
7497 var71
= (val
*)((long)(0)<<2|3);
7498 var67
= core__flat___CString___to_s_unsafe(var66
, var68
, var69
, var70
, var71
);
7502 ((struct instance_core__NativeArray
*)var55
)->values
[2]=var65
;
7507 ((struct instance_core__NativeArray
*)var55
)->values
[1]=var_name
;
7509 var72
= ((val
*(*)(val
* self
))(var55
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var55
); /* native_to_s on <var55:NativeArray[String]>*/
7513 nitc___nitc__ModelBuilder___warning(var_modelbuilder
, var44
, var47
, var72
); /* Direct call modelbuilder_base$ModelBuilder$warning on <var_modelbuilder:ModelBuilder>*/
7519 ((void(*)(val
* self
))((((long)var_27
&3)?class_info
[((long)var_27
&3)]:var_27
->class)->vft
[COLOR_core__abstract_collection__Iterator__next
]))(var_27
); /* next on <var_27:IndexedIterator[Char]>*/
7522 BREAK_label
: (void)0;
7524 ((void(*)(val
* self
))((((long)var_27
&3)?class_info
[((long)var_27
&3)]:var_27
->class)->vft
[COLOR_core__abstract_collection__Iterator__finish
]))(var_27
); /* finish on <var_27:IndexedIterator[Char]>*/
7528 { /* Inline model_base$MEntity$is_broken (var_mprop) on <var_mprop:nullable MProperty(MProperty)> */
7529 var75
= var_mprop
->attrs
[COLOR_nitc__model_base__MEntity___is_broken
].s
; /* _is_broken on <var_mprop:nullable MProperty(MProperty)> */
7531 RET_LABEL74
:(void)0;
7538 /* <var_mprop:nullable MProperty(MProperty)> isa MVirtualTypeProp */
7539 cltype77
= type_nitc__MVirtualTypeProp
.color
;
7540 idtype78
= type_nitc__MVirtualTypeProp
.id
;
7541 if(cltype77
>= var_mprop
->type
->table_size
) {
7544 var76
= var_mprop
->type
->type_table
[cltype77
] == idtype78
;
7546 if (unlikely(!var76
)) {
7547 if(catchStack
.cursor
>= 0){
7548 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7550 PRINT_ERROR("Runtime error: %s", "Assert failed");
7551 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 1619);
7555 { /* Inline parser_nodes$ADefinition$n_visibility (self) on <self:ATypePropdef> */
7556 var81
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_visibility
].val
; /* _n_visibility on <self:ATypePropdef> */
7558 RET_LABEL80
:(void)0;
7562 nitc__modelize_property___APropdef___check_redef_property_visibility(self
, var_modelbuilder
, var79
, var_mprop
); /* Direct call modelize_property$APropdef$check_redef_property_visibility on <self:ATypePropdef>*/
7565 var82
= NEW_nitc__MVirtualTypeDef(&type_nitc__MVirtualTypeDef
);
7567 { /* Inline parser_nodes$ANode$location (self) on <self:ATypePropdef> */
7568 var85
= self
->attrs
[COLOR_nitc__parser_nodes__ANode___location
].val
; /* _location on <self:ATypePropdef> */
7569 if (unlikely(var85
== NULL
)) {
7570 if(catchStack
.cursor
>= 0){
7571 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7573 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _location");
7574 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 25);
7578 RET_LABEL84
:(void)0;
7582 ((void(*)(val
* self
, val
* p0
))(var82
->class->vft
[COLOR_nitc__model__MPropDef__mclassdef_61d
]))(var82
, var_mclassdef
); /* mclassdef= on <var82:MVirtualTypeDef>*/
7585 ((void(*)(val
* self
, val
* p0
))(var82
->class->vft
[COLOR_nitc__model__MPropDef__mproperty_61d
]))(var82
, var_mprop
); /* mproperty= on <var82:MVirtualTypeDef>*/
7588 ((void(*)(val
* self
, val
* p0
))(var82
->class->vft
[COLOR_nitc__model__MPropDef__location_61d
]))(var82
, var83
); /* location= on <var82:MVirtualTypeDef>*/
7591 ((void(*)(val
* self
))(var82
->class->vft
[COLOR_core__kernel__Object__init
]))(var82
); /* init on <var82:MVirtualTypeDef>*/
7593 var_mpropdef
= var82
;
7594 /* <var_mpropdef:MVirtualTypeDef> isa nullable MPROPDEF */
7595 type_struct
= self
->type
->resolution_table
->types
[COLOR_nullable__nitc__modelize_property__APropdef__MPROPDEF
];
7596 cltype87
= type_struct
->color
;
7597 idtype88
= type_struct
->id
;
7598 if(cltype87
>= var_mpropdef
->type
->table_size
) {
7601 var86
= var_mpropdef
->type
->type_table
[cltype87
] == idtype88
;
7603 if (unlikely(!var86
)) {
7604 var_class_name89
= var_mpropdef
== NULL ?
"null" : var_mpropdef
->type
->name
;
7605 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable MPROPDEF", var_class_name89
);
7606 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 1624);
7610 { /* Inline modelize_property$APropdef$mpropdef= (self,var_mpropdef) on <self:ATypePropdef> */
7611 /* Covariant cast for argument 0 (mpropdef) <var_mpropdef:MVirtualTypeDef> isa nullable MPROPDEF */
7612 /* <var_mpropdef:MVirtualTypeDef> isa nullable MPROPDEF */
7613 type_struct94
= self
->type
->resolution_table
->types
[COLOR_nullable__nitc__modelize_property__APropdef__MPROPDEF
];
7614 cltype92
= type_struct94
->color
;
7615 idtype93
= type_struct94
->id
;
7616 if(cltype92
>= var_mpropdef
->type
->table_size
) {
7619 var91
= var_mpropdef
->type
->type_table
[cltype92
] == idtype93
;
7621 if (unlikely(!var91
)) {
7622 var_class_name95
= var_mpropdef
== NULL ?
"null" : var_mpropdef
->type
->name
;
7623 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "nullable MPROPDEF", var_class_name95
);
7624 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 557);
7627 self
->attrs
[COLOR_nitc__modelize_property__APropdef___mpropdef
].val
= var_mpropdef
; /* _mpropdef on <self:ATypePropdef> */
7628 RET_LABEL90
:(void)0;
7632 var96
= nitc___nitc__MPropDef___is_intro(var_mpropdef
);
7636 { /* Inline modelbuilder_base$ModelBuilder$toolcontext (var_modelbuilder) on <var_modelbuilder:ModelBuilder> */
7637 var99
= var_modelbuilder
->attrs
[COLOR_nitc__modelbuilder_base__ModelBuilder___toolcontext
].val
; /* _toolcontext on <var_modelbuilder:ModelBuilder> */
7638 if (unlikely(var99
== NULL
)) {
7639 if(catchStack
.cursor
>= 0){
7640 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7642 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _toolcontext");
7643 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelbuilder_base
, 47);
7647 RET_LABEL98
:(void)0;
7650 if (unlikely(varonce100
==NULL
)) {
7651 var101
= NEW_core__NativeArray((int)3l, &type_core__NativeArray__core__String
);
7652 if (likely(varonce102
!=NULL
)) {
7653 var103
= varonce102
;
7655 var104
= " introduces new type ";
7656 var106
= (val
*)(21l<<2|1);
7657 var107
= (val
*)(21l<<2|1);
7658 var108
= (val
*)((long)(0)<<2|3);
7659 var109
= (val
*)((long)(0)<<2|3);
7660 var105
= core__flat___CString___to_s_unsafe(var104
, var106
, var107
, var108
, var109
);
7662 varonce102
= var103
;
7664 ((struct instance_core__NativeArray
*)var101
)->values
[1]=var103
;
7666 var101
= varonce100
;
7670 var110
= ((val
*(*)(val
* self
))(var_mpropdef
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var_mpropdef
); /* to_s on <var_mpropdef:MVirtualTypeDef>*/
7672 ((struct instance_core__NativeArray
*)var101
)->values
[0]=var110
;
7674 var111
= nitc___nitc__MProperty___nitc__model_base__MEntity__full_name(var_mprop
);
7676 ((struct instance_core__NativeArray
*)var101
)->values
[2]=var111
;
7678 var112
= ((val
*(*)(val
* self
))(var101
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var101
); /* native_to_s on <var101:NativeArray[String]>*/
7680 varonce100
= var101
;
7682 nitc___nitc__ToolContext___info(var97
, var112
, 4l); /* Direct call toolcontext$ToolContext$info on <var97:ToolContext>*/
7686 { /* Inline modelbuilder_base$ModelBuilder$toolcontext (var_modelbuilder) on <var_modelbuilder:ModelBuilder> */
7687 var115
= var_modelbuilder
->attrs
[COLOR_nitc__modelbuilder_base__ModelBuilder___toolcontext
].val
; /* _toolcontext on <var_modelbuilder:ModelBuilder> */
7688 if (unlikely(var115
== NULL
)) {
7689 if(catchStack
.cursor
>= 0){
7690 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7692 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _toolcontext");
7693 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelbuilder_base
, 47);
7697 RET_LABEL114
:(void)0;
7700 if (unlikely(varonce116
==NULL
)) {
7701 var117
= NEW_core__NativeArray((int)3l, &type_core__NativeArray__core__String
);
7702 if (likely(varonce118
!=NULL
)) {
7703 var119
= varonce118
;
7705 var120
= " redefines type ";
7706 var122
= (val
*)(16l<<2|1);
7707 var123
= (val
*)(16l<<2|1);
7708 var124
= (val
*)((long)(0)<<2|3);
7709 var125
= (val
*)((long)(0)<<2|3);
7710 var121
= core__flat___CString___to_s_unsafe(var120
, var122
, var123
, var124
, var125
);
7712 varonce118
= var119
;
7714 ((struct instance_core__NativeArray
*)var117
)->values
[1]=var119
;
7716 var117
= varonce116
;
7720 var126
= ((val
*(*)(val
* self
))(var_mpropdef
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var_mpropdef
); /* to_s on <var_mpropdef:MVirtualTypeDef>*/
7722 ((struct instance_core__NativeArray
*)var117
)->values
[0]=var126
;
7724 var127
= nitc___nitc__MProperty___nitc__model_base__MEntity__full_name(var_mprop
);
7726 ((struct instance_core__NativeArray
*)var117
)->values
[2]=var127
;
7728 var128
= ((val
*(*)(val
* self
))(var117
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var117
); /* native_to_s on <var117:NativeArray[String]>*/
7730 varonce116
= var117
;
7732 nitc___nitc__ToolContext___info(var113
, var128
, 4l); /* Direct call toolcontext$ToolContext$info on <var113:ToolContext>*/
7736 { /* Inline parser_nodes$ADefinition$n_kwredef (self) on <self:ATypePropdef> */
7737 var131
= self
->attrs
[COLOR_nitc__parser_nodes__ADefinition___n_kwredef
].val
; /* _n_kwredef on <self:ATypePropdef> */
7739 RET_LABEL130
:(void)0;
7743 var132
= nitc___nitc__MPropDef___is_intro(var_mpropdef
);
7747 var134
= nitc__modelize_property___APropdef___check_redef_keyword(self
, var_modelbuilder
, var_mclassdef
, var129
, var133
, var_mprop
);
7752 { /* Inline model_base$MEntity$is_broken= (var_mpropdef,1) on <var_mpropdef:MVirtualTypeDef> */
7753 var_mpropdef
->attrs
[COLOR_nitc__model_base__MEntity___is_broken
].s
= 1; /* _is_broken on <var_mpropdef:MVirtualTypeDef> */
7754 RET_LABEL136
:(void)0;
7760 { /* Inline modelize_property$MClassDef$mprop2npropdef (var_mclassdef) on <var_mclassdef:MClassDef> */
7761 var139
= var_mclassdef
->attrs
[COLOR_nitc__modelize_property__MClassDef___mprop2npropdef
].val
; /* _mprop2npropdef on <var_mclassdef:MClassDef> */
7762 if (unlikely(var139
== NULL
)) {
7763 if(catchStack
.cursor
>= 0){
7764 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7766 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mprop2npropdef");
7767 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 504);
7771 RET_LABEL138
:(void)0;
7775 ((void(*)(val
* self
, val
* p0
, val
* p1
))((((long)var137
&3)?class_info
[((long)var137
&3)]:var137
->class)->vft
[COLOR_core__abstract_collection__Map___91d_93d_61d
]))(var137
, var_mprop
, self
); /* []= on <var137:Map[MProperty, APropdef]>*/
7778 { /* Inline modelize_property$ModelBuilder$mpropdef2npropdef (var_modelbuilder) on <var_modelbuilder:ModelBuilder> */
7779 var142
= var_modelbuilder
->attrs
[COLOR_nitc__modelize_property__ModelBuilder___mpropdef2npropdef
].val
; /* _mpropdef2npropdef on <var_modelbuilder:ModelBuilder> */
7780 if (unlikely(var142
== NULL
)) {
7781 if(catchStack
.cursor
>= 0){
7782 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7784 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mpropdef2npropdef");
7785 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__modelize_property
, 40);
7789 RET_LABEL141
:(void)0;
7793 core___core__HashMap___core__abstract_collection__Map___91d_93d_61d(var140
, var_mpropdef
, self
); /* Direct call hash_collection$HashMap$[]= on <var140:HashMap[MPropDef, APropdef]>*/
7796 nitc__modelize_property___APropdef___set_doc(self
, var_mpropdef
, var_modelbuilder
); /* Direct call modelize_property$APropdef$set_doc on <self:ATypePropdef>*/
7798 if (likely(varonce143
!=NULL
)) {
7799 var144
= varonce143
;
7802 var147
= (val
*)(5l<<2|1);
7803 var148
= (val
*)(5l<<2|1);
7804 var149
= (val
*)((long)(0)<<2|3);
7805 var150
= (val
*)((long)(0)<<2|3);
7806 var146
= core__flat___CString___to_s_unsafe(var145
, var147
, var148
, var149
, var150
);
7808 varonce143
= var144
;
7811 var151
= nitc__annotation___Prod___get_single_annotation(self
, var144
, var_modelbuilder
);
7813 var_atfixed
= var151
;
7814 if (var_atfixed
== NULL
) {
7815 var152
= 0; /* is null */
7817 var152
= 1; /* arg is null and recv is not */
7820 { /* Inline kernel$Object$!= (var_atfixed,((val*)NULL)) on <var_atfixed:nullable AAnnotation> */
7821 var_other155
= ((val
*)NULL
);
7823 var156
= ((short int(*)(val
* self
, val
* p0
))(var_atfixed
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_atfixed
, var_other155
); /* == on <var_atfixed:nullable AAnnotation(AAnnotation)>*/
7828 RET_LABEL154
:(void)0;
7834 { /* Inline model$MVirtualTypeDef$is_fixed= (var_mpropdef,1) on <var_mpropdef:MVirtualTypeDef> */
7835 var_mpropdef
->attrs
[COLOR_nitc__model__MVirtualTypeDef___is_fixed
].s
= 1; /* _is_fixed on <var_mpropdef:MVirtualTypeDef> */
7836 RET_LABEL158
:(void)0;
7843 /* method modelize_property$ATypePropdef$build_signature for (self: ATypePropdef, ModelBuilder) */
7844 void nitc__modelize_property___ATypePropdef___APropdef__build_signature(val
* self
, val
* p0
) {
7845 val
* var_modelbuilder
/* var modelbuilder: ModelBuilder */;
7846 val
* var
/* : nullable MPropDef */;
7847 val
* var2
/* : nullable MPropDef */;
7848 val
* var_mpropdef
/* var mpropdef: nullable MVirtualTypeDef */;
7849 short int var3
/* : Bool */;
7850 short int var4
/* : Bool */;
7851 val
* var_other
/* var other: nullable Object */;
7852 short int var6
/* : Bool */;
7853 short int var8
/* : Bool */;
7854 val
* var9
/* : MClassDef */;
7855 val
* var11
/* : MClassDef */;
7856 val
* var_mclassdef
/* var mclassdef: MClassDef */;
7857 val
* var12
/* : MModule */;
7858 val
* var14
/* : MModule */;
7859 val
* var_mmodule
/* var mmodule: MModule */;
7860 val
* var_mtype
/* var mtype: nullable MType */;
7861 val
* var15
/* : AType */;
7862 val
* var17
/* : AType */;
7863 val
* var_ntype
/* var ntype: AType */;
7864 val
* var18
/* : nullable MType */;
7865 short int var19
/* : Bool */;
7866 short int var20
/* : Bool */;
7867 short int var22
/* : Bool */;
7868 short int var24
/* : Bool */;
7869 var_modelbuilder
= p0
;
7871 { /* Inline modelize_property$APropdef$mpropdef (self) on <self:ATypePropdef> */
7872 var2
= self
->attrs
[COLOR_nitc__modelize_property__APropdef___mpropdef
].val
; /* _mpropdef on <self:ATypePropdef> */
7878 if (var_mpropdef
== NULL
) {
7879 var3
= 1; /* is null */
7881 var3
= 0; /* arg is null but recv is not */
7884 { /* Inline kernel$Object$== (var_mpropdef,((val*)NULL)) on <var_mpropdef:nullable MVirtualTypeDef> */
7885 var_other
= ((val
*)NULL
);
7887 { /* Inline kernel$Object$is_same_instance (var_mpropdef,var_other) on <var_mpropdef:nullable MVirtualTypeDef(MVirtualTypeDef)> */
7888 var8
= var_mpropdef
== var_other
;
7905 { /* Inline model$MPropDef$mclassdef (var_mpropdef) on <var_mpropdef:nullable MVirtualTypeDef(MVirtualTypeDef)> */
7906 var11
= var_mpropdef
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <var_mpropdef:nullable MVirtualTypeDef(MVirtualTypeDef)> */
7907 if (unlikely(var11
== NULL
)) {
7908 if(catchStack
.cursor
>= 0){
7909 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7911 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
7912 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
7916 RET_LABEL10
:(void)0;
7919 var_mclassdef
= var9
;
7921 { /* Inline model$MClassDef$mmodule (var_mclassdef) on <var_mclassdef:MClassDef> */
7922 var14
= var_mclassdef
->attrs
[COLOR_nitc__model__MClassDef___mmodule
].val
; /* _mmodule on <var_mclassdef:MClassDef> */
7923 if (unlikely(var14
== NULL
)) {
7924 if(catchStack
.cursor
>= 0){
7925 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7927 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule");
7928 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 588);
7932 RET_LABEL13
:(void)0;
7935 var_mmodule
= var12
;
7936 var_mtype
= ((val
*)NULL
);
7938 { /* Inline parser_nodes$ATypePropdef$n_type (self) on <self:ATypePropdef> */
7939 var17
= self
->attrs
[COLOR_nitc__parser_nodes__ATypePropdef___n_type
].val
; /* _n_type on <self:ATypePropdef> */
7940 if (unlikely(var17
== NULL
)) {
7941 if(catchStack
.cursor
>= 0){
7942 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
7944 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
7945 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1559);
7949 RET_LABEL16
:(void)0;
7954 var18
= nitc___nitc__ModelBuilder___resolve_mtype_unchecked(var_modelbuilder
, var_mmodule
, var_mclassdef
, var_ntype
, 1);
7957 if (var_mtype
== NULL
) {
7958 var19
= 1; /* is null */
7960 var19
= 0; /* arg is null but recv is not */
7963 { /* Inline kernel$Object$== (var_mtype,((val*)NULL)) on <var_mtype:nullable MType> */
7964 var_other
= ((val
*)NULL
);
7966 { /* Inline kernel$Object$is_same_instance (var_mtype,var_other) on <var_mtype:nullable MType(MType)> */
7967 var24
= var_mtype
== var_other
;
7970 RET_LABEL23
:(void)0;
7975 RET_LABEL21
:(void)0;
7984 { /* Inline model$MVirtualTypeDef$bound= (var_mpropdef,var_mtype) on <var_mpropdef:nullable MVirtualTypeDef(MVirtualTypeDef)> */
7985 var_mpropdef
->attrs
[COLOR_nitc__model__MVirtualTypeDef___bound
].val
= var_mtype
; /* _bound on <var_mpropdef:nullable MVirtualTypeDef(MVirtualTypeDef)> */
7986 RET_LABEL25
:(void)0;
7991 /* method modelize_property$ATypePropdef$check_signature for (self: ATypePropdef, ModelBuilder) */
7992 void nitc__modelize_property___ATypePropdef___APropdef__check_signature(val
* self
, val
* p0
) {
7993 val
* var_modelbuilder
/* var modelbuilder: ModelBuilder */;
7994 val
* var
/* : nullable MPropDef */;
7995 val
* var2
/* : nullable MPropDef */;
7996 val
* var_mpropdef
/* var mpropdef: nullable MVirtualTypeDef */;
7997 short int var3
/* : Bool */;
7998 short int var4
/* : Bool */;
7999 val
* var_other
/* var other: nullable Object */;
8000 short int var6
/* : Bool */;
8001 short int var8
/* : Bool */;
8002 val
* var9
/* : nullable MType */;
8003 val
* var11
/* : nullable MType */;
8004 val
* var_bound
/* var bound: nullable MType */;
8005 short int var12
/* : Bool */;
8006 short int var13
/* : Bool */;
8007 short int var15
/* : Bool */;
8008 short int var17
/* : Bool */;
8009 val
* var18
/* : AType */;
8010 val
* var20
/* : AType */;
8011 val
* var21
/* : MClassDef */;
8012 val
* var23
/* : MClassDef */;
8013 val
* var_mclassdef
/* var mclassdef: MClassDef */;
8014 val
* var24
/* : MModule */;
8015 val
* var26
/* : MModule */;
8016 val
* var_mmodule
/* var mmodule: MModule */;
8017 val
* var27
/* : MClassType */;
8018 val
* var29
/* : MClassType */;
8019 val
* var_anchor
/* var anchor: MClassType */;
8020 val
* var30
/* : AType */;
8021 val
* var32
/* : AType */;
8022 val
* var_ntype
/* var ntype: AType */;
8023 val
* var33
/* : nullable MType */;
8024 short int var34
/* : Bool */;
8025 short int var35
/* : Bool */;
8026 short int var37
/* : Bool */;
8027 short int var39
/* : Bool */;
8028 val
* var41
/* : MProperty */;
8029 val
* var43
/* : MProperty */;
8030 val
* var44
/* : Array[MPropDef] */;
8031 val
* var_
/* var : Array[MVirtualTypeDef] */;
8032 val
* var45
/* : IndexedIterator[nullable Object] */;
8033 val
* var_46
/* var : IndexedIterator[MVirtualTypeDef] */;
8034 short int var47
/* : Bool */;
8035 val
* var48
/* : nullable Object */;
8036 val
* var_p
/* var p: MVirtualTypeDef */;
8037 val
* var49
/* : nullable MType */;
8038 val
* var51
/* : nullable MType */;
8039 val
* var_supbound
/* var supbound: nullable MType */;
8040 short int var52
/* : Bool */;
8041 short int var53
/* : Bool */;
8042 short int var54
/* : Bool */;
8043 short int var55
/* : Bool */;
8044 short int var57
/* : Bool */;
8045 short int var59
/* : Bool */;
8046 short int var_60
/* var : Bool */;
8047 short int var61
/* : Bool */;
8050 short int var_62
/* var : Bool */;
8051 short int var63
/* : Bool */;
8052 short int var65
/* : Bool */;
8053 short int var66
/* : Bool */;
8054 short int var68
/* : Bool */;
8055 val
* var69
/* : NativeArray[String] */;
8056 static val
* varonce
;
8057 static val
* varonce70
;
8058 val
* var71
/* : String */;
8059 char* var72
/* : CString */;
8060 val
* var73
/* : String */;
8061 val
* var74
/* : nullable Int */;
8062 val
* var75
/* : nullable Int */;
8063 val
* var76
/* : nullable Bool */;
8064 val
* var77
/* : nullable Bool */;
8065 static val
* varonce78
;
8066 val
* var79
/* : String */;
8067 char* var80
/* : CString */;
8068 val
* var81
/* : String */;
8069 val
* var82
/* : nullable Int */;
8070 val
* var83
/* : nullable Int */;
8071 val
* var84
/* : nullable Bool */;
8072 val
* var85
/* : nullable Bool */;
8073 static val
* varonce86
;
8074 val
* var87
/* : String */;
8075 char* var88
/* : CString */;
8076 val
* var89
/* : String */;
8077 val
* var90
/* : nullable Int */;
8078 val
* var91
/* : nullable Int */;
8079 val
* var92
/* : nullable Bool */;
8080 val
* var93
/* : nullable Bool */;
8081 val
* var94
/* : MProperty */;
8082 val
* var96
/* : MProperty */;
8083 val
* var97
/* : String */;
8084 val
* var98
/* : MClassDef */;
8085 val
* var100
/* : MClassDef */;
8086 val
* var101
/* : MClass */;
8087 val
* var103
/* : MClass */;
8088 val
* var104
/* : String */;
8089 val
* var105
/* : String */;
8090 val
* var106
/* : MClassDef */;
8091 val
* var108
/* : MClassDef */;
8092 val
* var109
/* : MClass */;
8093 val
* var111
/* : MClass */;
8094 val
* var112
/* : MClass */;
8095 val
* var114
/* : MClass */;
8096 short int var115
/* : Bool */;
8097 short int var117
/* : Bool */;
8098 short int var119
/* : Bool */;
8099 val
* var120
/* : AType */;
8100 val
* var122
/* : AType */;
8101 static val
* varonce123
;
8102 val
* var124
/* : String */;
8103 char* var125
/* : CString */;
8104 val
* var126
/* : String */;
8105 val
* var127
/* : nullable Int */;
8106 val
* var128
/* : nullable Int */;
8107 val
* var129
/* : nullable Bool */;
8108 val
* var130
/* : nullable Bool */;
8109 val
* var131
/* : AType */;
8110 val
* var133
/* : AType */;
8111 short int var134
/* : Bool */;
8112 short int var135
/* : Bool */;
8113 val
* var136
/* : AType */;
8114 val
* var138
/* : AType */;
8115 val
* var140
/* : NativeArray[String] */;
8116 static val
* varonce139
;
8117 static val
* varonce141
;
8118 val
* var142
/* : String */;
8119 char* var143
/* : CString */;
8120 val
* var144
/* : String */;
8121 val
* var145
/* : nullable Int */;
8122 val
* var146
/* : nullable Int */;
8123 val
* var147
/* : nullable Bool */;
8124 val
* var148
/* : nullable Bool */;
8125 static val
* varonce149
;
8126 val
* var150
/* : String */;
8127 char* var151
/* : CString */;
8128 val
* var152
/* : String */;
8129 val
* var153
/* : nullable Int */;
8130 val
* var154
/* : nullable Int */;
8131 val
* var155
/* : nullable Bool */;
8132 val
* var156
/* : nullable Bool */;
8133 static val
* varonce157
;
8134 val
* var158
/* : String */;
8135 char* var159
/* : CString */;
8136 val
* var160
/* : String */;
8137 val
* var161
/* : nullable Int */;
8138 val
* var162
/* : nullable Int */;
8139 val
* var163
/* : nullable Bool */;
8140 val
* var164
/* : nullable Bool */;
8141 val
* var165
/* : String */;
8142 val
* var166
/* : String */;
8143 val
* var167
/* : String */;
8144 var_modelbuilder
= p0
;
8146 { /* Inline modelize_property$APropdef$mpropdef (self) on <self:ATypePropdef> */
8147 var2
= self
->attrs
[COLOR_nitc__modelize_property__APropdef___mpropdef
].val
; /* _mpropdef on <self:ATypePropdef> */
8153 if (var_mpropdef
== NULL
) {
8154 var3
= 1; /* is null */
8156 var3
= 0; /* arg is null but recv is not */
8159 { /* Inline kernel$Object$== (var_mpropdef,((val*)NULL)) on <var_mpropdef:nullable MVirtualTypeDef> */
8160 var_other
= ((val
*)NULL
);
8162 { /* Inline kernel$Object$is_same_instance (var_mpropdef,var_other) on <var_mpropdef:nullable MVirtualTypeDef(MVirtualTypeDef)> */
8163 var8
= var_mpropdef
== var_other
;
8180 { /* Inline model$MVirtualTypeDef$bound (var_mpropdef) on <var_mpropdef:nullable MVirtualTypeDef(MVirtualTypeDef)> */
8181 var11
= var_mpropdef
->attrs
[COLOR_nitc__model__MVirtualTypeDef___bound
].val
; /* _bound on <var_mpropdef:nullable MVirtualTypeDef(MVirtualTypeDef)> */
8183 RET_LABEL10
:(void)0;
8187 if (var_bound
== NULL
) {
8188 var12
= 1; /* is null */
8190 var12
= 0; /* arg is null but recv is not */
8193 { /* Inline kernel$Object$== (var_bound,((val*)NULL)) on <var_bound:nullable MType> */
8194 var_other
= ((val
*)NULL
);
8196 { /* Inline kernel$Object$is_same_instance (var_bound,var_other) on <var_bound:nullable MType(MType)> */
8197 var17
= var_bound
== var_other
;
8200 RET_LABEL16
:(void)0;
8205 RET_LABEL14
:(void)0;
8214 { /* Inline parser_nodes$ATypePropdef$n_type (self) on <self:ATypePropdef> */
8215 var20
= self
->attrs
[COLOR_nitc__parser_nodes__ATypePropdef___n_type
].val
; /* _n_type on <self:ATypePropdef> */
8216 if (unlikely(var20
== NULL
)) {
8217 if(catchStack
.cursor
>= 0){
8218 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8220 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
8221 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1559);
8225 RET_LABEL19
:(void)0;
8229 nitc__modelize_property___ModelBuilder___check_visibility(var_modelbuilder
, var18
, var_bound
, var_mpropdef
); /* Direct call modelize_property$ModelBuilder$check_visibility on <var_modelbuilder:ModelBuilder>*/
8232 { /* Inline model$MPropDef$mclassdef (var_mpropdef) on <var_mpropdef:nullable MVirtualTypeDef(MVirtualTypeDef)> */
8233 var23
= var_mpropdef
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <var_mpropdef:nullable MVirtualTypeDef(MVirtualTypeDef)> */
8234 if (unlikely(var23
== NULL
)) {
8235 if(catchStack
.cursor
>= 0){
8236 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8238 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
8239 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
8243 RET_LABEL22
:(void)0;
8246 var_mclassdef
= var21
;
8248 { /* Inline model$MClassDef$mmodule (var_mclassdef) on <var_mclassdef:MClassDef> */
8249 var26
= var_mclassdef
->attrs
[COLOR_nitc__model__MClassDef___mmodule
].val
; /* _mmodule on <var_mclassdef:MClassDef> */
8250 if (unlikely(var26
== NULL
)) {
8251 if(catchStack
.cursor
>= 0){
8252 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8254 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule");
8255 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 588);
8259 RET_LABEL25
:(void)0;
8262 var_mmodule
= var24
;
8264 { /* Inline model$MClassDef$bound_mtype (var_mclassdef) on <var_mclassdef:MClassDef> */
8265 var29
= var_mclassdef
->attrs
[COLOR_nitc__model__MClassDef___bound_mtype
].val
; /* _bound_mtype on <var_mclassdef:MClassDef> */
8266 if (unlikely(var29
== NULL
)) {
8267 if(catchStack
.cursor
>= 0){
8268 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8270 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _bound_mtype");
8271 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 594);
8275 RET_LABEL28
:(void)0;
8280 { /* Inline parser_nodes$ATypePropdef$n_type (self) on <self:ATypePropdef> */
8281 var32
= self
->attrs
[COLOR_nitc__parser_nodes__ATypePropdef___n_type
].val
; /* _n_type on <self:ATypePropdef> */
8282 if (unlikely(var32
== NULL
)) {
8283 if(catchStack
.cursor
>= 0){
8284 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8286 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
8287 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1559);
8291 RET_LABEL31
:(void)0;
8296 var33
= nitc___nitc__ModelBuilder___resolve_mtype(var_modelbuilder
, var_mmodule
, var_mclassdef
, var_ntype
);
8298 if (var33
== NULL
) {
8299 var34
= 1; /* is null */
8301 var34
= 0; /* arg is null but recv is not */
8304 { /* Inline kernel$Object$== (var33,((val*)NULL)) on <var33:nullable MType> */
8305 var_other
= ((val
*)NULL
);
8307 { /* Inline kernel$Object$is_same_instance (var33,var_other) on <var33:nullable MType(MType)> */
8308 var39
= var33
== var_other
;
8311 RET_LABEL38
:(void)0;
8316 RET_LABEL36
:(void)0;
8322 { /* Inline model$MVirtualTypeDef$bound= (var_mpropdef,((val*)NULL)) on <var_mpropdef:nullable MVirtualTypeDef(MVirtualTypeDef)> */
8323 var_mpropdef
->attrs
[COLOR_nitc__model__MVirtualTypeDef___bound
].val
= ((val
*)NULL
); /* _bound on <var_mpropdef:nullable MVirtualTypeDef(MVirtualTypeDef)> */
8324 RET_LABEL40
:(void)0;
8331 { /* Inline model$MPropDef$mproperty (var_mpropdef) on <var_mpropdef:nullable MVirtualTypeDef(MVirtualTypeDef)> */
8332 var43
= var_mpropdef
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <var_mpropdef:nullable MVirtualTypeDef(MVirtualTypeDef)> */
8333 if (unlikely(var43
== NULL
)) {
8334 if(catchStack
.cursor
>= 0){
8335 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8337 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
8338 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
8342 RET_LABEL42
:(void)0;
8346 var44
= nitc___nitc__MProperty___lookup_super_definitions(var41
, var_mmodule
, var_anchor
);
8350 var45
= core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(var_
);
8355 var47
= ((short int(*)(val
* self
))((((long)var_46
&3)?class_info
[((long)var_46
&3)]:var_46
->class)->vft
[COLOR_core__abstract_collection__Iterator__is_ok
]))(var_46
); /* is_ok on <var_46:IndexedIterator[MVirtualTypeDef]>*/
8362 var48
= ((val
*(*)(val
* self
))((((long)var_46
&3)?class_info
[((long)var_46
&3)]:var_46
->class)->vft
[COLOR_core__abstract_collection__Iterator__item
]))(var_46
); /* item on <var_46:IndexedIterator[MVirtualTypeDef]>*/
8366 { /* Inline model$MVirtualTypeDef$bound (var_p) on <var_p:MVirtualTypeDef> */
8367 var51
= var_p
->attrs
[COLOR_nitc__model__MVirtualTypeDef___bound
].val
; /* _bound on <var_p:MVirtualTypeDef> */
8369 RET_LABEL50
:(void)0;
8372 var_supbound
= var49
;
8373 if (var_supbound
== NULL
) {
8374 var54
= 1; /* is null */
8376 var54
= 0; /* arg is null but recv is not */
8379 { /* Inline kernel$Object$== (var_supbound,((val*)NULL)) on <var_supbound:nullable MType> */
8380 var_other
= ((val
*)NULL
);
8382 { /* Inline kernel$Object$is_same_instance (var_supbound,var_other) on <var_supbound:nullable MType(MType)> */
8383 var59
= var_supbound
== var_other
;
8386 RET_LABEL58
:(void)0;
8391 RET_LABEL56
:(void)0;
8399 /* <var_supbound:nullable MType(MType)> isa MBottomType */
8400 cltype
= type_nitc__MBottomType
.color
;
8401 idtype
= type_nitc__MBottomType
.id
;
8402 if(cltype
>= var_supbound
->type
->table_size
) {
8405 var61
= var_supbound
->type
->type_table
[cltype
] == idtype
;
8414 { /* Inline model_base$MEntity$is_broken (var_p) on <var_p:MVirtualTypeDef> */
8415 var65
= var_p
->attrs
[COLOR_nitc__model_base__MEntity___is_broken
].s
; /* _is_broken on <var_p:MVirtualTypeDef> */
8417 RET_LABEL64
:(void)0;
8427 { /* Inline model$MVirtualTypeDef$is_fixed (var_p) on <var_p:MVirtualTypeDef> */
8428 var68
= var_p
->attrs
[COLOR_nitc__model__MVirtualTypeDef___is_fixed
].s
; /* _is_fixed on <var_p:MVirtualTypeDef> */
8430 RET_LABEL67
:(void)0;
8434 if (unlikely(varonce
==NULL
)) {
8435 var69
= NEW_core__NativeArray((int)5l, &type_core__NativeArray__core__String
);
8436 if (likely(varonce70
!=NULL
)) {
8439 var72
= "Redef Error: virtual type `";
8440 var74
= (val
*)(27l<<2|1);
8441 var75
= (val
*)(27l<<2|1);
8442 var76
= (val
*)((long)(0)<<2|3);
8443 var77
= (val
*)((long)(0)<<2|3);
8444 var73
= core__flat___CString___to_s_unsafe(var72
, var74
, var75
, var76
, var77
);
8448 ((struct instance_core__NativeArray
*)var69
)->values
[0]=var71
;
8449 if (likely(varonce78
!=NULL
)) {
8452 var80
= "` is fixed in super-class `";
8453 var82
= (val
*)(27l<<2|1);
8454 var83
= (val
*)(27l<<2|1);
8455 var84
= (val
*)((long)(0)<<2|3);
8456 var85
= (val
*)((long)(0)<<2|3);
8457 var81
= core__flat___CString___to_s_unsafe(var80
, var82
, var83
, var84
, var85
);
8461 ((struct instance_core__NativeArray
*)var69
)->values
[2]=var79
;
8462 if (likely(varonce86
!=NULL
)) {
8466 var90
= (val
*)(2l<<2|1);
8467 var91
= (val
*)(2l<<2|1);
8468 var92
= (val
*)((long)(0)<<2|3);
8469 var93
= (val
*)((long)(0)<<2|3);
8470 var89
= core__flat___CString___to_s_unsafe(var88
, var90
, var91
, var92
, var93
);
8474 ((struct instance_core__NativeArray
*)var69
)->values
[4]=var87
;
8480 { /* Inline model$MPropDef$mproperty (var_mpropdef) on <var_mpropdef:nullable MVirtualTypeDef(MVirtualTypeDef)> */
8481 var96
= var_mpropdef
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <var_mpropdef:nullable MVirtualTypeDef(MVirtualTypeDef)> */
8482 if (unlikely(var96
== NULL
)) {
8483 if(catchStack
.cursor
>= 0){
8484 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8486 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
8487 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
8491 RET_LABEL95
:(void)0;
8495 var97
= ((val
*(*)(val
* self
))(var94
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var94
); /* to_s on <var94:MProperty(MVirtualTypeProp)>*/
8497 ((struct instance_core__NativeArray
*)var69
)->values
[1]=var97
;
8499 { /* Inline model$MPropDef$mclassdef (var_p) on <var_p:MVirtualTypeDef> */
8500 var100
= var_p
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <var_p:MVirtualTypeDef> */
8501 if (unlikely(var100
== NULL
)) {
8502 if(catchStack
.cursor
>= 0){
8503 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8505 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
8506 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
8510 RET_LABEL99
:(void)0;
8514 { /* Inline model$MClassDef$mclass (var98) on <var98:MClassDef> */
8515 var103
= var98
->attrs
[COLOR_nitc__model__MClassDef___mclass
].val
; /* _mclass on <var98:MClassDef> */
8516 if (unlikely(var103
== NULL
)) {
8517 if(catchStack
.cursor
>= 0){
8518 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8520 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass");
8521 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 591);
8525 RET_LABEL102
:(void)0;
8529 var104
= ((val
*(*)(val
* self
))(var101
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var101
); /* to_s on <var101:MClass>*/
8531 ((struct instance_core__NativeArray
*)var69
)->values
[3]=var104
;
8533 var105
= ((val
*(*)(val
* self
))(var69
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var69
); /* native_to_s on <var69:NativeArray[String]>*/
8537 nitc___nitc__ModelBuilder___error(var_modelbuilder
, self
, var105
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
8543 { /* Inline model$MPropDef$mclassdef (var_p) on <var_p:MVirtualTypeDef> */
8544 var108
= var_p
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <var_p:MVirtualTypeDef> */
8545 if (unlikely(var108
== NULL
)) {
8546 if(catchStack
.cursor
>= 0){
8547 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8549 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
8550 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
8554 RET_LABEL107
:(void)0;
8558 { /* Inline model$MClassDef$mclass (var106) on <var106:MClassDef> */
8559 var111
= var106
->attrs
[COLOR_nitc__model__MClassDef___mclass
].val
; /* _mclass on <var106:MClassDef> */
8560 if (unlikely(var111
== NULL
)) {
8561 if(catchStack
.cursor
>= 0){
8562 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8564 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass");
8565 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 591);
8569 RET_LABEL110
:(void)0;
8573 { /* Inline model$MClassDef$mclass (var_mclassdef) on <var_mclassdef:MClassDef> */
8574 var114
= var_mclassdef
->attrs
[COLOR_nitc__model__MClassDef___mclass
].val
; /* _mclass on <var_mclassdef:MClassDef> */
8575 if (unlikely(var114
== NULL
)) {
8576 if(catchStack
.cursor
>= 0){
8577 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8579 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass");
8580 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 591);
8584 RET_LABEL113
:(void)0;
8588 { /* Inline kernel$Object$== (var109,var112) on <var109:MClass> */
8591 { /* Inline kernel$Object$is_same_instance (var109,var_other) on <var109:MClass> */
8592 var119
= var109
== var_other
;
8595 RET_LABEL118
:(void)0;
8600 RET_LABEL116
:(void)0;
8605 { /* Inline parser_nodes$ATypePropdef$n_type (self) on <self:ATypePropdef> */
8606 var122
= self
->attrs
[COLOR_nitc__parser_nodes__ATypePropdef___n_type
].val
; /* _n_type on <self:ATypePropdef> */
8607 if (unlikely(var122
== NULL
)) {
8608 if(catchStack
.cursor
>= 0){
8609 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8611 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
8612 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1559);
8616 RET_LABEL121
:(void)0;
8619 if (likely(varonce123
!=NULL
)) {
8620 var124
= varonce123
;
8622 var125
= "Redef Error: a virtual type cannot be refined.";
8623 var127
= (val
*)(46l<<2|1);
8624 var128
= (val
*)(46l<<2|1);
8625 var129
= (val
*)((long)(0)<<2|3);
8626 var130
= (val
*)((long)(0)<<2|3);
8627 var126
= core__flat___CString___to_s_unsafe(var125
, var127
, var128
, var129
, var130
);
8629 varonce123
= var124
;
8632 nitc___nitc__ModelBuilder___error(var_modelbuilder
, var120
, var124
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
8638 { /* Inline parser_nodes$ATypePropdef$n_type (self) on <self:ATypePropdef> */
8639 var133
= self
->attrs
[COLOR_nitc__parser_nodes__ATypePropdef___n_type
].val
; /* _n_type on <self:ATypePropdef> */
8640 if (unlikely(var133
== NULL
)) {
8641 if(catchStack
.cursor
>= 0){
8642 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8644 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
8645 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1559);
8649 RET_LABEL132
:(void)0;
8653 var134
= nitc___nitc__ModelBuilder___check_subtype(var_modelbuilder
, var131
, var_mmodule
, var_anchor
, var_bound
, var_supbound
);
8658 { /* Inline parser_nodes$ATypePropdef$n_type (self) on <self:ATypePropdef> */
8659 var138
= self
->attrs
[COLOR_nitc__parser_nodes__ATypePropdef___n_type
].val
; /* _n_type on <self:ATypePropdef> */
8660 if (unlikely(var138
== NULL
)) {
8661 if(catchStack
.cursor
>= 0){
8662 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
8664 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _n_type");
8665 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__parser_nodes
, 1559);
8669 RET_LABEL137
:(void)0;
8672 if (unlikely(varonce139
==NULL
)) {
8673 var140
= NEW_core__NativeArray((int)5l, &type_core__NativeArray__core__String
);
8674 if (likely(varonce141
!=NULL
)) {
8675 var142
= varonce141
;
8677 var143
= "Redef Error: expected `";
8678 var145
= (val
*)(23l<<2|1);
8679 var146
= (val
*)(23l<<2|1);
8680 var147
= (val
*)((long)(0)<<2|3);
8681 var148
= (val
*)((long)(0)<<2|3);
8682 var144
= core__flat___CString___to_s_unsafe(var143
, var145
, var146
, var147
, var148
);
8684 varonce141
= var142
;
8686 ((struct instance_core__NativeArray
*)var140
)->values
[0]=var142
;
8687 if (likely(varonce149
!=NULL
)) {
8688 var150
= varonce149
;
8690 var151
= "` bound type; got `";
8691 var153
= (val
*)(19l<<2|1);
8692 var154
= (val
*)(19l<<2|1);
8693 var155
= (val
*)((long)(0)<<2|3);
8694 var156
= (val
*)((long)(0)<<2|3);
8695 var152
= core__flat___CString___to_s_unsafe(var151
, var153
, var154
, var155
, var156
);
8697 varonce149
= var150
;
8699 ((struct instance_core__NativeArray
*)var140
)->values
[2]=var150
;
8700 if (likely(varonce157
!=NULL
)) {
8701 var158
= varonce157
;
8704 var161
= (val
*)(2l<<2|1);
8705 var162
= (val
*)(2l<<2|1);
8706 var163
= (val
*)((long)(0)<<2|3);
8707 var164
= (val
*)((long)(0)<<2|3);
8708 var160
= core__flat___CString___to_s_unsafe(var159
, var161
, var162
, var163
, var164
);
8710 varonce157
= var158
;
8712 ((struct instance_core__NativeArray
*)var140
)->values
[4]=var158
;
8714 var140
= varonce139
;
8718 var165
= ((val
*(*)(val
* self
))(var_supbound
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var_supbound
); /* to_s on <var_supbound:nullable MType(MType)>*/
8720 ((struct instance_core__NativeArray
*)var140
)->values
[1]=var165
;
8722 var166
= ((val
*(*)(val
* self
))(var_bound
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var_bound
); /* to_s on <var_bound:nullable MType(MType)>*/
8724 ((struct instance_core__NativeArray
*)var140
)->values
[3]=var166
;
8726 var167
= ((val
*(*)(val
* self
))(var140
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var140
); /* native_to_s on <var140:NativeArray[String]>*/
8728 varonce139
= var140
;
8730 nitc___nitc__ModelBuilder___error(var_modelbuilder
, var136
, var167
); /* Direct call modelbuilder_base$ModelBuilder$error on <var_modelbuilder:ModelBuilder>*/
8736 ((void(*)(val
* self
))((((long)var_46
&3)?class_info
[((long)var_46
&3)]:var_46
->class)->vft
[COLOR_core__abstract_collection__Iterator__next
]))(var_46
); /* next on <var_46:IndexedIterator[MVirtualTypeDef]>*/
8739 BREAK_label
: (void)0;
8741 ((void(*)(val
* self
))((((long)var_46
&3)?class_info
[((long)var_46
&3)]:var_46
->class)->vft
[COLOR_core__abstract_collection__Iterator__finish
]))(var_46
); /* finish on <var_46:IndexedIterator[MVirtualTypeDef]>*/