1 #include "nitc__model.sep.0.h"
2 /* method model$MVirtualTypeProp$mvirtualtype for (self: MVirtualTypeProp): MVirtualType */
3 val
* nitc___nitc__MVirtualTypeProp___mvirtualtype(val
* self
) {
4 val
* var
/* : MVirtualType */;
5 val
* var1
/* : MVirtualType */;
6 var1
= self
->attrs
[COLOR_nitc__model__MVirtualTypeProp___mvirtualtype
].val
; /* _mvirtualtype on <self:MVirtualTypeProp> */
7 if (unlikely(var1
== NULL
)) {
8 if(catchStack
.cursor
>= 0){
9 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
11 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mvirtualtype");
12 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2333);
19 /* method model$MVirtualTypeProp$is_selftype for (self: MVirtualTypeProp): Bool */
20 short int nitc___nitc__MVirtualTypeProp___is_selftype(val
* self
) {
21 short int var
/* : Bool */;
22 short int var1
/* : Bool */;
23 short int var2
/* : Bool */;
24 short int var3
/* : Bool */;
25 val
* var5
/* : String */;
26 val
* var7
/* : String */;
28 val
* var8
/* : String */;
29 char* var9
/* : CString */;
30 val
* var10
/* : String */;
31 val
* var11
/* : nullable Int */;
32 val
* var12
/* : nullable Int */;
33 val
* var13
/* : nullable Bool */;
34 val
* var14
/* : nullable Bool */;
35 short int var15
/* : Bool */;
36 var1
= self
->attrs
[COLOR_nitc__model__MVirtualTypeProp__lazy_32d_is_selftype
].s
; /* lazy _is_selftype on <self:MVirtualTypeProp> */
38 var2
= self
->attrs
[COLOR_nitc__model__MVirtualTypeProp___is_selftype
].s
; /* _is_selftype on <self:MVirtualTypeProp> */
42 { /* Inline model$MProperty$name (self) on <self:MVirtualTypeProp> */
43 var7
= self
->attrs
[COLOR_nitc__model__MProperty___name
].val
; /* _name on <self:MVirtualTypeProp> */
44 if (unlikely(var7
== NULL
)) {
45 if(catchStack
.cursor
>= 0){
46 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
48 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name");
49 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2047);
56 if (likely(varonce
!=NULL
)) {
60 var11
= (val
*)(4l<<2|1);
61 var12
= (val
*)(4l<<2|1);
62 var13
= (val
*)((long)(0)<<2|3);
63 var14
= (val
*)((long)(0)<<2|3);
64 var10
= core__flat___CString___to_s_unsafe(var9
, var11
, var12
, var13
, var14
);
69 var15
= ((short int(*)(val
* self
, val
* p0
))(var5
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var5
, var8
); /* == on <var5:String>*/
75 self
->attrs
[COLOR_nitc__model__MVirtualTypeProp___is_selftype
].s
= var3
; /* _is_selftype on <self:MVirtualTypeProp> */
77 self
->attrs
[COLOR_nitc__model__MVirtualTypeProp__lazy_32d_is_selftype
].s
= 1; /* lazy _is_selftype on <self:MVirtualTypeProp> */
83 /* method model$MPropDef$mclassdef for (self: MPropDef): MClassDef */
84 val
* nitc___nitc__MPropDef___mclassdef(val
* self
) {
85 val
* var
/* : MClassDef */;
86 val
* var1
/* : MClassDef */;
87 var1
= self
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <self:MPropDef> */
88 if (unlikely(var1
== NULL
)) {
89 if(catchStack
.cursor
>= 0){
90 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
92 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
93 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
100 /* method model$MPropDef$mclassdef= for (self: MPropDef, MClassDef) */
101 void nitc___nitc__MPropDef___mclassdef_61d(val
* self
, val
* p0
) {
102 self
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
= p0
; /* _mclassdef on <self:MPropDef> */
105 /* method model$MPropDef$mproperty for (self: MPropDef): MProperty */
106 val
* nitc___nitc__MPropDef___mproperty(val
* self
) {
107 val
* var
/* : MProperty */;
108 val
* var1
/* : MProperty */;
109 var1
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
110 if (unlikely(var1
== NULL
)) {
111 if(catchStack
.cursor
>= 0){
112 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
114 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
115 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
122 /* method model$MPropDef$mproperty= for (self: MPropDef, MProperty) */
123 void nitc___nitc__MPropDef___mproperty_61d(val
* self
, val
* p0
) {
124 short int var
/* : Bool */;
127 const struct type
* type_struct
;
128 const char* var_class_name
;
129 /* Covariant cast for argument 0 (mproperty) <p0:MProperty> isa MPROPERTY */
130 /* <p0:MProperty> isa MPROPERTY */
131 type_struct
= self
->type
->resolution_table
->types
[COLOR_nitc__model__MPropDef__MPROPERTY
];
132 cltype
= type_struct
->color
;
133 idtype
= type_struct
->id
;
134 if(cltype
>= p0
->type
->table_size
) {
137 var
= p0
->type
->type_table
[cltype
] == idtype
;
139 if (unlikely(!var
)) {
140 var_class_name
= p0
== NULL ?
"null" : p0
->type
->name
;
141 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "MPROPERTY", var_class_name
);
142 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
145 self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
= p0
; /* _mproperty on <self:MPropDef> */
148 /* method model$MPropDef$location for (self: MPropDef): Location */
149 val
* nitc___nitc__MPropDef___nitc__model_base__MEntity__location(val
* self
) {
150 val
* var
/* : Location */;
151 val
* var1
/* : Location */;
152 var1
= self
->attrs
[COLOR_nitc__model__MPropDef___location
].val
; /* _location on <self:MPropDef> */
153 if (unlikely(var1
== NULL
)) {
154 if(catchStack
.cursor
>= 0){
155 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
157 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _location");
158 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2360);
165 /* method model$MPropDef$location= for (self: MPropDef, Location) */
166 void nitc___nitc__MPropDef___location_61d(val
* self
, val
* p0
) {
167 self
->attrs
[COLOR_nitc__model__MPropDef___location
].val
= p0
; /* _location on <self:MPropDef> */
170 /* method model$MPropDef$visibility for (self: MPropDef): MVisibility */
171 val
* nitc___nitc__MPropDef___MEntity__visibility(val
* self
) {
172 val
* var
/* : MVisibility */;
173 val
* var1
/* : MProperty */;
174 val
* var3
/* : MProperty */;
175 val
* var4
/* : MVisibility */;
176 val
* var6
/* : MVisibility */;
178 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
179 var3
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
180 if (unlikely(var3
== NULL
)) {
181 if(catchStack
.cursor
>= 0){
182 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
184 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
185 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
193 { /* Inline model$MProperty$visibility (var1) on <var1:MProperty> */
194 var6
= var1
->attrs
[COLOR_nitc__model__MProperty___visibility
].val
; /* _visibility on <var1:MProperty> */
195 if (unlikely(var6
== NULL
)) {
196 if(catchStack
.cursor
>= 0){
197 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
199 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility");
200 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2078);
212 /* method model$MPropDef$init for (self: MPropDef) */
213 void nitc___nitc__MPropDef___core__kernel__Object__init(val
* self
) {
214 val
* var
/* : MClassDef */;
215 val
* var2
/* : MClassDef */;
216 val
* var3
/* : Array[MPropDef] */;
217 val
* var5
/* : Array[MPropDef] */;
218 val
* var6
/* : MProperty */;
219 val
* var8
/* : MProperty */;
220 val
* var9
/* : Array[MPropDef] */;
221 val
* var11
/* : Array[MPropDef] */;
222 val
* var12
/* : MClassDef */;
223 val
* var14
/* : MClassDef */;
224 val
* var15
/* : HashMap[MProperty, MPropDef] */;
225 val
* var17
/* : HashMap[MProperty, MPropDef] */;
226 val
* var18
/* : MProperty */;
227 val
* var20
/* : MProperty */;
228 val
* var21
/* : MProperty */;
229 val
* var23
/* : MProperty */;
230 val
* var24
/* : MClassDef */;
231 val
* var26
/* : MClassDef */;
232 val
* var27
/* : MClassDef */;
233 val
* var29
/* : MClassDef */;
234 short int var30
/* : Bool */;
235 val
* var_other
/* var other: nullable Object */;
236 short int var32
/* : Bool */;
237 short int var34
/* : Bool */;
238 val
* var35
/* : MProperty */;
239 val
* var37
/* : MProperty */;
240 short int var38
/* : Bool */;
241 short int var39
/* : Bool */;
242 val
* var40
/* : MProperty */;
243 val
* var42
/* : MProperty */;
244 short int var44
/* : Bool */;
247 const struct type
* type_struct
;
248 const char* var_class_name
;
249 val
* var45
/* : NativeArray[String] */;
251 static val
* varonce46
;
252 val
* var47
/* : String */;
253 char* var48
/* : CString */;
254 val
* var49
/* : String */;
255 val
* var50
/* : nullable Int */;
256 val
* var51
/* : nullable Int */;
257 val
* var52
/* : nullable Bool */;
258 val
* var53
/* : nullable Bool */;
259 val
* var54
/* : MClassDef */;
260 val
* var56
/* : MClassDef */;
261 val
* var57
/* : String */;
262 val
* var58
/* : MProperty */;
263 val
* var60
/* : MProperty */;
264 val
* var61
/* : String */;
265 val
* var62
/* : String */;
267 ((void(*)(val
* self
))(self
->class->vft
[COLOR_nitc___nitc__MPropDef___core__kernel__Object__init
]))(self
); /* init on <self:MPropDef>*/
270 { /* Inline model$MPropDef$mclassdef (self) on <self:MPropDef> */
271 var2
= self
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <self:MPropDef> */
272 if (unlikely(var2
== NULL
)) {
273 if(catchStack
.cursor
>= 0){
274 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
276 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
277 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
285 { /* Inline model$MClassDef$mpropdefs (var) on <var:MClassDef> */
286 var5
= var
->attrs
[COLOR_nitc__model__MClassDef___mpropdefs
].val
; /* _mpropdefs on <var:MClassDef> */
287 if (unlikely(var5
== NULL
)) {
288 if(catchStack
.cursor
>= 0){
289 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
291 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mpropdefs");
292 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 723);
300 core___core__Array___core__abstract_collection__SimpleCollection__add(var3
, self
); /* Direct call array$Array$add on <var3:Array[MPropDef]>*/
303 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
304 var8
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
305 if (unlikely(var8
== NULL
)) {
306 if(catchStack
.cursor
>= 0){
307 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
309 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
310 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
318 { /* Inline model$MProperty$mpropdefs (var6) on <var6:MProperty> */
319 var11
= var6
->attrs
[COLOR_nitc__model__MProperty___mpropdefs
].val
; /* _mpropdefs on <var6:MProperty> */
320 if (unlikely(var11
== NULL
)) {
321 if(catchStack
.cursor
>= 0){
322 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
324 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mpropdefs");
325 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2092);
333 core___core__Array___core__abstract_collection__SimpleCollection__add(var9
, self
); /* Direct call array$Array$add on <var9:Array[MPropDef]>*/
336 { /* Inline model$MPropDef$mclassdef (self) on <self:MPropDef> */
337 var14
= self
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <self:MPropDef> */
338 if (unlikely(var14
== NULL
)) {
339 if(catchStack
.cursor
>= 0){
340 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
342 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
343 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
351 { /* Inline model$MClassDef$mpropdefs_by_property (var12) on <var12:MClassDef> */
352 var17
= var12
->attrs
[COLOR_nitc__model__MClassDef___mpropdefs_by_property
].val
; /* _mpropdefs_by_property on <var12:MClassDef> */
353 if (unlikely(var17
== NULL
)) {
354 if(catchStack
.cursor
>= 0){
355 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
357 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mpropdefs_by_property");
358 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 726);
366 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
367 var20
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
368 if (unlikely(var20
== NULL
)) {
369 if(catchStack
.cursor
>= 0){
370 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
372 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
373 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
381 core___core__HashMap___core__abstract_collection__Map___91d_93d_61d(var15
, var18
, self
); /* Direct call hash_collection$HashMap$[]= on <var15:HashMap[MProperty, MPropDef]>*/
384 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
385 var23
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
386 if (unlikely(var23
== NULL
)) {
387 if(catchStack
.cursor
>= 0){
388 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
390 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
391 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
399 { /* Inline model$MProperty$intro_mclassdef (var21) on <var21:MProperty> */
400 var26
= var21
->attrs
[COLOR_nitc__model__MProperty___intro_mclassdef
].val
; /* _intro_mclassdef on <var21:MProperty> */
401 if (unlikely(var26
== NULL
)) {
402 if(catchStack
.cursor
>= 0){
403 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
405 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef");
406 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2042);
414 { /* Inline model$MPropDef$mclassdef (self) on <self:MPropDef> */
415 var29
= self
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <self:MPropDef> */
416 if (unlikely(var29
== NULL
)) {
417 if(catchStack
.cursor
>= 0){
418 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
420 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
421 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
429 { /* Inline kernel$Object$== (var24,var27) on <var24:MClassDef> */
432 { /* Inline kernel$Object$is_same_instance (var24,var_other) on <var24:MClassDef> */
433 var34
= var24
== var_other
;
446 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
447 var37
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
448 if (unlikely(var37
== NULL
)) {
449 if(catchStack
.cursor
>= 0){
450 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
452 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
453 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
460 var38
= var35
->attrs
[COLOR_nitc__model__MProperty___intro
].val
!= NULL
; /* _intro on <var35:MProperty> */
462 if (unlikely(!var39
)) {
463 if(catchStack
.cursor
>= 0){
464 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
466 PRINT_ERROR("Runtime error: %s", "Assert failed");
467 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2370);
471 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
472 var42
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
473 if (unlikely(var42
== NULL
)) {
474 if(catchStack
.cursor
>= 0){
475 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
477 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
478 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
486 { /* Inline model$MProperty$intro= (var40,self) on <var40:MProperty> */
487 /* Covariant cast for argument 0 (intro) <self:MPropDef> isa MPROPDEF */
488 /* <self:MPropDef> isa MPROPDEF */
489 type_struct
= var40
->type
->resolution_table
->types
[COLOR_nitc__model__MProperty__MPROPDEF
];
490 cltype
= type_struct
->color
;
491 idtype
= type_struct
->id
;
492 if(cltype
>= self
->type
->table_size
) {
495 var44
= self
->type
->type_table
[cltype
] == idtype
;
497 if (unlikely(!var44
)) {
498 var_class_name
= self
== NULL ?
"null" : self
->type
->name
;
499 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "MPROPDEF", var_class_name
);
500 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2097);
503 var40
->attrs
[COLOR_nitc__model__MProperty___intro
].val
= self
; /* _intro on <var40:MProperty> */
509 if (unlikely(varonce
==NULL
)) {
510 var45
= NEW_core__NativeArray((int)3l, &type_core__NativeArray__core__String
);
511 if (likely(varonce46
!=NULL
)) {
515 var50
= (val
*)(1l<<2|1);
516 var51
= (val
*)(1l<<2|1);
517 var52
= (val
*)((long)(0)<<2|3);
518 var53
= (val
*)((long)(0)<<2|3);
519 var49
= core__flat___CString___to_s_unsafe(var48
, var50
, var51
, var52
, var53
);
523 ((struct instance_core__NativeArray
*)var45
)->values
[1]=var47
;
529 { /* Inline model$MPropDef$mclassdef (self) on <self:MPropDef> */
530 var56
= self
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <self:MPropDef> */
531 if (unlikely(var56
== NULL
)) {
532 if(catchStack
.cursor
>= 0){
533 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
535 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
536 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
544 var57
= ((val
*(*)(val
* self
))(var54
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var54
); /* to_s on <var54:MClassDef>*/
546 ((struct instance_core__NativeArray
*)var45
)->values
[0]=var57
;
548 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
549 var60
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
550 if (unlikely(var60
== NULL
)) {
551 if(catchStack
.cursor
>= 0){
552 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
554 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
555 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
563 var61
= ((val
*(*)(val
* self
))(var58
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var58
); /* to_s on <var58:MProperty>*/
565 ((struct instance_core__NativeArray
*)var45
)->values
[2]=var61
;
567 var62
= ((val
*(*)(val
* self
))(var45
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var45
); /* native_to_s on <var45:NativeArray[String]>*/
571 { /* Inline model$MPropDef$to_s= (self,var62) on <self:MPropDef> */
572 self
->attrs
[COLOR_nitc__model__MPropDef___to_s
].val
= var62
; /* _to_s on <self:MPropDef> */
578 /* method model$MPropDef$name for (self: MPropDef): String */
579 val
* nitc___nitc__MPropDef___nitc__model_base__MEntity__name(val
* self
) {
580 val
* var
/* : String */;
581 val
* var1
/* : MProperty */;
582 val
* var3
/* : MProperty */;
583 val
* var4
/* : String */;
584 val
* var6
/* : String */;
586 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
587 var3
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
588 if (unlikely(var3
== NULL
)) {
589 if(catchStack
.cursor
>= 0){
590 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
592 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
593 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
601 { /* Inline model$MProperty$name (var1) on <var1:MProperty> */
602 var6
= var1
->attrs
[COLOR_nitc__model__MProperty___name
].val
; /* _name on <var1:MProperty> */
603 if (unlikely(var6
== NULL
)) {
604 if(catchStack
.cursor
>= 0){
605 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
607 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name");
608 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2047);
620 /* method model$MPropDef$full_name for (self: MPropDef): String */
621 val
* nitc___nitc__MPropDef___nitc__model_base__MEntity__full_name(val
* self
) {
622 val
* var
/* : String */;
623 short int var1
/* : Bool */;
624 val
* var2
/* : String */;
625 val
* var3
/* : String */;
626 val
* var5
/* : FlatBuffer */;
627 val
* var_res
/* var res: FlatBuffer */;
628 val
* var7
/* : MClassDef */;
629 val
* var9
/* : MClassDef */;
630 val
* var10
/* : String */;
632 val
* var11
/* : String */;
633 char* var12
/* : CString */;
634 val
* var13
/* : String */;
635 val
* var14
/* : nullable Int */;
636 val
* var15
/* : nullable Int */;
637 val
* var16
/* : nullable Bool */;
638 val
* var17
/* : nullable Bool */;
639 val
* var18
/* : MClassDef */;
640 val
* var20
/* : MClassDef */;
641 val
* var21
/* : MClass */;
642 val
* var23
/* : MClass */;
643 val
* var24
/* : MProperty */;
644 val
* var26
/* : MProperty */;
645 val
* var27
/* : MClassDef */;
646 val
* var29
/* : MClassDef */;
647 val
* var30
/* : MClass */;
648 val
* var32
/* : MClass */;
649 short int var33
/* : Bool */;
650 val
* var_other
/* var other: nullable Object */;
651 short int var35
/* : Bool */;
652 short int var37
/* : Bool */;
653 val
* var38
/* : String */;
654 val
* var39
/* : MClassDef */;
655 val
* var41
/* : MClassDef */;
656 val
* var42
/* : MModule */;
657 val
* var44
/* : MModule */;
658 val
* var45
/* : nullable MPackage */;
659 val
* var46
/* : MProperty */;
660 val
* var48
/* : MProperty */;
661 val
* var49
/* : MClassDef */;
662 val
* var51
/* : MClassDef */;
663 val
* var52
/* : MModule */;
664 val
* var54
/* : MModule */;
665 val
* var55
/* : nullable MPackage */;
666 short int var56
/* : Bool */;
667 short int var57
/* : Bool */;
668 val
* var_other59
/* var other: nullable Object */;
669 short int var60
/* : Bool */;
670 short int var61
/* : Bool */;
671 val
* var62
/* : MProperty */;
672 val
* var64
/* : MProperty */;
673 val
* var65
/* : MClassDef */;
674 val
* var67
/* : MClassDef */;
675 val
* var68
/* : MModule */;
676 val
* var70
/* : MModule */;
677 val
* var71
/* : MProperty */;
678 val
* var73
/* : MProperty */;
679 val
* var74
/* : MVisibility */;
680 val
* var76
/* : MVisibility */;
681 val
* var77
/* : String */;
682 static val
* varonce78
;
683 val
* var79
/* : String */;
684 char* var80
/* : CString */;
685 val
* var81
/* : String */;
686 val
* var82
/* : nullable Int */;
687 val
* var83
/* : nullable Int */;
688 val
* var84
/* : nullable Bool */;
689 val
* var85
/* : nullable Bool */;
690 val
* var86
/* : MProperty */;
691 val
* var88
/* : MProperty */;
692 val
* var89
/* : MVisibility */;
693 val
* var91
/* : MVisibility */;
694 val
* var92
/* : Sys */;
695 val
* var93
/* : MVisibility */;
696 short int var94
/* : Bool */;
697 val
* var95
/* : MClassDef */;
698 val
* var97
/* : MClassDef */;
699 val
* var98
/* : MModule */;
700 val
* var100
/* : MModule */;
701 val
* var101
/* : MClassDef */;
702 val
* var103
/* : MClassDef */;
703 val
* var104
/* : MClass */;
704 val
* var106
/* : MClass */;
705 val
* var107
/* : MVisibility */;
706 val
* var109
/* : MVisibility */;
707 val
* var110
/* : String */;
708 val
* var111
/* : MProperty */;
709 val
* var113
/* : MProperty */;
710 val
* var114
/* : MClassDef */;
711 val
* var116
/* : MClassDef */;
712 val
* var117
/* : MModule */;
713 val
* var119
/* : MModule */;
714 val
* var120
/* : nullable MPackage */;
715 short int var121
/* : Bool */;
716 short int var123
/* : Bool */;
717 short int var124
/* : Bool */;
718 static val
* varonce125
;
719 val
* var126
/* : String */;
720 char* var127
/* : CString */;
721 val
* var128
/* : String */;
722 val
* var129
/* : nullable Int */;
723 val
* var130
/* : nullable Int */;
724 val
* var131
/* : nullable Bool */;
725 val
* var132
/* : nullable Bool */;
726 val
* var133
/* : MProperty */;
727 val
* var135
/* : MProperty */;
728 val
* var136
/* : MClassDef */;
729 val
* var138
/* : MClassDef */;
730 val
* var139
/* : MModule */;
731 val
* var141
/* : MModule */;
732 val
* var142
/* : String */;
733 val
* var144
/* : String */;
734 static val
* varonce145
;
735 val
* var146
/* : String */;
736 char* var147
/* : CString */;
737 val
* var148
/* : String */;
738 val
* var149
/* : nullable Int */;
739 val
* var150
/* : nullable Int */;
740 val
* var151
/* : nullable Bool */;
741 val
* var152
/* : nullable Bool */;
742 val
* var153
/* : MClassDef */;
743 val
* var155
/* : MClassDef */;
744 val
* var156
/* : MClass */;
745 val
* var158
/* : MClass */;
746 val
* var159
/* : MProperty */;
747 val
* var161
/* : MProperty */;
748 val
* var162
/* : MClassDef */;
749 val
* var164
/* : MClassDef */;
750 val
* var165
/* : MClass */;
751 val
* var167
/* : MClass */;
752 short int var168
/* : Bool */;
753 short int var170
/* : Bool */;
754 short int var171
/* : Bool */;
755 val
* var172
/* : MProperty */;
756 val
* var174
/* : MProperty */;
757 val
* var175
/* : MClassDef */;
758 val
* var177
/* : MClassDef */;
759 val
* var178
/* : String */;
760 static val
* varonce179
;
761 val
* var180
/* : String */;
762 char* var181
/* : CString */;
763 val
* var182
/* : String */;
764 val
* var183
/* : nullable Int */;
765 val
* var184
/* : nullable Int */;
766 val
* var185
/* : nullable Bool */;
767 val
* var186
/* : nullable Bool */;
768 val
* var187
/* : MProperty */;
769 val
* var189
/* : MProperty */;
770 val
* var190
/* : String */;
771 val
* var192
/* : String */;
772 val
* var193
/* : String */;
773 var1
= self
->attrs
[COLOR_nitc__model__MPropDef___full_name
].val
!= NULL
; /* _full_name on <self:MPropDef> */
775 var2
= self
->attrs
[COLOR_nitc__model__MPropDef___full_name
].val
; /* _full_name on <self:MPropDef> */
776 if (unlikely(var2
== NULL
)) {
777 if(catchStack
.cursor
>= 0){
778 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
780 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _full_name");
781 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2379);
786 var5
= NEW_core__FlatBuffer(&type_core__FlatBuffer
);
788 { /* Inline flat$FlatBuffer$init (var5) on <var5:FlatBuffer> */
790 ((void(*)(val
* self
))(var5
->class->vft
[COLOR_core___core__FlatBuffer___core__kernel__Object__init
]))(var5
); /* init on <var5:FlatBuffer>*/
797 { /* Inline model$MPropDef$mclassdef (self) on <self:MPropDef> */
798 var9
= self
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <self:MPropDef> */
799 if (unlikely(var9
== NULL
)) {
800 if(catchStack
.cursor
>= 0){
801 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
803 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
804 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
812 var10
= nitc___nitc__MClassDef___nitc__model_base__MEntity__full_name(var7
);
815 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var10
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
817 if (likely(varonce
!=NULL
)) {
821 var14
= (val
*)(1l<<2|1);
822 var15
= (val
*)(1l<<2|1);
823 var16
= (val
*)((long)(0)<<2|3);
824 var17
= (val
*)((long)(0)<<2|3);
825 var13
= core__flat___CString___to_s_unsafe(var12
, var14
, var15
, var16
, var17
);
830 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var11
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
833 { /* Inline model$MPropDef$mclassdef (self) on <self:MPropDef> */
834 var20
= self
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <self:MPropDef> */
835 if (unlikely(var20
== NULL
)) {
836 if(catchStack
.cursor
>= 0){
837 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
839 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
840 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
848 { /* Inline model$MClassDef$mclass (var18) on <var18:MClassDef> */
849 var23
= var18
->attrs
[COLOR_nitc__model__MClassDef___mclass
].val
; /* _mclass on <var18:MClassDef> */
850 if (unlikely(var23
== NULL
)) {
851 if(catchStack
.cursor
>= 0){
852 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
854 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass");
855 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 591);
863 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
864 var26
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
865 if (unlikely(var26
== NULL
)) {
866 if(catchStack
.cursor
>= 0){
867 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
869 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
870 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
878 { /* Inline model$MProperty$intro_mclassdef (var24) on <var24:MProperty> */
879 var29
= var24
->attrs
[COLOR_nitc__model__MProperty___intro_mclassdef
].val
; /* _intro_mclassdef on <var24:MProperty> */
880 if (unlikely(var29
== NULL
)) {
881 if(catchStack
.cursor
>= 0){
882 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
884 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef");
885 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2042);
893 { /* Inline model$MClassDef$mclass (var27) on <var27:MClassDef> */
894 var32
= var27
->attrs
[COLOR_nitc__model__MClassDef___mclass
].val
; /* _mclass on <var27:MClassDef> */
895 if (unlikely(var32
== NULL
)) {
896 if(catchStack
.cursor
>= 0){
897 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
899 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass");
900 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 591);
908 { /* Inline kernel$Object$== (var21,var30) on <var21:MClass> */
911 { /* Inline kernel$Object$is_same_instance (var21,var_other) on <var21:MClass> */
912 var37
= var21
== var_other
;
925 var38
= nitc___nitc__MPropDef___nitc__model_base__MEntity__name(self
);
928 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var38
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
932 { /* Inline model$MPropDef$mclassdef (self) on <self:MPropDef> */
933 var41
= self
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <self:MPropDef> */
934 if (unlikely(var41
== NULL
)) {
935 if(catchStack
.cursor
>= 0){
936 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
938 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
939 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
947 { /* Inline model$MClassDef$mmodule (var39) on <var39:MClassDef> */
948 var44
= var39
->attrs
[COLOR_nitc__model__MClassDef___mmodule
].val
; /* _mmodule on <var39:MClassDef> */
949 if (unlikely(var44
== NULL
)) {
950 if(catchStack
.cursor
>= 0){
951 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
953 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule");
954 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 588);
962 var45
= nitc___nitc__MModule___mpackage(var42
);
965 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
966 var48
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
967 if (unlikely(var48
== NULL
)) {
968 if(catchStack
.cursor
>= 0){
969 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
971 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
972 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
980 { /* Inline model$MProperty$intro_mclassdef (var46) on <var46:MProperty> */
981 var51
= var46
->attrs
[COLOR_nitc__model__MProperty___intro_mclassdef
].val
; /* _intro_mclassdef on <var46:MProperty> */
982 if (unlikely(var51
== NULL
)) {
983 if(catchStack
.cursor
>= 0){
984 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
986 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef");
987 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2042);
995 { /* Inline model$MClassDef$mmodule (var49) on <var49:MClassDef> */
996 var54
= var49
->attrs
[COLOR_nitc__model__MClassDef___mmodule
].val
; /* _mmodule on <var49:MClassDef> */
997 if (unlikely(var54
== NULL
)) {
998 if(catchStack
.cursor
>= 0){
999 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1001 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule");
1002 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 588);
1006 RET_LABEL53
:(void)0;
1010 var55
= nitc___nitc__MModule___mpackage(var52
);
1012 if (var45
== NULL
) {
1013 var56
= (var55
!= NULL
);
1015 { /* Inline kernel$Object$!= (var45,var55) on <var45:nullable MPackage> */
1016 var_other59
= var55
;
1018 var60
= ((short int(*)(val
* self
, val
* p0
))(var45
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var45
, var_other59
); /* == on <var45:nullable MPackage(MPackage)>*/
1023 RET_LABEL58
:(void)0;
1029 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
1030 var64
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
1031 if (unlikely(var64
== NULL
)) {
1032 if(catchStack
.cursor
>= 0){
1033 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1035 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
1036 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
1040 RET_LABEL63
:(void)0;
1044 { /* Inline model$MProperty$intro_mclassdef (var62) on <var62:MProperty> */
1045 var67
= var62
->attrs
[COLOR_nitc__model__MProperty___intro_mclassdef
].val
; /* _intro_mclassdef on <var62:MProperty> */
1046 if (unlikely(var67
== NULL
)) {
1047 if(catchStack
.cursor
>= 0){
1048 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1050 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef");
1051 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2042);
1055 RET_LABEL66
:(void)0;
1059 { /* Inline model$MClassDef$mmodule (var65) on <var65:MClassDef> */
1060 var70
= var65
->attrs
[COLOR_nitc__model__MClassDef___mmodule
].val
; /* _mmodule on <var65:MClassDef> */
1061 if (unlikely(var70
== NULL
)) {
1062 if(catchStack
.cursor
>= 0){
1063 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1065 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule");
1066 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 588);
1070 RET_LABEL69
:(void)0;
1074 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
1075 var73
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
1076 if (unlikely(var73
== NULL
)) {
1077 if(catchStack
.cursor
>= 0){
1078 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1080 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
1081 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
1085 RET_LABEL72
:(void)0;
1089 { /* Inline model$MProperty$visibility (var71) on <var71:MProperty> */
1090 var76
= var71
->attrs
[COLOR_nitc__model__MProperty___visibility
].val
; /* _visibility on <var71:MProperty> */
1091 if (unlikely(var76
== NULL
)) {
1092 if(catchStack
.cursor
>= 0){
1093 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1095 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility");
1096 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2078);
1100 RET_LABEL75
:(void)0;
1104 var77
= nitc___nitc__MModule___namespace_for(var68
, var74
);
1107 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var77
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
1109 if (likely(varonce78
!=NULL
)) {
1113 var82
= (val
*)(2l<<2|1);
1114 var83
= (val
*)(2l<<2|1);
1115 var84
= (val
*)((long)(0)<<2|3);
1116 var85
= (val
*)((long)(0)<<2|3);
1117 var81
= core__flat___CString___to_s_unsafe(var80
, var82
, var83
, var84
, var85
);
1122 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var79
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
1126 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
1127 var88
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
1128 if (unlikely(var88
== NULL
)) {
1129 if(catchStack
.cursor
>= 0){
1130 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1132 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
1133 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
1137 RET_LABEL87
:(void)0;
1141 { /* Inline model$MProperty$visibility (var86) on <var86:MProperty> */
1142 var91
= var86
->attrs
[COLOR_nitc__model__MProperty___visibility
].val
; /* _visibility on <var86:MProperty> */
1143 if (unlikely(var91
== NULL
)) {
1144 if(catchStack
.cursor
>= 0){
1145 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1147 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility");
1148 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2078);
1152 RET_LABEL90
:(void)0;
1157 var93
= nitc__model_base___core__Sys___private_visibility(var92
);
1160 var94
= core___core__Comparable____60d_61d(var89
, var93
);
1164 { /* Inline model$MPropDef$mclassdef (self) on <self:MPropDef> */
1165 var97
= self
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <self:MPropDef> */
1166 if (unlikely(var97
== NULL
)) {
1167 if(catchStack
.cursor
>= 0){
1168 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1170 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
1171 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
1175 RET_LABEL96
:(void)0;
1179 { /* Inline model$MClassDef$mmodule (var95) on <var95:MClassDef> */
1180 var100
= var95
->attrs
[COLOR_nitc__model__MClassDef___mmodule
].val
; /* _mmodule on <var95:MClassDef> */
1181 if (unlikely(var100
== NULL
)) {
1182 if(catchStack
.cursor
>= 0){
1183 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1185 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule");
1186 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 588);
1190 RET_LABEL99
:(void)0;
1194 { /* Inline model$MPropDef$mclassdef (self) on <self:MPropDef> */
1195 var103
= self
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <self:MPropDef> */
1196 if (unlikely(var103
== NULL
)) {
1197 if(catchStack
.cursor
>= 0){
1198 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1200 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
1201 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
1205 RET_LABEL102
:(void)0;
1209 { /* Inline model$MClassDef$mclass (var101) on <var101:MClassDef> */
1210 var106
= var101
->attrs
[COLOR_nitc__model__MClassDef___mclass
].val
; /* _mclass on <var101:MClassDef> */
1211 if (unlikely(var106
== NULL
)) {
1212 if(catchStack
.cursor
>= 0){
1213 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1215 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass");
1216 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 591);
1220 RET_LABEL105
:(void)0;
1224 { /* Inline model$MClass$visibility (var104) on <var104:MClass> */
1225 var109
= var104
->attrs
[COLOR_nitc__model__MClass___visibility
].val
; /* _visibility on <var104:MClass> */
1226 if (unlikely(var109
== NULL
)) {
1227 if(catchStack
.cursor
>= 0){
1228 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1230 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _visibility");
1231 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 476);
1235 RET_LABEL108
:(void)0;
1239 var110
= nitc___nitc__MModule___namespace_for(var98
, var107
);
1242 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
1243 var113
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
1244 if (unlikely(var113
== NULL
)) {
1245 if(catchStack
.cursor
>= 0){
1246 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1248 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
1249 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
1253 RET_LABEL112
:(void)0;
1257 { /* Inline model$MProperty$intro_mclassdef (var111) on <var111:MProperty> */
1258 var116
= var111
->attrs
[COLOR_nitc__model__MProperty___intro_mclassdef
].val
; /* _intro_mclassdef on <var111:MProperty> */
1259 if (unlikely(var116
== NULL
)) {
1260 if(catchStack
.cursor
>= 0){
1261 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1263 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef");
1264 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2042);
1268 RET_LABEL115
:(void)0;
1272 { /* Inline model$MClassDef$mmodule (var114) on <var114:MClassDef> */
1273 var119
= var114
->attrs
[COLOR_nitc__model__MClassDef___mmodule
].val
; /* _mmodule on <var114:MClassDef> */
1274 if (unlikely(var119
== NULL
)) {
1275 if(catchStack
.cursor
>= 0){
1276 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1278 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule");
1279 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 588);
1283 RET_LABEL118
:(void)0;
1287 var120
= nitc___nitc__MModule___mpackage(var117
);
1290 { /* Inline kernel$Object$!= (var110,var120) on <var110:String> */
1291 var_other59
= var120
;
1293 var123
= ((short int(*)(val
* self
, val
* p0
))(var110
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var110
, var_other59
); /* == on <var110:String>*/
1298 RET_LABEL122
:(void)0;
1302 if (likely(varonce125
!=NULL
)) {
1303 var126
= varonce125
;
1306 var129
= (val
*)(2l<<2|1);
1307 var130
= (val
*)(2l<<2|1);
1308 var131
= (val
*)((long)(0)<<2|3);
1309 var132
= (val
*)((long)(0)<<2|3);
1310 var128
= core__flat___CString___to_s_unsafe(var127
, var129
, var130
, var131
, var132
);
1312 varonce125
= var126
;
1315 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var126
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
1318 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
1319 var135
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
1320 if (unlikely(var135
== NULL
)) {
1321 if(catchStack
.cursor
>= 0){
1322 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1324 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
1325 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
1329 RET_LABEL134
:(void)0;
1333 { /* Inline model$MProperty$intro_mclassdef (var133) on <var133:MProperty> */
1334 var138
= var133
->attrs
[COLOR_nitc__model__MProperty___intro_mclassdef
].val
; /* _intro_mclassdef on <var133:MProperty> */
1335 if (unlikely(var138
== NULL
)) {
1336 if(catchStack
.cursor
>= 0){
1337 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1339 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef");
1340 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2042);
1344 RET_LABEL137
:(void)0;
1348 { /* Inline model$MClassDef$mmodule (var136) on <var136:MClassDef> */
1349 var141
= var136
->attrs
[COLOR_nitc__model__MClassDef___mmodule
].val
; /* _mmodule on <var136:MClassDef> */
1350 if (unlikely(var141
== NULL
)) {
1351 if(catchStack
.cursor
>= 0){
1352 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1354 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule");
1355 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 588);
1359 RET_LABEL140
:(void)0;
1363 { /* Inline mmodule$MModule$name (var139) on <var139:MModule> */
1364 var144
= var139
->attrs
[COLOR_nitc__mmodule__MModule___name
].val
; /* _name on <var139:MModule> */
1365 if (unlikely(var144
== NULL
)) {
1366 if(catchStack
.cursor
>= 0){
1367 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1369 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name");
1370 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__mmodule
, 100);
1374 RET_LABEL143
:(void)0;
1378 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var142
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
1380 if (likely(varonce145
!=NULL
)) {
1381 var146
= varonce145
;
1384 var149
= (val
*)(2l<<2|1);
1385 var150
= (val
*)(2l<<2|1);
1386 var151
= (val
*)((long)(0)<<2|3);
1387 var152
= (val
*)((long)(0)<<2|3);
1388 var148
= core__flat___CString___to_s_unsafe(var147
, var149
, var150
, var151
, var152
);
1390 varonce145
= var146
;
1393 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var146
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
1401 { /* Inline model$MPropDef$mclassdef (self) on <self:MPropDef> */
1402 var155
= self
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <self:MPropDef> */
1403 if (unlikely(var155
== NULL
)) {
1404 if(catchStack
.cursor
>= 0){
1405 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1407 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
1408 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
1412 RET_LABEL154
:(void)0;
1416 { /* Inline model$MClassDef$mclass (var153) on <var153:MClassDef> */
1417 var158
= var153
->attrs
[COLOR_nitc__model__MClassDef___mclass
].val
; /* _mclass on <var153:MClassDef> */
1418 if (unlikely(var158
== NULL
)) {
1419 if(catchStack
.cursor
>= 0){
1420 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1422 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass");
1423 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 591);
1427 RET_LABEL157
:(void)0;
1431 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
1432 var161
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
1433 if (unlikely(var161
== NULL
)) {
1434 if(catchStack
.cursor
>= 0){
1435 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1437 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
1438 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
1442 RET_LABEL160
:(void)0;
1446 { /* Inline model$MProperty$intro_mclassdef (var159) on <var159:MProperty> */
1447 var164
= var159
->attrs
[COLOR_nitc__model__MProperty___intro_mclassdef
].val
; /* _intro_mclassdef on <var159:MProperty> */
1448 if (unlikely(var164
== NULL
)) {
1449 if(catchStack
.cursor
>= 0){
1450 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1452 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef");
1453 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2042);
1457 RET_LABEL163
:(void)0;
1461 { /* Inline model$MClassDef$mclass (var162) on <var162:MClassDef> */
1462 var167
= var162
->attrs
[COLOR_nitc__model__MClassDef___mclass
].val
; /* _mclass on <var162:MClassDef> */
1463 if (unlikely(var167
== NULL
)) {
1464 if(catchStack
.cursor
>= 0){
1465 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1467 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass");
1468 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 591);
1472 RET_LABEL166
:(void)0;
1476 { /* Inline kernel$Object$!= (var156,var165) on <var156:MClass> */
1477 var_other59
= var165
;
1479 var170
= ((short int(*)(val
* self
, val
* p0
))(var156
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var156
, var_other59
); /* == on <var156:MClass>*/
1484 RET_LABEL169
:(void)0;
1489 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
1490 var174
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
1491 if (unlikely(var174
== NULL
)) {
1492 if(catchStack
.cursor
>= 0){
1493 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1495 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
1496 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
1500 RET_LABEL173
:(void)0;
1504 { /* Inline model$MProperty$intro_mclassdef (var172) on <var172:MProperty> */
1505 var177
= var172
->attrs
[COLOR_nitc__model__MProperty___intro_mclassdef
].val
; /* _intro_mclassdef on <var172:MProperty> */
1506 if (unlikely(var177
== NULL
)) {
1507 if(catchStack
.cursor
>= 0){
1508 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1510 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef");
1511 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2042);
1515 RET_LABEL176
:(void)0;
1519 var178
= nitc___nitc__MClassDef___nitc__model_base__MEntity__name(var175
);
1522 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var178
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
1524 if (likely(varonce179
!=NULL
)) {
1525 var180
= varonce179
;
1528 var183
= (val
*)(2l<<2|1);
1529 var184
= (val
*)(2l<<2|1);
1530 var185
= (val
*)((long)(0)<<2|3);
1531 var186
= (val
*)((long)(0)<<2|3);
1532 var182
= core__flat___CString___to_s_unsafe(var181
, var183
, var184
, var185
, var186
);
1534 varonce179
= var180
;
1537 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var180
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
1542 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
1543 var189
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
1544 if (unlikely(var189
== NULL
)) {
1545 if(catchStack
.cursor
>= 0){
1546 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1548 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
1549 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
1553 RET_LABEL188
:(void)0;
1557 { /* Inline model$MProperty$name (var187) on <var187:MProperty> */
1558 var192
= var187
->attrs
[COLOR_nitc__model__MProperty___name
].val
; /* _name on <var187:MProperty> */
1559 if (unlikely(var192
== NULL
)) {
1560 if(catchStack
.cursor
>= 0){
1561 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1563 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name");
1564 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2047);
1568 RET_LABEL191
:(void)0;
1572 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var190
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
1576 var193
= core___core__FlatBuffer___core__abstract_text__Object__to_s(var_res
);
1582 self
->attrs
[COLOR_nitc__model__MPropDef___full_name
].val
= var3
; /* _full_name on <self:MPropDef> */
1589 /* method model$MPropDef$c_name for (self: MPropDef): String */
1590 val
* nitc___nitc__MPropDef___nitc__model_base__MEntity__c_name(val
* self
) {
1591 val
* var
/* : String */;
1592 short int var1
/* : Bool */;
1593 val
* var2
/* : String */;
1594 val
* var3
/* : String */;
1595 val
* var5
/* : FlatBuffer */;
1596 val
* var_res
/* var res: FlatBuffer */;
1597 val
* var7
/* : MClassDef */;
1598 val
* var9
/* : MClassDef */;
1599 val
* var10
/* : String */;
1600 static val
* varonce
;
1601 val
* var11
/* : String */;
1602 char* var12
/* : CString */;
1603 val
* var13
/* : String */;
1604 val
* var14
/* : nullable Int */;
1605 val
* var15
/* : nullable Int */;
1606 val
* var16
/* : nullable Bool */;
1607 val
* var17
/* : nullable Bool */;
1608 val
* var18
/* : MClassDef */;
1609 val
* var20
/* : MClassDef */;
1610 val
* var21
/* : MClass */;
1611 val
* var23
/* : MClass */;
1612 val
* var24
/* : MProperty */;
1613 val
* var26
/* : MProperty */;
1614 val
* var27
/* : MClassDef */;
1615 val
* var29
/* : MClassDef */;
1616 val
* var30
/* : MClass */;
1617 val
* var32
/* : MClass */;
1618 short int var33
/* : Bool */;
1619 val
* var_other
/* var other: nullable Object */;
1620 short int var35
/* : Bool */;
1621 short int var37
/* : Bool */;
1622 val
* var38
/* : String */;
1623 val
* var39
/* : String */;
1624 val
* var40
/* : MClassDef */;
1625 val
* var42
/* : MClassDef */;
1626 val
* var43
/* : MModule */;
1627 val
* var45
/* : MModule */;
1628 val
* var46
/* : MProperty */;
1629 val
* var48
/* : MProperty */;
1630 val
* var49
/* : MClassDef */;
1631 val
* var51
/* : MClassDef */;
1632 val
* var52
/* : MModule */;
1633 val
* var54
/* : MModule */;
1634 short int var55
/* : Bool */;
1635 val
* var_other57
/* var other: nullable Object */;
1636 short int var58
/* : Bool */;
1637 short int var59
/* : Bool */;
1638 val
* var60
/* : MProperty */;
1639 val
* var62
/* : MProperty */;
1640 val
* var63
/* : MClassDef */;
1641 val
* var65
/* : MClassDef */;
1642 val
* var66
/* : MModule */;
1643 val
* var68
/* : MModule */;
1644 val
* var69
/* : String */;
1645 static val
* varonce70
;
1646 val
* var71
/* : String */;
1647 char* var72
/* : CString */;
1648 val
* var73
/* : String */;
1649 val
* var74
/* : nullable Int */;
1650 val
* var75
/* : nullable Int */;
1651 val
* var76
/* : nullable Bool */;
1652 val
* var77
/* : nullable Bool */;
1653 val
* var78
/* : MClassDef */;
1654 val
* var80
/* : MClassDef */;
1655 val
* var81
/* : MClass */;
1656 val
* var83
/* : MClass */;
1657 val
* var84
/* : MProperty */;
1658 val
* var86
/* : MProperty */;
1659 val
* var87
/* : MClassDef */;
1660 val
* var89
/* : MClassDef */;
1661 val
* var90
/* : MClass */;
1662 val
* var92
/* : MClass */;
1663 short int var93
/* : Bool */;
1664 short int var95
/* : Bool */;
1665 short int var96
/* : Bool */;
1666 val
* var97
/* : MProperty */;
1667 val
* var99
/* : MProperty */;
1668 val
* var100
/* : MClassDef */;
1669 val
* var102
/* : MClassDef */;
1670 val
* var103
/* : String */;
1671 val
* var104
/* : String */;
1672 static val
* varonce105
;
1673 val
* var106
/* : String */;
1674 char* var107
/* : CString */;
1675 val
* var108
/* : String */;
1676 val
* var109
/* : nullable Int */;
1677 val
* var110
/* : nullable Int */;
1678 val
* var111
/* : nullable Bool */;
1679 val
* var112
/* : nullable Bool */;
1680 val
* var113
/* : MProperty */;
1681 val
* var115
/* : MProperty */;
1682 val
* var116
/* : String */;
1683 val
* var118
/* : String */;
1684 val
* var119
/* : String */;
1685 val
* var120
/* : String */;
1686 var1
= self
->attrs
[COLOR_nitc__model__MPropDef___c_name
].val
!= NULL
; /* _c_name on <self:MPropDef> */
1688 var2
= self
->attrs
[COLOR_nitc__model__MPropDef___c_name
].val
; /* _c_name on <self:MPropDef> */
1689 if (unlikely(var2
== NULL
)) {
1690 if(catchStack
.cursor
>= 0){
1691 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1693 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _c_name");
1694 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2428);
1699 var5
= NEW_core__FlatBuffer(&type_core__FlatBuffer
);
1701 { /* Inline flat$FlatBuffer$init (var5) on <var5:FlatBuffer> */
1703 ((void(*)(val
* self
))(var5
->class->vft
[COLOR_core___core__FlatBuffer___core__kernel__Object__init
]))(var5
); /* init on <var5:FlatBuffer>*/
1710 { /* Inline model$MPropDef$mclassdef (self) on <self:MPropDef> */
1711 var9
= self
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <self:MPropDef> */
1712 if (unlikely(var9
== NULL
)) {
1713 if(catchStack
.cursor
>= 0){
1714 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1716 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
1717 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
1725 var10
= nitc___nitc__MClassDef___nitc__model_base__MEntity__c_name(var7
);
1728 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var10
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
1730 if (likely(varonce
!=NULL
)) {
1734 var14
= (val
*)(3l<<2|1);
1735 var15
= (val
*)(3l<<2|1);
1736 var16
= (val
*)((long)(0)<<2|3);
1737 var17
= (val
*)((long)(0)<<2|3);
1738 var13
= core__flat___CString___to_s_unsafe(var12
, var14
, var15
, var16
, var17
);
1743 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var11
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
1746 { /* Inline model$MPropDef$mclassdef (self) on <self:MPropDef> */
1747 var20
= self
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <self:MPropDef> */
1748 if (unlikely(var20
== NULL
)) {
1749 if(catchStack
.cursor
>= 0){
1750 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1752 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
1753 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
1757 RET_LABEL19
:(void)0;
1761 { /* Inline model$MClassDef$mclass (var18) on <var18:MClassDef> */
1762 var23
= var18
->attrs
[COLOR_nitc__model__MClassDef___mclass
].val
; /* _mclass on <var18:MClassDef> */
1763 if (unlikely(var23
== NULL
)) {
1764 if(catchStack
.cursor
>= 0){
1765 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1767 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass");
1768 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 591);
1772 RET_LABEL22
:(void)0;
1776 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
1777 var26
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
1778 if (unlikely(var26
== NULL
)) {
1779 if(catchStack
.cursor
>= 0){
1780 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1782 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
1783 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
1787 RET_LABEL25
:(void)0;
1791 { /* Inline model$MProperty$intro_mclassdef (var24) on <var24:MProperty> */
1792 var29
= var24
->attrs
[COLOR_nitc__model__MProperty___intro_mclassdef
].val
; /* _intro_mclassdef on <var24:MProperty> */
1793 if (unlikely(var29
== NULL
)) {
1794 if(catchStack
.cursor
>= 0){
1795 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1797 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef");
1798 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2042);
1802 RET_LABEL28
:(void)0;
1806 { /* Inline model$MClassDef$mclass (var27) on <var27:MClassDef> */
1807 var32
= var27
->attrs
[COLOR_nitc__model__MClassDef___mclass
].val
; /* _mclass on <var27:MClassDef> */
1808 if (unlikely(var32
== NULL
)) {
1809 if(catchStack
.cursor
>= 0){
1810 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1812 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass");
1813 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 591);
1817 RET_LABEL31
:(void)0;
1821 { /* Inline kernel$Object$== (var21,var30) on <var21:MClass> */
1824 { /* Inline kernel$Object$is_same_instance (var21,var_other) on <var21:MClass> */
1825 var37
= var21
== var_other
;
1828 RET_LABEL36
:(void)0;
1833 RET_LABEL34
:(void)0;
1838 var38
= nitc___nitc__MPropDef___nitc__model_base__MEntity__name(self
);
1841 var39
= core___core__Text___to_cmangle(var38
);
1844 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var39
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
1848 { /* Inline model$MPropDef$mclassdef (self) on <self:MPropDef> */
1849 var42
= self
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <self:MPropDef> */
1850 if (unlikely(var42
== NULL
)) {
1851 if(catchStack
.cursor
>= 0){
1852 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1854 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
1855 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
1859 RET_LABEL41
:(void)0;
1863 { /* Inline model$MClassDef$mmodule (var40) on <var40:MClassDef> */
1864 var45
= var40
->attrs
[COLOR_nitc__model__MClassDef___mmodule
].val
; /* _mmodule on <var40:MClassDef> */
1865 if (unlikely(var45
== NULL
)) {
1866 if(catchStack
.cursor
>= 0){
1867 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1869 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule");
1870 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 588);
1874 RET_LABEL44
:(void)0;
1878 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
1879 var48
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
1880 if (unlikely(var48
== NULL
)) {
1881 if(catchStack
.cursor
>= 0){
1882 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1884 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
1885 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
1889 RET_LABEL47
:(void)0;
1893 { /* Inline model$MProperty$intro_mclassdef (var46) on <var46:MProperty> */
1894 var51
= var46
->attrs
[COLOR_nitc__model__MProperty___intro_mclassdef
].val
; /* _intro_mclassdef on <var46:MProperty> */
1895 if (unlikely(var51
== NULL
)) {
1896 if(catchStack
.cursor
>= 0){
1897 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1899 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef");
1900 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2042);
1904 RET_LABEL50
:(void)0;
1908 { /* Inline model$MClassDef$mmodule (var49) on <var49:MClassDef> */
1909 var54
= var49
->attrs
[COLOR_nitc__model__MClassDef___mmodule
].val
; /* _mmodule on <var49:MClassDef> */
1910 if (unlikely(var54
== NULL
)) {
1911 if(catchStack
.cursor
>= 0){
1912 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1914 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule");
1915 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 588);
1919 RET_LABEL53
:(void)0;
1923 { /* Inline kernel$Object$!= (var43,var52) on <var43:MModule> */
1924 var_other57
= var52
;
1926 var58
= ((short int(*)(val
* self
, val
* p0
))(var43
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var43
, var_other57
); /* == on <var43:MModule>*/
1931 RET_LABEL56
:(void)0;
1936 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
1937 var62
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
1938 if (unlikely(var62
== NULL
)) {
1939 if(catchStack
.cursor
>= 0){
1940 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1942 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
1943 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
1947 RET_LABEL61
:(void)0;
1951 { /* Inline model$MProperty$intro_mclassdef (var60) on <var60:MProperty> */
1952 var65
= var60
->attrs
[COLOR_nitc__model__MProperty___intro_mclassdef
].val
; /* _intro_mclassdef on <var60:MProperty> */
1953 if (unlikely(var65
== NULL
)) {
1954 if(catchStack
.cursor
>= 0){
1955 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1957 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef");
1958 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2042);
1962 RET_LABEL64
:(void)0;
1966 { /* Inline model$MClassDef$mmodule (var63) on <var63:MClassDef> */
1967 var68
= var63
->attrs
[COLOR_nitc__model__MClassDef___mmodule
].val
; /* _mmodule on <var63:MClassDef> */
1968 if (unlikely(var68
== NULL
)) {
1969 if(catchStack
.cursor
>= 0){
1970 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
1972 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mmodule");
1973 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 588);
1977 RET_LABEL67
:(void)0;
1981 var69
= nitc___nitc__MModule___nitc__model_base__MEntity__c_name(var66
);
1984 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var69
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
1986 if (likely(varonce70
!=NULL
)) {
1990 var74
= (val
*)(2l<<2|1);
1991 var75
= (val
*)(2l<<2|1);
1992 var76
= (val
*)((long)(0)<<2|3);
1993 var77
= (val
*)((long)(0)<<2|3);
1994 var73
= core__flat___CString___to_s_unsafe(var72
, var74
, var75
, var76
, var77
);
1999 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var71
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
2004 { /* Inline model$MPropDef$mclassdef (self) on <self:MPropDef> */
2005 var80
= self
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <self:MPropDef> */
2006 if (unlikely(var80
== NULL
)) {
2007 if(catchStack
.cursor
>= 0){
2008 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2010 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
2011 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
2015 RET_LABEL79
:(void)0;
2019 { /* Inline model$MClassDef$mclass (var78) on <var78:MClassDef> */
2020 var83
= var78
->attrs
[COLOR_nitc__model__MClassDef___mclass
].val
; /* _mclass on <var78:MClassDef> */
2021 if (unlikely(var83
== NULL
)) {
2022 if(catchStack
.cursor
>= 0){
2023 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2025 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass");
2026 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 591);
2030 RET_LABEL82
:(void)0;
2034 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
2035 var86
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
2036 if (unlikely(var86
== NULL
)) {
2037 if(catchStack
.cursor
>= 0){
2038 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2040 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
2041 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
2045 RET_LABEL85
:(void)0;
2049 { /* Inline model$MProperty$intro_mclassdef (var84) on <var84:MProperty> */
2050 var89
= var84
->attrs
[COLOR_nitc__model__MProperty___intro_mclassdef
].val
; /* _intro_mclassdef on <var84:MProperty> */
2051 if (unlikely(var89
== NULL
)) {
2052 if(catchStack
.cursor
>= 0){
2053 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2055 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef");
2056 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2042);
2060 RET_LABEL88
:(void)0;
2064 { /* Inline model$MClassDef$mclass (var87) on <var87:MClassDef> */
2065 var92
= var87
->attrs
[COLOR_nitc__model__MClassDef___mclass
].val
; /* _mclass on <var87:MClassDef> */
2066 if (unlikely(var92
== NULL
)) {
2067 if(catchStack
.cursor
>= 0){
2068 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2070 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclass");
2071 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 591);
2075 RET_LABEL91
:(void)0;
2079 { /* Inline kernel$Object$!= (var81,var90) on <var81:MClass> */
2080 var_other57
= var90
;
2082 var95
= ((short int(*)(val
* self
, val
* p0
))(var81
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var81
, var_other57
); /* == on <var81:MClass>*/
2087 RET_LABEL94
:(void)0;
2092 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
2093 var99
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
2094 if (unlikely(var99
== NULL
)) {
2095 if(catchStack
.cursor
>= 0){
2096 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2098 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
2099 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
2103 RET_LABEL98
:(void)0;
2107 { /* Inline model$MProperty$intro_mclassdef (var97) on <var97:MProperty> */
2108 var102
= var97
->attrs
[COLOR_nitc__model__MProperty___intro_mclassdef
].val
; /* _intro_mclassdef on <var97:MProperty> */
2109 if (unlikely(var102
== NULL
)) {
2110 if(catchStack
.cursor
>= 0){
2111 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2113 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro_mclassdef");
2114 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2042);
2118 RET_LABEL101
:(void)0;
2122 var103
= nitc___nitc__MClassDef___nitc__model_base__MEntity__name(var100
);
2125 var104
= core___core__Text___to_cmangle(var103
);
2128 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var104
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
2130 if (likely(varonce105
!=NULL
)) {
2131 var106
= varonce105
;
2134 var109
= (val
*)(2l<<2|1);
2135 var110
= (val
*)(2l<<2|1);
2136 var111
= (val
*)((long)(0)<<2|3);
2137 var112
= (val
*)((long)(0)<<2|3);
2138 var108
= core__flat___CString___to_s_unsafe(var107
, var109
, var110
, var111
, var112
);
2140 varonce105
= var106
;
2143 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var106
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
2148 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
2149 var115
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
2150 if (unlikely(var115
== NULL
)) {
2151 if(catchStack
.cursor
>= 0){
2152 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2154 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
2155 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
2159 RET_LABEL114
:(void)0;
2163 { /* Inline model$MProperty$name (var113) on <var113:MProperty> */
2164 var118
= var113
->attrs
[COLOR_nitc__model__MProperty___name
].val
; /* _name on <var113:MProperty> */
2165 if (unlikely(var118
== NULL
)) {
2166 if(catchStack
.cursor
>= 0){
2167 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2169 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _name");
2170 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2047);
2174 RET_LABEL117
:(void)0;
2178 var119
= core___core__Text___to_cmangle(var116
);
2181 core___core__FlatBuffer___core__abstract_text__Buffer__append(var_res
, var119
); /* Direct call flat$FlatBuffer$append on <var_res:FlatBuffer>*/
2185 var120
= core___core__FlatBuffer___core__abstract_text__Object__to_s(var_res
);
2191 self
->attrs
[COLOR_nitc__model__MPropDef___c_name
].val
= var3
; /* _c_name on <self:MPropDef> */
2198 /* method model$MPropDef$model for (self: MPropDef): Model */
2199 val
* nitc___nitc__MPropDef___nitc__model_base__MEntity__model(val
* self
) {
2200 val
* var
/* : Model */;
2201 val
* var1
/* : MClassDef */;
2202 val
* var3
/* : MClassDef */;
2203 val
* var4
/* : Model */;
2205 { /* Inline model$MPropDef$mclassdef (self) on <self:MPropDef> */
2206 var3
= self
->attrs
[COLOR_nitc__model__MPropDef___mclassdef
].val
; /* _mclassdef on <self:MPropDef> */
2207 if (unlikely(var3
== NULL
)) {
2208 if(catchStack
.cursor
>= 0){
2209 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2211 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mclassdef");
2212 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2354);
2220 var4
= nitc___nitc__MClassDef___nitc__model_base__MEntity__model(var1
);
2227 /* method model$MPropDef$to_s for (self: MPropDef): String */
2228 val
* nitc___nitc__MPropDef___core__abstract_text__Object__to_s(val
* self
) {
2229 val
* var
/* : String */;
2230 val
* var1
/* : String */;
2231 var1
= self
->attrs
[COLOR_nitc__model__MPropDef___to_s
].val
; /* _to_s on <self:MPropDef> */
2232 if (unlikely(var1
== NULL
)) {
2233 if(catchStack
.cursor
>= 0){
2234 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2236 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _to_s");
2237 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2450);
2244 /* method model$MPropDef$to_s= for (self: MPropDef, String) */
2245 void nitc___nitc__MPropDef___to_s_61d(val
* self
, val
* p0
) {
2246 self
->attrs
[COLOR_nitc__model__MPropDef___to_s
].val
= p0
; /* _to_s on <self:MPropDef> */
2249 /* method model$MPropDef$is_intro for (self: MPropDef): Bool */
2250 short int nitc___nitc__MPropDef___is_intro(val
* self
) {
2251 short int var
/* : Bool */;
2252 short int var1
/* : Bool */;
2253 val
* var2
/* : MProperty */;
2254 val
* var4
/* : MProperty */;
2255 short int var5
/* : Bool */;
2256 short int var_
/* var : Bool */;
2257 val
* var6
/* : MProperty */;
2258 val
* var8
/* : MProperty */;
2259 val
* var9
/* : MPropDef */;
2260 val
* var11
/* : MPropDef */;
2261 short int var12
/* : Bool */;
2262 val
* var_other
/* var other: nullable Object */;
2263 short int var14
/* : Bool */;
2264 short int var16
/* : Bool */;
2266 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
2267 var4
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
2268 if (unlikely(var4
== NULL
)) {
2269 if(catchStack
.cursor
>= 0){
2270 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2272 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
2273 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
2280 var5
= var2
->attrs
[COLOR_nitc__model__MProperty___intro
].val
!= NULL
; /* _intro on <var2:MProperty> */
2284 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
2285 var8
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
2286 if (unlikely(var8
== NULL
)) {
2287 if(catchStack
.cursor
>= 0){
2288 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2290 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
2291 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
2299 { /* Inline model$MProperty$intro (var6) on <var6:MProperty> */
2300 var11
= var6
->attrs
[COLOR_nitc__model__MProperty___intro
].val
; /* _intro on <var6:MProperty> */
2301 if (unlikely(var11
== NULL
)) {
2302 if(catchStack
.cursor
>= 0){
2303 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2305 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _intro");
2306 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2097);
2310 RET_LABEL10
:(void)0;
2314 { /* Inline kernel$Object$== (var9,self) on <var9:MPropDef> */
2317 { /* Inline kernel$Object$is_same_instance (var9,var_other) on <var9:MPropDef> */
2318 var16
= var9
== var_other
;
2321 RET_LABEL15
:(void)0;
2326 RET_LABEL13
:(void)0;
2338 /* method model$MPropDef$lookup_next_definition for (self: MPropDef, MModule, MType): MPropDef */
2339 val
* nitc___nitc__MPropDef___lookup_next_definition(val
* self
, val
* p0
, val
* p1
) {
2340 val
* var
/* : MPropDef */;
2341 val
* var_mmodule
/* var mmodule: MModule */;
2342 val
* var_mtype
/* var mtype: MType */;
2343 short int var1
/* : Bool */;
2344 short int var2
/* : Bool */;
2345 val
* var3
/* : MProperty */;
2346 val
* var5
/* : MProperty */;
2347 val
* var6
/* : Array[MPropDef] */;
2348 val
* var_mpropdefs
/* var mpropdefs: Array[MPropDef] */;
2349 val
* var7
/* : IndexedIterator[nullable Object] */;
2350 val
* var_i
/* var i: IndexedIterator[MPropDef] */;
2351 short int var8
/* : Bool */;
2352 short int var9
/* : Bool */;
2353 short int var_
/* var : Bool */;
2354 val
* var10
/* : nullable Object */;
2355 short int var11
/* : Bool */;
2356 val
* var_other
/* var other: nullable Object */;
2357 short int var13
/* : Bool */;
2358 short int var14
/* : Bool */;
2359 short int var15
/* : Bool */;
2360 short int var16
/* : Bool */;
2361 val
* var17
/* : nullable Object */;
2362 short int var18
/* : Bool */;
2365 const struct type
* type_struct
;
2366 const char* var_class_name
;
2370 var1
= ((short int(*)(val
* self
))(var_mtype
->class->vft
[COLOR_nitc__model__MType__need_anchor
]))(var_mtype
); /* need_anchor on <var_mtype:MType>*/
2373 if (unlikely(!var2
)) {
2374 if(catchStack
.cursor
>= 0){
2375 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2377 PRINT_ERROR("Runtime error: %s", "Assert failed");
2378 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2464);
2382 { /* Inline model$MPropDef$mproperty (self) on <self:MPropDef> */
2383 var5
= self
->attrs
[COLOR_nitc__model__MPropDef___mproperty
].val
; /* _mproperty on <self:MPropDef> */
2384 if (unlikely(var5
== NULL
)) {
2385 if(catchStack
.cursor
>= 0){
2386 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2388 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _mproperty");
2389 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2357);
2397 var6
= nitc___nitc__MProperty___lookup_all_definitions(var3
, var_mmodule
, var_mtype
);
2399 var_mpropdefs
= var6
;
2401 var7
= core___core__AbstractArrayRead___core__abstract_collection__Collection__iterator(var_mpropdefs
);
2406 var9
= ((short int(*)(val
* self
))((((long)var_i
&3)?class_info
[((long)var_i
&3)]:var_i
->class)->vft
[COLOR_core__abstract_collection__Iterator__is_ok
]))(var_i
); /* is_ok on <var_i:IndexedIterator[MPropDef]>*/
2411 var10
= ((val
*(*)(val
* self
))((((long)var_i
&3)?class_info
[((long)var_i
&3)]:var_i
->class)->vft
[COLOR_core__abstract_collection__Iterator__item
]))(var_i
); /* item on <var_i:IndexedIterator[MPropDef]>*/
2414 { /* Inline kernel$Object$!= (var10,self) on <var10:nullable Object(MPropDef)> */
2417 var13
= ((short int(*)(val
* self
, val
* p0
))(var10
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var10
, var_other
); /* == on <var10:nullable Object(MPropDef)>*/
2422 RET_LABEL12
:(void)0;
2431 ((void(*)(val
* self
))((((long)var_i
&3)?class_info
[((long)var_i
&3)]:var_i
->class)->vft
[COLOR_core__abstract_collection__Iterator__next
]))(var_i
); /* next on <var_i:IndexedIterator[MPropDef]>*/
2437 BREAK_label
: (void)0;
2439 var15
= ((short int(*)(val
* self
))((((long)var_i
&3)?class_info
[((long)var_i
&3)]:var_i
->class)->vft
[COLOR_core__abstract_collection__Iterator__is_ok
]))(var_i
); /* is_ok on <var_i:IndexedIterator[MPropDef]>*/
2441 if (unlikely(!var15
)) {
2442 if(catchStack
.cursor
>= 0){
2443 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2445 PRINT_ERROR("Runtime error: %s", "Assert \'has_property\' failed");
2446 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2469);
2450 ((void(*)(val
* self
))((((long)var_i
&3)?class_info
[((long)var_i
&3)]:var_i
->class)->vft
[COLOR_core__abstract_collection__Iterator__next
]))(var_i
); /* next on <var_i:IndexedIterator[MPropDef]>*/
2453 var16
= ((short int(*)(val
* self
))((((long)var_i
&3)?class_info
[((long)var_i
&3)]:var_i
->class)->vft
[COLOR_core__abstract_collection__Iterator__is_ok
]))(var_i
); /* is_ok on <var_i:IndexedIterator[MPropDef]>*/
2455 if (unlikely(!var16
)) {
2456 if(catchStack
.cursor
>= 0){
2457 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2459 PRINT_ERROR("Runtime error: %s", "Assert \'has_next_property\' failed");
2460 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2471);
2464 var17
= ((val
*(*)(val
* self
))((((long)var_i
&3)?class_info
[((long)var_i
&3)]:var_i
->class)->vft
[COLOR_core__abstract_collection__Iterator__item
]))(var_i
); /* item on <var_i:IndexedIterator[MPropDef]>*/
2466 /* <var17:nullable Object(MPropDef)> isa MPROPDEF */
2467 type_struct
= self
->type
->resolution_table
->types
[COLOR_nitc__model__MPropDef__MPROPDEF
];
2468 cltype
= type_struct
->color
;
2469 idtype
= type_struct
->id
;
2470 if(cltype
>= var17
->type
->table_size
) {
2473 var18
= var17
->type
->type_table
[cltype
] == idtype
;
2475 if (unlikely(!var18
)) {
2476 var_class_name
= var17
== NULL ?
"null" : var17
->type
->name
;
2477 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "MPROPDEF", var_class_name
);
2478 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2472);
2486 /* method model$MMethodDef$msignature for (self: MMethodDef): nullable MSignature */
2487 val
* nitc___nitc__MMethodDef___msignature(val
* self
) {
2488 val
* var
/* : nullable MSignature */;
2489 val
* var1
/* : nullable MSignature */;
2490 var1
= self
->attrs
[COLOR_nitc__model__MMethodDef___msignature
].val
; /* _msignature on <self:MMethodDef> */
2495 /* method model$MMethodDef$msignature= for (self: MMethodDef, nullable MSignature) */
2496 void nitc___nitc__MMethodDef___msignature_61d(val
* self
, val
* p0
) {
2497 self
->attrs
[COLOR_nitc__model__MMethodDef___msignature
].val
= p0
; /* _msignature on <self:MMethodDef> */
2500 /* method model$MMethodDef$new_msignature for (self: MMethodDef): nullable MSignature */
2501 val
* nitc___nitc__MMethodDef___new_msignature(val
* self
) {
2502 val
* var
/* : nullable MSignature */;
2503 val
* var1
/* : nullable MSignature */;
2504 var1
= self
->attrs
[COLOR_nitc__model__MMethodDef___new_msignature
].val
; /* _new_msignature on <self:MMethodDef> */
2509 /* method model$MMethodDef$new_msignature= for (self: MMethodDef, nullable MSignature) */
2510 void nitc___nitc__MMethodDef___new_msignature_61d(val
* self
, val
* p0
) {
2511 self
->attrs
[COLOR_nitc__model__MMethodDef___new_msignature
].val
= p0
; /* _new_msignature on <self:MMethodDef> */
2514 /* method model$MMethodDef$initializers for (self: MMethodDef): Array[MProperty] */
2515 val
* nitc___nitc__MMethodDef___initializers(val
* self
) {
2516 val
* var
/* : Array[MProperty] */;
2517 val
* var1
/* : Array[MProperty] */;
2518 var1
= self
->attrs
[COLOR_nitc__model__MMethodDef___initializers
].val
; /* _initializers on <self:MMethodDef> */
2519 if (unlikely(var1
== NULL
)) {
2520 if(catchStack
.cursor
>= 0){
2521 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2523 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _initializers");
2524 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2492);
2531 /* method model$MMethodDef$is_abstract for (self: MMethodDef): Bool */
2532 short int nitc___nitc__MMethodDef___is_abstract(val
* self
) {
2533 short int var
/* : Bool */;
2534 short int var1
/* : Bool */;
2535 var1
= self
->attrs
[COLOR_nitc__model__MMethodDef___is_abstract
].s
; /* _is_abstract on <self:MMethodDef> */
2540 /* method model$MMethodDef$is_abstract= for (self: MMethodDef, Bool) */
2541 void nitc___nitc__MMethodDef___is_abstract_61d(val
* self
, short int p0
) {
2542 self
->attrs
[COLOR_nitc__model__MMethodDef___is_abstract
].s
= p0
; /* _is_abstract on <self:MMethodDef> */
2545 /* method model$MMethodDef$is_intern for (self: MMethodDef): Bool */
2546 short int nitc___nitc__MMethodDef___is_intern(val
* self
) {
2547 short int var
/* : Bool */;
2548 short int var1
/* : Bool */;
2549 var1
= self
->attrs
[COLOR_nitc__model__MMethodDef___is_intern
].s
; /* _is_intern on <self:MMethodDef> */
2554 /* method model$MMethodDef$is_intern= for (self: MMethodDef, Bool) */
2555 void nitc___nitc__MMethodDef___is_intern_61d(val
* self
, short int p0
) {
2556 self
->attrs
[COLOR_nitc__model__MMethodDef___is_intern
].s
= p0
; /* _is_intern on <self:MMethodDef> */
2559 /* method model$MMethodDef$is_extern for (self: MMethodDef): Bool */
2560 short int nitc___nitc__MMethodDef___is_extern(val
* self
) {
2561 short int var
/* : Bool */;
2562 short int var1
/* : Bool */;
2563 var1
= self
->attrs
[COLOR_nitc__model__MMethodDef___is_extern
].s
; /* _is_extern on <self:MMethodDef> */
2568 /* method model$MMethodDef$is_extern= for (self: MMethodDef, Bool) */
2569 void nitc___nitc__MMethodDef___is_extern_61d(val
* self
, short int p0
) {
2570 self
->attrs
[COLOR_nitc__model__MMethodDef___is_extern
].s
= p0
; /* _is_extern on <self:MMethodDef> */
2573 /* method model$MMethodDef$constant_value for (self: MMethodDef): nullable Object */
2574 val
* nitc___nitc__MMethodDef___constant_value(val
* self
) {
2575 val
* var
/* : nullable Object */;
2576 val
* var1
/* : nullable Object */;
2577 var1
= self
->attrs
[COLOR_nitc__model__MMethodDef___constant_value
].val
; /* _constant_value on <self:MMethodDef> */
2582 /* method model$MMethodDef$constant_value= for (self: MMethodDef, nullable Object) */
2583 void nitc___nitc__MMethodDef___constant_value_61d(val
* self
, val
* p0
) {
2584 self
->attrs
[COLOR_nitc__model__MMethodDef___constant_value
].val
= p0
; /* _constant_value on <self:MMethodDef> */
2587 /* method model$MAttributeDef$static_mtype for (self: MAttributeDef): nullable MType */
2588 val
* nitc___nitc__MAttributeDef___static_mtype(val
* self
) {
2589 val
* var
/* : nullable MType */;
2590 val
* var1
/* : nullable MType */;
2591 var1
= self
->attrs
[COLOR_nitc__model__MAttributeDef___static_mtype
].val
; /* _static_mtype on <self:MAttributeDef> */
2596 /* method model$MAttributeDef$static_mtype= for (self: MAttributeDef, nullable MType) */
2597 void nitc___nitc__MAttributeDef___static_mtype_61d(val
* self
, val
* p0
) {
2598 self
->attrs
[COLOR_nitc__model__MAttributeDef___static_mtype
].val
= p0
; /* _static_mtype on <self:MAttributeDef> */
2601 /* method model$MVirtualTypeDef$bound for (self: MVirtualTypeDef): nullable MType */
2602 val
* nitc___nitc__MVirtualTypeDef___bound(val
* self
) {
2603 val
* var
/* : nullable MType */;
2604 val
* var1
/* : nullable MType */;
2605 var1
= self
->attrs
[COLOR_nitc__model__MVirtualTypeDef___bound
].val
; /* _bound on <self:MVirtualTypeDef> */
2610 /* method model$MVirtualTypeDef$bound= for (self: MVirtualTypeDef, nullable MType) */
2611 void nitc___nitc__MVirtualTypeDef___bound_61d(val
* self
, val
* p0
) {
2612 self
->attrs
[COLOR_nitc__model__MVirtualTypeDef___bound
].val
= p0
; /* _bound on <self:MVirtualTypeDef> */
2615 /* method model$MVirtualTypeDef$is_fixed for (self: MVirtualTypeDef): Bool */
2616 short int nitc___nitc__MVirtualTypeDef___is_fixed(val
* self
) {
2617 short int var
/* : Bool */;
2618 short int var1
/* : Bool */;
2619 var1
= self
->attrs
[COLOR_nitc__model__MVirtualTypeDef___is_fixed
].s
; /* _is_fixed on <self:MVirtualTypeDef> */
2624 /* method model$MVirtualTypeDef$is_fixed= for (self: MVirtualTypeDef, Bool) */
2625 void nitc___nitc__MVirtualTypeDef___is_fixed_61d(val
* self
, short int p0
) {
2626 self
->attrs
[COLOR_nitc__model__MVirtualTypeDef___is_fixed
].s
= p0
; /* _is_fixed on <self:MVirtualTypeDef> */
2629 /* method model$MClassKind$to_s for (self: MClassKind): String */
2630 val
* nitc___nitc__MClassKind___core__abstract_text__Object__to_s(val
* self
) {
2631 val
* var
/* : String */;
2632 val
* var1
/* : String */;
2633 var1
= self
->attrs
[COLOR_nitc__model__MClassKind___to_s
].val
; /* _to_s on <self:MClassKind> */
2634 if (unlikely(var1
== NULL
)) {
2635 if(catchStack
.cursor
>= 0){
2636 longjmp(catchStack
.envs
[catchStack
.cursor
], 1);
2638 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _to_s");
2639 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__model
, 2555);
2646 /* method model$MClassKind$to_s= for (self: MClassKind, String) */
2647 void nitc___nitc__MClassKind___to_s_61d(val
* self
, val
* p0
) {
2648 self
->attrs
[COLOR_nitc__model__MClassKind___to_s
].val
= p0
; /* _to_s on <self:MClassKind> */
2651 /* method model$MClassKind$need_init for (self: MClassKind): Bool */
2652 short int nitc___nitc__MClassKind___need_init(val
* self
) {
2653 short int var
/* : Bool */;
2654 short int var1
/* : Bool */;
2655 var1
= self
->attrs
[COLOR_nitc__model__MClassKind___need_init
].s
; /* _need_init on <self:MClassKind> */
2660 /* method model$MClassKind$need_init= for (self: MClassKind, Bool) */
2661 void nitc___nitc__MClassKind___need_init_61d(val
* self
, short int p0
) {
2662 self
->attrs
[COLOR_nitc__model__MClassKind___need_init
].s
= p0
; /* _need_init on <self:MClassKind> */
2665 /* method model$MClassKind$can_specialize for (self: MClassKind, MClassKind): Bool */
2666 short int nitc___nitc__MClassKind___can_specialize(val
* self
, val
* p0
) {
2667 short int var
/* : Bool */;
2668 val
* var_other
/* var other: MClassKind */;
2669 val
* var1
/* : Sys */;
2670 val
* var2
/* : MClassKind */;
2671 short int var3
/* : Bool */;
2672 val
* var_other5
/* var other: nullable Object */;
2673 short int var6
/* : Bool */;
2674 short int var8
/* : Bool */;
2675 short int var9
/* : Bool */;
2676 val
* var10
/* : Sys */;
2677 val
* var11
/* : MClassKind */;
2678 short int var12
/* : Bool */;
2679 short int var14
/* : Bool */;
2680 short int var16
/* : Bool */;
2681 short int var_
/* var : Bool */;
2682 val
* var17
/* : Sys */;
2683 val
* var18
/* : MClassKind */;
2684 short int var19
/* : Bool */;
2685 short int var21
/* : Bool */;
2686 short int var23
/* : Bool */;
2687 val
* var24
/* : Sys */;
2688 val
* var25
/* : MClassKind */;
2689 short int var26
/* : Bool */;
2690 short int var28
/* : Bool */;
2691 short int var30
/* : Bool */;
2692 short int var31
/* : Bool */;
2693 short int var33
/* : Bool */;
2694 short int var35
/* : Bool */;
2695 short int var36
/* : Bool */;
2696 val
* var37
/* : Sys */;
2697 val
* var38
/* : MClassKind */;
2698 short int var39
/* : Bool */;
2699 short int var41
/* : Bool */;
2700 short int var43
/* : Bool */;
2701 short int var_44
/* var : Bool */;
2702 val
* var45
/* : Sys */;
2703 val
* var46
/* : MClassKind */;
2704 short int var47
/* : Bool */;
2705 short int var49
/* : Bool */;
2706 short int var51
/* : Bool */;
2710 var2
= nitc__model___core__Sys___interface_kind(var1
);
2713 { /* Inline kernel$Object$== (var_other,var2) on <var_other:MClassKind> */
2716 { /* Inline kernel$Object$is_same_instance (var_other,var_other5) on <var_other:MClassKind> */
2717 var8
= var_other
== var_other5
;
2735 var11
= nitc__model___core__Sys___interface_kind(var10
);
2738 { /* Inline kernel$Object$== (self,var11) on <self:MClassKind> */
2741 { /* Inline kernel$Object$is_same_instance (self,var_other5) on <self:MClassKind> */
2742 var16
= self
== var_other5
;
2745 RET_LABEL15
:(void)0;
2750 RET_LABEL13
:(void)0;
2759 var18
= nitc__model___core__Sys___enum_kind(var17
);
2762 { /* Inline kernel$Object$== (self,var18) on <self:MClassKind> */
2765 { /* Inline kernel$Object$is_same_instance (self,var_other5) on <self:MClassKind> */
2766 var23
= self
== var_other5
;
2769 RET_LABEL22
:(void)0;
2774 RET_LABEL20
:(void)0;
2785 var25
= nitc__model___core__Sys___extern_kind(var24
);
2788 { /* Inline kernel$Object$== (self,var25) on <self:MClassKind> */
2791 { /* Inline kernel$Object$is_same_instance (self,var_other5) on <self:MClassKind> */
2792 var30
= self
== var_other5
;
2795 RET_LABEL29
:(void)0;
2800 RET_LABEL27
:(void)0;
2805 { /* Inline kernel$Object$== (self,var_other) on <self:MClassKind> */
2806 var_other5
= var_other
;
2808 { /* Inline kernel$Object$is_same_instance (self,var_other5) on <self:MClassKind> */
2809 var35
= self
== var_other5
;
2812 RET_LABEL34
:(void)0;
2817 RET_LABEL32
:(void)0;
2825 var38
= nitc__model___core__Sys___enum_kind(var37
);
2828 { /* Inline kernel$Object$== (var_other,var38) on <var_other:MClassKind> */
2831 { /* Inline kernel$Object$is_same_instance (var_other,var_other5) on <var_other:MClassKind> */
2832 var43
= var_other
== var_other5
;
2835 RET_LABEL42
:(void)0;
2840 RET_LABEL40
:(void)0;
2849 var46
= nitc__model___core__Sys___extern_kind(var45
);
2852 { /* Inline kernel$Object$== (var_other,var46) on <var_other:MClassKind> */
2855 { /* Inline kernel$Object$is_same_instance (var_other,var_other5) on <var_other:MClassKind> */
2856 var51
= var_other
== var_other5
;
2859 RET_LABEL50
:(void)0;
2864 RET_LABEL48
:(void)0;
2881 /* method model$MClassKind$init for (self: MClassKind) */
2882 void nitc___nitc__MClassKind___core__kernel__Object__init(val
* self
) {
2884 ((void(*)(val
* self
))(self
->class->vft
[COLOR_nitc___nitc__MClassKind___core__kernel__Object__init
]))(self
); /* init on <self:MClassKind>*/
2888 /* method model$Sys$abstract_kind for (self: Sys): MClassKind */
2889 val
* nitc__model___core__Sys___abstract_kind(val
* self
) {
2890 val
* var
/* : MClassKind */;
2891 static val
* varonce
;
2892 static int varonce_guard
;
2893 val
* var1
/* : MClassKind */;
2894 val
* var2
/* : MClassKind */;
2895 static val
* varonce3
;
2896 val
* var4
/* : String */;
2897 char* var5
/* : CString */;
2898 val
* var6
/* : String */;
2899 val
* var7
/* : nullable Int */;
2900 val
* var8
/* : nullable Int */;
2901 val
* var9
/* : nullable Bool */;
2902 val
* var10
/* : nullable Bool */;
2903 if (likely(varonce_guard
)) {
2906 var2
= NEW_nitc__MClassKind(&type_nitc__MClassKind
);
2907 if (likely(varonce3
!=NULL
)) {
2910 var5
= "abstract class";
2911 var7
= (val
*)(14l<<2|1);
2912 var8
= (val
*)(14l<<2|1);
2913 var9
= (val
*)((long)(0)<<2|3);
2914 var10
= (val
*)((long)(0)<<2|3);
2915 var6
= core__flat___CString___to_s_unsafe(var5
, var7
, var8
, var9
, var10
);
2920 ((void(*)(val
* self
, val
* p0
))(var2
->class->vft
[COLOR_nitc__model__MClassKind__to_s_61d
]))(var2
, var4
); /* to_s= on <var2:MClassKind>*/
2923 ((void(*)(val
* self
, short int p0
))(var2
->class->vft
[COLOR_nitc__model__MClassKind__need_init_61d
]))(var2
, 1); /* need_init= on <var2:MClassKind>*/
2926 ((void(*)(val
* self
))(var2
->class->vft
[COLOR_core__kernel__Object__init
]))(var2
); /* init on <var2:MClassKind>*/
2937 /* method model$Sys$concrete_kind for (self: Sys): MClassKind */
2938 val
* nitc__model___core__Sys___concrete_kind(val
* self
) {
2939 val
* var
/* : MClassKind */;
2940 static val
* varonce
;
2941 static int varonce_guard
;
2942 val
* var1
/* : MClassKind */;
2943 val
* var2
/* : MClassKind */;
2944 static val
* varonce3
;
2945 val
* var4
/* : String */;
2946 char* var5
/* : CString */;
2947 val
* var6
/* : String */;
2948 val
* var7
/* : nullable Int */;
2949 val
* var8
/* : nullable Int */;
2950 val
* var9
/* : nullable Bool */;
2951 val
* var10
/* : nullable Bool */;
2952 if (likely(varonce_guard
)) {
2955 var2
= NEW_nitc__MClassKind(&type_nitc__MClassKind
);
2956 if (likely(varonce3
!=NULL
)) {
2960 var7
= (val
*)(5l<<2|1);
2961 var8
= (val
*)(5l<<2|1);
2962 var9
= (val
*)((long)(0)<<2|3);
2963 var10
= (val
*)((long)(0)<<2|3);
2964 var6
= core__flat___CString___to_s_unsafe(var5
, var7
, var8
, var9
, var10
);
2969 ((void(*)(val
* self
, val
* p0
))(var2
->class->vft
[COLOR_nitc__model__MClassKind__to_s_61d
]))(var2
, var4
); /* to_s= on <var2:MClassKind>*/
2972 ((void(*)(val
* self
, short int p0
))(var2
->class->vft
[COLOR_nitc__model__MClassKind__need_init_61d
]))(var2
, 1); /* need_init= on <var2:MClassKind>*/
2975 ((void(*)(val
* self
))(var2
->class->vft
[COLOR_core__kernel__Object__init
]))(var2
); /* init on <var2:MClassKind>*/
2986 /* method model$Sys$interface_kind for (self: Sys): MClassKind */
2987 val
* nitc__model___core__Sys___interface_kind(val
* self
) {
2988 val
* var
/* : MClassKind */;
2989 static val
* varonce
;
2990 static int varonce_guard
;
2991 val
* var1
/* : MClassKind */;
2992 val
* var2
/* : MClassKind */;
2993 static val
* varonce3
;
2994 val
* var4
/* : String */;
2995 char* var5
/* : CString */;
2996 val
* var6
/* : String */;
2997 val
* var7
/* : nullable Int */;
2998 val
* var8
/* : nullable Int */;
2999 val
* var9
/* : nullable Bool */;
3000 val
* var10
/* : nullable Bool */;
3001 if (likely(varonce_guard
)) {
3004 var2
= NEW_nitc__MClassKind(&type_nitc__MClassKind
);
3005 if (likely(varonce3
!=NULL
)) {
3009 var7
= (val
*)(9l<<2|1);
3010 var8
= (val
*)(9l<<2|1);
3011 var9
= (val
*)((long)(0)<<2|3);
3012 var10
= (val
*)((long)(0)<<2|3);
3013 var6
= core__flat___CString___to_s_unsafe(var5
, var7
, var8
, var9
, var10
);
3018 ((void(*)(val
* self
, val
* p0
))(var2
->class->vft
[COLOR_nitc__model__MClassKind__to_s_61d
]))(var2
, var4
); /* to_s= on <var2:MClassKind>*/
3021 ((void(*)(val
* self
, short int p0
))(var2
->class->vft
[COLOR_nitc__model__MClassKind__need_init_61d
]))(var2
, 0); /* need_init= on <var2:MClassKind>*/
3024 ((void(*)(val
* self
))(var2
->class->vft
[COLOR_core__kernel__Object__init
]))(var2
); /* init on <var2:MClassKind>*/
3035 /* method model$Sys$enum_kind for (self: Sys): MClassKind */
3036 val
* nitc__model___core__Sys___enum_kind(val
* self
) {
3037 val
* var
/* : MClassKind */;
3038 static val
* varonce
;
3039 static int varonce_guard
;
3040 val
* var1
/* : MClassKind */;
3041 val
* var2
/* : MClassKind */;
3042 static val
* varonce3
;
3043 val
* var4
/* : String */;
3044 char* var5
/* : CString */;
3045 val
* var6
/* : String */;
3046 val
* var7
/* : nullable Int */;
3047 val
* var8
/* : nullable Int */;
3048 val
* var9
/* : nullable Bool */;
3049 val
* var10
/* : nullable Bool */;
3050 if (likely(varonce_guard
)) {
3053 var2
= NEW_nitc__MClassKind(&type_nitc__MClassKind
);
3054 if (likely(varonce3
!=NULL
)) {
3058 var7
= (val
*)(4l<<2|1);
3059 var8
= (val
*)(4l<<2|1);
3060 var9
= (val
*)((long)(0)<<2|3);
3061 var10
= (val
*)((long)(0)<<2|3);
3062 var6
= core__flat___CString___to_s_unsafe(var5
, var7
, var8
, var9
, var10
);
3067 ((void(*)(val
* self
, val
* p0
))(var2
->class->vft
[COLOR_nitc__model__MClassKind__to_s_61d
]))(var2
, var4
); /* to_s= on <var2:MClassKind>*/
3070 ((void(*)(val
* self
, short int p0
))(var2
->class->vft
[COLOR_nitc__model__MClassKind__need_init_61d
]))(var2
, 0); /* need_init= on <var2:MClassKind>*/
3073 ((void(*)(val
* self
))(var2
->class->vft
[COLOR_core__kernel__Object__init
]))(var2
); /* init on <var2:MClassKind>*/
3084 /* method model$Sys$extern_kind for (self: Sys): MClassKind */
3085 val
* nitc__model___core__Sys___extern_kind(val
* self
) {
3086 val
* var
/* : MClassKind */;
3087 static val
* varonce
;
3088 static int varonce_guard
;
3089 val
* var1
/* : MClassKind */;
3090 val
* var2
/* : MClassKind */;
3091 static val
* varonce3
;
3092 val
* var4
/* : String */;
3093 char* var5
/* : CString */;
3094 val
* var6
/* : String */;
3095 val
* var7
/* : nullable Int */;
3096 val
* var8
/* : nullable Int */;
3097 val
* var9
/* : nullable Bool */;
3098 val
* var10
/* : nullable Bool */;
3099 if (likely(varonce_guard
)) {
3102 var2
= NEW_nitc__MClassKind(&type_nitc__MClassKind
);
3103 if (likely(varonce3
!=NULL
)) {
3106 var5
= "extern class";
3107 var7
= (val
*)(12l<<2|1);
3108 var8
= (val
*)(12l<<2|1);
3109 var9
= (val
*)((long)(0)<<2|3);
3110 var10
= (val
*)((long)(0)<<2|3);
3111 var6
= core__flat___CString___to_s_unsafe(var5
, var7
, var8
, var9
, var10
);
3116 ((void(*)(val
* self
, val
* p0
))(var2
->class->vft
[COLOR_nitc__model__MClassKind__to_s_61d
]))(var2
, var4
); /* to_s= on <var2:MClassKind>*/
3119 ((void(*)(val
* self
, short int p0
))(var2
->class->vft
[COLOR_nitc__model__MClassKind__need_init_61d
]))(var2
, 0); /* need_init= on <var2:MClassKind>*/
3122 ((void(*)(val
* self
))(var2
->class->vft
[COLOR_core__kernel__Object__init
]))(var2
); /* init on <var2:MClassKind>*/