1 #include "nitc__location.sep.0.h"
2 /* method location#SourceFile#filename for (self: SourceFile): String */
3 val
* nitc___nitc__SourceFile___filename(val
* self
) {
4 val
* var
/* : String */;
5 val
* var1
/* : String */;
6 var1
= self
->attrs
[COLOR_nitc__location__SourceFile___filename
].val
; /* _filename on <self:SourceFile> */
7 if (unlikely(var1
== NULL
)) {
8 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _filename");
9 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 22);
16 /* method location#SourceFile#filename= for (self: SourceFile, String) */
17 void nitc___nitc__SourceFile___filename_61d(val
* self
, val
* p0
) {
18 self
->attrs
[COLOR_nitc__location__SourceFile___filename
].val
= p0
; /* _filename on <self:SourceFile> */
21 /* method location#SourceFile#string for (self: SourceFile): String */
22 val
* nitc___nitc__SourceFile___string(val
* self
) {
23 val
* var
/* : String */;
24 val
* var1
/* : String */;
25 var1
= self
->attrs
[COLOR_nitc__location__SourceFile___string
].val
; /* _string on <self:SourceFile> */
26 if (unlikely(var1
== NULL
)) {
27 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _string");
28 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 25);
35 /* method location#SourceFile#string= for (self: SourceFile, String) */
36 void nitc___nitc__SourceFile___string_61d(val
* self
, val
* p0
) {
37 self
->attrs
[COLOR_nitc__location__SourceFile___string
].val
= p0
; /* _string on <self:SourceFile> */
40 /* method location#SourceFile#stream for (self: SourceFile): Reader */
41 val
* nitc___nitc__SourceFile___stream(val
* self
) {
42 val
* var
/* : Reader */;
43 val
* var1
/* : Reader */;
44 var1
= self
->attrs
[COLOR_nitc__location__SourceFile___stream
].val
; /* _stream on <self:SourceFile> */
45 if (unlikely(var1
== NULL
)) {
46 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _stream");
47 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 28);
54 /* method location#SourceFile#stream= for (self: SourceFile, Reader) */
55 void nitc___nitc__SourceFile___stream_61d(val
* self
, val
* p0
) {
56 self
->attrs
[COLOR_nitc__location__SourceFile___stream
].val
= p0
; /* _stream on <self:SourceFile> */
59 /* method location#SourceFile#init for (self: SourceFile) */
60 void nitc___nitc__SourceFile___core__kernel__Object__init(val
* self
) {
61 val
* var
/* : Reader */;
62 val
* var2
/* : Reader */;
63 val
* var3
/* : String */;
64 val
* var5
/* : Array[Int] */;
65 val
* var7
/* : Array[Int] */;
66 val
* var8
/* : nullable Object */;
68 ((void(*)(val
* self
))(self
->class->vft
[COLOR_nitc___nitc__SourceFile___core__kernel__Object__init
]))(self
); /* init on <self:SourceFile>*/
71 { /* Inline location#SourceFile#stream (self) on <self:SourceFile> */
72 var2
= self
->attrs
[COLOR_nitc__location__SourceFile___stream
].val
; /* _stream on <self:SourceFile> */
73 if (unlikely(var2
== NULL
)) {
74 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _stream");
75 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 28);
83 var3
= core___core__Reader___read_all(var
);
86 { /* Inline location#SourceFile#string= (self,var3) on <self:SourceFile> */
87 self
->attrs
[COLOR_nitc__location__SourceFile___string
].val
= var3
; /* _string on <self:SourceFile> */
92 { /* Inline location#SourceFile#line_starts (self) on <self:SourceFile> */
93 var7
= self
->attrs
[COLOR_nitc__location__SourceFile___line_starts
].val
; /* _line_starts on <self:SourceFile> */
94 if (unlikely(var7
== NULL
)) {
95 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _line_starts");
96 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 46);
104 var8
= (val
*)(0l<<2|1);
105 core___core__Array___core__abstract_collection__Sequence___91d_93d_61d(var5
, 0l, var8
); /* Direct call array#Array#[]= on <var5:Array[Int]>*/
109 /* method location#SourceFile#from_string for (self: SourceFile, String, String) */
110 void nitc___nitc__SourceFile___from_string(val
* self
, val
* p0
, val
* p1
) {
111 val
* var_filename
/* var filename: String */;
112 val
* var_string
/* var string: String */;
113 val
* var
/* : Array[Int] */;
114 val
* var4
/* : Array[Int] */;
115 val
* var5
/* : nullable Object */;
119 { /* Inline location#SourceFile#filename= (self,var_filename) on <self:SourceFile> */
120 self
->attrs
[COLOR_nitc__location__SourceFile___filename
].val
= var_filename
; /* _filename on <self:SourceFile> */
125 { /* Inline location#SourceFile#string= (self,var_string) on <self:SourceFile> */
126 self
->attrs
[COLOR_nitc__location__SourceFile___string
].val
= var_string
; /* _string on <self:SourceFile> */
131 { /* Inline location#SourceFile#line_starts (self) on <self:SourceFile> */
132 var4
= self
->attrs
[COLOR_nitc__location__SourceFile___line_starts
].val
; /* _line_starts on <self:SourceFile> */
133 if (unlikely(var4
== NULL
)) {
134 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _line_starts");
135 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 46);
143 var5
= (val
*)(0l<<2|1);
144 core___core__Array___core__abstract_collection__Sequence___91d_93d_61d(var
, 0l, var5
); /* Direct call array#Array#[]= on <var:Array[Int]>*/
148 /* method location#SourceFile#line_starts for (self: SourceFile): Array[Int] */
149 val
* nitc___nitc__SourceFile___line_starts(val
* self
) {
150 val
* var
/* : Array[Int] */;
151 val
* var1
/* : Array[Int] */;
152 var1
= self
->attrs
[COLOR_nitc__location__SourceFile___line_starts
].val
; /* _line_starts on <self:SourceFile> */
153 if (unlikely(var1
== NULL
)) {
154 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _line_starts");
155 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 46);
162 /* method location#Location#file for (self: Location): nullable SourceFile */
163 val
* nitc___nitc__Location___file(val
* self
) {
164 val
* var
/* : nullable SourceFile */;
165 val
* var1
/* : nullable SourceFile */;
166 var1
= self
->attrs
[COLOR_nitc__location__Location___file
].val
; /* _file on <self:Location> */
171 /* method location#Location#file= for (self: Location, nullable SourceFile) */
172 void nitc___nitc__Location___file_61d(val
* self
, val
* p0
) {
173 self
->attrs
[COLOR_nitc__location__Location___file
].val
= p0
; /* _file on <self:Location> */
176 /* method location#Location#line_start for (self: Location): Int */
177 long nitc___nitc__Location___line_start(val
* self
) {
178 long var
/* : Int */;
179 long var1
/* : Int */;
180 var1
= self
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <self:Location> */
185 /* method location#Location#line_start= for (self: Location, Int) */
186 void nitc___nitc__Location___line_start_61d(val
* self
, long p0
) {
187 self
->attrs
[COLOR_nitc__location__Location___line_start
].l
= p0
; /* _line_start on <self:Location> */
190 /* method location#Location#line_end for (self: Location): Int */
191 long nitc___nitc__Location___line_end(val
* self
) {
192 long var
/* : Int */;
193 long var1
/* : Int */;
194 var1
= self
->attrs
[COLOR_nitc__location__Location___line_end
].l
; /* _line_end on <self:Location> */
199 /* method location#Location#line_end= for (self: Location, Int) */
200 void nitc___nitc__Location___line_end_61d(val
* self
, long p0
) {
201 self
->attrs
[COLOR_nitc__location__Location___line_end
].l
= p0
; /* _line_end on <self:Location> */
204 /* method location#Location#column_start for (self: Location): Int */
205 long nitc___nitc__Location___column_start(val
* self
) {
206 long var
/* : Int */;
207 long var1
/* : Int */;
208 var1
= self
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <self:Location> */
213 /* method location#Location#column_start= for (self: Location, Int) */
214 void nitc___nitc__Location___column_start_61d(val
* self
, long p0
) {
215 self
->attrs
[COLOR_nitc__location__Location___column_start
].l
= p0
; /* _column_start on <self:Location> */
218 /* method location#Location#column_end for (self: Location): Int */
219 long nitc___nitc__Location___column_end(val
* self
) {
220 long var
/* : Int */;
221 long var1
/* : Int */;
222 var1
= self
->attrs
[COLOR_nitc__location__Location___column_end
].l
; /* _column_end on <self:Location> */
227 /* method location#Location#column_end= for (self: Location, Int) */
228 void nitc___nitc__Location___column_end_61d(val
* self
, long p0
) {
229 self
->attrs
[COLOR_nitc__location__Location___column_end
].l
= p0
; /* _column_end on <self:Location> */
232 /* method location#Location#pstart for (self: Location): Int */
233 long nitc___nitc__Location___pstart(val
* self
) {
234 long var
/* : Int */;
235 val
* var1
/* : nullable SourceFile */;
236 val
* var3
/* : nullable SourceFile */;
237 val
* var4
/* : Array[Int] */;
238 val
* var6
/* : Array[Int] */;
239 long var7
/* : Int */;
240 long var9
/* : Int */;
241 long var10
/* : Int */;
242 short int var12
/* : Bool */;
245 const char* var_class_name
;
246 long var13
/* : Int */;
247 val
* var14
/* : nullable Object */;
248 long var15
/* : Int */;
249 long var17
/* : Int */;
250 long var18
/* : Int */;
251 short int var20
/* : Bool */;
254 const char* var_class_name23
;
255 long var24
/* : Int */;
256 long var25
/* : Int */;
257 long var26
/* : Int */;
258 short int var28
/* : Bool */;
261 const char* var_class_name31
;
262 long var32
/* : Int */;
264 { /* Inline location#Location#file (self) on <self:Location> */
265 var3
= self
->attrs
[COLOR_nitc__location__Location___file
].val
; /* _file on <self:Location> */
271 PRINT_ERROR("Runtime error: %s", "Receiver is null");
272 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 144);
275 { /* Inline location#SourceFile#line_starts (var1) on <var1:nullable SourceFile> */
276 if (unlikely(var1
== NULL
)) {
277 PRINT_ERROR("Runtime error: %s", "Receiver is null");
278 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 46);
281 var6
= var1
->attrs
[COLOR_nitc__location__SourceFile___line_starts
].val
; /* _line_starts on <var1:nullable SourceFile> */
282 if (unlikely(var6
== NULL
)) {
283 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _line_starts");
284 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 46);
292 { /* Inline location#Location#line_start (self) on <self:Location> */
293 var9
= self
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <self:Location> */
299 { /* Inline kernel#Int#- (var7,1l) on <var7:Int> */
300 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
301 /* <1l:Int> isa OTHER */
302 var12
= 1; /* easy <1l:Int> isa OTHER*/
303 if (unlikely(!var12
)) {
304 var_class_name
= type_core__Int
.name
;
305 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
306 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 734);
316 var14
= core___core__Array___core__abstract_collection__SequenceRead___91d_93d(var4
, var10
);
319 { /* Inline location#Location#column_start (self) on <self:Location> */
320 var17
= self
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <self:Location> */
326 { /* Inline kernel#Int#+ (var14,var15) on <var14:nullable Object(Int)> */
327 /* Covariant cast for argument 0 (i) <var15:Int> isa OTHER */
328 /* <var15:Int> isa OTHER */
329 var20
= 1; /* easy <var15:Int> isa OTHER*/
330 if (unlikely(!var20
)) {
331 var_class_name23
= type_core__Int
.name
;
332 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name23
);
333 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
336 var24
= (long)(var14
)>>2;
337 var25
= var24
+ var15
;
344 { /* Inline kernel#Int#- (var18,1l) on <var18:Int> */
345 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
346 /* <1l:Int> isa OTHER */
347 var28
= 1; /* easy <1l:Int> isa OTHER*/
348 if (unlikely(!var28
)) {
349 var_class_name31
= type_core__Int
.name
;
350 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name31
);
351 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 734);
365 /* method location#Location#pend for (self: Location): Int */
366 long nitc___nitc__Location___pend(val
* self
) {
367 long var
/* : Int */;
368 val
* var1
/* : nullable SourceFile */;
369 val
* var3
/* : nullable SourceFile */;
370 val
* var4
/* : Array[Int] */;
371 val
* var6
/* : Array[Int] */;
372 long var7
/* : Int */;
373 long var9
/* : Int */;
374 long var10
/* : Int */;
375 short int var12
/* : Bool */;
378 const char* var_class_name
;
379 long var13
/* : Int */;
380 val
* var14
/* : nullable Object */;
381 long var15
/* : Int */;
382 long var17
/* : Int */;
383 long var18
/* : Int */;
384 short int var20
/* : Bool */;
387 const char* var_class_name23
;
388 long var24
/* : Int */;
389 long var25
/* : Int */;
390 long var26
/* : Int */;
391 short int var28
/* : Bool */;
394 const char* var_class_name31
;
395 long var32
/* : Int */;
397 { /* Inline location#Location#file (self) on <self:Location> */
398 var3
= self
->attrs
[COLOR_nitc__location__Location___file
].val
; /* _file on <self:Location> */
404 PRINT_ERROR("Runtime error: %s", "Receiver is null");
405 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 147);
408 { /* Inline location#SourceFile#line_starts (var1) on <var1:nullable SourceFile> */
409 if (unlikely(var1
== NULL
)) {
410 PRINT_ERROR("Runtime error: %s", "Receiver is null");
411 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 46);
414 var6
= var1
->attrs
[COLOR_nitc__location__SourceFile___line_starts
].val
; /* _line_starts on <var1:nullable SourceFile> */
415 if (unlikely(var6
== NULL
)) {
416 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _line_starts");
417 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 46);
425 { /* Inline location#Location#line_end (self) on <self:Location> */
426 var9
= self
->attrs
[COLOR_nitc__location__Location___line_end
].l
; /* _line_end on <self:Location> */
432 { /* Inline kernel#Int#- (var7,1l) on <var7:Int> */
433 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
434 /* <1l:Int> isa OTHER */
435 var12
= 1; /* easy <1l:Int> isa OTHER*/
436 if (unlikely(!var12
)) {
437 var_class_name
= type_core__Int
.name
;
438 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
439 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 734);
449 var14
= core___core__Array___core__abstract_collection__SequenceRead___91d_93d(var4
, var10
);
452 { /* Inline location#Location#column_end (self) on <self:Location> */
453 var17
= self
->attrs
[COLOR_nitc__location__Location___column_end
].l
; /* _column_end on <self:Location> */
459 { /* Inline kernel#Int#+ (var14,var15) on <var14:nullable Object(Int)> */
460 /* Covariant cast for argument 0 (i) <var15:Int> isa OTHER */
461 /* <var15:Int> isa OTHER */
462 var20
= 1; /* easy <var15:Int> isa OTHER*/
463 if (unlikely(!var20
)) {
464 var_class_name23
= type_core__Int
.name
;
465 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name23
);
466 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
469 var24
= (long)(var14
)>>2;
470 var25
= var24
+ var15
;
477 { /* Inline kernel#Int#- (var18,1l) on <var18:Int> */
478 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
479 /* <1l:Int> isa OTHER */
480 var28
= 1; /* easy <1l:Int> isa OTHER*/
481 if (unlikely(!var28
)) {
482 var_class_name31
= type_core__Int
.name
;
483 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name31
);
484 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 734);
498 /* method location#Location#text for (self: Location): String */
499 val
* nitc___nitc__Location___text(val
* self
) {
500 val
* var
/* : String */;
501 val
* var1
/* : nullable String */;
502 val
* var3
/* : nullable String */;
503 val
* var_res
/* var res: nullable String */;
504 short int var4
/* : Bool */;
505 short int var5
/* : Bool */;
506 val
* var_other
/* var other: nullable Object */;
507 short int var7
/* : Bool */;
508 short int var8
/* : Bool */;
509 val
* var_l
/* var l: Location */;
510 long var9
/* : Int */;
511 long var_pstart
/* var pstart: Int */;
512 long var10
/* : Int */;
513 long var_pend
/* var pend: Int */;
514 val
* var11
/* : nullable SourceFile */;
515 val
* var13
/* : nullable SourceFile */;
516 val
* var14
/* : String */;
517 val
* var16
/* : String */;
518 long var17
/* : Int */;
519 short int var19
/* : Bool */;
522 const char* var_class_name
;
523 long var20
/* : Int */;
524 long var21
/* : Int */;
525 short int var23
/* : Bool */;
528 const char* var_class_name26
;
529 long var27
/* : Int */;
530 val
* var28
/* : Text */;
532 { /* Inline location#Location#text_cache (self) on <self:Location> */
533 var3
= self
->attrs
[COLOR_nitc__location__Location___text_cache
].val
; /* _text_cache on <self:Location> */
539 if (var_res
== NULL
) {
540 var4
= 0; /* is null */
542 var4
= 1; /* arg is null and recv is not */
545 { /* Inline kernel#Object#!= (var_res,((val*)NULL)) on <var_res:nullable String> */
546 var_other
= ((val
*)NULL
);
548 var7
= ((short int(*)(val
* self
, val
* p0
))(var_res
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_res
, var_other
); /* == on <var_res:nullable String(String)>*/
564 var9
= nitc___nitc__Location___pstart(self
);
568 var10
= nitc___nitc__Location___pend(self
);
572 { /* Inline location#Location#file (var_l) on <var_l:Location> */
573 var13
= var_l
->attrs
[COLOR_nitc__location__Location___file
].val
; /* _file on <var_l:Location> */
579 PRINT_ERROR("Runtime error: %s", "Receiver is null");
580 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 157);
583 { /* Inline location#SourceFile#string (var11) on <var11:nullable SourceFile> */
584 if (unlikely(var11
== NULL
)) {
585 PRINT_ERROR("Runtime error: %s", "Receiver is null");
586 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 25);
589 var16
= var11
->attrs
[COLOR_nitc__location__SourceFile___string
].val
; /* _string on <var11:nullable SourceFile> */
590 if (unlikely(var16
== NULL
)) {
591 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _string");
592 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 25);
600 { /* Inline kernel#Int#- (var_pend,var_pstart) on <var_pend:Int> */
601 /* Covariant cast for argument 0 (i) <var_pstart:Int> isa OTHER */
602 /* <var_pstart:Int> isa OTHER */
603 var19
= 1; /* easy <var_pstart:Int> isa OTHER*/
604 if (unlikely(!var19
)) {
605 var_class_name
= type_core__Int
.name
;
606 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
607 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 734);
610 var20
= var_pend
- var_pstart
;
617 { /* Inline kernel#Int#+ (var17,1l) on <var17:Int> */
618 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
619 /* <1l:Int> isa OTHER */
620 var23
= 1; /* easy <1l:Int> isa OTHER*/
621 if (unlikely(!var23
)) {
622 var_class_name26
= type_core__Int
.name
;
623 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name26
);
624 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
634 var28
= ((val
*(*)(val
* self
, long p0
, long p1
))(var14
->class->vft
[COLOR_core__abstract_text__Text__substring
]))(var14
, var_pstart
, var21
); /* substring on <var14:String>*/
638 { /* Inline location#Location#text_cache= (self,var_res) on <self:Location> */
639 self
->attrs
[COLOR_nitc__location__Location___text_cache
].val
= var_res
; /* _text_cache on <self:Location> */
648 /* method location#Location#text_cache for (self: Location): nullable String */
649 val
* nitc___nitc__Location___text_cache(val
* self
) {
650 val
* var
/* : nullable String */;
651 val
* var1
/* : nullable String */;
652 var1
= self
->attrs
[COLOR_nitc__location__Location___text_cache
].val
; /* _text_cache on <self:Location> */
657 /* method location#Location#text_cache= for (self: Location, nullable String) */
658 void nitc___nitc__Location___text_cache_61d(val
* self
, val
* p0
) {
659 self
->attrs
[COLOR_nitc__location__Location___text_cache
].val
= p0
; /* _text_cache on <self:Location> */
662 /* method location#Location#== for (self: Location, nullable Object): Bool */
663 short int nitc___nitc__Location___core__kernel__Object___61d_61d(val
* self
, val
* p0
) {
664 short int var
/* : Bool */;
665 val
* var_other
/* var other: nullable Object */;
666 short int var1
/* : Bool */;
667 short int var2
/* : Bool */;
668 short int var3
/* : Bool */;
671 short int var4
/* : Bool */;
672 val
* var5
/* : nullable SourceFile */;
673 val
* var7
/* : nullable SourceFile */;
674 val
* var8
/* : nullable SourceFile */;
675 val
* var10
/* : nullable SourceFile */;
676 short int var11
/* : Bool */;
677 short int var12
/* : Bool */;
678 val
* var_other14
/* var other: nullable Object */;
679 short int var15
/* : Bool */;
680 short int var16
/* : Bool */;
681 long var17
/* : Int */;
682 long var19
/* : Int */;
683 long var20
/* : Int */;
684 long var22
/* : Int */;
685 short int var23
/* : Bool */;
686 short int var25
/* : Bool */;
687 short int var26
/* : Bool */;
688 long var27
/* : Int */;
689 long var29
/* : Int */;
690 long var30
/* : Int */;
691 long var32
/* : Int */;
692 short int var33
/* : Bool */;
693 short int var35
/* : Bool */;
694 short int var36
/* : Bool */;
695 long var37
/* : Int */;
696 long var39
/* : Int */;
697 long var40
/* : Int */;
698 long var42
/* : Int */;
699 short int var43
/* : Bool */;
700 short int var45
/* : Bool */;
701 short int var46
/* : Bool */;
702 long var47
/* : Int */;
703 long var49
/* : Int */;
704 long var50
/* : Int */;
705 long var52
/* : Int */;
706 short int var53
/* : Bool */;
707 short int var55
/* : Bool */;
708 short int var56
/* : Bool */;
710 if (var_other
== NULL
) {
711 var1
= 1; /* is null */
713 var1
= 0; /* arg is null but recv is not */
716 var2
= ((short int(*)(val
* self
, val
* p0
))((((long)var_other
&3)?class_info
[((long)var_other
&3)]:var_other
->class)->vft
[COLOR_core__kernel__Object___61d_61d
]))(var_other
, ((val
*)NULL
)); /* == on <var_other:nullable Object>*/
724 /* <var_other:nullable Object(Object)> isa Location */
725 cltype
= type_nitc__Location
.color
;
726 idtype
= type_nitc__Location
.id
;
727 if(cltype
>= (((long)var_other
&3)?type_info
[((long)var_other
&3)]:var_other
->type
)->table_size
) {
730 var3
= (((long)var_other
&3)?type_info
[((long)var_other
&3)]:var_other
->type
)->type_table
[cltype
] == idtype
;
739 { /* Inline location#Location#file (var_other) on <var_other:nullable Object(Location)> */
740 var7
= var_other
->attrs
[COLOR_nitc__location__Location___file
].val
; /* _file on <var_other:nullable Object(Location)> */
746 { /* Inline location#Location#file (self) on <self:Location> */
747 var10
= self
->attrs
[COLOR_nitc__location__Location___file
].val
; /* _file on <self:Location> */
753 var11
= (var8
!= NULL
);
755 { /* Inline kernel#Object#!= (var5,var8) on <var5:nullable SourceFile> */
758 var15
= ((short int(*)(val
* self
, val
* p0
))(var5
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var5
, var_other14
); /* == on <var5:nullable SourceFile(SourceFile)>*/
773 { /* Inline location#Location#line_start (var_other) on <var_other:nullable Object(Location)> */
774 var19
= var_other
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <var_other:nullable Object(Location)> */
780 { /* Inline location#Location#line_start (self) on <self:Location> */
781 var22
= self
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <self:Location> */
787 { /* Inline kernel#Int#!= (var17,var20) on <var17:Int> */
788 var25
= var17
== var20
;
801 { /* Inline location#Location#line_end (var_other) on <var_other:nullable Object(Location)> */
802 var29
= var_other
->attrs
[COLOR_nitc__location__Location___line_end
].l
; /* _line_end on <var_other:nullable Object(Location)> */
808 { /* Inline location#Location#line_end (self) on <self:Location> */
809 var32
= self
->attrs
[COLOR_nitc__location__Location___line_end
].l
; /* _line_end on <self:Location> */
815 { /* Inline kernel#Int#!= (var27,var30) on <var27:Int> */
816 var35
= var27
== var30
;
829 { /* Inline location#Location#column_start (var_other) on <var_other:nullable Object(Location)> */
830 var39
= var_other
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <var_other:nullable Object(Location)> */
836 { /* Inline location#Location#column_start (self) on <self:Location> */
837 var42
= self
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <self:Location> */
843 { /* Inline kernel#Int#!= (var37,var40) on <var37:Int> */
844 var45
= var37
== var40
;
857 { /* Inline location#Location#column_end (var_other) on <var_other:nullable Object(Location)> */
858 var49
= var_other
->attrs
[COLOR_nitc__location__Location___column_end
].l
; /* _column_end on <var_other:nullable Object(Location)> */
864 { /* Inline location#Location#column_end (self) on <self:Location> */
865 var52
= self
->attrs
[COLOR_nitc__location__Location___column_end
].l
; /* _column_end on <self:Location> */
871 { /* Inline kernel#Int#!= (var47,var50) on <var47:Int> */
872 var55
= var47
== var50
;
889 /* method location#Location#located_in for (self: Location, nullable Location): Bool */
890 short int nitc___nitc__Location___located_in(val
* self
, val
* p0
) {
891 short int var
/* : Bool */;
892 val
* var_loc
/* var loc: nullable Location */;
893 short int var1
/* : Bool */;
894 short int var2
/* : Bool */;
895 long var3
/* : Int */;
896 long var5
/* : Int */;
897 long var6
/* : Int */;
898 long var8
/* : Int */;
899 short int var9
/* : Bool */;
900 short int var11
/* : Bool */;
903 const char* var_class_name
;
904 short int var12
/* : Bool */;
905 long var13
/* : Int */;
906 long var15
/* : Int */;
907 long var16
/* : Int */;
908 long var18
/* : Int */;
909 short int var19
/* : Bool */;
910 short int var21
/* : Bool */;
913 const char* var_class_name24
;
914 short int var25
/* : Bool */;
915 long var26
/* : Int */;
916 long var28
/* : Int */;
917 long var29
/* : Int */;
918 long var31
/* : Int */;
919 short int var32
/* : Bool */;
920 short int var34
/* : Bool */;
923 const char* var_class_name37
;
924 short int var38
/* : Bool */;
925 long var39
/* : Int */;
926 long var41
/* : Int */;
927 long var42
/* : Int */;
928 long var44
/* : Int */;
929 short int var45
/* : Bool */;
930 short int var47
/* : Bool */;
931 long var48
/* : Int */;
932 long var50
/* : Int */;
933 long var51
/* : Int */;
934 long var53
/* : Int */;
935 short int var54
/* : Bool */;
936 short int var56
/* : Bool */;
939 const char* var_class_name59
;
940 short int var60
/* : Bool */;
941 long var61
/* : Int */;
942 long var63
/* : Int */;
943 long var64
/* : Int */;
944 long var66
/* : Int */;
945 short int var67
/* : Bool */;
946 short int var69
/* : Bool */;
949 const char* var_class_name72
;
950 short int var73
/* : Bool */;
951 short int var74
/* : Bool */;
952 long var75
/* : Int */;
953 long var77
/* : Int */;
954 long var78
/* : Int */;
955 long var80
/* : Int */;
956 short int var81
/* : Bool */;
957 short int var83
/* : Bool */;
958 short int var_
/* var : Bool */;
959 long var84
/* : Int */;
960 long var86
/* : Int */;
961 long var87
/* : Int */;
962 long var89
/* : Int */;
963 short int var90
/* : Bool */;
964 short int var92
/* : Bool */;
967 const char* var_class_name95
;
968 short int var96
/* : Bool */;
970 if (var_loc
== NULL
) {
971 var1
= 1; /* is null */
973 var1
= 0; /* arg is null but recv is not */
976 var2
= nitc___nitc__Location___core__kernel__Object___61d_61d(var_loc
, ((val
*)NULL
));
985 { /* Inline location#Location#line_start (self) on <self:Location> */
986 var5
= self
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <self:Location> */
992 { /* Inline location#Location#line_start (var_loc) on <var_loc:nullable Location(Location)> */
993 var8
= var_loc
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <var_loc:nullable Location(Location)> */
999 { /* Inline kernel#Int#< (var3,var6) on <var3:Int> */
1000 /* Covariant cast for argument 0 (i) <var6:Int> isa OTHER */
1001 /* <var6:Int> isa OTHER */
1002 var11
= 1; /* easy <var6:Int> isa OTHER*/
1003 if (unlikely(!var11
)) {
1004 var_class_name
= type_core__Int
.name
;
1005 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
1006 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 728);
1009 var12
= var3
< var6
;
1012 RET_LABEL10
:(void)0;
1021 { /* Inline location#Location#line_start (self) on <self:Location> */
1022 var15
= self
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <self:Location> */
1024 RET_LABEL14
:(void)0;
1028 { /* Inline location#Location#line_end (var_loc) on <var_loc:nullable Location(Location)> */
1029 var18
= var_loc
->attrs
[COLOR_nitc__location__Location___line_end
].l
; /* _line_end on <var_loc:nullable Location(Location)> */
1031 RET_LABEL17
:(void)0;
1035 { /* Inline kernel#Int#> (var13,var16) on <var13:Int> */
1036 /* Covariant cast for argument 0 (i) <var16:Int> isa OTHER */
1037 /* <var16:Int> isa OTHER */
1038 var21
= 1; /* easy <var16:Int> isa OTHER*/
1039 if (unlikely(!var21
)) {
1040 var_class_name24
= type_core__Int
.name
;
1041 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name24
);
1042 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 730);
1045 var25
= var13
> var16
;
1048 RET_LABEL20
:(void)0;
1057 { /* Inline location#Location#line_end (self) on <self:Location> */
1058 var28
= self
->attrs
[COLOR_nitc__location__Location___line_end
].l
; /* _line_end on <self:Location> */
1060 RET_LABEL27
:(void)0;
1064 { /* Inline location#Location#line_end (var_loc) on <var_loc:nullable Location(Location)> */
1065 var31
= var_loc
->attrs
[COLOR_nitc__location__Location___line_end
].l
; /* _line_end on <var_loc:nullable Location(Location)> */
1067 RET_LABEL30
:(void)0;
1071 { /* Inline kernel#Int#> (var26,var29) on <var26:Int> */
1072 /* Covariant cast for argument 0 (i) <var29:Int> isa OTHER */
1073 /* <var29:Int> isa OTHER */
1074 var34
= 1; /* easy <var29:Int> isa OTHER*/
1075 if (unlikely(!var34
)) {
1076 var_class_name37
= type_core__Int
.name
;
1077 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name37
);
1078 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 730);
1081 var38
= var26
> var29
;
1084 RET_LABEL33
:(void)0;
1093 { /* Inline location#Location#line_start (self) on <self:Location> */
1094 var41
= self
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <self:Location> */
1096 RET_LABEL40
:(void)0;
1100 { /* Inline location#Location#line_start (var_loc) on <var_loc:nullable Location(Location)> */
1101 var44
= var_loc
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <var_loc:nullable Location(Location)> */
1103 RET_LABEL43
:(void)0;
1107 { /* Inline kernel#Int#== (var39,var42) on <var39:Int> */
1108 var47
= var39
== var42
;
1111 RET_LABEL46
:(void)0;
1116 { /* Inline location#Location#column_start (self) on <self:Location> */
1117 var50
= self
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <self:Location> */
1119 RET_LABEL49
:(void)0;
1123 { /* Inline location#Location#column_start (var_loc) on <var_loc:nullable Location(Location)> */
1124 var53
= var_loc
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <var_loc:nullable Location(Location)> */
1126 RET_LABEL52
:(void)0;
1130 { /* Inline kernel#Int#< (var48,var51) on <var48:Int> */
1131 /* Covariant cast for argument 0 (i) <var51:Int> isa OTHER */
1132 /* <var51:Int> isa OTHER */
1133 var56
= 1; /* easy <var51:Int> isa OTHER*/
1134 if (unlikely(!var56
)) {
1135 var_class_name59
= type_core__Int
.name
;
1136 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name59
);
1137 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 728);
1140 var60
= var48
< var51
;
1143 RET_LABEL55
:(void)0;
1152 { /* Inline location#Location#column_start (self) on <self:Location> */
1153 var63
= self
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <self:Location> */
1155 RET_LABEL62
:(void)0;
1159 { /* Inline location#Location#column_end (var_loc) on <var_loc:nullable Location(Location)> */
1160 var66
= var_loc
->attrs
[COLOR_nitc__location__Location___column_end
].l
; /* _column_end on <var_loc:nullable Location(Location)> */
1162 RET_LABEL65
:(void)0;
1166 { /* Inline kernel#Int#> (var61,var64) on <var61:Int> */
1167 /* Covariant cast for argument 0 (i) <var64:Int> isa OTHER */
1168 /* <var64:Int> isa OTHER */
1169 var69
= 1; /* easy <var64:Int> isa OTHER*/
1170 if (unlikely(!var69
)) {
1171 var_class_name72
= type_core__Int
.name
;
1172 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name72
);
1173 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 730);
1176 var73
= var61
> var64
;
1179 RET_LABEL68
:(void)0;
1190 { /* Inline location#Location#line_end (self) on <self:Location> */
1191 var77
= self
->attrs
[COLOR_nitc__location__Location___line_end
].l
; /* _line_end on <self:Location> */
1193 RET_LABEL76
:(void)0;
1197 { /* Inline location#Location#line_end (var_loc) on <var_loc:nullable Location(Location)> */
1198 var80
= var_loc
->attrs
[COLOR_nitc__location__Location___line_end
].l
; /* _line_end on <var_loc:nullable Location(Location)> */
1200 RET_LABEL79
:(void)0;
1204 { /* Inline kernel#Int#== (var75,var78) on <var75:Int> */
1205 var83
= var75
== var78
;
1208 RET_LABEL82
:(void)0;
1214 { /* Inline location#Location#column_end (self) on <self:Location> */
1215 var86
= self
->attrs
[COLOR_nitc__location__Location___column_end
].l
; /* _column_end on <self:Location> */
1217 RET_LABEL85
:(void)0;
1221 { /* Inline location#Location#column_end (var_loc) on <var_loc:nullable Location(Location)> */
1222 var89
= var_loc
->attrs
[COLOR_nitc__location__Location___column_end
].l
; /* _column_end on <var_loc:nullable Location(Location)> */
1224 RET_LABEL88
:(void)0;
1228 { /* Inline kernel#Int#> (var84,var87) on <var84:Int> */
1229 /* Covariant cast for argument 0 (i) <var87:Int> isa OTHER */
1230 /* <var87:Int> isa OTHER */
1231 var92
= 1; /* easy <var87:Int> isa OTHER*/
1232 if (unlikely(!var92
)) {
1233 var_class_name95
= type_core__Int
.name
;
1234 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name95
);
1235 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 730);
1238 var96
= var84
> var87
;
1241 RET_LABEL91
:(void)0;
1258 /* method location#Location#to_s for (self: Location): String */
1259 val
* nitc___nitc__Location___core__abstract_text__Object__to_s(val
* self
) {
1260 val
* var
/* : String */;
1261 static val
* varonce
;
1262 val
* var1
/* : String */;
1263 char* var2
/* : NativeString */;
1264 val
* var3
/* : String */;
1265 val
* var_file_part
/* var file_part: String */;
1266 val
* var4
/* : nullable SourceFile */;
1267 val
* var6
/* : nullable SourceFile */;
1268 short int var7
/* : Bool */;
1269 short int var8
/* : Bool */;
1270 val
* var_other
/* var other: nullable Object */;
1271 short int var10
/* : Bool */;
1272 short int var11
/* : Bool */;
1273 val
* var12
/* : nullable SourceFile */;
1274 val
* var14
/* : nullable SourceFile */;
1275 val
* var15
/* : String */;
1276 val
* var17
/* : String */;
1277 long var18
/* : Int */;
1278 long var20
/* : Int */;
1279 short int var21
/* : Bool */;
1280 short int var23
/* : Bool */;
1283 const char* var_class_name
;
1284 short int var24
/* : Bool */;
1285 short int var25
/* : Bool */;
1286 val
* var26
/* : nullable SourceFile */;
1287 val
* var28
/* : nullable SourceFile */;
1288 short int var29
/* : Bool */;
1289 short int var30
/* : Bool */;
1290 short int var32
/* : Bool */;
1291 short int var33
/* : Bool */;
1292 short int var_
/* var : Bool */;
1293 val
* var34
/* : nullable SourceFile */;
1294 val
* var36
/* : nullable SourceFile */;
1295 val
* var37
/* : String */;
1296 val
* var39
/* : String */;
1297 long var40
/* : Int */;
1298 short int var41
/* : Bool */;
1299 short int var43
/* : Bool */;
1302 const char* var_class_name46
;
1303 short int var47
/* : Bool */;
1304 static val
* varonce48
;
1305 val
* var49
/* : String */;
1306 char* var50
/* : NativeString */;
1307 val
* var51
/* : String */;
1308 val
* var52
/* : String */;
1309 long var53
/* : Int */;
1310 long var55
/* : Int */;
1311 long var56
/* : Int */;
1312 long var58
/* : Int */;
1313 short int var59
/* : Bool */;
1314 short int var61
/* : Bool */;
1315 long var62
/* : Int */;
1316 long var64
/* : Int */;
1317 long var65
/* : Int */;
1318 long var67
/* : Int */;
1319 short int var68
/* : Bool */;
1320 short int var70
/* : Bool */;
1321 val
* var72
/* : NativeArray[String] */;
1322 static val
* varonce71
;
1323 static val
* varonce73
;
1324 val
* var74
/* : String */;
1325 char* var75
/* : NativeString */;
1326 val
* var76
/* : String */;
1327 long var77
/* : Int */;
1328 long var79
/* : Int */;
1329 val
* var80
/* : String */;
1330 long var81
/* : Int */;
1331 long var83
/* : Int */;
1332 val
* var84
/* : String */;
1333 val
* var85
/* : String */;
1334 val
* var87
/* : NativeArray[String] */;
1335 static val
* varonce86
;
1336 static val
* varonce88
;
1337 val
* var89
/* : String */;
1338 char* var90
/* : NativeString */;
1339 val
* var91
/* : String */;
1340 static val
* varonce92
;
1341 val
* var93
/* : String */;
1342 char* var94
/* : NativeString */;
1343 val
* var95
/* : String */;
1344 long var96
/* : Int */;
1345 long var98
/* : Int */;
1346 val
* var99
/* : String */;
1347 long var100
/* : Int */;
1348 long var102
/* : Int */;
1349 val
* var103
/* : String */;
1350 long var104
/* : Int */;
1351 long var106
/* : Int */;
1352 val
* var107
/* : String */;
1353 val
* var108
/* : String */;
1354 val
* var110
/* : NativeArray[String] */;
1355 static val
* varonce109
;
1356 static val
* varonce111
;
1357 val
* var112
/* : String */;
1358 char* var113
/* : NativeString */;
1359 val
* var114
/* : String */;
1360 static val
* varonce115
;
1361 val
* var116
/* : String */;
1362 char* var117
/* : NativeString */;
1363 val
* var118
/* : String */;
1364 static val
* varonce119
;
1365 val
* var120
/* : String */;
1366 char* var121
/* : NativeString */;
1367 val
* var122
/* : String */;
1368 long var123
/* : Int */;
1369 long var125
/* : Int */;
1370 val
* var126
/* : String */;
1371 long var127
/* : Int */;
1372 long var129
/* : Int */;
1373 val
* var130
/* : String */;
1374 long var131
/* : Int */;
1375 long var133
/* : Int */;
1376 val
* var134
/* : String */;
1377 long var135
/* : Int */;
1378 long var137
/* : Int */;
1379 val
* var138
/* : String */;
1380 val
* var139
/* : String */;
1381 if (likely(varonce
!=NULL
)) {
1385 var3
= core__flat___NativeString___to_s_full(var2
, 0l, 0l);
1389 var_file_part
= var1
;
1391 { /* Inline location#Location#file (self) on <self:Location> */
1392 var6
= self
->attrs
[COLOR_nitc__location__Location___file
].val
; /* _file on <self:Location> */
1398 var7
= 0; /* is null */
1400 var7
= 1; /* arg is null and recv is not */
1403 { /* Inline kernel#Object#!= (var4,((val*)NULL)) on <var4:nullable SourceFile> */
1404 var_other
= ((val
*)NULL
);
1406 var10
= ((short int(*)(val
* self
, val
* p0
))(var4
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var4
, var_other
); /* == on <var4:nullable SourceFile(SourceFile)>*/
1417 { /* Inline location#Location#file (self) on <self:Location> */
1418 var14
= self
->attrs
[COLOR_nitc__location__Location___file
].val
; /* _file on <self:Location> */
1420 RET_LABEL13
:(void)0;
1423 if (var12
== NULL
) {
1424 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1425 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 199);
1428 { /* Inline location#SourceFile#filename (var12) on <var12:nullable SourceFile> */
1429 if (unlikely(var12
== NULL
)) {
1430 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1431 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 22);
1434 var17
= var12
->attrs
[COLOR_nitc__location__SourceFile___filename
].val
; /* _filename on <var12:nullable SourceFile> */
1435 if (unlikely(var17
== NULL
)) {
1436 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _filename");
1437 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 22);
1441 RET_LABEL16
:(void)0;
1444 var_file_part
= var15
;
1448 { /* Inline location#Location#line_start (self) on <self:Location> */
1449 var20
= self
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <self:Location> */
1451 RET_LABEL19
:(void)0;
1455 { /* Inline kernel#Int#<= (var18,0l) on <var18:Int> */
1456 /* Covariant cast for argument 0 (i) <0l:Int> isa OTHER */
1457 /* <0l:Int> isa OTHER */
1458 var23
= 1; /* easy <0l:Int> isa OTHER*/
1459 if (unlikely(!var23
)) {
1460 var_class_name
= type_core__Int
.name
;
1461 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
1462 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 727);
1465 var24
= var18
<= 0l;
1468 RET_LABEL22
:(void)0;
1472 var
= var_file_part
;
1477 { /* Inline location#Location#file (self) on <self:Location> */
1478 var28
= self
->attrs
[COLOR_nitc__location__Location___file
].val
; /* _file on <self:Location> */
1480 RET_LABEL27
:(void)0;
1483 if (var26
== NULL
) {
1484 var29
= 0; /* is null */
1486 var29
= 1; /* arg is null and recv is not */
1489 { /* Inline kernel#Object#!= (var26,((val*)NULL)) on <var26:nullable SourceFile> */
1490 var_other
= ((val
*)NULL
);
1492 var32
= ((short int(*)(val
* self
, val
* p0
))(var26
->class->vft
[COLOR_core__kernel__Object___61d_61d
]))(var26
, var_other
); /* == on <var26:nullable SourceFile(SourceFile)>*/
1497 RET_LABEL31
:(void)0;
1504 { /* Inline location#Location#file (self) on <self:Location> */
1505 var36
= self
->attrs
[COLOR_nitc__location__Location___file
].val
; /* _file on <self:Location> */
1507 RET_LABEL35
:(void)0;
1510 if (var34
== NULL
) {
1511 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1512 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 204);
1515 { /* Inline location#SourceFile#filename (var34) on <var34:nullable SourceFile> */
1516 if (unlikely(var34
== NULL
)) {
1517 PRINT_ERROR("Runtime error: %s", "Receiver is null");
1518 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 22);
1521 var39
= var34
->attrs
[COLOR_nitc__location__SourceFile___filename
].val
; /* _filename on <var34:nullable SourceFile> */
1522 if (unlikely(var39
== NULL
)) {
1523 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _filename");
1524 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 22);
1528 RET_LABEL38
:(void)0;
1532 var40
= ((long(*)(val
* self
))(var37
->class->vft
[COLOR_core__abstract_text__Text__length
]))(var37
); /* length on <var37:String>*/
1535 { /* Inline kernel#Int#> (var40,0l) on <var40:Int> */
1536 /* Covariant cast for argument 0 (i) <0l:Int> isa OTHER */
1537 /* <0l:Int> isa OTHER */
1538 var43
= 1; /* easy <0l:Int> isa OTHER*/
1539 if (unlikely(!var43
)) {
1540 var_class_name46
= type_core__Int
.name
;
1541 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name46
);
1542 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 730);
1548 RET_LABEL42
:(void)0;
1556 if (likely(varonce48
!=NULL
)) {
1560 var51
= core__flat___NativeString___to_s_full(var50
, 1l, 1l);
1565 var52
= ((val
*(*)(val
* self
, val
* p0
))(var_file_part
->class->vft
[COLOR_core__abstract_text__String___43d
]))(var_file_part
, var49
); /* + on <var_file_part:String>*/
1567 var_file_part
= var52
;
1571 { /* Inline location#Location#line_start (self) on <self:Location> */
1572 var55
= self
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <self:Location> */
1574 RET_LABEL54
:(void)0;
1578 { /* Inline location#Location#line_end (self) on <self:Location> */
1579 var58
= self
->attrs
[COLOR_nitc__location__Location___line_end
].l
; /* _line_end on <self:Location> */
1581 RET_LABEL57
:(void)0;
1585 { /* Inline kernel#Int#== (var53,var56) on <var53:Int> */
1586 var61
= var53
== var56
;
1589 RET_LABEL60
:(void)0;
1594 { /* Inline location#Location#column_start (self) on <self:Location> */
1595 var64
= self
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <self:Location> */
1597 RET_LABEL63
:(void)0;
1601 { /* Inline location#Location#column_end (self) on <self:Location> */
1602 var67
= self
->attrs
[COLOR_nitc__location__Location___column_end
].l
; /* _column_end on <self:Location> */
1604 RET_LABEL66
:(void)0;
1608 { /* Inline kernel#Int#== (var62,var65) on <var62:Int> */
1609 var70
= var62
== var65
;
1612 RET_LABEL69
:(void)0;
1616 if (unlikely(varonce71
==NULL
)) {
1617 var72
= NEW_core__NativeArray(4l, &type_core__NativeArray__core__String
);
1618 if (likely(varonce73
!=NULL
)) {
1622 var76
= core__flat___NativeString___to_s_full(var75
, 1l, 1l);
1626 ((struct instance_core__NativeArray
*)var72
)->values
[2]=var74
;
1631 ((struct instance_core__NativeArray
*)var72
)->values
[0]=var_file_part
;
1633 { /* Inline location#Location#line_start (self) on <self:Location> */
1634 var79
= self
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <self:Location> */
1636 RET_LABEL78
:(void)0;
1639 var80
= core__flat___Int___core__abstract_text__Object__to_s(var77
);
1640 ((struct instance_core__NativeArray
*)var72
)->values
[1]=var80
;
1642 { /* Inline location#Location#column_start (self) on <self:Location> */
1643 var83
= self
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <self:Location> */
1645 RET_LABEL82
:(void)0;
1648 var84
= core__flat___Int___core__abstract_text__Object__to_s(var81
);
1649 ((struct instance_core__NativeArray
*)var72
)->values
[3]=var84
;
1651 var85
= ((val
*(*)(val
* self
))(var72
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var72
); /* native_to_s on <var72:NativeArray[String]>*/
1657 if (unlikely(varonce86
==NULL
)) {
1658 var87
= NEW_core__NativeArray(6l, &type_core__NativeArray__core__String
);
1659 if (likely(varonce88
!=NULL
)) {
1663 var91
= core__flat___NativeString___to_s_full(var90
, 1l, 1l);
1667 ((struct instance_core__NativeArray
*)var87
)->values
[2]=var89
;
1668 if (likely(varonce92
!=NULL
)) {
1672 var95
= core__flat___NativeString___to_s_full(var94
, 2l, 2l);
1676 ((struct instance_core__NativeArray
*)var87
)->values
[4]=var93
;
1681 ((struct instance_core__NativeArray
*)var87
)->values
[0]=var_file_part
;
1683 { /* Inline location#Location#line_start (self) on <self:Location> */
1684 var98
= self
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <self:Location> */
1686 RET_LABEL97
:(void)0;
1689 var99
= core__flat___Int___core__abstract_text__Object__to_s(var96
);
1690 ((struct instance_core__NativeArray
*)var87
)->values
[1]=var99
;
1692 { /* Inline location#Location#column_start (self) on <self:Location> */
1693 var102
= self
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <self:Location> */
1695 RET_LABEL101
:(void)0;
1698 var103
= core__flat___Int___core__abstract_text__Object__to_s(var100
);
1699 ((struct instance_core__NativeArray
*)var87
)->values
[3]=var103
;
1701 { /* Inline location#Location#column_end (self) on <self:Location> */
1702 var106
= self
->attrs
[COLOR_nitc__location__Location___column_end
].l
; /* _column_end on <self:Location> */
1704 RET_LABEL105
:(void)0;
1707 var107
= core__flat___Int___core__abstract_text__Object__to_s(var104
);
1708 ((struct instance_core__NativeArray
*)var87
)->values
[5]=var107
;
1710 var108
= ((val
*(*)(val
* self
))(var87
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var87
); /* native_to_s on <var87:NativeArray[String]>*/
1717 if (unlikely(varonce109
==NULL
)) {
1718 var110
= NEW_core__NativeArray(8l, &type_core__NativeArray__core__String
);
1719 if (likely(varonce111
!=NULL
)) {
1720 var112
= varonce111
;
1723 var114
= core__flat___NativeString___to_s_full(var113
, 1l, 1l);
1725 varonce111
= var112
;
1727 ((struct instance_core__NativeArray
*)var110
)->values
[2]=var112
;
1728 if (likely(varonce115
!=NULL
)) {
1729 var116
= varonce115
;
1732 var118
= core__flat___NativeString___to_s_full(var117
, 2l, 2l);
1734 varonce115
= var116
;
1736 ((struct instance_core__NativeArray
*)var110
)->values
[4]=var116
;
1737 if (likely(varonce119
!=NULL
)) {
1738 var120
= varonce119
;
1741 var122
= core__flat___NativeString___to_s_full(var121
, 1l, 1l);
1743 varonce119
= var120
;
1745 ((struct instance_core__NativeArray
*)var110
)->values
[6]=var120
;
1747 var110
= varonce109
;
1750 ((struct instance_core__NativeArray
*)var110
)->values
[0]=var_file_part
;
1752 { /* Inline location#Location#line_start (self) on <self:Location> */
1753 var125
= self
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <self:Location> */
1755 RET_LABEL124
:(void)0;
1758 var126
= core__flat___Int___core__abstract_text__Object__to_s(var123
);
1759 ((struct instance_core__NativeArray
*)var110
)->values
[1]=var126
;
1761 { /* Inline location#Location#column_start (self) on <self:Location> */
1762 var129
= self
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <self:Location> */
1764 RET_LABEL128
:(void)0;
1767 var130
= core__flat___Int___core__abstract_text__Object__to_s(var127
);
1768 ((struct instance_core__NativeArray
*)var110
)->values
[3]=var130
;
1770 { /* Inline location#Location#line_end (self) on <self:Location> */
1771 var133
= self
->attrs
[COLOR_nitc__location__Location___line_end
].l
; /* _line_end on <self:Location> */
1773 RET_LABEL132
:(void)0;
1776 var134
= core__flat___Int___core__abstract_text__Object__to_s(var131
);
1777 ((struct instance_core__NativeArray
*)var110
)->values
[5]=var134
;
1779 { /* Inline location#Location#column_end (self) on <self:Location> */
1780 var137
= self
->attrs
[COLOR_nitc__location__Location___column_end
].l
; /* _column_end on <self:Location> */
1782 RET_LABEL136
:(void)0;
1785 var138
= core__flat___Int___core__abstract_text__Object__to_s(var135
);
1786 ((struct instance_core__NativeArray
*)var110
)->values
[7]=var138
;
1788 var139
= ((val
*(*)(val
* self
))(var110
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var110
); /* native_to_s on <var110:NativeArray[String]>*/
1790 varonce109
= var110
;
1797 /* method location#Location#< for (self: Location, Location): Bool */
1798 short int nitc___nitc__Location___core__kernel__Comparable___60d(val
* self
, val
* p0
) {
1799 short int var
/* : Bool */;
1800 short int var1
/* : Bool */;
1803 const struct type
* type_struct
;
1804 const char* var_class_name
;
1805 val
* var_other
/* var other: Location */;
1806 short int var2
/* : Bool */;
1807 short int var3
/* : Bool */;
1808 short int var4
/* : Bool */;
1809 long var5
/* : Int */;
1810 long var7
/* : Int */;
1811 long var8
/* : Int */;
1812 long var10
/* : Int */;
1813 short int var11
/* : Bool */;
1814 short int var13
/* : Bool */;
1815 short int var14
/* : Bool */;
1816 long var15
/* : Int */;
1817 long var17
/* : Int */;
1818 long var18
/* : Int */;
1819 long var20
/* : Int */;
1820 short int var21
/* : Bool */;
1821 short int var23
/* : Bool */;
1824 const char* var_class_name26
;
1825 short int var27
/* : Bool */;
1826 long var28
/* : Int */;
1827 long var30
/* : Int */;
1828 long var31
/* : Int */;
1829 long var33
/* : Int */;
1830 short int var34
/* : Bool */;
1831 short int var36
/* : Bool */;
1832 short int var37
/* : Bool */;
1833 long var38
/* : Int */;
1834 long var40
/* : Int */;
1835 long var41
/* : Int */;
1836 long var43
/* : Int */;
1837 short int var44
/* : Bool */;
1838 short int var46
/* : Bool */;
1841 const char* var_class_name49
;
1842 short int var50
/* : Bool */;
1843 long var51
/* : Int */;
1844 long var53
/* : Int */;
1845 long var54
/* : Int */;
1846 long var56
/* : Int */;
1847 short int var57
/* : Bool */;
1848 short int var59
/* : Bool */;
1849 short int var60
/* : Bool */;
1850 long var61
/* : Int */;
1851 long var63
/* : Int */;
1852 long var64
/* : Int */;
1853 long var66
/* : Int */;
1854 short int var67
/* : Bool */;
1855 short int var69
/* : Bool */;
1858 const char* var_class_name72
;
1859 short int var73
/* : Bool */;
1860 long var74
/* : Int */;
1861 long var76
/* : Int */;
1862 long var77
/* : Int */;
1863 long var79
/* : Int */;
1864 short int var80
/* : Bool */;
1865 short int var82
/* : Bool */;
1868 const char* var_class_name85
;
1869 short int var86
/* : Bool */;
1870 /* Covariant cast for argument 0 (other) <p0:Location> isa OTHER */
1871 /* <p0:Location> isa OTHER */
1872 type_struct
= self
->type
->resolution_table
->types
[COLOR_core__kernel__Comparable__OTHER
];
1873 cltype
= type_struct
->color
;
1874 idtype
= type_struct
->id
;
1875 if(cltype
>= p0
->type
->table_size
) {
1878 var1
= p0
->type
->type_table
[cltype
] == idtype
;
1880 if (unlikely(!var1
)) {
1881 var_class_name
= p0
== NULL ?
"null" : p0
->type
->name
;
1882 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
1883 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 230);
1888 var2
= nitc___nitc__Location___core__kernel__Object___61d_61d(self
, var_other
);
1896 var3
= nitc___nitc__Location___located_in(self
, var_other
);
1904 var4
= nitc___nitc__Location___located_in(var_other
, self
);
1912 { /* Inline location#Location#line_start (self) on <self:Location> */
1913 var7
= self
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <self:Location> */
1919 { /* Inline location#Location#line_start (var_other) on <var_other:Location> */
1920 var10
= var_other
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <var_other:Location> */
1926 { /* Inline kernel#Int#!= (var5,var8) on <var5:Int> */
1927 var13
= var5
== var8
;
1931 RET_LABEL12
:(void)0;
1936 { /* Inline location#Location#line_start (self) on <self:Location> */
1937 var17
= self
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <self:Location> */
1939 RET_LABEL16
:(void)0;
1943 { /* Inline location#Location#line_start (var_other) on <var_other:Location> */
1944 var20
= var_other
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <var_other:Location> */
1946 RET_LABEL19
:(void)0;
1950 { /* Inline kernel#Int#< (var15,var18) on <var15:Int> */
1951 /* Covariant cast for argument 0 (i) <var18:Int> isa OTHER */
1952 /* <var18:Int> isa OTHER */
1953 var23
= 1; /* easy <var18:Int> isa OTHER*/
1954 if (unlikely(!var23
)) {
1955 var_class_name26
= type_core__Int
.name
;
1956 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name26
);
1957 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 728);
1960 var27
= var15
< var18
;
1963 RET_LABEL22
:(void)0;
1971 { /* Inline location#Location#column_start (self) on <self:Location> */
1972 var30
= self
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <self:Location> */
1974 RET_LABEL29
:(void)0;
1978 { /* Inline location#Location#column_start (var_other) on <var_other:Location> */
1979 var33
= var_other
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <var_other:Location> */
1981 RET_LABEL32
:(void)0;
1985 { /* Inline kernel#Int#!= (var28,var31) on <var28:Int> */
1986 var36
= var28
== var31
;
1990 RET_LABEL35
:(void)0;
1995 { /* Inline location#Location#column_start (self) on <self:Location> */
1996 var40
= self
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <self:Location> */
1998 RET_LABEL39
:(void)0;
2002 { /* Inline location#Location#column_start (var_other) on <var_other:Location> */
2003 var43
= var_other
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <var_other:Location> */
2005 RET_LABEL42
:(void)0;
2009 { /* Inline kernel#Int#< (var38,var41) on <var38:Int> */
2010 /* Covariant cast for argument 0 (i) <var41:Int> isa OTHER */
2011 /* <var41:Int> isa OTHER */
2012 var46
= 1; /* easy <var41:Int> isa OTHER*/
2013 if (unlikely(!var46
)) {
2014 var_class_name49
= type_core__Int
.name
;
2015 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name49
);
2016 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 728);
2019 var50
= var38
< var41
;
2022 RET_LABEL45
:(void)0;
2030 { /* Inline location#Location#line_end (self) on <self:Location> */
2031 var53
= self
->attrs
[COLOR_nitc__location__Location___line_end
].l
; /* _line_end on <self:Location> */
2033 RET_LABEL52
:(void)0;
2037 { /* Inline location#Location#line_end (var_other) on <var_other:Location> */
2038 var56
= var_other
->attrs
[COLOR_nitc__location__Location___line_end
].l
; /* _line_end on <var_other:Location> */
2040 RET_LABEL55
:(void)0;
2044 { /* Inline kernel#Int#!= (var51,var54) on <var51:Int> */
2045 var59
= var51
== var54
;
2049 RET_LABEL58
:(void)0;
2054 { /* Inline location#Location#line_end (self) on <self:Location> */
2055 var63
= self
->attrs
[COLOR_nitc__location__Location___line_end
].l
; /* _line_end on <self:Location> */
2057 RET_LABEL62
:(void)0;
2061 { /* Inline location#Location#line_end (var_other) on <var_other:Location> */
2062 var66
= var_other
->attrs
[COLOR_nitc__location__Location___line_end
].l
; /* _line_end on <var_other:Location> */
2064 RET_LABEL65
:(void)0;
2068 { /* Inline kernel#Int#< (var61,var64) on <var61:Int> */
2069 /* Covariant cast for argument 0 (i) <var64:Int> isa OTHER */
2070 /* <var64:Int> isa OTHER */
2071 var69
= 1; /* easy <var64:Int> isa OTHER*/
2072 if (unlikely(!var69
)) {
2073 var_class_name72
= type_core__Int
.name
;
2074 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name72
);
2075 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 728);
2078 var73
= var61
< var64
;
2081 RET_LABEL68
:(void)0;
2089 { /* Inline location#Location#column_end (self) on <self:Location> */
2090 var76
= self
->attrs
[COLOR_nitc__location__Location___column_end
].l
; /* _column_end on <self:Location> */
2092 RET_LABEL75
:(void)0;
2096 { /* Inline location#Location#column_end (var_other) on <var_other:Location> */
2097 var79
= var_other
->attrs
[COLOR_nitc__location__Location___column_end
].l
; /* _column_end on <var_other:Location> */
2099 RET_LABEL78
:(void)0;
2103 { /* Inline kernel#Int#< (var74,var77) on <var74:Int> */
2104 /* Covariant cast for argument 0 (i) <var77:Int> isa OTHER */
2105 /* <var77:Int> isa OTHER */
2106 var82
= 1; /* easy <var77:Int> isa OTHER*/
2107 if (unlikely(!var82
)) {
2108 var_class_name85
= type_core__Int
.name
;
2109 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name85
);
2110 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 728);
2113 var86
= var74
< var77
;
2116 RET_LABEL81
:(void)0;
2124 /* method location#Location#colored_line for (self: Location, String): String */
2125 val
* nitc___nitc__Location___colored_line(val
* self
, val
* p0
) {
2126 val
* var
/* : String */;
2127 val
* var_color
/* var color: String */;
2128 uint32_t var1
/* : Char */;
2129 uint32_t var3
/* : Char */;
2130 uint32_t var_esc
/* var esc: Char */;
2131 val
* var4
/* : NativeArray[String] */;
2132 static val
* varonce
;
2133 static val
* varonce5
;
2134 val
* var6
/* : String */;
2135 char* var7
/* : NativeString */;
2136 val
* var8
/* : String */;
2137 val
* var9
/* : String */;
2138 val
* var10
/* : String */;
2139 val
* var_def
/* var def: String */;
2140 val
* var12
/* : NativeArray[String] */;
2141 static val
* varonce11
;
2142 static val
* varonce13
;
2143 val
* var14
/* : String */;
2144 char* var15
/* : NativeString */;
2145 val
* var16
/* : String */;
2146 static val
* varonce17
;
2147 val
* var18
/* : String */;
2148 char* var19
/* : NativeString */;
2149 val
* var20
/* : String */;
2150 val
* var21
/* : String */;
2151 val
* var22
/* : String */;
2152 val
* var_col
/* var col: String */;
2153 val
* var_l
/* var l: Location */;
2154 long var23
/* : Int */;
2155 long var25
/* : Int */;
2156 long var_i
/* var i: Int */;
2157 short int var26
/* : Bool */;
2158 short int var28
/* : Bool */;
2161 const char* var_class_name
;
2162 short int var29
/* : Bool */;
2163 static val
* varonce30
;
2164 val
* var31
/* : String */;
2165 char* var32
/* : NativeString */;
2166 val
* var33
/* : String */;
2167 val
* var34
/* : nullable SourceFile */;
2168 val
* var36
/* : nullable SourceFile */;
2169 val
* var37
/* : Array[Int] */;
2170 val
* var39
/* : Array[Int] */;
2171 long var40
/* : Int */;
2172 short int var42
/* : Bool */;
2175 const char* var_class_name45
;
2176 long var46
/* : Int */;
2177 val
* var47
/* : nullable Object */;
2178 long var48
/* : Int */;
2179 long var_line_start
/* var line_start: Int */;
2180 long var_line_end
/* var line_end: Int */;
2181 val
* var49
/* : nullable SourceFile */;
2182 val
* var51
/* : nullable SourceFile */;
2183 val
* var52
/* : String */;
2184 val
* var54
/* : String */;
2185 val
* var_string
/* var string: String */;
2186 short int var55
/* : Bool */;
2187 short int var56
/* : Bool */;
2188 long var57
/* : Int */;
2189 short int var59
/* : Bool */;
2192 const char* var_class_name62
;
2193 long var63
/* : Int */;
2194 long var64
/* : Int */;
2195 short int var65
/* : Bool */;
2196 short int var67
/* : Bool */;
2199 const char* var_class_name70
;
2200 short int var71
/* : Bool */;
2201 short int var_
/* var : Bool */;
2202 val
* var72
/* : SequenceRead[Char] */;
2203 long var73
/* : Int */;
2204 short int var75
/* : Bool */;
2207 const char* var_class_name78
;
2208 long var79
/* : Int */;
2209 val
* var80
/* : nullable Object */;
2210 short int var81
/* : Bool */;
2211 short int var83
/* : Bool */;
2212 uint32_t var84
/* : Char */;
2213 short int var85
/* : Bool */;
2214 short int var_86
/* var : Bool */;
2215 val
* var87
/* : SequenceRead[Char] */;
2216 long var88
/* : Int */;
2217 short int var90
/* : Bool */;
2220 const char* var_class_name93
;
2221 long var94
/* : Int */;
2222 val
* var95
/* : nullable Object */;
2223 short int var96
/* : Bool */;
2224 short int var98
/* : Bool */;
2225 uint32_t var99
/* : Char */;
2226 short int var100
/* : Bool */;
2227 long var101
/* : Int */;
2228 short int var103
/* : Bool */;
2231 const char* var_class_name106
;
2232 long var107
/* : Int */;
2233 long var108
/* : Int */;
2234 long var110
/* : Int */;
2235 short int var111
/* : Bool */;
2236 short int var113
/* : Bool */;
2239 const char* var_class_name116
;
2240 short int var117
/* : Bool */;
2241 long var118
/* : Int */;
2242 long var120
/* : Int */;
2243 long var121
/* : Int */;
2244 short int var123
/* : Bool */;
2247 const char* var_class_name126
;
2248 long var127
/* : Int */;
2249 val
* var128
/* : Text */;
2250 val
* var_lstart
/* var lstart: nullable Object */;
2251 static val
* varonce129
;
2252 val
* var130
/* : String */;
2253 char* var131
/* : NativeString */;
2254 val
* var132
/* : String */;
2255 long var133
/* : Int */;
2256 long var135
/* : Int */;
2257 short int var136
/* : Bool */;
2258 short int var138
/* : Bool */;
2259 short int var139
/* : Bool */;
2260 long var140
/* : Int */;
2261 short int var142
/* : Bool */;
2264 const char* var_class_name145
;
2265 long var146
/* : Int */;
2266 long var147
/* : Int */;
2267 short int var149
/* : Bool */;
2270 const char* var_class_name152
;
2271 long var153
/* : Int */;
2272 val
* var154
/* : nullable Object */;
2273 val
* var_cend
/* var cend: nullable Object */;
2274 long var155
/* : Int */;
2275 long var157
/* : Int */;
2276 val
* var158
/* : nullable Object */;
2277 long var159
/* : Int */;
2278 short int var161
/* : Bool */;
2281 const char* var_class_name164
;
2282 long var165
/* : Int */;
2283 long var166
/* : Int */;
2284 long var167
/* : Int */;
2285 short int var168
/* : Bool */;
2286 short int var170
/* : Bool */;
2289 const char* var_class_name173
;
2290 short int var174
/* : Bool */;
2291 long var175
/* : Int */;
2292 long var177
/* : Int */;
2293 long var178
/* : Int */;
2294 short int var180
/* : Bool */;
2297 const char* var_class_name183
;
2298 long var184
/* : Int */;
2299 long var185
/* : Int */;
2300 short int var187
/* : Bool */;
2303 const char* var_class_name190
;
2304 long var191
/* : Int */;
2305 long var192
/* : Int */;
2306 long var194
/* : Int */;
2307 long var195
/* : Int */;
2308 short int var197
/* : Bool */;
2311 const char* var_class_name200
;
2312 long var201
/* : Int */;
2313 long var202
/* : Int */;
2314 long var203
/* : Int */;
2315 short int var205
/* : Bool */;
2318 const char* var_class_name208
;
2319 long var209
/* : Int */;
2320 val
* var210
/* : Text */;
2321 val
* var_lmid
/* var lmid: nullable Object */;
2322 long var211
/* : Int */;
2323 short int var213
/* : Bool */;
2326 const char* var_class_name216
;
2327 long var217
/* : Int */;
2328 long var218
/* : Int */;
2329 long var219
/* : Int */;
2330 short int var221
/* : Bool */;
2333 const char* var_class_name224
;
2334 long var225
/* : Int */;
2335 long var226
/* : Int */;
2336 short int var228
/* : Bool */;
2339 const char* var_class_name231
;
2340 long var232
/* : Int */;
2341 long var233
/* : Int */;
2342 long var234
/* : Int */;
2343 short int var236
/* : Bool */;
2346 const char* var_class_name239
;
2347 long var240
/* : Int */;
2348 val
* var241
/* : Text */;
2349 val
* var_lend
/* var lend: nullable Object */;
2350 static val
* varonce242
;
2351 val
* var243
/* : String */;
2352 char* var244
/* : NativeString */;
2353 val
* var245
/* : String */;
2354 static val
* varonce246
;
2355 val
* var247
/* : String */;
2356 char* var248
/* : NativeString */;
2357 val
* var249
/* : String */;
2358 val
* var250
/* : FlatBuffer */;
2359 val
* var_indent
/* var indent: FlatBuffer */;
2360 long var_j
/* var j: Int */;
2361 long var252
/* : Int */;
2362 long var254
/* : Int */;
2363 long var255
/* : Int */;
2364 short int var257
/* : Bool */;
2367 const char* var_class_name260
;
2368 long var261
/* : Int */;
2369 long var262
/* : Int */;
2370 short int var264
/* : Bool */;
2373 const char* var_class_name267
;
2374 long var268
/* : Int */;
2375 long var_269
/* var : Int */;
2376 short int var270
/* : Bool */;
2377 short int var272
/* : Bool */;
2380 const char* var_class_name275
;
2381 short int var276
/* : Bool */;
2382 val
* var278
/* : SequenceRead[Char] */;
2383 val
* var279
/* : nullable Object */;
2384 short int var280
/* : Bool */;
2385 short int var282
/* : Bool */;
2386 uint32_t var283
/* : Char */;
2387 long var284
/* : Int */;
2388 val
* var286
/* : NativeArray[String] */;
2389 static val
* varonce285
;
2390 static val
* varonce287
;
2391 val
* var288
/* : String */;
2392 char* var289
/* : NativeString */;
2393 val
* var290
/* : String */;
2394 static val
* varonce291
;
2395 val
* var292
/* : String */;
2396 char* var293
/* : NativeString */;
2397 val
* var294
/* : String */;
2398 static val
* varonce295
;
2399 val
* var296
/* : String */;
2400 char* var297
/* : NativeString */;
2401 val
* var298
/* : String */;
2402 val
* var299
/* : String */;
2403 val
* var300
/* : String */;
2406 { /* Inline kernel#Int#code_point (27l) on <27l:Int> */
2407 var3
= (uint32_t)27l;
2414 if (unlikely(varonce
==NULL
)) {
2415 var4
= NEW_core__NativeArray(2l, &type_core__NativeArray__core__String
);
2416 if (likely(varonce5
!=NULL
)) {
2420 var8
= core__flat___NativeString___to_s_full(var7
, 3l, 3l);
2424 ((struct instance_core__NativeArray
*)var4
)->values
[1]=var6
;
2429 var9
= core__abstract_text___Char___Object__to_s(var_esc
);
2430 ((struct instance_core__NativeArray
*)var4
)->values
[0]=var9
;
2432 var10
= ((val
*(*)(val
* self
))(var4
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var4
); /* native_to_s on <var4:NativeArray[String]>*/
2436 if (unlikely(varonce11
==NULL
)) {
2437 var12
= NEW_core__NativeArray(4l, &type_core__NativeArray__core__String
);
2438 if (likely(varonce13
!=NULL
)) {
2442 var16
= core__flat___NativeString___to_s_full(var15
, 1l, 1l);
2446 ((struct instance_core__NativeArray
*)var12
)->values
[1]=var14
;
2447 if (likely(varonce17
!=NULL
)) {
2451 var20
= core__flat___NativeString___to_s_full(var19
, 1l, 1l);
2455 ((struct instance_core__NativeArray
*)var12
)->values
[3]=var18
;
2460 var21
= core__abstract_text___Char___Object__to_s(var_esc
);
2461 ((struct instance_core__NativeArray
*)var12
)->values
[0]=var21
;
2462 ((struct instance_core__NativeArray
*)var12
)->values
[2]=var_color
;
2464 var22
= ((val
*(*)(val
* self
))(var12
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var12
); /* native_to_s on <var12:NativeArray[String]>*/
2470 { /* Inline location#Location#line_start (var_l) on <var_l:Location> */
2471 var25
= var_l
->attrs
[COLOR_nitc__location__Location___line_start
].l
; /* _line_start on <var_l:Location> */
2473 RET_LABEL24
:(void)0;
2478 { /* Inline kernel#Int#<= (var_i,0l) on <var_i:Int> */
2479 /* Covariant cast for argument 0 (i) <0l:Int> isa OTHER */
2480 /* <0l:Int> isa OTHER */
2481 var28
= 1; /* easy <0l:Int> isa OTHER*/
2482 if (unlikely(!var28
)) {
2483 var_class_name
= type_core__Int
.name
;
2484 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name
);
2485 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 727);
2488 var29
= var_i
<= 0l;
2491 RET_LABEL27
:(void)0;
2495 if (likely(varonce30
!=NULL
)) {
2499 var33
= core__flat___NativeString___to_s_full(var32
, 0l, 0l);
2508 { /* Inline location#Location#file (var_l) on <var_l:Location> */
2509 var36
= var_l
->attrs
[COLOR_nitc__location__Location___file
].val
; /* _file on <var_l:Location> */
2511 RET_LABEL35
:(void)0;
2514 if (var34
== NULL
) {
2515 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2516 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 257);
2519 { /* Inline location#SourceFile#line_starts (var34) on <var34:nullable SourceFile> */
2520 if (unlikely(var34
== NULL
)) {
2521 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2522 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 46);
2525 var39
= var34
->attrs
[COLOR_nitc__location__SourceFile___line_starts
].val
; /* _line_starts on <var34:nullable SourceFile> */
2526 if (unlikely(var39
== NULL
)) {
2527 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _line_starts");
2528 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 46);
2532 RET_LABEL38
:(void)0;
2536 { /* Inline kernel#Int#- (var_i,1l) on <var_i:Int> */
2537 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
2538 /* <1l:Int> isa OTHER */
2539 var42
= 1; /* easy <1l:Int> isa OTHER*/
2540 if (unlikely(!var42
)) {
2541 var_class_name45
= type_core__Int
.name
;
2542 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name45
);
2543 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 734);
2549 RET_LABEL41
:(void)0;
2553 var47
= core___core__Array___core__abstract_collection__SequenceRead___91d_93d(var37
, var40
);
2555 var48
= (long)(var47
)>>2;
2556 var_line_start
= var48
;
2557 var_line_end
= var_line_start
;
2559 { /* Inline location#Location#file (var_l) on <var_l:Location> */
2560 var51
= var_l
->attrs
[COLOR_nitc__location__Location___file
].val
; /* _file on <var_l:Location> */
2562 RET_LABEL50
:(void)0;
2565 if (var49
== NULL
) {
2566 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2567 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 259);
2570 { /* Inline location#SourceFile#string (var49) on <var49:nullable SourceFile> */
2571 if (unlikely(var49
== NULL
)) {
2572 PRINT_ERROR("Runtime error: %s", "Receiver is null");
2573 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 25);
2576 var54
= var49
->attrs
[COLOR_nitc__location__SourceFile___string
].val
; /* _string on <var49:nullable SourceFile> */
2577 if (unlikely(var54
== NULL
)) {
2578 PRINT_ERROR("Runtime error: %s", "Uninitialized attribute _string");
2579 PRINT_ERROR(" (%s:%d)\n", FILE_nitc__location
, 25);
2583 RET_LABEL53
:(void)0;
2589 { /* Inline kernel#Int#+ (var_line_end,1l) on <var_line_end:Int> */
2590 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
2591 /* <1l:Int> isa OTHER */
2592 var59
= 1; /* easy <1l:Int> isa OTHER*/
2593 if (unlikely(!var59
)) {
2594 var_class_name62
= type_core__Int
.name
;
2595 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name62
);
2596 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
2599 var63
= var_line_end
+ 1l;
2602 RET_LABEL58
:(void)0;
2606 var64
= ((long(*)(val
* self
))(var_string
->class->vft
[COLOR_core__abstract_text__Text__length
]))(var_string
); /* length on <var_string:String>*/
2609 { /* Inline kernel#Int#< (var57,var64) on <var57:Int> */
2610 /* Covariant cast for argument 0 (i) <var64:Int> isa OTHER */
2611 /* <var64:Int> isa OTHER */
2612 var67
= 1; /* easy <var64:Int> isa OTHER*/
2613 if (unlikely(!var67
)) {
2614 var_class_name70
= type_core__Int
.name
;
2615 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name70
);
2616 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 728);
2619 var71
= var57
< var64
;
2622 RET_LABEL66
:(void)0;
2628 var72
= ((val
*(*)(val
* self
))(var_string
->class->vft
[COLOR_core__abstract_text__Text__chars
]))(var_string
); /* chars on <var_string:String>*/
2631 { /* Inline kernel#Int#+ (var_line_end,1l) on <var_line_end:Int> */
2632 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
2633 /* <1l:Int> isa OTHER */
2634 var75
= 1; /* easy <1l:Int> isa OTHER*/
2635 if (unlikely(!var75
)) {
2636 var_class_name78
= type_core__Int
.name
;
2637 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name78
);
2638 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
2641 var79
= var_line_end
+ 1l;
2644 RET_LABEL74
:(void)0;
2648 var80
= ((val
*(*)(val
* self
, long p0
))((((long)var72
&3)?class_info
[((long)var72
&3)]:var72
->class)->vft
[COLOR_core__abstract_collection__SequenceRead___91d_93d
]))(var72
, var73
); /* [] on <var72:SequenceRead[Char]>*/
2651 { /* Inline kernel#Char#!= (var80,'\n') on <var80:nullable Object(Char)> */
2652 var84
= (uint32_t)((long)(var80
)>>2);
2653 var83
= var84
== '\n';
2657 RET_LABEL82
:(void)0;
2667 var87
= ((val
*(*)(val
* self
))(var_string
->class->vft
[COLOR_core__abstract_text__Text__chars
]))(var_string
); /* chars on <var_string:String>*/
2670 { /* Inline kernel#Int#+ (var_line_end,1l) on <var_line_end:Int> */
2671 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
2672 /* <1l:Int> isa OTHER */
2673 var90
= 1; /* easy <1l:Int> isa OTHER*/
2674 if (unlikely(!var90
)) {
2675 var_class_name93
= type_core__Int
.name
;
2676 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name93
);
2677 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
2680 var94
= var_line_end
+ 1l;
2683 RET_LABEL89
:(void)0;
2687 var95
= ((val
*(*)(val
* self
, long p0
))((((long)var87
&3)?class_info
[((long)var87
&3)]:var87
->class)->vft
[COLOR_core__abstract_collection__SequenceRead___91d_93d
]))(var87
, var88
); /* [] on <var87:SequenceRead[Char]>*/
2690 { /* Inline kernel#Char#!= (var95,'\015') on <var95:nullable Object(Char)> */
2691 var99
= (uint32_t)((long)(var95
)>>2);
2692 var98
= var99
== '\015';
2696 RET_LABEL97
:(void)0;
2705 { /* Inline kernel#Int#+ (var_line_end,1l) on <var_line_end:Int> */
2706 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
2707 /* <1l:Int> isa OTHER */
2708 var103
= 1; /* easy <1l:Int> isa OTHER*/
2709 if (unlikely(!var103
)) {
2710 var_class_name106
= type_core__Int
.name
;
2711 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name106
);
2712 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
2715 var107
= var_line_end
+ 1l;
2718 RET_LABEL102
:(void)0;
2721 var_line_end
= var101
;
2726 BREAK_label
: (void)0;
2728 { /* Inline location#Location#column_start (var_l) on <var_l:Location> */
2729 var110
= var_l
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <var_l:Location> */
2731 RET_LABEL109
:(void)0;
2735 { /* Inline kernel#Int#> (var108,0l) on <var108:Int> */
2736 /* Covariant cast for argument 0 (i) <0l:Int> isa OTHER */
2737 /* <0l:Int> isa OTHER */
2738 var113
= 1; /* easy <0l:Int> isa OTHER*/
2739 if (unlikely(!var113
)) {
2740 var_class_name116
= type_core__Int
.name
;
2741 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name116
);
2742 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 730);
2745 var117
= var108
> 0l;
2748 RET_LABEL112
:(void)0;
2753 { /* Inline location#Location#column_start (var_l) on <var_l:Location> */
2754 var120
= var_l
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <var_l:Location> */
2756 RET_LABEL119
:(void)0;
2760 { /* Inline kernel#Int#- (var118,1l) on <var118:Int> */
2761 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
2762 /* <1l:Int> isa OTHER */
2763 var123
= 1; /* easy <1l:Int> isa OTHER*/
2764 if (unlikely(!var123
)) {
2765 var_class_name126
= type_core__Int
.name
;
2766 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name126
);
2767 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 734);
2770 var127
= var118
- 1l;
2773 RET_LABEL122
:(void)0;
2777 var128
= ((val
*(*)(val
* self
, long p0
, long p1
))(var_string
->class->vft
[COLOR_core__abstract_text__Text__substring
]))(var_string
, var_line_start
, var121
); /* substring on <var_string:String>*/
2779 var_lstart
= var128
;
2781 if (likely(varonce129
!=NULL
)) {
2782 var130
= varonce129
;
2785 var132
= core__flat___NativeString___to_s_full(var131
, 0l, 0l);
2787 varonce129
= var130
;
2789 var_lstart
= var130
;
2792 { /* Inline location#Location#line_end (var_l) on <var_l:Location> */
2793 var135
= var_l
->attrs
[COLOR_nitc__location__Location___line_end
].l
; /* _line_end on <var_l:Location> */
2795 RET_LABEL134
:(void)0;
2799 { /* Inline kernel#Int#!= (var_i,var133) on <var_i:Int> */
2800 var138
= var_i
== var133
;
2804 RET_LABEL137
:(void)0;
2809 { /* Inline kernel#Int#- (var_line_end,var_line_start) on <var_line_end:Int> */
2810 /* Covariant cast for argument 0 (i) <var_line_start:Int> isa OTHER */
2811 /* <var_line_start:Int> isa OTHER */
2812 var142
= 1; /* easy <var_line_start:Int> isa OTHER*/
2813 if (unlikely(!var142
)) {
2814 var_class_name145
= type_core__Int
.name
;
2815 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name145
);
2816 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 734);
2819 var146
= var_line_end
- var_line_start
;
2822 RET_LABEL141
:(void)0;
2826 { /* Inline kernel#Int#+ (var140,1l) on <var140:Int> */
2827 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
2828 /* <1l:Int> isa OTHER */
2829 var149
= 1; /* easy <1l:Int> isa OTHER*/
2830 if (unlikely(!var149
)) {
2831 var_class_name152
= type_core__Int
.name
;
2832 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name152
);
2833 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
2836 var153
= var140
+ 1l;
2839 RET_LABEL148
:(void)0;
2842 var154
= (val
*)(var147
<<2|1);
2846 { /* Inline location#Location#column_end (var_l) on <var_l:Location> */
2847 var157
= var_l
->attrs
[COLOR_nitc__location__Location___column_end
].l
; /* _column_end on <var_l:Location> */
2849 RET_LABEL156
:(void)0;
2852 var158
= (val
*)(var155
<<2|1);
2856 { /* Inline kernel#Int#+ (var_line_start,var_cend) on <var_line_start:Int> */
2857 /* Covariant cast for argument 0 (i) <var_cend:nullable Object(Int)> isa OTHER */
2858 /* <var_cend:nullable Object(Int)> isa OTHER */
2859 var161
= 1; /* easy <var_cend:nullable Object(Int)> isa OTHER*/
2860 if (unlikely(!var161
)) {
2861 var_class_name164
= var_cend
== NULL ?
"null" : (((long)var_cend
&3)?type_info
[((long)var_cend
&3)]:var_cend
->type
)->name
;
2862 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name164
);
2863 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
2866 var165
= (long)(var_cend
)>>2;
2867 var166
= var_line_start
+ var165
;
2870 RET_LABEL160
:(void)0;
2874 var167
= ((long(*)(val
* self
))(var_string
->class->vft
[COLOR_core__abstract_text__Text__length
]))(var_string
); /* length on <var_string:String>*/
2877 { /* Inline kernel#Int#<= (var159,var167) on <var159:Int> */
2878 /* Covariant cast for argument 0 (i) <var167:Int> isa OTHER */
2879 /* <var167:Int> isa OTHER */
2880 var170
= 1; /* easy <var167:Int> isa OTHER*/
2881 if (unlikely(!var170
)) {
2882 var_class_name173
= type_core__Int
.name
;
2883 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name173
);
2884 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 727);
2887 var174
= var159
<= var167
;
2890 RET_LABEL169
:(void)0;
2895 { /* Inline location#Location#column_start (var_l) on <var_l:Location> */
2896 var177
= var_l
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <var_l:Location> */
2898 RET_LABEL176
:(void)0;
2902 { /* Inline kernel#Int#+ (var_line_start,var175) on <var_line_start:Int> */
2903 /* Covariant cast for argument 0 (i) <var175:Int> isa OTHER */
2904 /* <var175:Int> isa OTHER */
2905 var180
= 1; /* easy <var175:Int> isa OTHER*/
2906 if (unlikely(!var180
)) {
2907 var_class_name183
= type_core__Int
.name
;
2908 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name183
);
2909 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
2912 var184
= var_line_start
+ var175
;
2915 RET_LABEL179
:(void)0;
2919 { /* Inline kernel#Int#- (var178,1l) on <var178:Int> */
2920 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
2921 /* <1l:Int> isa OTHER */
2922 var187
= 1; /* easy <1l:Int> isa OTHER*/
2923 if (unlikely(!var187
)) {
2924 var_class_name190
= type_core__Int
.name
;
2925 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name190
);
2926 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 734);
2929 var191
= var178
- 1l;
2932 RET_LABEL186
:(void)0;
2936 { /* Inline location#Location#column_start (var_l) on <var_l:Location> */
2937 var194
= var_l
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <var_l:Location> */
2939 RET_LABEL193
:(void)0;
2943 { /* Inline kernel#Int#- (var_cend,var192) on <var_cend:nullable Object(Int)> */
2944 /* Covariant cast for argument 0 (i) <var192:Int> isa OTHER */
2945 /* <var192:Int> isa OTHER */
2946 var197
= 1; /* easy <var192:Int> isa OTHER*/
2947 if (unlikely(!var197
)) {
2948 var_class_name200
= type_core__Int
.name
;
2949 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name200
);
2950 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 734);
2953 var201
= (long)(var_cend
)>>2;
2954 var202
= var201
- var192
;
2957 RET_LABEL196
:(void)0;
2961 { /* Inline kernel#Int#+ (var195,1l) on <var195:Int> */
2962 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
2963 /* <1l:Int> isa OTHER */
2964 var205
= 1; /* easy <1l:Int> isa OTHER*/
2965 if (unlikely(!var205
)) {
2966 var_class_name208
= type_core__Int
.name
;
2967 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name208
);
2968 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
2971 var209
= var195
+ 1l;
2974 RET_LABEL204
:(void)0;
2978 var210
= ((val
*(*)(val
* self
, long p0
, long p1
))(var_string
->class->vft
[COLOR_core__abstract_text__Text__substring
]))(var_string
, var185
, var203
); /* substring on <var_string:String>*/
2982 { /* Inline kernel#Int#+ (var_line_start,var_cend) on <var_line_start:Int> */
2983 /* Covariant cast for argument 0 (i) <var_cend:nullable Object(Int)> isa OTHER */
2984 /* <var_cend:nullable Object(Int)> isa OTHER */
2985 var213
= 1; /* easy <var_cend:nullable Object(Int)> isa OTHER*/
2986 if (unlikely(!var213
)) {
2987 var_class_name216
= var_cend
== NULL ?
"null" : (((long)var_cend
&3)?type_info
[((long)var_cend
&3)]:var_cend
->type
)->name
;
2988 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name216
);
2989 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
2992 var217
= (long)(var_cend
)>>2;
2993 var218
= var_line_start
+ var217
;
2996 RET_LABEL212
:(void)0;
3000 { /* Inline kernel#Int#- (var_line_end,var_line_start) on <var_line_end:Int> */
3001 /* Covariant cast for argument 0 (i) <var_line_start:Int> isa OTHER */
3002 /* <var_line_start:Int> isa OTHER */
3003 var221
= 1; /* easy <var_line_start:Int> isa OTHER*/
3004 if (unlikely(!var221
)) {
3005 var_class_name224
= type_core__Int
.name
;
3006 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name224
);
3007 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 734);
3010 var225
= var_line_end
- var_line_start
;
3013 RET_LABEL220
:(void)0;
3017 { /* Inline kernel#Int#- (var219,var_cend) on <var219:Int> */
3018 /* Covariant cast for argument 0 (i) <var_cend:nullable Object(Int)> isa OTHER */
3019 /* <var_cend:nullable Object(Int)> isa OTHER */
3020 var228
= 1; /* easy <var_cend:nullable Object(Int)> isa OTHER*/
3021 if (unlikely(!var228
)) {
3022 var_class_name231
= var_cend
== NULL ?
"null" : (((long)var_cend
&3)?type_info
[((long)var_cend
&3)]:var_cend
->type
)->name
;
3023 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name231
);
3024 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 734);
3027 var232
= (long)(var_cend
)>>2;
3028 var233
= var219
- var232
;
3031 RET_LABEL227
:(void)0;
3035 { /* Inline kernel#Int#+ (var226,1l) on <var226:Int> */
3036 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
3037 /* <1l:Int> isa OTHER */
3038 var236
= 1; /* easy <1l:Int> isa OTHER*/
3039 if (unlikely(!var236
)) {
3040 var_class_name239
= type_core__Int
.name
;
3041 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name239
);
3042 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
3045 var240
= var226
+ 1l;
3048 RET_LABEL235
:(void)0;
3052 var241
= ((val
*(*)(val
* self
, long p0
, long p1
))(var_string
->class->vft
[COLOR_core__abstract_text__Text__substring
]))(var_string
, var211
, var234
); /* substring on <var_string:String>*/
3056 if (likely(varonce242
!=NULL
)) {
3057 var243
= varonce242
;
3060 var245
= core__flat___NativeString___to_s_full(var244
, 0l, 0l);
3062 varonce242
= var243
;
3065 if (likely(varonce246
!=NULL
)) {
3066 var247
= varonce246
;
3069 var249
= core__flat___NativeString___to_s_full(var248
, 0l, 0l);
3071 varonce246
= var247
;
3075 var250
= NEW_core__FlatBuffer(&type_core__FlatBuffer
);
3077 { /* Inline flat#FlatBuffer#init (var250) on <var250:FlatBuffer> */
3079 ((void(*)(val
* self
))(var250
->class->vft
[COLOR_core___core__FlatBuffer___core__kernel__Object__init
]))(var250
); /* init on <var250:FlatBuffer>*/
3081 RET_LABEL251
:(void)0;
3084 var_indent
= var250
;
3085 var_j
= var_line_start
;
3087 { /* Inline location#Location#column_start (var_l) on <var_l:Location> */
3088 var254
= var_l
->attrs
[COLOR_nitc__location__Location___column_start
].l
; /* _column_start on <var_l:Location> */
3090 RET_LABEL253
:(void)0;
3094 { /* Inline kernel#Int#+ (var_line_start,var252) on <var_line_start:Int> */
3095 /* Covariant cast for argument 0 (i) <var252:Int> isa OTHER */
3096 /* <var252:Int> isa OTHER */
3097 var257
= 1; /* easy <var252:Int> isa OTHER*/
3098 if (unlikely(!var257
)) {
3099 var_class_name260
= type_core__Int
.name
;
3100 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name260
);
3101 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 731);
3104 var261
= var_line_start
+ var252
;
3107 RET_LABEL256
:(void)0;
3111 { /* Inline kernel#Int#- (var255,1l) on <var255:Int> */
3112 /* Covariant cast for argument 0 (i) <1l:Int> isa OTHER */
3113 /* <1l:Int> isa OTHER */
3114 var264
= 1; /* easy <1l:Int> isa OTHER*/
3115 if (unlikely(!var264
)) {
3116 var_class_name267
= type_core__Int
.name
;
3117 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name267
);
3118 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 734);
3121 var268
= var255
- 1l;
3124 RET_LABEL263
:(void)0;
3130 { /* Inline kernel#Int#< (var_j,var_269) on <var_j:Int> */
3131 /* Covariant cast for argument 0 (i) <var_269:Int> isa OTHER */
3132 /* <var_269:Int> isa OTHER */
3133 var272
= 1; /* easy <var_269:Int> isa OTHER*/
3134 if (unlikely(!var272
)) {
3135 var_class_name275
= type_core__Int
.name
;
3136 PRINT_ERROR("Runtime error: Cast failed. Expected `%s`, got `%s`", "OTHER", var_class_name275
);
3137 PRINT_ERROR(" (%s:%d)\n", FILE_core__kernel
, 728);
3140 var276
= var_j
< var_269
;
3143 RET_LABEL271
:(void)0;
3148 goto BREAK_label277
;
3151 var278
= ((val
*(*)(val
* self
))(var_string
->class->vft
[COLOR_core__abstract_text__Text__chars
]))(var_string
); /* chars on <var_string:String>*/
3154 var279
= ((val
*(*)(val
* self
, long p0
))((((long)var278
&3)?class_info
[((long)var278
&3)]:var278
->class)->vft
[COLOR_core__abstract_collection__SequenceRead___91d_93d
]))(var278
, var_j
); /* [] on <var278:SequenceRead[Char]>*/
3157 { /* Inline kernel#Char#== (var279,'\t') on <var279:nullable Object(Char)> */
3158 var283
= (uint32_t)((long)(var279
)>>2);
3159 var282
= var283
== '\t';
3162 RET_LABEL281
:(void)0;
3167 core___core__FlatBuffer___core__abstract_text__Buffer__add(var_indent
, '\t'); /* Direct call flat#FlatBuffer#add on <var_indent:FlatBuffer>*/
3171 core___core__FlatBuffer___core__abstract_text__Buffer__add(var_indent
, ' '); /* Direct call flat#FlatBuffer#add on <var_indent:FlatBuffer>*/
3175 var284
= core___core__Int___Discrete__successor(var_j
, 1l);
3179 BREAK_label277
: (void)0;
3180 if (unlikely(varonce285
==NULL
)) {
3181 var286
= NEW_core__NativeArray(9l, &type_core__NativeArray__core__String
);
3182 if (likely(varonce287
!=NULL
)) {
3183 var288
= varonce287
;
3186 var290
= core__flat___NativeString___to_s_full(var289
, 1l, 1l);
3188 varonce287
= var288
;
3190 ((struct instance_core__NativeArray
*)var286
)->values
[0]=var288
;
3191 if (likely(varonce291
!=NULL
)) {
3192 var292
= varonce291
;
3195 var294
= core__flat___NativeString___to_s_full(var293
, 2l, 2l);
3197 varonce291
= var292
;
3199 ((struct instance_core__NativeArray
*)var286
)->values
[6]=var292
;
3200 if (likely(varonce295
!=NULL
)) {
3201 var296
= varonce295
;
3204 var298
= core__flat___NativeString___to_s_full(var297
, 1l, 1l);
3206 varonce295
= var296
;
3208 ((struct instance_core__NativeArray
*)var286
)->values
[8]=var296
;
3210 var286
= varonce285
;
3213 ((struct instance_core__NativeArray
*)var286
)->values
[1]=var_lstart
;
3214 ((struct instance_core__NativeArray
*)var286
)->values
[2]=var_col
;
3215 ((struct instance_core__NativeArray
*)var286
)->values
[3]=var_lmid
;
3216 ((struct instance_core__NativeArray
*)var286
)->values
[4]=var_def
;
3217 ((struct instance_core__NativeArray
*)var286
)->values
[5]=var_lend
;
3219 var299
= ((val
*(*)(val
* self
))(var_indent
->class->vft
[COLOR_core__abstract_text__Object__to_s
]))(var_indent
); /* to_s on <var_indent:FlatBuffer>*/
3221 ((struct instance_core__NativeArray
*)var286
)->values
[7]=var299
;
3223 var300
= ((val
*(*)(val
* self
))(var286
->class->vft
[COLOR_core__abstract_text__NativeArray__native_to_s
]))(var286
); /* native_to_s on <var286:NativeArray[String]>*/
3225 varonce285
= var286
;
3231 /* method location#Location#init for (self: Location) */
3232 void nitc___nitc__Location___core__kernel__Object__init(val
* self
) {
3234 ((void(*)(val
* self
))(self
->class->vft
[COLOR_nitc___nitc__Location___core__kernel__Object__init
]))(self
); /* init on <self:Location>*/