1 /* Generated by Nim Compiler v1.6.2 */
2 #define NIM_INTBITS 64
3
4 #include "nimbase.h"
5 #include <string.h>
6 #undef LANGUAGE_C
7 #undef MIPSEB
8 #undef MIPSEL
9 #undef PPC
10 #undef R3000
11 #undef R4000
12 #undef i386
13 #undef linux
14 #undef mips
15 #undef near
16 #undef far
17 #undef powerpc
18 #undef unix
19 #define nimfr_(x, y)
20 #define nimln_(x, y)
21 typedef struct NimStringDesc NimStringDesc;
22 typedef struct TGenericSeq TGenericSeq;
23 typedef struct TNimType TNimType;
24 typedef struct TNimNode TNimNode;
25 typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g;
26 typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w;
27 typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ;
28 typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA;
29 typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg;
30 typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ;
31 typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg;
32 typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw;
33 typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA;
34 typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw;
35 typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw;
36 typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg;
37 typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg;
38 typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg;
39 typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ;
40 typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg;
41 typedef struct tyTuple__wb7Ftwo1Ba9cOF5RERh5YIg tyTuple__wb7Ftwo1Ba9cOF5RERh5YIg;
42 typedef struct tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA;
43 typedef struct tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww;
44 typedef struct tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA;
45 typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
46 typedef struct tySequence__KFvl20wcyiCp7mcrl5UXYQ tySequence__KFvl20wcyiCp7mcrl5UXYQ;
47 typedef struct tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg;
48 typedef struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA;
49 typedef struct tyTuple__ubXr9bFCXs9bc35NkwsYmx2Q tyTuple__ubXr9bFCXs9bc35NkwsYmx2Q;
50 typedef struct tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw;
51 typedef struct tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ;
52 typedef struct RootObj RootObj;
53 typedef struct tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ;
54 typedef struct tySequence__9c1n3IOF5T6xvPNf6ipRnuQ tySequence__9c1n3IOF5T6xvPNf6ipRnuQ;
55 typedef struct tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA;
56 struct TGenericSeq {
57 NI len;
58 NI reserved;
59 };
60 struct NimStringDesc {
61 TGenericSeq Sup;
62 NIM_CHAR data[SEQ_DECL_SIZE];
63 };
64 typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
65 typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
66 typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
67 typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
68 struct TNimType {
69 NI size;
70 NI align;
71 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
72 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
73 TNimType* base;
74 TNimNode* node;
75 void* finalizer;
76 tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
77 tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
78 };
79 typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
80 struct TNimNode {
81 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
82 NI offset;
83 TNimType* typ;
84 NCSTRING name;
85 NI len;
86 TNimNode** sons;
87 };
88 typedef N_NIMCALL_PTR(void, tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ) (void);
89 struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {
90 NI refcount;
91 TNimType* typ;
92 };
93 struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {
94 void* bottom;
95 };
96 struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {
97 NI len;
98 NI cap;
99 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
100 };
101 typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SPr7N6UKfuF549bNPiUvSRw[256];
102 typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24];
103 typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32];
104 typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24];
105 typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256];
106 struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {
107 tyArray__lh2A89ahMmYg9bCmpVaplLbA data;
108 };
109 typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2];
110 struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {
111 tyArray__0aOLqZchNi8nWtMTi8ND8w link;
112 NI key;
113 NI upperBound;
114 NI level;
115 };
116 struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg {
117 tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0;
118 NI Field1;
119 };
120 typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30];
121 struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {
122 NI len;
123 tyArray__LzOv2eCDGiceMKQstCLmhw chunks;
124 tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next;
125 };
126 struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {
127 NI minLargeObj;
128 NI maxLargeObj;
129 tyArray__SPr7N6UKfuF549bNPiUvSRw freeSmallChunks;
130 NU32 flBitmap;
131 tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
132 tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
133 tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
134 NI currMem;
135 NI maxMem;
136 NI freeMem;
137 NI occ;
138 NI lastSize;
139 tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
140 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
141 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
142 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
143 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
144 NIM_BOOL locked;
145 NIM_BOOL blockChunkSizeIncrease;
146 NI nextChunkSize;
147 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
148 tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
149 };
150 struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {
151 NI stackScans;
152 NI cycleCollections;
153 NI maxThreshold;
154 NI maxStackSize;
155 NI maxStackCells;
156 NI cycleTableSize;
157 NI64 maxPause;
158 };
159 struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {
160 NI counter;
161 NI max;
162 tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
163 tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
164 };
165 struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {
166 tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
167 NI cycleThreshold;
168 NI zctThreshold;
169 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
170 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
171 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
172 NI recGcLock;
173 tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
174 tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
175 tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
176 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
177 NI gcThreadId;
178 };
179 struct tyTuple__wb7Ftwo1Ba9cOF5RERh5YIg {
180 tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* Field0;
181 tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww* Field1;
182 };
183 struct tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA {
184 NI line;
185 NI column;
186 NimStringDesc* source;
187 NimStringDesc* name;
188 tySequence__KFvl20wcyiCp7mcrl5UXYQ* children;
189 };
190 typedef NU8 tyEnum_C__PKpEtWhC9bEPKnEH9bojROKA;
191 struct tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg {
192 tyEnum_C__PKpEtWhC9bEPKnEH9bojROKA kind;
193 union{
194 struct {tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* node;
195 } _kind_1;
196 struct {NimStringDesc* s;
197 } _kind_2;
198 };
199 };
200 typedef NU8 tySet_tyChar__nmiMWKVIe46vacnhAFrQvw[32];
201 struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA {
202 NI a;
203 NI b;
204 };
205 struct tyTuple__ubXr9bFCXs9bc35NkwsYmx2Q {
206 NIM_BOOL Field0;
207 NimStringDesc* Field1;
208 };
209 typedef NU8 tyEnum_TokenState__geM5ALFjLh2tNNd8UDdLEw;
210 struct RootObj {
211 TNimType* m_type;
212 };
213 struct tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ {
214 NI Field0;
215 NI Field1;
216 };
217 struct tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ {
218 RootObj Sup;
219 NI colonstate_;
220 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* lastOriginal1;
221 tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw* map2;
222 tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ generated3;
223 NIM_BOOL sourceMappingActive4;
224 };
225 struct tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw {
226 NimStringDesc* file;
227 NimStringDesc* sourceRoot;
228 NIM_BOOL skipValidation;
229 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* sources;
230 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* names;
231 tySequence__9c1n3IOF5T6xvPNf6ipRnuQ* mappings;
232 };
233 struct tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA {
234 NimStringDesc* source;
235 tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ original;
236 tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ generated;
237 NimStringDesc* name;
238 NIM_BOOL noSource;
239 NIM_BOOL noName;
240 };
241 typedef struct {
242 N_NIMCALL_PTR(void, ClP_0) (NimStringDesc* line, tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* original, void* ClE_0);
243 void* ClE_0;
244 } tyProc__YFZjzhcwazJBtDPYn7K0Rg;
245 typedef N_CLOSURE_PTR(void, TM__6vuGHHnP4PcSvUQSx0mGGg_16) (NimStringDesc* line, tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* original);
246 typedef struct {
247 N_NIMCALL_PTR(NI, ClP_0) (tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* x, tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* y, void* ClE_0);
248 void* ClE_0;
249 } tyProc__9apb8PBM2ucUBIVhn3CRrdg;
250 typedef NU8 tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA;
251 typedef N_CLOSURE_PTR(NI, TM__6vuGHHnP4PcSvUQSx0mGGg_21) (tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* x, tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* y);
252 typedef N_CLOSURE_PTR(NI, TM__6vuGHHnP4PcSvUQSx0mGGg_22) (tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* x, tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* y);
253 typedef N_CLOSURE_PTR(NI, TM__6vuGHHnP4PcSvUQSx0mGGg_23) (tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* x, tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* y, void* ClE_0);
254 struct tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww {
255 NI version;
256 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* sources;
257 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* names;
258 NimStringDesc* mappings;
259 NimStringDesc* file;
260 };
261 struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ {
262 TGenericSeq Sup;
263 NimStringDesc* data[SEQ_DECL_SIZE];
264 };
265 struct tySequence__KFvl20wcyiCp7mcrl5UXYQ {
266 TGenericSeq Sup;
267 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg* data[SEQ_DECL_SIZE];
268 };
269 struct tySequence__9c1n3IOF5T6xvPNf6ipRnuQ {
270 TGenericSeq Sup;
271 tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* data[SEQ_DECL_SIZE];
272 };
273 N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
274 static N_NIMCALL(void, TM__6vuGHHnP4PcSvUQSx0mGGg_2)(void);
275 N_LIB_PRIVATE N_NIMCALL(void, nimRegisterGlobalMarker)(tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ markerProc);
276 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
277 static N_INLINE(void, nimGCunrefNoCycle)(void* p);
278 static N_INLINE(void, decRef__system_5316)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
279 static N_INLINE(NI, minuspercent___system_716)(NI x, NI y);
280 static N_INLINE(NIM_BOOL, ltpercent___system_1005)(NI x, NI y);
281 static N_INLINE(void, rtlAddZCT__system_5314)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
282 N_LIB_PRIVATE N_NOINLINE(void, addZCT__system_5265)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
283 static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__system_5271)(void* usr);
284 N_LIB_PRIVATE N_NIMCALL(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA*, parse__sourcemap_283)(NimStringDesc* source, NimStringDesc* path);
285 N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, nsuSplitLines)(NimStringDesc* s, NIM_BOOL keepEol);
286 N_LIB_PRIVATE N_NIMCALL(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA*, newSourceNode__sourcemap_148)(NI line, NI column, NimStringDesc* path, tySequence__KFvl20wcyiCp7mcrl5UXYQ* children, NimStringDesc* name);
287 static N_NIMCALL(void, Marker_tyRef__lm54M4NIUDvCaS7maOy4lw)(void* p, NI op);
288 static N_NIMCALL(void, Marker_tySequence__KFvl20wcyiCp7mcrl5UXYQ)(void* p, NI op);
289 static N_NIMCALL(void, Marker_tyRef__kYafIOmoQ4QNaLOPbKBADQ)(void* p, NI op);
290 N_LIB_PRIVATE N_NOINLINE(void*, newObj)(TNimType* typ, NI size);
291 N_LIB_PRIVATE N_NIMCALL(void, genericSeqAssign)(void* dest, void* src, TNimType* mt);
292 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuStrip)(NimStringDesc* s, NIM_BOOL leading, NIM_BOOL trailing, tySet_tyChar__nmiMWKVIe46vacnhAFrQvw chars);
293 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nsuStartsWith)(NimStringDesc* s, NimStringDesc* prefix);
294 static N_INLINE(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**, X5BX5D___sourcemap_328)(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** s, NI sLen_0, NI i);
295 N_LIB_PRIVATE N_NIMCALL(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg*, child__sourcemap_54)(NimStringDesc* s);
296 static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
297 static N_INLINE(void, copyMem__system_1727)(void* dest, void* source, NI size);
298 static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
299 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
300 N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, incrSeqV3)(TGenericSeq* s, TNimType* typ);
301 static N_INLINE(void, asgnRef)(void** dest, void* src);
302 static N_INLINE(void, incRef__system_5309)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
303 static N_INLINE(NI, pluspercent___system_696)(NI x, NI y);
304 N_LIB_PRIVATE N_NIMCALL(NI, nsuFindStr)(NimStringDesc* s, NimStringDesc* sub, NI start, NI last);
305 N_LIB_PRIVATE N_NIMCALL(NI, nsuParseInt)(NimStringDesc* s);
306 static N_INLINE(NimStringDesc*, X5BX5D___pureZunicode_865)(NimStringDesc* s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x);
307 N_NIMCALL(NimStringDesc*, mnewString)(NI len);
308 static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___pureZunicode_840)(NI a, NI b);
309 static N_INLINE(void, nimZeroMem)(void* p, NI size);
310 static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size);
311 static N_INLINE(NimStringDesc*, X5BX5D___pureZunicode_3215)(NimStringDesc* s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x);
312 static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___stdZenumutils_80)(NI a, NI b);
313 N_LIB_PRIVATE N_NIMCALL(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg*, child__sourcemap_87)(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* node);
314 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nsuIsAlphaAsciiChar)(NIM_CHAR c);
315 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
316 N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, nsuSplitChar)(NimStringDesc* s, NIM_CHAR sep, NI maxsplit);
317 N_LIB_PRIVATE N_NIMCALL(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA*, newSourceNode__sourcemap_137)(NI line, NI column, NimStringDesc* path, NimStringDesc* s, NimStringDesc* name);
318 static N_INLINE(void, nimGCunrefRC1)(void* p);
319 N_LIB_PRIVATE N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len);
320 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimCharToStr)(NIM_CHAR x);
321 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
322 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
323 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nsuIsAlphaNumericChar)(NIM_CHAR c);
324 N_LIB_PRIVATE N_NIMCALL(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw*, toSourceMap__sourcemap_820)(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* node, NimStringDesc* file);
325 static N_NIMCALL(void, Marker_tyRef__ZiyRAXiRrbEPGtTCmbMS4Q)(void* p, NI op);
326 static N_NIMCALL(void, Marker_tySequence__9c1n3IOF5T6xvPNf6ipRnuQ)(void* p, NI op);
327 static N_NIMCALL(void, Marker_tyRef__30OItTzKS9b1R09axKKGTwjQ)(void* p, NI op);
328 static N_NIMCALL(void, Marker_tyRef__lUKegEKxbmKcVAxqUt9aM5g)(void* p, NI op);
329 N_LIB_PRIVATE N_NIMCALL(void, walk__sourcemap_806)(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* node, tyProc__YFZjzhcwazJBtDPYn7K0Rg fn);
330 N_LIB_PRIVATE N_CLOSURE(void, colonanonymous___sourcemap_846)(NimStringDesc* line, tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* original, void* ClE_0);
331 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nsuEndsWith)(NimStringDesc* s, NimStringDesc* suffix);
332 static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
333 static N_INLINE(NIM_BOOL, equalMem__system_1735)(void* a, void* b, NI size);
334 static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
335 N_LIB_PRIVATE N_NIMCALL(void, addMapping__sourcemap_783)(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw* map, tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* mapping);
336 static N_INLINE(NIM_BOOL, contains__stdZenumutils_43)(NimStringDesc** a, NI aLen_0, NimStringDesc* item);
337 static N_INLINE(NI, find__stdZenumutils_48)(NimStringDesc** a, NI aLen_0, NimStringDesc* item);
338 N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, rope__ropes_109)(NimStringDesc* s);
339 N_NIMCALL(NimStringDesc*, rawNewString)(NI cap);
340 N_LIB_PRIVATE N_NIMCALL(void, formatValue__pureZstrformat_160)(NimStringDesc** result, NimStringDesc* value, NimStringDesc* specifier);
341 N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
342 N_LIB_PRIVATE N_NIMCALL(tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww*, gen__sourcemap_592)(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw* map);
343 N_LIB_PRIVATE N_NIMCALL(tySequence__9c1n3IOF5T6xvPNf6ipRnuQ*, sorted__sourcemap_603)(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA** a, NI aLen_0, tyProc__9apb8PBM2ucUBIVhn3CRrdg cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order);
344 N_LIB_PRIVATE N_NIMCALL(tySequence__9c1n3IOF5T6xvPNf6ipRnuQ*, newSeq__sourcemap_615)(NI len);
345 N_LIB_PRIVATE N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
346 N_LIB_PRIVATE N_NIMCALL(void, sort__sourcemap_631)(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA** a, NI aLen_0, tyProc__9apb8PBM2ucUBIVhn3CRrdg cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order);
347 N_LIB_PRIVATE N_NIMCALL(void, mergeAlt__sourcemap_648)(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA** a, NI aLen_0, tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA** b, NI bLen_0, NI lo, NI m, NI hi, tyProc__9apb8PBM2ucUBIVhn3CRrdg cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order);
348 static N_INLINE(NI, star___pureZalgorithm_8)(NI x, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order);
349 N_LIB_PRIVATE N_NIMCALL(NI, colonanonymous___sourcemap_595)(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* a, tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* b);
350 N_LIB_PRIVATE N_NIMCALL(NI, cmp__sourcemap_448)(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* a, tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* b);
351 N_LIB_PRIVATE N_NIMCALL(NI, cmp__sourcemap_452)(tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ x, tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ y);
352 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___sourcemap_457)(tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ x, tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ y);
353 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, lt___sourcemap_467)(tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ x, tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ y);
354 N_LIB_PRIVATE N_NIMCALL(NI, cmp__system_7453)(NI x, NI y);
355 N_LIB_PRIVATE N_NIMCALL(NI, cmp__system_1549)(NimStringDesc* x, NimStringDesc* y);
356 static N_NIMCALL(void, Marker_tyRef__3Qxt9cglO9bmiH9bDHNweKUAA)(void* p, NI op);
357 N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, X5BX5D___pureZparseopt_275)(NimStringDesc** s, NI sLen_0, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x);
358 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, serializeMappings__sourcemap_498)(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw* map, tySequence__9c1n3IOF5T6xvPNf6ipRnuQ* mappings);
359 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, encode__sourcemap_210)(NI i);
360 N_LIB_PRIVATE N_NIMCALL(NI, index__sourcemap_557)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* elements, NimStringDesc* element);
361 extern TNimType NTIstring__77mFvmsOLKik79ci2hXkHEg_;
362 STRING_LITERAL(TM__6vuGHHnP4PcSvUQSx0mGGg_3, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", 65);
363 N_LIB_PRIVATE TNimType NTIsourcenode58objecttype__1kEHpptFknNteceRlFkDjA_;
364 extern TNimType NTIint__rR5Bzr1D5krxoo1NcNyeMA_;
365 N_LIB_PRIVATE TNimType NTIchild58objecttype__bqG0LgcQJ0nO8Yup3buXVg_;
366 N_LIB_PRIVATE TNimType NTIc__PKpEtWhC9bEPKnEH9bojROKA_;
367 TNimNode* NimDT___bqG0LgcQJ0nO8Yup3buXVg_kind[3];
368 N_LIB_PRIVATE TNimType NTIchild__lm54M4NIUDvCaS7maOy4lw_;
369 N_LIB_PRIVATE TNimType NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_;
370 N_LIB_PRIVATE TNimType NTIsourcenode__kYafIOmoQ4QNaLOPbKBADQ_;
371 static NIM_CONST tySet_tyChar__nmiMWKVIe46vacnhAFrQvw TM__6vuGHHnP4PcSvUQSx0mGGg_8 = {
372 0x00, 0x3e, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
373 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
374 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
375 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
376 ;
377 STRING_LITERAL(TM__6vuGHHnP4PcSvUQSx0mGGg_9, "// line", 7);
378 STRING_LITERAL(TM__6vuGHHnP4PcSvUQSx0mGGg_10, "\012", 1);
379 STRING_LITERAL(TM__6vuGHHnP4PcSvUQSx0mGGg_11, " ", 1);
380 extern TNimType NTIrootobj__ytyiCJqK439aF9cIibuRVpAg_;
381 N_LIB_PRIVATE TNimType NTIobject__H4zxRfW3dL8rDu8vpMB6oQ_;
382 extern TNimType NTIint__xHTZrq9aYs6boc9bCba0JbpQ_;
383 N_LIB_PRIVATE TNimType NTIsourcemapgenerator58objecttype__n9aYOgFP19aMaYFJm5zs9bXbw_;
384 extern TNimType NTIbool__VaVACK0bpYmqIQ0mKcHfQQ_;
385 extern TNimType NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_;
386 N_LIB_PRIVATE TNimType NTImapping58objecttype__tyoFJJITyZcOtgC4HmERDA_;
387 extern TNimType NTItupleLa58int_b58intT__1v9bKyksXWMsm0vNwmZ4EuQ_;
388 N_LIB_PRIVATE TNimType NTImapping__ZiyRAXiRrbEPGtTCmbMS4Q_;
389 N_LIB_PRIVATE TNimType NTIseqLmappingT__9c1n3IOF5T6xvPNf6ipRnuQ_;
390 N_LIB_PRIVATE TNimType NTIsourcemapgenerator__30OItTzKS9b1R09axKKGTwjQ_;
391 N_LIB_PRIVATE TNimType NTIrefobject__lUKegEKxbmKcVAxqUt9aM5g_;
392 static NIM_CONST tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ TM__6vuGHHnP4PcSvUQSx0mGGg_15 = {((NI) 1),
393 ((NI) 0)}
394 ;
395 STRING_LITERAL(TM__6vuGHHnP4PcSvUQSx0mGGg_17, ".js", 3);
396 static NIM_CONST tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ TM__6vuGHHnP4PcSvUQSx0mGGg_18 = {((NI) -1),
397 ((NI) -1)}
398 ;
399 STRING_LITERAL(TM__6vuGHHnP4PcSvUQSx0mGGg_19, "\012//# sourceMappingURL=", 22);
400 STRING_LITERAL(TM__6vuGHHnP4PcSvUQSx0mGGg_20, ".map", 4);
401 N_LIB_PRIVATE TNimType NTIsourcemap58objecttype__m1S8ZVbfoQLk0xvz8tc6ww_;
402 N_LIB_PRIVATE TNimType NTIsourcemap__3Qxt9cglO9bmiH9bDHNweKUAA_;
403 static NIM_CONST tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ TM__6vuGHHnP4PcSvUQSx0mGGg_25 = {((NI) 1),
404 ((NI) 0)}
405 ;
406 static NIM_CONST tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ TM__6vuGHHnP4PcSvUQSx0mGGg_26 = {((NI) 0),
407 ((NI) 0)}
408 ;
409 STRING_LITERAL(TM__6vuGHHnP4PcSvUQSx0mGGg_27, ";", 1);
410 STRING_LITERAL(TM__6vuGHHnP4PcSvUQSx0mGGg_28, ",", 1);
411 N_LIB_PRIVATE NimStringDesc* integers__sourcemap_209;
412 extern tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__system_5218;
N_NIMCALL(void,TM__6vuGHHnP4PcSvUQSx0mGGg_2)413 static N_NIMCALL(void, TM__6vuGHHnP4PcSvUQSx0mGGg_2)(void) {
414 nimGCvisit((void*)integers__sourcemap_209, 0);
415 }
N_INLINE(NI,minuspercent___system_716)416 static N_INLINE(NI, minuspercent___system_716)(NI x, NI y) {
417 NI result;
418 result = (NI)0;
419 result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y))))));
420 return result;
421 }
N_INLINE(NIM_BOOL,ltpercent___system_1005)422 static N_INLINE(NIM_BOOL, ltpercent___system_1005)(NI x, NI y) {
423 NIM_BOOL result;
424 result = (NIM_BOOL)0;
425 result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y))));
426 return result;
427 }
N_INLINE(void,rtlAddZCT__system_5314)428 static N_INLINE(void, rtlAddZCT__system_5314)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
429 addZCT__system_5265((&gch__system_5218.zct), c);
430 }
N_INLINE(void,decRef__system_5316)431 static N_INLINE(void, decRef__system_5316)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
432 (*c).refcount = minuspercent___system_716((*c).refcount, ((NI) 8));
433 {
434 NIM_BOOL T3_;
435 T3_ = (NIM_BOOL)0;
436 T3_ = ltpercent___system_1005((*c).refcount, ((NI) 8));
437 if (!T3_) goto LA4_;
438 rtlAddZCT__system_5314(c);
439 }
440 LA4_: ;
441 }
N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g *,usrToCell__system_5271)442 static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__system_5271)(void* usr) {
443 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result;
444 NI T1_;
445 result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
446 T1_ = (NI)0;
447 T1_ = minuspercent___system_716(((NI) (ptrdiff_t) (usr)), ((NI) 16));
448 result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_));
449 return result;
450 }
N_INLINE(void,nimGCunrefNoCycle)451 static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
452 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
453 T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
454 T1_ = usrToCell__system_5271(p);
455 decRef__system_5316(T1_);
456 }
N_NIMCALL(void,Marker_tyRef__lm54M4NIUDvCaS7maOy4lw)457 static N_NIMCALL(void, Marker_tyRef__lm54M4NIUDvCaS7maOy4lw)(void* p, NI op) {
458 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg* a;
459 a = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg*)p;
460 switch ((*a).kind) {
461 case ((tyEnum_C__PKpEtWhC9bEPKnEH9bojROKA) 0):
462 nimGCvisit((void*)(*a)._kind_1.node, op);
463 break;
464 case ((tyEnum_C__PKpEtWhC9bEPKnEH9bojROKA) 1):
465 nimGCvisit((void*)(*a)._kind_2.s, op);
466 break;
467 }
468 }
N_NIMCALL(void,Marker_tySequence__KFvl20wcyiCp7mcrl5UXYQ)469 static N_NIMCALL(void, Marker_tySequence__KFvl20wcyiCp7mcrl5UXYQ)(void* p, NI op) {
470 tySequence__KFvl20wcyiCp7mcrl5UXYQ* a;
471 NI T1_;
472 a = (tySequence__KFvl20wcyiCp7mcrl5UXYQ*)p;
473 T1_ = (NI)0;
474 for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
475 nimGCvisit((void*)a->data[T1_], op);
476 }
477 }
N_NIMCALL(void,Marker_tyRef__kYafIOmoQ4QNaLOPbKBADQ)478 static N_NIMCALL(void, Marker_tyRef__kYafIOmoQ4QNaLOPbKBADQ)(void* p, NI op) {
479 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* a;
480 a = (tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA*)p;
481 nimGCvisit((void*)(*a).source, op);
482 nimGCvisit((void*)(*a).name, op);
483 nimGCvisit((void*)(*a).children, op);
484 }
N_NIMCALL(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA *,newSourceNode__sourcemap_148)485 N_LIB_PRIVATE N_NIMCALL(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA*, newSourceNode__sourcemap_148)(NI line, NI column, NimStringDesc* path, tySequence__KFvl20wcyiCp7mcrl5UXYQ* children, NimStringDesc* name) {
486 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* result;
487 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* T1_;
488 NimStringDesc* T2_;
489 NimStringDesc* T3_;
490 result = NIM_NIL;
491 T1_ = NIM_NIL;
492 T1_ = (tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA*) newObj((&NTIsourcenode__kYafIOmoQ4QNaLOPbKBADQ_), sizeof(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA));
493 (*T1_).line = line;
494 (*T1_).column = column;
495 T2_ = NIM_NIL;
496 T2_ = (*T1_).source; (*T1_).source = copyStringRC1(path);
497 if (T2_) nimGCunrefNoCycle(T2_);
498 T3_ = NIM_NIL;
499 T3_ = (*T1_).name; (*T1_).name = copyStringRC1(name);
500 if (T3_) nimGCunrefNoCycle(T3_);
501 genericSeqAssign((&(*T1_).children), children, (&NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_));
502 result = T1_;
503 return result;
504 }
N_INLINE(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg **,X5BX5D___sourcemap_328)505 static N_INLINE(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**, X5BX5D___sourcemap_328)(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** s, NI sLen_0, NI i) {
506 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** result;
507 result = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
508 result = &s[(NI)(sLen_0 - i)];
509 return result;
510 }
N_NIMCALL(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg *,child__sourcemap_54)511 N_LIB_PRIVATE N_NIMCALL(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg*, child__sourcemap_54)(NimStringDesc* s) {
512 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg* result;
513 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg* T1_;
514 NimStringDesc* T2_;
515 result = NIM_NIL;
516 T1_ = NIM_NIL;
517 T1_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg*) newObj((&NTIchild__lm54M4NIUDvCaS7maOy4lw_), sizeof(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg));
518 (*T1_).kind = ((tyEnum_C__PKpEtWhC9bEPKnEH9bojROKA) 1);
519 T2_ = NIM_NIL;
520 T2_ = (*T1_)._kind_2.s; (*T1_)._kind_2.s = copyStringRC1(s);
521 if (T2_) nimGCunrefNoCycle(T2_);
522 result = T1_;
523 return result;
524 }
N_INLINE(void,nimCopyMem)525 static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) {
526 void* T1_;
527 T1_ = (void*)0;
528 T1_ = memcpy(dest, source, ((size_t) (size)));
529 }
N_INLINE(void,copyMem__system_1727)530 static N_INLINE(void, copyMem__system_1727)(void* dest, void* source, NI size) {
531 nimCopyMem(dest, source, size);
532 }
N_INLINE(void,appendString)533 static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
534 {
535 if (!!((src == ((NimStringDesc*) NIM_NIL)))) goto LA3_;
536 copyMem__system_1727(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
537 (*dest).Sup.len += (*src).Sup.len;
538 }
539 LA3_: ;
540 }
N_INLINE(NI,pluspercent___system_696)541 static N_INLINE(NI, pluspercent___system_696)(NI x, NI y) {
542 NI result;
543 result = (NI)0;
544 result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y))))));
545 return result;
546 }
N_INLINE(void,incRef__system_5309)547 static N_INLINE(void, incRef__system_5309)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
548 (*c).refcount = pluspercent___system_696((*c).refcount, ((NI) 8));
549 }
N_INLINE(void,asgnRef)550 static N_INLINE(void, asgnRef)(void** dest, void* src) {
551 {
552 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
553 if (!!((src == NIM_NIL))) goto LA3_;
554 T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
555 T5_ = usrToCell__system_5271(src);
556 incRef__system_5309(T5_);
557 }
558 LA3_: ;
559 {
560 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
561 if (!!(((*dest) == NIM_NIL))) goto LA8_;
562 T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
563 T10_ = usrToCell__system_5271((*dest));
564 decRef__system_5316(T10_);
565 }
566 LA8_: ;
567 (*dest) = src;
568 }
N_INLINE(NimStringDesc *,X5BX5D___pureZunicode_865)569 static N_INLINE(NimStringDesc*, X5BX5D___pureZunicode_865)(NimStringDesc* s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x) {
570 NimStringDesc* result;
571 NI a;
572 NI L;
573 result = NIM_NIL;
574 a = x.a;
575 L = (NI)((NI)(x.b - a) + ((NI) 1));
576 result = mnewString(((NI) (L)));
577 {
578 NI i;
579 NI i_2;
580 i = (NI)0;
581 i_2 = ((NI) 0);
582 {
583 while (1) {
584 if (!(i_2 < L)) goto LA3;
585 i = i_2;
586 result->data[i] = s->data[(NI)(i + a)];
587 i_2 += ((NI) 1);
588 } LA3: ;
589 }
590 }
591 return result;
592 }
N_INLINE(void,nimSetMem__systemZmemory_7)593 static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size) {
594 void* T1_;
595 T1_ = (void*)0;
596 T1_ = memset(a, v, ((size_t) (size)));
597 }
N_INLINE(void,nimZeroMem)598 static N_INLINE(void, nimZeroMem)(void* p, NI size) {
599 nimSetMem__systemZmemory_7(p, ((int) 0), size);
600 }
N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA,dotdot___pureZunicode_840)601 static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___pureZunicode_840)(NI a, NI b) {
602 tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA result;
603 nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA));
604 nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA));
605 result.a = a;
606 result.b = b;
607 return result;
608 }
N_INLINE(NimStringDesc *,X5BX5D___pureZunicode_3215)609 static N_INLINE(NimStringDesc*, X5BX5D___pureZunicode_3215)(NimStringDesc* s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x) {
610 NimStringDesc* result;
611 NI a;
612 NI L;
613 result = NIM_NIL;
614 a = x.a;
615 L = (NI)((NI)((NI)((s ? s->Sup.len : 0) - x.b) - a) + ((NI) 1));
616 result = mnewString(((NI) (L)));
617 {
618 NI i;
619 NI i_2;
620 i = (NI)0;
621 i_2 = ((NI) 0);
622 {
623 while (1) {
624 if (!(i_2 < L)) goto LA3;
625 i = i_2;
626 result->data[i] = s->data[(NI)(i + a)];
627 i_2 += ((NI) 1);
628 } LA3: ;
629 }
630 }
631 return result;
632 }
N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA,dotdot___stdZenumutils_80)633 static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___stdZenumutils_80)(NI a, NI b) {
634 tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA result;
635 nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA));
636 nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA));
637 result.a = a;
638 result.b = b;
639 return result;
640 }
N_NIMCALL(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg *,child__sourcemap_87)641 N_LIB_PRIVATE N_NIMCALL(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg*, child__sourcemap_87)(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* node) {
642 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg* result;
643 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg* T1_;
644 result = NIM_NIL;
645 T1_ = NIM_NIL;
646 T1_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg*) newObj((&NTIchild__lm54M4NIUDvCaS7maOy4lw_), sizeof(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg));
647 (*T1_).kind = ((tyEnum_C__PKpEtWhC9bEPKnEH9bojROKA) 0);
648 asgnRef((void**) (&(*T1_)._kind_1.node), node);
649 result = T1_;
650 return result;
651 }
N_INLINE(void,nimGCunrefRC1)652 static N_INLINE(void, nimGCunrefRC1)(void* p) {
653 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
654 T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
655 T1_ = usrToCell__system_5271(p);
656 decRef__system_5316(T1_);
657 }
N_NIMCALL(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA *,newSourceNode__sourcemap_137)658 N_LIB_PRIVATE N_NIMCALL(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA*, newSourceNode__sourcemap_137)(NI line, NI column, NimStringDesc* path, NimStringDesc* s, NimStringDesc* name) {
659 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* result;
660 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* T1_;
661 NimStringDesc* T2_;
662 NimStringDesc* T3_;
663 result = NIM_NIL;
664 T1_ = NIM_NIL;
665 T1_ = (tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA*) newObj((&NTIsourcenode__kYafIOmoQ4QNaLOPbKBADQ_), sizeof(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA));
666 (*T1_).line = line;
667 (*T1_).column = column;
668 T2_ = NIM_NIL;
669 T2_ = (*T1_).source; (*T1_).source = copyStringRC1(path);
670 if (T2_) nimGCunrefNoCycle(T2_);
671 T3_ = NIM_NIL;
672 T3_ = (*T1_).name; (*T1_).name = copyStringRC1(name);
673 if (T3_) nimGCunrefNoCycle(T3_);
674 if ((*T1_).children) { nimGCunrefRC1((*T1_).children); (*T1_).children = NIM_NIL; }
675 (*T1_).children = (tySequence__KFvl20wcyiCp7mcrl5UXYQ*) newSeqRC1((&NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_), 1);
676 asgnRef((void**) (&(*T1_).children->data[0]), child__sourcemap_54(s));
677 result = T1_;
678 return result;
679 }
N_NIMCALL(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA *,parse__sourcemap_283)680 N_LIB_PRIVATE N_NIMCALL(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA*, parse__sourcemap_283)(NimStringDesc* source, NimStringDesc* path) {
681 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* result;
682 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* lines;
683 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* lastLocation;
684 tySequence__KFvl20wcyiCp7mcrl5UXYQ* T1_;
685 result = NIM_NIL;
686 lines = nsuSplitLines(source, NIM_FALSE);
687 lastLocation = ((tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA*) NIM_NIL);
688 T1_ = NIM_NIL;
689 T1_ = NIM_NIL;
690 result = newSourceNode__sourcemap_148(((NI) 0), ((NI) 0), path, T1_, ((NimStringDesc*) NIM_NIL));
691 {
692 NI i;
693 NimStringDesc* originalLine;
694 NI i_2;
695 NI L;
696 NI T3_;
697 i = (NI)0;
698 originalLine = NIM_NIL;
699 i_2 = ((NI) 0);
700 T3_ = (lines ? lines->Sup.len : 0);
701 L = T3_;
702 {
703 while (1) {
704 if (!(i_2 < L)) goto LA5;
705 i = i_2;
706 originalLine = lines->data[i_2];
707 {
708 NimStringDesc* line;
709 line = nsuStrip(originalLine, NIM_TRUE, NIM_TRUE, TM__6vuGHHnP4PcSvUQSx0mGGg_8);
710 {
711 if (!((line ? line->Sup.len : 0) == ((NI) 0))) goto LA9_;
712 goto LA6;
713 }
714 LA9_: ;
715 {
716 NIM_BOOL T13_;
717 NI pos;
718 NI lineNumber;
719 tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T25_;
720 NimStringDesc* T26_;
721 NimStringDesc* linePath;
722 tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T27_;
723 tySequence__KFvl20wcyiCp7mcrl5UXYQ* T28_;
724 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg* T29_;
725 NI T30_;
726 T13_ = (NIM_BOOL)0;
727 T13_ = nsuStartsWith(line, ((NimStringDesc*) &TM__6vuGHHnP4PcSvUQSx0mGGg_9));
728 if (!T13_) goto LA14_;
729 {
730 NI T18_;
731 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T21_;
732 NimStringDesc* T22_;
733 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg* T23_;
734 NI T24_;
735 T18_ = ((*result).children ? (*result).children->Sup.len : 0);
736 if (!(((NI) 0) < T18_)) goto LA19_;
737 T21_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
738 T21_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
739 T22_ = NIM_NIL;
740 T22_ = rawNewString((line ? line->Sup.len : 0) + 1);
741 appendString(T22_, line);
742 appendString(T22_, ((NimStringDesc*) &TM__6vuGHHnP4PcSvUQSx0mGGg_10));
743 T23_ = NIM_NIL;
744 T23_ = child__sourcemap_54(T22_);
745 asgnRef((void**) (&(*(*(*T21_))._kind_1.node).children), (tySequence__KFvl20wcyiCp7mcrl5UXYQ*) incrSeqV3((TGenericSeq*)((*(*(*T21_))._kind_1.node).children), (&NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_)));
746 T24_ = (*(*(*T21_))._kind_1.node).children->Sup.len++;
747 asgnRef((void**) (&(*(*(*T21_))._kind_1.node).children->data[T24_]), T23_);
748 }
749 LA19_: ;
750 pos = nsuFindStr(line, ((NimStringDesc*) &TM__6vuGHHnP4PcSvUQSx0mGGg_11), ((NI) 8), ((NI) 0));
751 T25_ = dotdot___pureZunicode_840(((NI) 8), (NI)(pos - ((NI) 1)));
752 T26_ = NIM_NIL;
753 T26_ = X5BX5D___pureZunicode_865(line, T25_);
754 lineNumber = nsuParseInt(T26_);
755 T27_ = dotdot___stdZenumutils_80((NI)(pos + ((NI) 2)), ((NI) 2));
756 linePath = X5BX5D___pureZunicode_3215(line, T27_);
757 T28_ = NIM_NIL;
758 T28_ = NIM_NIL;
759 lastLocation = newSourceNode__sourcemap_148(lineNumber, ((NI) 0), linePath, T28_, ((NimStringDesc*) NIM_NIL));
760 T29_ = NIM_NIL;
761 T29_ = child__sourcemap_87(lastLocation);
762 asgnRef((void**) (&(*result).children), (tySequence__KFvl20wcyiCp7mcrl5UXYQ*) incrSeqV3((TGenericSeq*)((*result).children), (&NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_)));
763 T30_ = (*result).children->Sup.len++;
764 asgnRef((void**) (&(*result).children->data[T30_]), T29_);
765 }
766 goto LA11_;
767 LA14_: ;
768 {
769 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* last;
770 NimStringDesc* nl;
771 last = NIM_NIL;
772 {
773 tyTuple__ubXr9bFCXs9bc35NkwsYmx2Q token;
774 tyEnum_TokenState__geM5ALFjLh2tNNd8UDdLEw state;
775 NimStringDesc* token_2;
776 NIM_BOOL isMangled;
777 nimZeroMem((void*)(&token), sizeof(tyTuple__ubXr9bFCXs9bc35NkwsYmx2Q));
778 state = ((tyEnum_TokenState__geM5ALFjLh2tNNd8UDdLEw) 0);
779 token_2 = ((NimStringDesc*) NIM_NIL);
780 isMangled = NIM_FALSE;
781 {
782 NI z;
783 NIM_CHAR ch;
784 NI i_3;
785 NI L_2;
786 z = (NI)0;
787 ch = (NIM_CHAR)0;
788 i_3 = ((NI) 0);
789 L_2 = (line ? line->Sup.len : 0);
790 {
791 while (1) {
792 if (!(i_3 < L_2)) goto LA35;
793 z = i_3;
794 ch = line->data[i_3];
795 {
796 NIM_BOOL T38_;
797 T38_ = (NIM_BOOL)0;
798 T38_ = nsuIsAlphaAsciiChar(ch);
799 if (!T38_) goto LA39_;
800 {
801 if (!(state == ((tyEnum_TokenState__geM5ALFjLh2tNNd8UDdLEw) 0))) goto LA43_;
802 state = ((tyEnum_TokenState__geM5ALFjLh2tNNd8UDdLEw) 2);
803 {
804 NimStringDesc* name;
805 if (!(((NI) 0) < (token_2 ? token_2->Sup.len : 0))) goto LA47_;
806 token.Field0 = isMangled;
807 token.Field1 = copyString(token_2);
808 name = ((NimStringDesc*) NIM_NIL);
809 {
810 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* T53_;
811 if (!token.Field0) goto LA51_;
812 T53_ = NIM_NIL;
813 T53_ = nsuSplitChar(token.Field1, 95, ((NI) 1));
814 name = copyString(T53_->data[((NI) 0)]);
815 }
816 LA51_: ;
817 {
818 NI T56_;
819 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T59_;
820 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T60_;
821 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T61_;
822 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* T62_;
823 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg* T63_;
824 NI T64_;
825 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T65_;
826 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T66_;
827 T56_ = ((*result).children ? (*result).children->Sup.len : 0);
828 if (!(((NI) 0) < T56_)) goto LA57_;
829 T59_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
830 T59_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
831 T60_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
832 T60_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
833 T61_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
834 T61_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
835 T62_ = NIM_NIL;
836 T62_ = newSourceNode__sourcemap_137((*(*(*T60_))._kind_1.node).line, ((NI) 0), (*(*(*T61_))._kind_1.node).source, token.Field1, name);
837 T63_ = NIM_NIL;
838 T63_ = child__sourcemap_87(T62_);
839 asgnRef((void**) (&(*(*(*T59_))._kind_1.node).children), (tySequence__KFvl20wcyiCp7mcrl5UXYQ*) incrSeqV3((TGenericSeq*)((*(*(*T59_))._kind_1.node).children), (&NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_)));
840 T64_ = (*(*(*T59_))._kind_1.node).children->Sup.len++;
841 asgnRef((void**) (&(*(*(*T59_))._kind_1.node).children->data[T64_]), T63_);
842 T65_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
843 T65_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
844 T66_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
845 T66_ = X5BX5D___sourcemap_328((*(*(*T65_))._kind_1.node).children->data, ((*(*(*T65_))._kind_1.node).children ? (*(*(*T65_))._kind_1.node).children->Sup.len : 0), ((NI) 1));
846 last = (*(*T66_))._kind_1.node;
847 }
848 goto LA54_;
849 LA57_: ;
850 {
851 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* T68_;
852 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg* T69_;
853 NI T70_;
854 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T71_;
855 T68_ = NIM_NIL;
856 T68_ = newSourceNode__sourcemap_137((NI)(i + ((NI) 1)), ((NI) 0), path, token.Field1, name);
857 T69_ = NIM_NIL;
858 T69_ = child__sourcemap_87(T68_);
859 asgnRef((void**) (&(*result).children), (tySequence__KFvl20wcyiCp7mcrl5UXYQ*) incrSeqV3((TGenericSeq*)((*result).children), (&NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_)));
860 T70_ = (*result).children->Sup.len++;
861 asgnRef((void**) (&(*result).children->data[T70_]), T69_);
862 T71_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
863 T71_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
864 last = (*(*T71_))._kind_1.node;
865 }
866 LA54_: ;
867 }
868 LA47_: ;
869 token_2 = nimCharToStr(ch);
870 isMangled = NIM_FALSE;
871 }
872 goto LA41_;
873 LA43_: ;
874 {
875 token_2 = addChar(token_2, ch);
876 }
877 LA41_: ;
878 }
879 goto LA36_;
880 LA39_: ;
881 {
882 NimStringDesc* T80_;
883 if (!((NU8)(ch) == (NU8)(95))) goto LA74_;
884 {
885 if (!(state == ((tyEnum_TokenState__geM5ALFjLh2tNNd8UDdLEw) 2))) goto LA78_;
886 state = ((tyEnum_TokenState__geM5ALFjLh2tNNd8UDdLEw) 3);
887 isMangled = NIM_TRUE;
888 }
889 LA78_: ;
890 T80_ = NIM_NIL;
891 T80_ = nimCharToStr(ch);
892 token_2 = resizeString(token_2, (T80_ ? T80_->Sup.len : 0) + 0);
893 appendString(token_2, T80_);
894 }
895 goto LA36_;
896 LA74_: ;
897 {
898 NIM_BOOL T82_;
899 NIM_BOOL T84_;
900 T82_ = (NIM_BOOL)0;
901 T82_ = !(((NU8)(ch) == (NU8)(34)));
902 if (!(T82_)) goto LA83_;
903 T84_ = (NIM_BOOL)0;
904 T84_ = nsuIsAlphaNumericChar(ch);
905 T82_ = !(T84_);
906 LA83_: ;
907 if (!T82_) goto LA85_;
908 {
909 if (!((12 &((NU8)1<<((NU)(state)&7U)))!=0)) goto LA89_;
910 state = ((tyEnum_TokenState__geM5ALFjLh2tNNd8UDdLEw) 0);
911 {
912 NimStringDesc* name_2;
913 if (!(((NI) 0) < (token_2 ? token_2->Sup.len : 0))) goto LA93_;
914 token.Field0 = isMangled;
915 token.Field1 = copyString(token_2);
916 name_2 = ((NimStringDesc*) NIM_NIL);
917 {
918 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* T99_;
919 if (!token.Field0) goto LA97_;
920 T99_ = NIM_NIL;
921 T99_ = nsuSplitChar(token.Field1, 95, ((NI) 1));
922 name_2 = copyString(T99_->data[((NI) 0)]);
923 }
924 LA97_: ;
925 {
926 NI T102_;
927 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T105_;
928 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T106_;
929 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T107_;
930 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* T108_;
931 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg* T109_;
932 NI T110_;
933 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T111_;
934 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T112_;
935 T102_ = ((*result).children ? (*result).children->Sup.len : 0);
936 if (!(((NI) 0) < T102_)) goto LA103_;
937 T105_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
938 T105_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
939 T106_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
940 T106_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
941 T107_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
942 T107_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
943 T108_ = NIM_NIL;
944 T108_ = newSourceNode__sourcemap_137((*(*(*T106_))._kind_1.node).line, ((NI) 0), (*(*(*T107_))._kind_1.node).source, token.Field1, name_2);
945 T109_ = NIM_NIL;
946 T109_ = child__sourcemap_87(T108_);
947 asgnRef((void**) (&(*(*(*T105_))._kind_1.node).children), (tySequence__KFvl20wcyiCp7mcrl5UXYQ*) incrSeqV3((TGenericSeq*)((*(*(*T105_))._kind_1.node).children), (&NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_)));
948 T110_ = (*(*(*T105_))._kind_1.node).children->Sup.len++;
949 asgnRef((void**) (&(*(*(*T105_))._kind_1.node).children->data[T110_]), T109_);
950 T111_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
951 T111_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
952 T112_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
953 T112_ = X5BX5D___sourcemap_328((*(*(*T111_))._kind_1.node).children->data, ((*(*(*T111_))._kind_1.node).children ? (*(*(*T111_))._kind_1.node).children->Sup.len : 0), ((NI) 1));
954 last = (*(*T112_))._kind_1.node;
955 }
956 goto LA100_;
957 LA103_: ;
958 {
959 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* T114_;
960 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg* T115_;
961 NI T116_;
962 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T117_;
963 T114_ = NIM_NIL;
964 T114_ = newSourceNode__sourcemap_137((NI)(i + ((NI) 1)), ((NI) 0), path, token.Field1, name_2);
965 T115_ = NIM_NIL;
966 T115_ = child__sourcemap_87(T114_);
967 asgnRef((void**) (&(*result).children), (tySequence__KFvl20wcyiCp7mcrl5UXYQ*) incrSeqV3((TGenericSeq*)((*result).children), (&NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_)));
968 T116_ = (*result).children->Sup.len++;
969 asgnRef((void**) (&(*result).children->data[T116_]), T115_);
970 T117_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
971 T117_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
972 last = (*(*T117_))._kind_1.node;
973 }
974 LA100_: ;
975 }
976 LA93_: ;
977 token_2 = nimCharToStr(ch);
978 isMangled = NIM_FALSE;
979 }
980 goto LA87_;
981 LA89_: ;
982 {
983 NimStringDesc* T119_;
984 T119_ = NIM_NIL;
985 T119_ = nimCharToStr(ch);
986 token_2 = resizeString(token_2, (T119_ ? T119_->Sup.len : 0) + 0);
987 appendString(token_2, T119_);
988 }
989 LA87_: ;
990 }
991 goto LA36_;
992 LA85_: ;
993 {
994 if (!((NU8)(ch) == (NU8)(34))) goto LA121_;
995 {
996 if (!!((state == ((tyEnum_TokenState__geM5ALFjLh2tNNd8UDdLEw) 1)))) goto LA125_;
997 state = ((tyEnum_TokenState__geM5ALFjLh2tNNd8UDdLEw) 1);
998 {
999 NimStringDesc* name_3;
1000 if (!(((NI) 0) < (token_2 ? token_2->Sup.len : 0))) goto LA129_;
1001 token.Field0 = isMangled;
1002 token.Field1 = copyString(token_2);
1003 name_3 = ((NimStringDesc*) NIM_NIL);
1004 {
1005 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* T135_;
1006 if (!token.Field0) goto LA133_;
1007 T135_ = NIM_NIL;
1008 T135_ = nsuSplitChar(token.Field1, 95, ((NI) 1));
1009 name_3 = copyString(T135_->data[((NI) 0)]);
1010 }
1011 LA133_: ;
1012 {
1013 NI T138_;
1014 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T141_;
1015 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T142_;
1016 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T143_;
1017 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* T144_;
1018 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg* T145_;
1019 NI T146_;
1020 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T147_;
1021 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T148_;
1022 T138_ = ((*result).children ? (*result).children->Sup.len : 0);
1023 if (!(((NI) 0) < T138_)) goto LA139_;
1024 T141_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1025 T141_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
1026 T142_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1027 T142_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
1028 T143_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1029 T143_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
1030 T144_ = NIM_NIL;
1031 T144_ = newSourceNode__sourcemap_137((*(*(*T142_))._kind_1.node).line, ((NI) 0), (*(*(*T143_))._kind_1.node).source, token.Field1, name_3);
1032 T145_ = NIM_NIL;
1033 T145_ = child__sourcemap_87(T144_);
1034 asgnRef((void**) (&(*(*(*T141_))._kind_1.node).children), (tySequence__KFvl20wcyiCp7mcrl5UXYQ*) incrSeqV3((TGenericSeq*)((*(*(*T141_))._kind_1.node).children), (&NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_)));
1035 T146_ = (*(*(*T141_))._kind_1.node).children->Sup.len++;
1036 asgnRef((void**) (&(*(*(*T141_))._kind_1.node).children->data[T146_]), T145_);
1037 T147_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1038 T147_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
1039 T148_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1040 T148_ = X5BX5D___sourcemap_328((*(*(*T147_))._kind_1.node).children->data, ((*(*(*T147_))._kind_1.node).children ? (*(*(*T147_))._kind_1.node).children->Sup.len : 0), ((NI) 1));
1041 last = (*(*T148_))._kind_1.node;
1042 }
1043 goto LA136_;
1044 LA139_: ;
1045 {
1046 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* T150_;
1047 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg* T151_;
1048 NI T152_;
1049 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T153_;
1050 T150_ = NIM_NIL;
1051 T150_ = newSourceNode__sourcemap_137((NI)(i + ((NI) 1)), ((NI) 0), path, token.Field1, name_3);
1052 T151_ = NIM_NIL;
1053 T151_ = child__sourcemap_87(T150_);
1054 asgnRef((void**) (&(*result).children), (tySequence__KFvl20wcyiCp7mcrl5UXYQ*) incrSeqV3((TGenericSeq*)((*result).children), (&NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_)));
1055 T152_ = (*result).children->Sup.len++;
1056 asgnRef((void**) (&(*result).children->data[T152_]), T151_);
1057 T153_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1058 T153_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
1059 last = (*(*T153_))._kind_1.node;
1060 }
1061 LA136_: ;
1062 }
1063 LA129_: ;
1064 token_2 = nimCharToStr(ch);
1065 isMangled = NIM_FALSE;
1066 }
1067 goto LA123_;
1068 LA125_: ;
1069 {
1070 NimStringDesc* T155_;
1071 state = ((tyEnum_TokenState__geM5ALFjLh2tNNd8UDdLEw) 0);
1072 T155_ = NIM_NIL;
1073 T155_ = nimCharToStr(ch);
1074 token_2 = resizeString(token_2, (T155_ ? T155_->Sup.len : 0) + 0);
1075 appendString(token_2, T155_);
1076 {
1077 NimStringDesc* name_4;
1078 if (!(((NI) 0) < (token_2 ? token_2->Sup.len : 0))) goto LA158_;
1079 token.Field0 = isMangled;
1080 token.Field1 = copyString(token_2);
1081 name_4 = ((NimStringDesc*) NIM_NIL);
1082 {
1083 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* T164_;
1084 if (!token.Field0) goto LA162_;
1085 T164_ = NIM_NIL;
1086 T164_ = nsuSplitChar(token.Field1, 95, ((NI) 1));
1087 name_4 = copyString(T164_->data[((NI) 0)]);
1088 }
1089 LA162_: ;
1090 {
1091 NI T167_;
1092 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T170_;
1093 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T171_;
1094 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T172_;
1095 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* T173_;
1096 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg* T174_;
1097 NI T175_;
1098 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T176_;
1099 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T177_;
1100 T167_ = ((*result).children ? (*result).children->Sup.len : 0);
1101 if (!(((NI) 0) < T167_)) goto LA168_;
1102 T170_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1103 T170_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
1104 T171_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1105 T171_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
1106 T172_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1107 T172_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
1108 T173_ = NIM_NIL;
1109 T173_ = newSourceNode__sourcemap_137((*(*(*T171_))._kind_1.node).line, ((NI) 0), (*(*(*T172_))._kind_1.node).source, token.Field1, name_4);
1110 T174_ = NIM_NIL;
1111 T174_ = child__sourcemap_87(T173_);
1112 asgnRef((void**) (&(*(*(*T170_))._kind_1.node).children), (tySequence__KFvl20wcyiCp7mcrl5UXYQ*) incrSeqV3((TGenericSeq*)((*(*(*T170_))._kind_1.node).children), (&NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_)));
1113 T175_ = (*(*(*T170_))._kind_1.node).children->Sup.len++;
1114 asgnRef((void**) (&(*(*(*T170_))._kind_1.node).children->data[T175_]), T174_);
1115 T176_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1116 T176_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
1117 T177_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1118 T177_ = X5BX5D___sourcemap_328((*(*(*T176_))._kind_1.node).children->data, ((*(*(*T176_))._kind_1.node).children ? (*(*(*T176_))._kind_1.node).children->Sup.len : 0), ((NI) 1));
1119 last = (*(*T177_))._kind_1.node;
1120 }
1121 goto LA165_;
1122 LA168_: ;
1123 {
1124 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* T179_;
1125 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg* T180_;
1126 NI T181_;
1127 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T182_;
1128 T179_ = NIM_NIL;
1129 T179_ = newSourceNode__sourcemap_137((NI)(i + ((NI) 1)), ((NI) 0), path, token.Field1, name_4);
1130 T180_ = NIM_NIL;
1131 T180_ = child__sourcemap_87(T179_);
1132 asgnRef((void**) (&(*result).children), (tySequence__KFvl20wcyiCp7mcrl5UXYQ*) incrSeqV3((TGenericSeq*)((*result).children), (&NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_)));
1133 T181_ = (*result).children->Sup.len++;
1134 asgnRef((void**) (&(*result).children->data[T181_]), T180_);
1135 T182_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1136 T182_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
1137 last = (*(*T182_))._kind_1.node;
1138 }
1139 LA165_: ;
1140 }
1141 LA158_: ;
1142 isMangled = NIM_FALSE;
1143 token_2 = ((NimStringDesc*) NIM_NIL);
1144 }
1145 LA123_: ;
1146 }
1147 goto LA36_;
1148 LA121_: ;
1149 {
1150 NimStringDesc* T184_;
1151 T184_ = NIM_NIL;
1152 T184_ = nimCharToStr(ch);
1153 token_2 = resizeString(token_2, (T184_ ? T184_->Sup.len : 0) + 0);
1154 appendString(token_2, T184_);
1155 }
1156 LA36_: ;
1157 i_3 += ((NI) 1);
1158 } LA35: ;
1159 }
1160 }
1161 {
1162 NimStringDesc* name_5;
1163 if (!(((NI) 0) < (token_2 ? token_2->Sup.len : 0))) goto LA187_;
1164 token.Field0 = isMangled;
1165 token.Field1 = copyString(token_2);
1166 name_5 = ((NimStringDesc*) NIM_NIL);
1167 {
1168 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* T193_;
1169 if (!token.Field0) goto LA191_;
1170 T193_ = NIM_NIL;
1171 T193_ = nsuSplitChar(token.Field1, 95, ((NI) 1));
1172 name_5 = copyString(T193_->data[((NI) 0)]);
1173 }
1174 LA191_: ;
1175 {
1176 NI T196_;
1177 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T199_;
1178 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T200_;
1179 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T201_;
1180 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* T202_;
1181 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg* T203_;
1182 NI T204_;
1183 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T205_;
1184 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T206_;
1185 T196_ = ((*result).children ? (*result).children->Sup.len : 0);
1186 if (!(((NI) 0) < T196_)) goto LA197_;
1187 T199_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1188 T199_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
1189 T200_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1190 T200_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
1191 T201_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1192 T201_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
1193 T202_ = NIM_NIL;
1194 T202_ = newSourceNode__sourcemap_137((*(*(*T200_))._kind_1.node).line, ((NI) 0), (*(*(*T201_))._kind_1.node).source, token.Field1, name_5);
1195 T203_ = NIM_NIL;
1196 T203_ = child__sourcemap_87(T202_);
1197 asgnRef((void**) (&(*(*(*T199_))._kind_1.node).children), (tySequence__KFvl20wcyiCp7mcrl5UXYQ*) incrSeqV3((TGenericSeq*)((*(*(*T199_))._kind_1.node).children), (&NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_)));
1198 T204_ = (*(*(*T199_))._kind_1.node).children->Sup.len++;
1199 asgnRef((void**) (&(*(*(*T199_))._kind_1.node).children->data[T204_]), T203_);
1200 T205_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1201 T205_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
1202 T206_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1203 T206_ = X5BX5D___sourcemap_328((*(*(*T205_))._kind_1.node).children->data, ((*(*(*T205_))._kind_1.node).children ? (*(*(*T205_))._kind_1.node).children->Sup.len : 0), ((NI) 1));
1204 last = (*(*T206_))._kind_1.node;
1205 }
1206 goto LA194_;
1207 LA197_: ;
1208 {
1209 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* T208_;
1210 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg* T209_;
1211 NI T210_;
1212 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** T211_;
1213 T208_ = NIM_NIL;
1214 T208_ = newSourceNode__sourcemap_137((NI)(i + ((NI) 1)), ((NI) 0), path, token.Field1, name_5);
1215 T209_ = NIM_NIL;
1216 T209_ = child__sourcemap_87(T208_);
1217 asgnRef((void**) (&(*result).children), (tySequence__KFvl20wcyiCp7mcrl5UXYQ*) incrSeqV3((TGenericSeq*)((*result).children), (&NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_)));
1218 T210_ = (*result).children->Sup.len++;
1219 asgnRef((void**) (&(*result).children->data[T210_]), T209_);
1220 T211_ = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1221 T211_ = X5BX5D___sourcemap_328((*result).children->data, ((*result).children ? (*result).children->Sup.len : 0), ((NI) 1));
1222 last = (*(*T211_))._kind_1.node;
1223 }
1224 LA194_: ;
1225 }
1226 LA187_: ;
1227 }
1228 nl = copyString(((NimStringDesc*) &TM__6vuGHHnP4PcSvUQSx0mGGg_10));
1229 {
1230 if (!!((last == 0))) goto LA214_;
1231 asgnRef((void**) (&(*last).source), resizeString((*last).source, (nl ? nl->Sup.len : 0) + 0));
1232 appendString((*last).source, nl);
1233 }
1234 LA214_: ;
1235 }
1236 LA11_: ;
1237 } LA6: ;
1238 i_2 += ((NI) 1);
1239 } LA5: ;
1240 }
1241 }
1242 return result;
1243 }
N_NIMCALL(void,Marker_tyRef__ZiyRAXiRrbEPGtTCmbMS4Q)1244 static N_NIMCALL(void, Marker_tyRef__ZiyRAXiRrbEPGtTCmbMS4Q)(void* p, NI op) {
1245 tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* a;
1246 a = (tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA*)p;
1247 nimGCvisit((void*)(*a).source, op);
1248 nimGCvisit((void*)(*a).name, op);
1249 }
N_NIMCALL(void,Marker_tySequence__9c1n3IOF5T6xvPNf6ipRnuQ)1250 static N_NIMCALL(void, Marker_tySequence__9c1n3IOF5T6xvPNf6ipRnuQ)(void* p, NI op) {
1251 tySequence__9c1n3IOF5T6xvPNf6ipRnuQ* a;
1252 NI T1_;
1253 a = (tySequence__9c1n3IOF5T6xvPNf6ipRnuQ*)p;
1254 T1_ = (NI)0;
1255 for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
1256 nimGCvisit((void*)a->data[T1_], op);
1257 }
1258 }
N_NIMCALL(void,Marker_tyRef__30OItTzKS9b1R09axKKGTwjQ)1259 static N_NIMCALL(void, Marker_tyRef__30OItTzKS9b1R09axKKGTwjQ)(void* p, NI op) {
1260 tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw* a;
1261 a = (tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw*)p;
1262 nimGCvisit((void*)(*a).file, op);
1263 nimGCvisit((void*)(*a).sourceRoot, op);
1264 nimGCvisit((void*)(*a).sources, op);
1265 nimGCvisit((void*)(*a).names, op);
1266 nimGCvisit((void*)(*a).mappings, op);
1267 }
N_NIMCALL(void,Marker_tyRef__lUKegEKxbmKcVAxqUt9aM5g)1268 static N_NIMCALL(void, Marker_tyRef__lUKegEKxbmKcVAxqUt9aM5g)(void* p, NI op) {
1269 tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ* a;
1270 a = (tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ*)p;
1271 nimGCvisit((void*)(*a).lastOriginal1, op);
1272 nimGCvisit((void*)(*a).map2, op);
1273 }
N_NIMCALL(void,walk__sourcemap_806)1274 N_LIB_PRIVATE N_NIMCALL(void, walk__sourcemap_806)(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* node, tyProc__YFZjzhcwazJBtDPYn7K0Rg fn) {
1275 {
1276 tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg** child;
1277 NI i;
1278 NI L;
1279 NI T2_;
1280 child = (tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg**)0;
1281 i = ((NI) 0);
1282 T2_ = ((*node).children ? (*node).children->Sup.len : 0);
1283 L = T2_;
1284 {
1285 while (1) {
1286 if (!(i < L)) goto LA4;
1287 child = &(*node).children->data[i];
1288 {
1289 NIM_BOOL T7_;
1290 T7_ = (NIM_BOOL)0;
1291 T7_ = ((*(*child)).kind == ((tyEnum_C__PKpEtWhC9bEPKnEH9bojROKA) 1));
1292 if (!(T7_)) goto LA8_;
1293 T7_ = (((NI) 0) < ((*(*child))._kind_2.s ? (*(*child))._kind_2.s->Sup.len : 0));
1294 LA8_: ;
1295 if (!T7_) goto LA9_;
1296 fn.ClE_0? fn.ClP_0((*(*child))._kind_2.s, node, fn.ClE_0):((TM__6vuGHHnP4PcSvUQSx0mGGg_16)(fn.ClP_0))((*(*child))._kind_2.s, node);
1297 }
1298 goto LA5_;
1299 LA9_: ;
1300 {
1301 walk__sourcemap_806((*(*child))._kind_1.node, fn);
1302 }
1303 LA5_: ;
1304 i += ((NI) 1);
1305 } LA4: ;
1306 }
1307 }
1308 }
N_INLINE(int,nimCmpMem)1309 static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size) {
1310 int result;
1311 result = (int)0;
1312 result = memcmp(a, b, ((size_t) (size)));
1313 return result;
1314 }
N_INLINE(NIM_BOOL,equalMem__system_1735)1315 static N_INLINE(NIM_BOOL, equalMem__system_1735)(void* a, void* b, NI size) {
1316 NIM_BOOL result;
1317 int T1_;
1318 result = (NIM_BOOL)0;
1319 T1_ = (int)0;
1320 T1_ = nimCmpMem(a, b, size);
1321 result = (T1_ == ((NI32) 0));
1322 return result;
1323 }
N_INLINE(NIM_BOOL,eqStrings)1324 static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) {
1325 NIM_BOOL result;
1326 NI alen;
1327 NI blen;
1328 { result = (NIM_BOOL)0;
1329 alen = (a ? a->Sup.len : 0);
1330 blen = (b ? b->Sup.len : 0);
1331 {
1332 if (!(alen == blen)) goto LA3_;
1333 {
1334 if (!(alen == ((NI) 0))) goto LA7_;
1335 result = NIM_TRUE;
1336 goto BeforeRet_;
1337 }
1338 LA7_: ;
1339 result = equalMem__system_1735(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen)));
1340 goto BeforeRet_;
1341 }
1342 LA3_: ;
1343 }BeforeRet_: ;
1344 return result;
1345 }
N_INLINE(NI,find__stdZenumutils_48)1346 static N_INLINE(NI, find__stdZenumutils_48)(NimStringDesc** a, NI aLen_0, NimStringDesc* item) {
1347 NI result;
1348 { result = (NI)0;
1349 result = ((NI) 0);
1350 {
1351 NimStringDesc** i;
1352 NI i_2;
1353 i = (NimStringDesc**)0;
1354 i_2 = ((NI) 0);
1355 {
1356 while (1) {
1357 if (!(i_2 < aLen_0)) goto LA3;
1358 i = (&a[i_2]);
1359 {
1360 if (!eqStrings((*i), item)) goto LA6_;
1361 goto BeforeRet_;
1362 }
1363 LA6_: ;
1364 result += ((NI) 1);
1365 i_2 += ((NI) 1);
1366 } LA3: ;
1367 }
1368 }
1369 result = ((NI) -1);
1370 }BeforeRet_: ;
1371 return result;
1372 }
N_INLINE(NIM_BOOL,contains__stdZenumutils_43)1373 static N_INLINE(NIM_BOOL, contains__stdZenumutils_43)(NimStringDesc** a, NI aLen_0, NimStringDesc* item) {
1374 NIM_BOOL result;
1375 NI T1_;
1376 { result = (NIM_BOOL)0;
1377 T1_ = (NI)0;
1378 T1_ = find__stdZenumutils_48(a, aLen_0, item);
1379 result = (((NI) 0) <= T1_);
1380 goto BeforeRet_;
1381 }BeforeRet_: ;
1382 return result;
1383 }
N_NIMCALL(void,addMapping__sourcemap_783)1384 N_LIB_PRIVATE N_NIMCALL(void, addMapping__sourcemap_783)(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw* map, tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* mapping) {
1385 NI T21_;
1386 {
1387 NIM_BOOL T3_;
1388 NIM_BOOL T5_;
1389 NI T8_;
1390 NimStringDesc* T9_;
1391 T3_ = (NIM_BOOL)0;
1392 T3_ = !((*mapping).noSource);
1393 if (!(T3_)) goto LA4_;
1394 T5_ = (NIM_BOOL)0;
1395 T5_ = contains__stdZenumutils_43((*map).sources->data, ((*map).sources ? (*map).sources->Sup.len : 0), (*mapping).source);
1396 T3_ = !(T5_);
1397 LA4_: ;
1398 if (!T3_) goto LA6_;
1399 asgnRef((void**) (&(*map).sources), (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) incrSeqV3((TGenericSeq*)((*map).sources), (&NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_)));
1400 T8_ = (*map).sources->Sup.len++;
1401 T9_ = NIM_NIL;
1402 T9_ = (*map).sources->data[T8_]; (*map).sources->data[T8_] = copyStringRC1((*mapping).source);
1403 if (T9_) nimGCunrefNoCycle(T9_);
1404 }
1405 LA6_: ;
1406 {
1407 NIM_BOOL T12_;
1408 NIM_BOOL T13_;
1409 NIM_BOOL T16_;
1410 NI T19_;
1411 NimStringDesc* T20_;
1412 T12_ = (NIM_BOOL)0;
1413 T13_ = (NIM_BOOL)0;
1414 T13_ = !((*mapping).noName);
1415 if (!(T13_)) goto LA14_;
1416 T13_ = (((NI) 0) < ((*mapping).name ? (*mapping).name->Sup.len : 0));
1417 LA14_: ;
1418 T12_ = T13_;
1419 if (!(T12_)) goto LA15_;
1420 T16_ = (NIM_BOOL)0;
1421 T16_ = contains__stdZenumutils_43((*map).names->data, ((*map).names ? (*map).names->Sup.len : 0), (*mapping).name);
1422 T12_ = !(T16_);
1423 LA15_: ;
1424 if (!T12_) goto LA17_;
1425 asgnRef((void**) (&(*map).names), (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) incrSeqV3((TGenericSeq*)((*map).names), (&NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_)));
1426 T19_ = (*map).names->Sup.len++;
1427 T20_ = NIM_NIL;
1428 T20_ = (*map).names->data[T19_]; (*map).names->data[T19_] = copyStringRC1((*mapping).name);
1429 if (T20_) nimGCunrefNoCycle(T20_);
1430 }
1431 LA17_: ;
1432 asgnRef((void**) (&(*map).mappings), (tySequence__9c1n3IOF5T6xvPNf6ipRnuQ*) incrSeqV3((TGenericSeq*)((*map).mappings), (&NTIseqLmappingT__9c1n3IOF5T6xvPNf6ipRnuQ_)));
1433 T21_ = (*map).mappings->Sup.len++;
1434 asgnRef((void**) (&(*map).mappings->data[T21_]), mapping);
1435 }
N_CLOSURE(void,colonanonymous___sourcemap_846)1436 N_LIB_PRIVATE N_CLOSURE(void, colonanonymous___sourcemap_846)(NimStringDesc* line, tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* original, void* ClE_0) {
1437 tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ* colonenvP_;
1438 colonenvP_ = (tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ*) ClE_0;
1439 {
1440 NIM_BOOL T3_;
1441 T3_ = (NIM_BOOL)0;
1442 T3_ = nsuEndsWith((*original).source, ((NimStringDesc*) &TM__6vuGHHnP4PcSvUQSx0mGGg_17));
1443 if (!T3_) goto LA4_;
1444 }
1445 goto LA1_;
1446 LA4_: ;
1447 {
1448 {
1449 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* T24_;
1450 NimStringDesc* T25_;
1451 NimStringDesc* T26_;
1452 if (!!(((*original).line == ((NI) -1)))) goto LA9_;
1453 {
1454 NIM_BOOL T13_;
1455 NIM_BOOL T14_;
1456 NIM_BOOL T15_;
1457 tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* T21_;
1458 NimStringDesc* T22_;
1459 NimStringDesc* T23_;
1460 T13_ = (NIM_BOOL)0;
1461 T14_ = (NIM_BOOL)0;
1462 T15_ = (NIM_BOOL)0;
1463 T15_ = !(eqStrings((*(*colonenvP_).lastOriginal1).source, (*original).source));
1464 if (T15_) goto LA16_;
1465 T15_ = !(((*(*colonenvP_).lastOriginal1).line == (*original).line));
1466 LA16_: ;
1467 T14_ = T15_;
1468 if (T14_) goto LA17_;
1469 T14_ = !(((*(*colonenvP_).lastOriginal1).column == (*original).column));
1470 LA17_: ;
1471 T13_ = T14_;
1472 if (T13_) goto LA18_;
1473 T13_ = !(eqStrings((*(*colonenvP_).lastOriginal1).name, (*original).name));
1474 LA18_: ;
1475 if (!T13_) goto LA19_;
1476 T21_ = NIM_NIL;
1477 T21_ = (tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA*) newObj((&NTImapping__ZiyRAXiRrbEPGtTCmbMS4Q_), sizeof(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA));
1478 T22_ = NIM_NIL;
1479 T22_ = (*T21_).source; (*T21_).source = copyStringRC1((*original).source);
1480 if (T22_) nimGCunrefNoCycle(T22_);
1481 (*T21_).original.Field0 = (*original).line;
1482 (*T21_).original.Field1 = (*original).column;
1483 (*T21_).generated.Field0 = (*colonenvP_).generated3.Field0;
1484 (*T21_).generated.Field1 = (*colonenvP_).generated3.Field1;
1485 T23_ = NIM_NIL;
1486 T23_ = (*T21_).name; (*T21_).name = copyStringRC1((*original).name);
1487 if (T23_) nimGCunrefNoCycle(T23_);
1488 addMapping__sourcemap_783((*colonenvP_).map2, T21_);
1489 }
1490 LA19_: ;
1491 T24_ = NIM_NIL;
1492 T24_ = (tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA*) newObj((&NTIsourcenode__kYafIOmoQ4QNaLOPbKBADQ_), sizeof(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA));
1493 T25_ = NIM_NIL;
1494 T25_ = (*T24_).source; (*T24_).source = copyStringRC1((*original).source);
1495 if (T25_) nimGCunrefNoCycle(T25_);
1496 (*T24_).line = (*original).line;
1497 (*T24_).column = (*original).column;
1498 T26_ = NIM_NIL;
1499 T26_ = (*T24_).name; (*T24_).name = copyStringRC1((*original).name);
1500 if (T26_) nimGCunrefNoCycle(T26_);
1501 genericSeqAssign((&(*T24_).children), (*(*colonenvP_).lastOriginal1).children, (&NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_));
1502 asgnRef((void**) (&(*colonenvP_).lastOriginal1), T24_);
1503 (*colonenvP_).sourceMappingActive4 = NIM_TRUE;
1504 }
1505 goto LA7_;
1506 LA9_: ;
1507 {
1508 tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* T30_;
1509 if (!(*colonenvP_).sourceMappingActive4) goto LA28_;
1510 T30_ = NIM_NIL;
1511 T30_ = (tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA*) newObj((&NTImapping__ZiyRAXiRrbEPGtTCmbMS4Q_), sizeof(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA));
1512 (*T30_).noSource = NIM_TRUE;
1513 (*T30_).noName = NIM_TRUE;
1514 (*T30_).generated.Field0 = (*colonenvP_).generated3.Field0;
1515 (*T30_).generated.Field1 = (*colonenvP_).generated3.Field1;
1516 (*T30_).original = TM__6vuGHHnP4PcSvUQSx0mGGg_18;
1517 addMapping__sourcemap_783((*colonenvP_).map2, T30_);
1518 (*(*colonenvP_).lastOriginal1).line = ((NI) -1);
1519 (*colonenvP_).sourceMappingActive4 = NIM_FALSE;
1520 }
1521 goto LA7_;
1522 LA28_: ;
1523 LA7_: ;
1524 }
1525 LA1_: ;
1526 {
1527 NI z;
1528 NI colontmp_;
1529 NI i;
1530 z = (NI)0;
1531 colontmp_ = (NI)0;
1532 colontmp_ = (line ? line->Sup.len : 0);
1533 i = ((NI) 0);
1534 {
1535 while (1) {
1536 if (!(i < colontmp_)) goto LA33;
1537 z = i;
1538 {
1539 if (!(((NU8)(line->data[z])) == ((NU8)(13)) || ((NU8)(line->data[z])) == ((NU8)(10)))) goto LA36_;
1540 (*colonenvP_).generated3.Field0 += ((NI) 1);
1541 (*colonenvP_).generated3.Field1 = ((NI) 0);
1542 {
1543 if (!(z == (NI)((line ? line->Sup.len : 0) - ((NI) 1)))) goto LA40_;
1544 (*(*colonenvP_).lastOriginal1).line = ((NI) -1);
1545 (*colonenvP_).sourceMappingActive4 = NIM_FALSE;
1546 }
1547 goto LA38_;
1548 LA40_: ;
1549 {
1550 tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* T45_;
1551 NimStringDesc* T46_;
1552 NimStringDesc* T47_;
1553 if (!(*colonenvP_).sourceMappingActive4) goto LA43_;
1554 T45_ = NIM_NIL;
1555 T45_ = (tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA*) newObj((&NTImapping__ZiyRAXiRrbEPGtTCmbMS4Q_), sizeof(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA));
1556 T46_ = NIM_NIL;
1557 T46_ = (*T45_).source; (*T45_).source = copyStringRC1((*original).source);
1558 if (T46_) nimGCunrefNoCycle(T46_);
1559 (*T45_).original.Field0 = (*original).line;
1560 (*T45_).original.Field1 = (*original).column;
1561 (*T45_).generated.Field0 = (*colonenvP_).generated3.Field0;
1562 (*T45_).generated.Field1 = (*colonenvP_).generated3.Field1;
1563 T47_ = NIM_NIL;
1564 T47_ = (*T45_).name; (*T45_).name = copyStringRC1((*original).name);
1565 if (T47_) nimGCunrefNoCycle(T47_);
1566 addMapping__sourcemap_783((*colonenvP_).map2, T45_);
1567 }
1568 goto LA38_;
1569 LA43_: ;
1570 LA38_: ;
1571 }
1572 goto LA34_;
1573 LA36_: ;
1574 {
1575 (*colonenvP_).generated3.Field1 += ((NI) 1);
1576 }
1577 LA34_: ;
1578 i += ((NI) 1);
1579 } LA33: ;
1580 }
1581 }
1582 }
N_NIMCALL(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw *,toSourceMap__sourcemap_820)1583 N_LIB_PRIVATE N_NIMCALL(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw*, toSourceMap__sourcemap_820)(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* node, NimStringDesc* file) {
1584 tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw* result;
1585 tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ* colonenv_;
1586 tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw* T1_;
1587 NimStringDesc* T2_;
1588 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* T3_;
1589 tyProc__YFZjzhcwazJBtDPYn7K0Rg T4_;
1590 result = NIM_NIL;
1591 colonenv_ = NIM_NIL;
1592 colonenv_ = (tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ*) newObj((&NTIrefobject__lUKegEKxbmKcVAxqUt9aM5g_), sizeof(tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ));
1593 (*colonenv_).Sup.m_type = (&NTIobject__H4zxRfW3dL8rDu8vpMB6oQ_);
1594 T1_ = NIM_NIL;
1595 T1_ = (tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw*) newObj((&NTIsourcemapgenerator__30OItTzKS9b1R09axKKGTwjQ_), sizeof(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw));
1596 T2_ = NIM_NIL;
1597 T2_ = (*T1_).file; (*T1_).file = copyStringRC1(file);
1598 if (T2_) nimGCunrefNoCycle(T2_);
1599 if ((*T1_).sources) { nimGCunrefRC1((*T1_).sources); (*T1_).sources = NIM_NIL; }
1600 if ((*T1_).names) { nimGCunrefRC1((*T1_).names); (*T1_).names = NIM_NIL; }
1601 if ((*T1_).mappings) { nimGCunrefRC1((*T1_).mappings); (*T1_).mappings = NIM_NIL; }
1602 asgnRef((void**) (&(*colonenv_).map2), T1_);
1603 (*colonenv_).generated3 = TM__6vuGHHnP4PcSvUQSx0mGGg_15;
1604 (*colonenv_).sourceMappingActive4 = NIM_FALSE;
1605 T3_ = NIM_NIL;
1606 T3_ = (tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA*) newObj((&NTIsourcenode__kYafIOmoQ4QNaLOPbKBADQ_), sizeof(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA));
1607 asgnRef((void**) (&(*T3_).source), ((NimStringDesc*) NIM_NIL));
1608 (*T3_).line = ((NI) -1);
1609 (*T3_).column = ((NI) 0);
1610 asgnRef((void**) (&(*T3_).name), ((NimStringDesc*) NIM_NIL));
1611 if ((*T3_).children) { nimGCunrefRC1((*T3_).children); (*T3_).children = NIM_NIL; }
1612 asgnRef((void**) (&(*colonenv_).lastOriginal1), T3_);
1613 nimZeroMem((void*)(&T4_), sizeof(tyProc__YFZjzhcwazJBtDPYn7K0Rg));
1614 T4_.ClP_0 = colonanonymous___sourcemap_846; T4_.ClE_0 = colonenv_;
1615 walk__sourcemap_806(node, T4_);
1616 result = (*colonenv_).map2;
1617 return result;
1618 }
N_NIMCALL(tySequence__9c1n3IOF5T6xvPNf6ipRnuQ *,newSeq__sourcemap_615)1619 N_LIB_PRIVATE N_NIMCALL(tySequence__9c1n3IOF5T6xvPNf6ipRnuQ*, newSeq__sourcemap_615)(NI len) {
1620 tySequence__9c1n3IOF5T6xvPNf6ipRnuQ* result;
1621 result = NIM_NIL;
1622 result = (tySequence__9c1n3IOF5T6xvPNf6ipRnuQ*) newSeq((&NTIseqLmappingT__9c1n3IOF5T6xvPNf6ipRnuQ_), len);
1623 return result;
1624 }
N_INLINE(NI,star___pureZalgorithm_8)1625 static N_INLINE(NI, star___pureZalgorithm_8)(NI x, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order) {
1626 NI result;
1627 NI y;
1628 result = (NI)0;
1629 y = (NI)(order - ((NI) 1));
1630 result = (NI)((NI)(x ^ y) - y);
1631 return result;
1632 }
N_NIMCALL(void,mergeAlt__sourcemap_648)1633 N_LIB_PRIVATE N_NIMCALL(void, mergeAlt__sourcemap_648)(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA** a, NI aLen_0, tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA** b, NI bLen_0, NI lo, NI m, NI hi, tyProc__9apb8PBM2ucUBIVhn3CRrdg cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order) {
1634 NI j;
1635 NI bb;
1636 NI i;
1637 NI k;
1638 { {
1639 NI T3_;
1640 NI T4_;
1641 T3_ = (NI)0;
1642 T3_ = cmp.ClE_0? cmp.ClP_0(a[m], a[(NI)(m + ((NI) 1))], cmp.ClE_0):((TM__6vuGHHnP4PcSvUQSx0mGGg_21)(cmp.ClP_0))(a[m], a[(NI)(m + ((NI) 1))]);
1643 T4_ = (NI)0;
1644 T4_ = star___pureZalgorithm_8(T3_, order);
1645 if (!(T4_ <= ((NI) 0))) goto LA5_;
1646 goto BeforeRet_;
1647 }
1648 LA5_: ;
1649 j = lo;
1650 bb = ((NI) 0);
1651 {
1652 while (1) {
1653 if (!(j <= m)) goto LA8;
1654 unsureAsgnRef((void**) (&b[bb]), a[j]);
1655 bb += ((NI) 1);
1656 j += ((NI) 1);
1657 } LA8: ;
1658 }
1659 i = ((NI) 0);
1660 k = lo;
1661 {
1662 while (1) {
1663 NIM_BOOL T11_;
1664 T11_ = (NIM_BOOL)0;
1665 T11_ = (k < j);
1666 if (!(T11_)) goto LA12_;
1667 T11_ = (j <= hi);
1668 LA12_: ;
1669 if (!T11_) goto LA10;
1670 {
1671 NI T15_;
1672 NI T16_;
1673 T15_ = (NI)0;
1674 T15_ = cmp.ClE_0? cmp.ClP_0(b[i], a[j], cmp.ClE_0):((TM__6vuGHHnP4PcSvUQSx0mGGg_22)(cmp.ClP_0))(b[i], a[j]);
1675 T16_ = (NI)0;
1676 T16_ = star___pureZalgorithm_8(T15_, order);
1677 if (!(T16_ <= ((NI) 0))) goto LA17_;
1678 unsureAsgnRef((void**) (&a[k]), b[i]);
1679 i += ((NI) 1);
1680 }
1681 goto LA13_;
1682 LA17_: ;
1683 {
1684 unsureAsgnRef((void**) (&a[k]), a[j]);
1685 j += ((NI) 1);
1686 }
1687 LA13_: ;
1688 k += ((NI) 1);
1689 } LA10: ;
1690 }
1691 {
1692 while (1) {
1693 if (!(k < j)) goto LA21;
1694 unsureAsgnRef((void**) (&a[k]), b[i]);
1695 k += ((NI) 1);
1696 i += ((NI) 1);
1697 } LA21: ;
1698 }
1699 }BeforeRet_: ;
1700 }
N_NIMCALL(void,sort__sourcemap_631)1701 N_LIB_PRIVATE N_NIMCALL(void, sort__sourcemap_631)(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA** a, NI aLen_0, tyProc__9apb8PBM2ucUBIVhn3CRrdg cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order) {
1702 NI n;
1703 tySequence__9c1n3IOF5T6xvPNf6ipRnuQ* b;
1704 NI s;
1705 n = aLen_0;
1706 b = newSeq__sourcemap_615(((NI) ((NI)(n / ((NI) 2)))));
1707 s = ((NI) 1);
1708 {
1709 while (1) {
1710 NI m;
1711 if (!(s < n)) goto LA2;
1712 m = (NI)((NI)(n - ((NI) 1)) - s);
1713 {
1714 while (1) {
1715 if (!(((NI) 0) <= m)) goto LA4;
1716 mergeAlt__sourcemap_648(a, aLen_0, b->data, (b ? b->Sup.len : 0), (((NI)((NI)(m - s) + ((NI) 1)) >= ((NI) 0)) ? (NI)((NI)(m - s) + ((NI) 1)) : ((NI) 0)), m, (NI)(m + s), cmp, order);
1717 m -= (NI)(s * ((NI) 2));
1718 } LA4: ;
1719 }
1720 s = (NI)(s * ((NI) 2));
1721 } LA2: ;
1722 }
1723 }
N_NIMCALL(tySequence__9c1n3IOF5T6xvPNf6ipRnuQ *,sorted__sourcemap_603)1724 N_LIB_PRIVATE N_NIMCALL(tySequence__9c1n3IOF5T6xvPNf6ipRnuQ*, sorted__sourcemap_603)(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA** a, NI aLen_0, tyProc__9apb8PBM2ucUBIVhn3CRrdg cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order) {
1725 tySequence__9c1n3IOF5T6xvPNf6ipRnuQ* result;
1726 result = NIM_NIL;
1727 result = newSeq__sourcemap_615(((NI) (aLen_0)));
1728 {
1729 NI i;
1730 NI colontmp_;
1731 NI res;
1732 i = (NI)0;
1733 colontmp_ = (NI)0;
1734 colontmp_ = (aLen_0-1);
1735 res = ((NI) 0);
1736 {
1737 while (1) {
1738 if (!(res <= colontmp_)) goto LA3;
1739 i = res;
1740 asgnRef((void**) (&result->data[i]), a[i]);
1741 res += ((NI) 1);
1742 } LA3: ;
1743 }
1744 }
1745 sort__sourcemap_631(result->data, (result ? result->Sup.len : 0), cmp, order);
1746 return result;
1747 }
N_NIMCALL(NIM_BOOL,eqeq___sourcemap_457)1748 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___sourcemap_457)(tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ x, tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ y) {
1749 NIM_BOOL result;
1750 { result = (NIM_BOOL)0;
1751 {
1752 if (!!((x.Field0 == y.Field0))) goto LA3_;
1753 result = NIM_FALSE;
1754 goto BeforeRet_;
1755 }
1756 LA3_: ;
1757 {
1758 if (!!((x.Field1 == y.Field1))) goto LA7_;
1759 result = NIM_FALSE;
1760 goto BeforeRet_;
1761 }
1762 LA7_: ;
1763 result = NIM_TRUE;
1764 goto BeforeRet_;
1765 }BeforeRet_: ;
1766 return result;
1767 }
N_NIMCALL(NIM_BOOL,lt___sourcemap_467)1768 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, lt___sourcemap_467)(tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ x, tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ y) {
1769 NIM_BOOL result;
1770 NI c;
1771 NI c_2;
1772 { result = (NIM_BOOL)0;
1773 c = cmp__system_7453(x.Field0, y.Field0);
1774 {
1775 if (!(c < ((NI) 0))) goto LA3_;
1776 result = NIM_TRUE;
1777 goto BeforeRet_;
1778 }
1779 LA3_: ;
1780 {
1781 if (!(((NI) 0) < c)) goto LA7_;
1782 result = NIM_FALSE;
1783 goto BeforeRet_;
1784 }
1785 LA7_: ;
1786 c_2 = cmp__system_7453(x.Field1, y.Field1);
1787 {
1788 if (!(c_2 < ((NI) 0))) goto LA11_;
1789 result = NIM_TRUE;
1790 goto BeforeRet_;
1791 }
1792 LA11_: ;
1793 {
1794 if (!(((NI) 0) < c_2)) goto LA15_;
1795 result = NIM_FALSE;
1796 goto BeforeRet_;
1797 }
1798 LA15_: ;
1799 result = NIM_FALSE;
1800 goto BeforeRet_;
1801 }BeforeRet_: ;
1802 return result;
1803 }
N_NIMCALL(NI,cmp__sourcemap_452)1804 N_LIB_PRIVATE N_NIMCALL(NI, cmp__sourcemap_452)(tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ x, tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ y) {
1805 NI result;
1806 { result = (NI)0;
1807 {
1808 NIM_BOOL T3_;
1809 T3_ = (NIM_BOOL)0;
1810 T3_ = eqeq___sourcemap_457(x, y);
1811 if (!T3_) goto LA4_;
1812 result = ((NI) 0);
1813 goto BeforeRet_;
1814 }
1815 LA4_: ;
1816 {
1817 NIM_BOOL T8_;
1818 T8_ = (NIM_BOOL)0;
1819 T8_ = lt___sourcemap_467(x, y);
1820 if (!T8_) goto LA9_;
1821 result = ((NI) -1);
1822 goto BeforeRet_;
1823 }
1824 LA9_: ;
1825 result = ((NI) 1);
1826 goto BeforeRet_;
1827 }BeforeRet_: ;
1828 return result;
1829 }
N_NIMCALL(NI,cmp__sourcemap_448)1830 N_LIB_PRIVATE N_NIMCALL(NI, cmp__sourcemap_448)(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* a, tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* b) {
1831 NI result;
1832 NI c;
1833 { result = (NI)0;
1834 c = cmp__sourcemap_452((*a).generated, (*b).generated);
1835 {
1836 if (!!((c == ((NI) 0)))) goto LA3_;
1837 result = c;
1838 goto BeforeRet_;
1839 }
1840 LA3_: ;
1841 c = cmp__system_1549((*a).source, (*b).source);
1842 {
1843 if (!!((c == ((NI) 0)))) goto LA7_;
1844 result = c;
1845 goto BeforeRet_;
1846 }
1847 LA7_: ;
1848 c = cmp__sourcemap_452((*a).original, (*b).original);
1849 {
1850 if (!!((c == ((NI) 0)))) goto LA11_;
1851 result = c;
1852 goto BeforeRet_;
1853 }
1854 LA11_: ;
1855 result = cmp__system_1549((*a).name, (*b).name);
1856 goto BeforeRet_;
1857 }BeforeRet_: ;
1858 return result;
1859 }
N_NIMCALL(NI,colonanonymous___sourcemap_595)1860 N_LIB_PRIVATE N_NIMCALL(NI, colonanonymous___sourcemap_595)(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* a, tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* b) {
1861 NI result;
1862 result = (NI)0;
1863 result = cmp__sourcemap_448(a, b);
1864 return result;
1865 }
N_NIMCALL(void,Marker_tyRef__3Qxt9cglO9bmiH9bDHNweKUAA)1866 static N_NIMCALL(void, Marker_tyRef__3Qxt9cglO9bmiH9bDHNweKUAA)(void* p, NI op) {
1867 tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww* a;
1868 a = (tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww*)p;
1869 nimGCvisit((void*)(*a).sources, op);
1870 nimGCvisit((void*)(*a).names, op);
1871 nimGCvisit((void*)(*a).mappings, op);
1872 nimGCvisit((void*)(*a).file, op);
1873 }
N_NIMCALL(NimStringDesc *,encode__sourcemap_210)1874 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, encode__sourcemap_210)(NI i) {
1875 NimStringDesc* result;
1876 NI n;
1877 NI z;
1878 result = NIM_NIL;
1879 result = ((NimStringDesc*) NIM_NIL);
1880 n = i;
1881 {
1882 if (!(n < ((NI) 0))) goto LA3_;
1883 n = (NI)((NI)((NU64)(((NI64)-(n))) << (NU64)(((NI) 1))) | ((NI) 1));
1884 }
1885 goto LA1_;
1886 LA3_: ;
1887 {
1888 n = (NI)((NU64)(n) << (NU64)(((NI) 1)));
1889 }
1890 LA1_: ;
1891 z = ((NI) 0);
1892 {
1893 while (1) {
1894 NIM_BOOL T8_;
1895 NI e;
1896 T8_ = (NIM_BOOL)0;
1897 T8_ = (z == ((NI) 0));
1898 if (T8_) goto LA9_;
1899 T8_ = (((NI) 0) < n);
1900 LA9_: ;
1901 if (!T8_) goto LA7;
1902 e = (NI)(n & ((NI) 31));
1903 n = (NI)((NI64)(n) >> (NU64)(((NI) 5)));
1904 {
1905 if (!(((NI) 0) < n)) goto LA12_;
1906 e = (NI)(e | ((NI) 32));
1907 }
1908 LA12_: ;
1909 result = addChar(result, integers__sourcemap_209->data[e]);
1910 z += ((NI) 1);
1911 } LA7: ;
1912 }
1913 return result;
1914 }
N_NIMCALL(NI,index__sourcemap_557)1915 N_LIB_PRIVATE N_NIMCALL(NI, index__sourcemap_557)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* elements, NimStringDesc* element) {
1916 NI result;
1917 { result = (NI)0;
1918 {
1919 NI z;
1920 NI colontmp_;
1921 NI T2_;
1922 NI i;
1923 z = (NI)0;
1924 colontmp_ = (NI)0;
1925 T2_ = (elements ? elements->Sup.len : 0);
1926 colontmp_ = T2_;
1927 i = ((NI) 0);
1928 {
1929 while (1) {
1930 if (!(i < colontmp_)) goto LA4;
1931 z = i;
1932 {
1933 if (!eqStrings(elements->data[z], element)) goto LA7_;
1934 result = z;
1935 goto BeforeRet_;
1936 }
1937 LA7_: ;
1938 i += ((NI) 1);
1939 } LA4: ;
1940 }
1941 }
1942 result = ((NI) -1);
1943 goto BeforeRet_;
1944 }BeforeRet_: ;
1945 return result;
1946 }
N_NIMCALL(NimStringDesc *,serializeMappings__sourcemap_498)1947 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, serializeMappings__sourcemap_498)(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw* map, tySequence__9c1n3IOF5T6xvPNf6ipRnuQ* mappings) {
1948 NimStringDesc* result;
1949 tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* previous;
1950 tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* T1_;
1951 NI previousSourceId;
1952 NI previousNameId;
1953 NimStringDesc* next;
1954 NI nameId;
1955 NI sourceId;
1956 result = NIM_NIL;
1957 T1_ = NIM_NIL;
1958 T1_ = (tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA*) newObj((&NTImapping__ZiyRAXiRrbEPGtTCmbMS4Q_), sizeof(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA));
1959 (*T1_).generated = TM__6vuGHHnP4PcSvUQSx0mGGg_25;
1960 (*T1_).original = TM__6vuGHHnP4PcSvUQSx0mGGg_26;
1961 asgnRef((void**) (&(*T1_).name), ((NimStringDesc*) NIM_NIL));
1962 asgnRef((void**) (&(*T1_).source), ((NimStringDesc*) NIM_NIL));
1963 previous = T1_;
1964 previousSourceId = ((NI) 0);
1965 previousNameId = ((NI) 0);
1966 next = ((NimStringDesc*) NIM_NIL);
1967 nameId = ((NI) 0);
1968 sourceId = ((NI) 0);
1969 result = ((NimStringDesc*) NIM_NIL);
1970 {
1971 NI z;
1972 tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA* mapping;
1973 NI i;
1974 NI L;
1975 NI T3_;
1976 z = (NI)0;
1977 mapping = NIM_NIL;
1978 i = ((NI) 0);
1979 T3_ = (mappings ? mappings->Sup.len : 0);
1980 L = T3_;
1981 {
1982 while (1) {
1983 if (!(i < L)) goto LA5;
1984 z = i;
1985 mapping = mappings->data[i];
1986 {
1987 NimStringDesc* T23_;
1988 next = ((NimStringDesc*) NIM_NIL);
1989 {
1990 if (!!(((*mapping).generated.Field0 == (*previous).generated.Field0))) goto LA9_;
1991 (*previous).generated.Field1 = ((NI) 0);
1992 {
1993 while (1) {
1994 if (!!(((*mapping).generated.Field0 == (*previous).generated.Field0))) goto LA12;
1995 next = resizeString(next, 1);
1996 appendString(next, ((NimStringDesc*) &TM__6vuGHHnP4PcSvUQSx0mGGg_27));
1997 (*previous).generated.Field0 += ((NI) 1);
1998 } LA12: ;
1999 }
2000 }
2001 goto LA7_;
2002 LA9_: ;
2003 {
2004 {
2005 if (!(((NI) 0) < z)) goto LA16_;
2006 {
2007 NI T20_;
2008 T20_ = (NI)0;
2009 T20_ = cmp__sourcemap_448(mapping, mappings->data[(NI)(z - ((NI) 1))]);
2010 if (!(T20_ == ((NI) 0))) goto LA21_;
2011 goto LA6;
2012 }
2013 LA21_: ;
2014 next = resizeString(next, 1);
2015 appendString(next, ((NimStringDesc*) &TM__6vuGHHnP4PcSvUQSx0mGGg_28));
2016 }
2017 LA16_: ;
2018 }
2019 LA7_: ;
2020 T23_ = NIM_NIL;
2021 T23_ = encode__sourcemap_210((NI)((*mapping).generated.Field1 - (*previous).generated.Field1));
2022 next = resizeString(next, (T23_ ? T23_->Sup.len : 0) + 0);
2023 appendString(next, T23_);
2024 (*previous).generated.Field1 = (*mapping).generated.Field1;
2025 {
2026 NIM_BOOL T26_;
2027 NimStringDesc* T30_;
2028 NimStringDesc* T31_;
2029 NimStringDesc* T32_;
2030 T26_ = (NIM_BOOL)0;
2031 T26_ = !((*mapping).noSource);
2032 if (!(T26_)) goto LA27_;
2033 T26_ = (((NI) 0) < ((*mapping).source ? (*mapping).source->Sup.len : 0));
2034 LA27_: ;
2035 if (!T26_) goto LA28_;
2036 sourceId = index__sourcemap_557((*map).sources, (*mapping).source);
2037 T30_ = NIM_NIL;
2038 T30_ = encode__sourcemap_210((NI)(sourceId - previousSourceId));
2039 next = resizeString(next, (T30_ ? T30_->Sup.len : 0) + 0);
2040 appendString(next, T30_);
2041 previousSourceId = sourceId;
2042 T31_ = NIM_NIL;
2043 T31_ = encode__sourcemap_210((NI)((NI)((*mapping).original.Field0 - ((NI) 1)) - (*previous).original.Field0));
2044 next = resizeString(next, (T31_ ? T31_->Sup.len : 0) + 0);
2045 appendString(next, T31_);
2046 (*previous).original.Field0 = (NI)((*mapping).original.Field0 - ((NI) 1));
2047 T32_ = NIM_NIL;
2048 T32_ = encode__sourcemap_210((NI)((*mapping).original.Field1 - (*previous).original.Field1));
2049 next = resizeString(next, (T32_ ? T32_->Sup.len : 0) + 0);
2050 appendString(next, T32_);
2051 (*previous).original.Field1 = (*mapping).original.Field1;
2052 {
2053 NIM_BOOL T35_;
2054 NimStringDesc* T39_;
2055 T35_ = (NIM_BOOL)0;
2056 T35_ = !((*mapping).noName);
2057 if (!(T35_)) goto LA36_;
2058 T35_ = (((NI) 0) < ((*mapping).name ? (*mapping).name->Sup.len : 0));
2059 LA36_: ;
2060 if (!T35_) goto LA37_;
2061 nameId = index__sourcemap_557((*map).names, (*mapping).name);
2062 T39_ = NIM_NIL;
2063 T39_ = encode__sourcemap_210((NI)(nameId - previousNameId));
2064 next = resizeString(next, (T39_ ? T39_->Sup.len : 0) + 0);
2065 appendString(next, T39_);
2066 previousNameId = nameId;
2067 }
2068 LA37_: ;
2069 }
2070 LA28_: ;
2071 result = resizeString(result, (next ? next->Sup.len : 0) + 0);
2072 appendString(result, next);
2073 } LA6: ;
2074 i += ((NI) 1);
2075 } LA5: ;
2076 }
2077 }
2078 return result;
2079 }
N_NIMCALL(tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww *,gen__sourcemap_592)2080 N_LIB_PRIVATE N_NIMCALL(tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww*, gen__sourcemap_592)(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw* map) {
2081 tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww* result;
2082 tySequence__9c1n3IOF5T6xvPNf6ipRnuQ* mappings;
2083 tyProc__9apb8PBM2ucUBIVhn3CRrdg T1_;
2084 tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww* T2_;
2085 NimStringDesc* T3_;
2086 tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T4_;
2087 tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T5_;
2088 result = NIM_NIL;
2089 nimZeroMem((void*)(&T1_), sizeof(tyProc__9apb8PBM2ucUBIVhn3CRrdg));
2090 T1_.ClP_0 = ((TM__6vuGHHnP4PcSvUQSx0mGGg_23) (colonanonymous___sourcemap_595)); T1_.ClE_0 = NIM_NIL;
2091 mappings = sorted__sourcemap_603((*map).mappings->data, ((*map).mappings ? (*map).mappings->Sup.len : 0), T1_, ((tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA) 1));
2092 T2_ = NIM_NIL;
2093 T2_ = (tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww*) newObj((&NTIsourcemap__3Qxt9cglO9bmiH9bDHNweKUAA_), sizeof(tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww));
2094 T3_ = NIM_NIL;
2095 T3_ = (*T2_).file; (*T2_).file = copyStringRC1((*map).file);
2096 if (T3_) nimGCunrefNoCycle(T3_);
2097 (*T2_).version = ((NI) 3);
2098 T4_ = dotdot___stdZenumutils_80(((NI) 0), ((NI) 1));
2099 asgnRef((void**) (&(*T2_).sources), X5BX5D___pureZparseopt_275((*map).sources->data, ((*map).sources ? (*map).sources->Sup.len : 0), T4_));
2100 T5_ = dotdot___stdZenumutils_80(((NI) 0), ((NI) 1));
2101 asgnRef((void**) (&(*T2_).names), X5BX5D___pureZparseopt_275((*map).names->data, ((*map).names ? (*map).names->Sup.len : 0), T5_));
2102 asgnRef((void**) (&(*T2_).mappings), serializeMappings__sourcemap_498(map, mappings));
2103 result = T2_;
2104 return result;
2105 }
N_NIMCALL(void,genSourceMap__sourcemap_896)2106 N_LIB_PRIVATE N_NIMCALL(void, genSourceMap__sourcemap_896)(NimStringDesc* source, NimStringDesc* outFile, tyTuple__wb7Ftwo1Ba9cOF5RERh5YIg* Result) {
2107 tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA* node;
2108 tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw* map;
2109 NimStringDesc* fmtRes;
2110 node = parse__sourcemap_283(source, outFile);
2111 map = toSourceMap__sourcemap_820(node, outFile);
2112 fmtRes = rawNewString(((NI) 63));
2113 formatValue__pureZstrformat_160((&fmtRes), source, ((NimStringDesc*) NIM_NIL));
2114 fmtRes = resizeString(fmtRes, 22);
2115 appendString(fmtRes, ((NimStringDesc*) &TM__6vuGHHnP4PcSvUQSx0mGGg_19));
2116 formatValue__pureZstrformat_160((&fmtRes), outFile, ((NimStringDesc*) NIM_NIL));
2117 fmtRes = resizeString(fmtRes, 4);
2118 appendString(fmtRes, ((NimStringDesc*) &TM__6vuGHHnP4PcSvUQSx0mGGg_20));
2119 unsureAsgnRef((void**) (&(*Result).Field0), rope__ropes_109(fmtRes));
2120 unsureAsgnRef((void**) (&(*Result).Field1), gen__sourcemap_592(map));
2121 }
N_NIMCALL(void,compiler_sourcemapInit000)2122 N_LIB_PRIVATE N_NIMCALL(void, compiler_sourcemapInit000)(void) {
2123 {
2124 TFrame FR_; FR_.len = 0;
2125
2126 nimRegisterGlobalMarker(TM__6vuGHHnP4PcSvUQSx0mGGg_2);
2127
2128 }/* preInitProc end */
2129 {
2130 NimStringDesc* T1_;
2131 T1_ = NIM_NIL;
2132 T1_ = integers__sourcemap_209; integers__sourcemap_209 = copyStringRC1(((NimStringDesc*) &TM__6vuGHHnP4PcSvUQSx0mGGg_3));
2133 if (T1_) nimGCunrefNoCycle(T1_);
2134 }
2135 }
2136
N_NIMCALL(void,compiler_sourcemapDatInit000)2137 N_LIB_PRIVATE N_NIMCALL(void, compiler_sourcemapDatInit000)(void) {
2138 static TNimNode* TM__6vuGHHnP4PcSvUQSx0mGGg_4_5[5];
2139 static TNimNode* TM__6vuGHHnP4PcSvUQSx0mGGg_5_2[2];
2140 NI TM__6vuGHHnP4PcSvUQSx0mGGg_7;
2141 static char* NIM_CONST TM__6vuGHHnP4PcSvUQSx0mGGg_6[2] = {
2142 "cSourceNode",
2143 "cSourceString"};
2144 static TNimNode* TM__6vuGHHnP4PcSvUQSx0mGGg_12_5[5];
2145 static TNimNode* TM__6vuGHHnP4PcSvUQSx0mGGg_13_6[6];
2146 static TNimNode* TM__6vuGHHnP4PcSvUQSx0mGGg_14_6[6];
2147 static TNimNode* TM__6vuGHHnP4PcSvUQSx0mGGg_24_5[5];
2148 static TNimNode TM__6vuGHHnP4PcSvUQSx0mGGg_0[38];
2149 NTIsourcenode58objecttype__1kEHpptFknNteceRlFkDjA_.size = sizeof(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA);
2150 NTIsourcenode58objecttype__1kEHpptFknNteceRlFkDjA_.align = NIM_ALIGNOF(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA);
2151 NTIsourcenode58objecttype__1kEHpptFknNteceRlFkDjA_.kind = 18;
2152 NTIsourcenode58objecttype__1kEHpptFknNteceRlFkDjA_.base = 0;
2153 TM__6vuGHHnP4PcSvUQSx0mGGg_4_5[0] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[1];
2154 TM__6vuGHHnP4PcSvUQSx0mGGg_0[1].kind = 1;
2155 TM__6vuGHHnP4PcSvUQSx0mGGg_0[1].offset = offsetof(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA, line);
2156 TM__6vuGHHnP4PcSvUQSx0mGGg_0[1].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
2157 TM__6vuGHHnP4PcSvUQSx0mGGg_0[1].name = "line";
2158 TM__6vuGHHnP4PcSvUQSx0mGGg_4_5[1] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[2];
2159 TM__6vuGHHnP4PcSvUQSx0mGGg_0[2].kind = 1;
2160 TM__6vuGHHnP4PcSvUQSx0mGGg_0[2].offset = offsetof(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA, column);
2161 TM__6vuGHHnP4PcSvUQSx0mGGg_0[2].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
2162 TM__6vuGHHnP4PcSvUQSx0mGGg_0[2].name = "column";
2163 TM__6vuGHHnP4PcSvUQSx0mGGg_4_5[2] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[3];
2164 TM__6vuGHHnP4PcSvUQSx0mGGg_0[3].kind = 1;
2165 TM__6vuGHHnP4PcSvUQSx0mGGg_0[3].offset = offsetof(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA, source);
2166 TM__6vuGHHnP4PcSvUQSx0mGGg_0[3].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
2167 TM__6vuGHHnP4PcSvUQSx0mGGg_0[3].name = "source";
2168 TM__6vuGHHnP4PcSvUQSx0mGGg_4_5[3] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[4];
2169 TM__6vuGHHnP4PcSvUQSx0mGGg_0[4].kind = 1;
2170 TM__6vuGHHnP4PcSvUQSx0mGGg_0[4].offset = offsetof(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA, name);
2171 TM__6vuGHHnP4PcSvUQSx0mGGg_0[4].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
2172 TM__6vuGHHnP4PcSvUQSx0mGGg_0[4].name = "name";
2173 TM__6vuGHHnP4PcSvUQSx0mGGg_4_5[4] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[5];
2174 NTIchild58objecttype__bqG0LgcQJ0nO8Yup3buXVg_.size = sizeof(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg);
2175 NTIchild58objecttype__bqG0LgcQJ0nO8Yup3buXVg_.align = NIM_ALIGNOF(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg);
2176 NTIchild58objecttype__bqG0LgcQJ0nO8Yup3buXVg_.kind = 18;
2177 NTIchild58objecttype__bqG0LgcQJ0nO8Yup3buXVg_.base = 0;
2178 NTIc__PKpEtWhC9bEPKnEH9bojROKA_.size = sizeof(tyEnum_C__PKpEtWhC9bEPKnEH9bojROKA);
2179 NTIc__PKpEtWhC9bEPKnEH9bojROKA_.align = NIM_ALIGNOF(tyEnum_C__PKpEtWhC9bEPKnEH9bojROKA);
2180 NTIc__PKpEtWhC9bEPKnEH9bojROKA_.kind = 14;
2181 NTIc__PKpEtWhC9bEPKnEH9bojROKA_.base = 0;
2182 NTIc__PKpEtWhC9bEPKnEH9bojROKA_.flags = 3;
2183 for (TM__6vuGHHnP4PcSvUQSx0mGGg_7 = 0; TM__6vuGHHnP4PcSvUQSx0mGGg_7 < 2; TM__6vuGHHnP4PcSvUQSx0mGGg_7++) {
2184 TM__6vuGHHnP4PcSvUQSx0mGGg_0[TM__6vuGHHnP4PcSvUQSx0mGGg_7+7].kind = 1;
2185 TM__6vuGHHnP4PcSvUQSx0mGGg_0[TM__6vuGHHnP4PcSvUQSx0mGGg_7+7].offset = TM__6vuGHHnP4PcSvUQSx0mGGg_7;
2186 TM__6vuGHHnP4PcSvUQSx0mGGg_0[TM__6vuGHHnP4PcSvUQSx0mGGg_7+7].name = TM__6vuGHHnP4PcSvUQSx0mGGg_6[TM__6vuGHHnP4PcSvUQSx0mGGg_7];
2187 TM__6vuGHHnP4PcSvUQSx0mGGg_5_2[TM__6vuGHHnP4PcSvUQSx0mGGg_7] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[TM__6vuGHHnP4PcSvUQSx0mGGg_7+7];
2188 }
2189 TM__6vuGHHnP4PcSvUQSx0mGGg_0[9].len = 2; TM__6vuGHHnP4PcSvUQSx0mGGg_0[9].kind = 2; TM__6vuGHHnP4PcSvUQSx0mGGg_0[9].sons = &TM__6vuGHHnP4PcSvUQSx0mGGg_5_2[0];
2190 NTIc__PKpEtWhC9bEPKnEH9bojROKA_.node = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[9];
2191 TM__6vuGHHnP4PcSvUQSx0mGGg_0[6].kind = 3;
2192 TM__6vuGHHnP4PcSvUQSx0mGGg_0[6].offset = offsetof(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg, kind);
2193 TM__6vuGHHnP4PcSvUQSx0mGGg_0[6].typ = (&NTIc__PKpEtWhC9bEPKnEH9bojROKA_);
2194 TM__6vuGHHnP4PcSvUQSx0mGGg_0[6].name = "kind";
2195 TM__6vuGHHnP4PcSvUQSx0mGGg_0[6].sons = &NimDT___bqG0LgcQJ0nO8Yup3buXVg_kind[0];
2196 TM__6vuGHHnP4PcSvUQSx0mGGg_0[6].len = 2;
2197 TM__6vuGHHnP4PcSvUQSx0mGGg_0[10].kind = 1;
2198 TM__6vuGHHnP4PcSvUQSx0mGGg_0[10].offset = offsetof(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg, _kind_1.node);
2199 TM__6vuGHHnP4PcSvUQSx0mGGg_0[10].typ = (&NTIsourcenode__kYafIOmoQ4QNaLOPbKBADQ_);
2200 TM__6vuGHHnP4PcSvUQSx0mGGg_0[10].name = "node";
2201 NimDT___bqG0LgcQJ0nO8Yup3buXVg_kind[0] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[10];
2202 TM__6vuGHHnP4PcSvUQSx0mGGg_0[11].kind = 1;
2203 TM__6vuGHHnP4PcSvUQSx0mGGg_0[11].offset = offsetof(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg, _kind_2.s);
2204 TM__6vuGHHnP4PcSvUQSx0mGGg_0[11].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
2205 TM__6vuGHHnP4PcSvUQSx0mGGg_0[11].name = "s";
2206 NimDT___bqG0LgcQJ0nO8Yup3buXVg_kind[1] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[11];
2207 NTIchild58objecttype__bqG0LgcQJ0nO8Yup3buXVg_.node = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[6];
2208 NTIchild__lm54M4NIUDvCaS7maOy4lw_.size = sizeof(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg*);
2209 NTIchild__lm54M4NIUDvCaS7maOy4lw_.align = NIM_ALIGNOF(tyObject_ChildcolonObjectType___bqG0LgcQJ0nO8Yup3buXVg*);
2210 NTIchild__lm54M4NIUDvCaS7maOy4lw_.kind = 22;
2211 NTIchild__lm54M4NIUDvCaS7maOy4lw_.base = (&NTIchild58objecttype__bqG0LgcQJ0nO8Yup3buXVg_);
2212 NTIchild__lm54M4NIUDvCaS7maOy4lw_.marker = Marker_tyRef__lm54M4NIUDvCaS7maOy4lw;
2213 NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_.size = sizeof(tySequence__KFvl20wcyiCp7mcrl5UXYQ*);
2214 NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_.align = NIM_ALIGNOF(tySequence__KFvl20wcyiCp7mcrl5UXYQ*);
2215 NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_.kind = 24;
2216 NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_.base = (&NTIchild__lm54M4NIUDvCaS7maOy4lw_);
2217 NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_.marker = Marker_tySequence__KFvl20wcyiCp7mcrl5UXYQ;
2218 TM__6vuGHHnP4PcSvUQSx0mGGg_0[5].kind = 1;
2219 TM__6vuGHHnP4PcSvUQSx0mGGg_0[5].offset = offsetof(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA, children);
2220 TM__6vuGHHnP4PcSvUQSx0mGGg_0[5].typ = (&NTIseqLchildT__KFvl20wcyiCp7mcrl5UXYQ_);
2221 TM__6vuGHHnP4PcSvUQSx0mGGg_0[5].name = "children";
2222 TM__6vuGHHnP4PcSvUQSx0mGGg_0[0].len = 5; TM__6vuGHHnP4PcSvUQSx0mGGg_0[0].kind = 2; TM__6vuGHHnP4PcSvUQSx0mGGg_0[0].sons = &TM__6vuGHHnP4PcSvUQSx0mGGg_4_5[0];
2223 NTIsourcenode58objecttype__1kEHpptFknNteceRlFkDjA_.node = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[0];
2224 NTIsourcenode__kYafIOmoQ4QNaLOPbKBADQ_.size = sizeof(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA*);
2225 NTIsourcenode__kYafIOmoQ4QNaLOPbKBADQ_.align = NIM_ALIGNOF(tyObject_SourceNodecolonObjectType___1kEHpptFknNteceRlFkDjA*);
2226 NTIsourcenode__kYafIOmoQ4QNaLOPbKBADQ_.kind = 22;
2227 NTIsourcenode__kYafIOmoQ4QNaLOPbKBADQ_.base = (&NTIsourcenode58objecttype__1kEHpptFknNteceRlFkDjA_);
2228 NTIsourcenode__kYafIOmoQ4QNaLOPbKBADQ_.marker = Marker_tyRef__kYafIOmoQ4QNaLOPbKBADQ;
2229 NTIobject__H4zxRfW3dL8rDu8vpMB6oQ_.size = sizeof(tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ);
2230 NTIobject__H4zxRfW3dL8rDu8vpMB6oQ_.align = NIM_ALIGNOF(tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ);
2231 NTIobject__H4zxRfW3dL8rDu8vpMB6oQ_.kind = 17;
2232 NTIobject__H4zxRfW3dL8rDu8vpMB6oQ_.base = (&NTIrootobj__ytyiCJqK439aF9cIibuRVpAg_);
2233 TM__6vuGHHnP4PcSvUQSx0mGGg_12_5[0] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[13];
2234 TM__6vuGHHnP4PcSvUQSx0mGGg_0[13].kind = 1;
2235 TM__6vuGHHnP4PcSvUQSx0mGGg_0[13].offset = offsetof(tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ, colonstate_);
2236 TM__6vuGHHnP4PcSvUQSx0mGGg_0[13].typ = (&NTIint__xHTZrq9aYs6boc9bCba0JbpQ_);
2237 TM__6vuGHHnP4PcSvUQSx0mGGg_0[13].name = ":state";
2238 TM__6vuGHHnP4PcSvUQSx0mGGg_12_5[1] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[14];
2239 TM__6vuGHHnP4PcSvUQSx0mGGg_0[14].kind = 1;
2240 TM__6vuGHHnP4PcSvUQSx0mGGg_0[14].offset = offsetof(tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ, lastOriginal1);
2241 TM__6vuGHHnP4PcSvUQSx0mGGg_0[14].typ = (&NTIsourcenode__kYafIOmoQ4QNaLOPbKBADQ_);
2242 TM__6vuGHHnP4PcSvUQSx0mGGg_0[14].name = "lastOriginal1";
2243 TM__6vuGHHnP4PcSvUQSx0mGGg_12_5[2] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[15];
2244 NTIsourcemapgenerator58objecttype__n9aYOgFP19aMaYFJm5zs9bXbw_.size = sizeof(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw);
2245 NTIsourcemapgenerator58objecttype__n9aYOgFP19aMaYFJm5zs9bXbw_.align = NIM_ALIGNOF(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw);
2246 NTIsourcemapgenerator58objecttype__n9aYOgFP19aMaYFJm5zs9bXbw_.kind = 18;
2247 NTIsourcemapgenerator58objecttype__n9aYOgFP19aMaYFJm5zs9bXbw_.base = 0;
2248 TM__6vuGHHnP4PcSvUQSx0mGGg_13_6[0] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[17];
2249 TM__6vuGHHnP4PcSvUQSx0mGGg_0[17].kind = 1;
2250 TM__6vuGHHnP4PcSvUQSx0mGGg_0[17].offset = offsetof(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw, file);
2251 TM__6vuGHHnP4PcSvUQSx0mGGg_0[17].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
2252 TM__6vuGHHnP4PcSvUQSx0mGGg_0[17].name = "file";
2253 TM__6vuGHHnP4PcSvUQSx0mGGg_13_6[1] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[18];
2254 TM__6vuGHHnP4PcSvUQSx0mGGg_0[18].kind = 1;
2255 TM__6vuGHHnP4PcSvUQSx0mGGg_0[18].offset = offsetof(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw, sourceRoot);
2256 TM__6vuGHHnP4PcSvUQSx0mGGg_0[18].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
2257 TM__6vuGHHnP4PcSvUQSx0mGGg_0[18].name = "sourceRoot";
2258 TM__6vuGHHnP4PcSvUQSx0mGGg_13_6[2] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[19];
2259 TM__6vuGHHnP4PcSvUQSx0mGGg_0[19].kind = 1;
2260 TM__6vuGHHnP4PcSvUQSx0mGGg_0[19].offset = offsetof(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw, skipValidation);
2261 TM__6vuGHHnP4PcSvUQSx0mGGg_0[19].typ = (&NTIbool__VaVACK0bpYmqIQ0mKcHfQQ_);
2262 TM__6vuGHHnP4PcSvUQSx0mGGg_0[19].name = "skipValidation";
2263 TM__6vuGHHnP4PcSvUQSx0mGGg_13_6[3] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[20];
2264 TM__6vuGHHnP4PcSvUQSx0mGGg_0[20].kind = 1;
2265 TM__6vuGHHnP4PcSvUQSx0mGGg_0[20].offset = offsetof(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw, sources);
2266 TM__6vuGHHnP4PcSvUQSx0mGGg_0[20].typ = (&NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_);
2267 TM__6vuGHHnP4PcSvUQSx0mGGg_0[20].name = "sources";
2268 TM__6vuGHHnP4PcSvUQSx0mGGg_13_6[4] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[21];
2269 TM__6vuGHHnP4PcSvUQSx0mGGg_0[21].kind = 1;
2270 TM__6vuGHHnP4PcSvUQSx0mGGg_0[21].offset = offsetof(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw, names);
2271 TM__6vuGHHnP4PcSvUQSx0mGGg_0[21].typ = (&NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_);
2272 TM__6vuGHHnP4PcSvUQSx0mGGg_0[21].name = "names";
2273 TM__6vuGHHnP4PcSvUQSx0mGGg_13_6[5] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[22];
2274 NTImapping58objecttype__tyoFJJITyZcOtgC4HmERDA_.size = sizeof(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA);
2275 NTImapping58objecttype__tyoFJJITyZcOtgC4HmERDA_.align = NIM_ALIGNOF(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA);
2276 NTImapping58objecttype__tyoFJJITyZcOtgC4HmERDA_.kind = 18;
2277 NTImapping58objecttype__tyoFJJITyZcOtgC4HmERDA_.base = 0;
2278 TM__6vuGHHnP4PcSvUQSx0mGGg_14_6[0] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[24];
2279 TM__6vuGHHnP4PcSvUQSx0mGGg_0[24].kind = 1;
2280 TM__6vuGHHnP4PcSvUQSx0mGGg_0[24].offset = offsetof(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA, source);
2281 TM__6vuGHHnP4PcSvUQSx0mGGg_0[24].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
2282 TM__6vuGHHnP4PcSvUQSx0mGGg_0[24].name = "source";
2283 TM__6vuGHHnP4PcSvUQSx0mGGg_14_6[1] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[25];
2284 TM__6vuGHHnP4PcSvUQSx0mGGg_0[25].kind = 1;
2285 TM__6vuGHHnP4PcSvUQSx0mGGg_0[25].offset = offsetof(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA, original);
2286 TM__6vuGHHnP4PcSvUQSx0mGGg_0[25].typ = (&NTItupleLa58int_b58intT__1v9bKyksXWMsm0vNwmZ4EuQ_);
2287 TM__6vuGHHnP4PcSvUQSx0mGGg_0[25].name = "original";
2288 TM__6vuGHHnP4PcSvUQSx0mGGg_14_6[2] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[26];
2289 TM__6vuGHHnP4PcSvUQSx0mGGg_0[26].kind = 1;
2290 TM__6vuGHHnP4PcSvUQSx0mGGg_0[26].offset = offsetof(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA, generated);
2291 TM__6vuGHHnP4PcSvUQSx0mGGg_0[26].typ = (&NTItupleLa58int_b58intT__1v9bKyksXWMsm0vNwmZ4EuQ_);
2292 TM__6vuGHHnP4PcSvUQSx0mGGg_0[26].name = "generated";
2293 TM__6vuGHHnP4PcSvUQSx0mGGg_14_6[3] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[27];
2294 TM__6vuGHHnP4PcSvUQSx0mGGg_0[27].kind = 1;
2295 TM__6vuGHHnP4PcSvUQSx0mGGg_0[27].offset = offsetof(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA, name);
2296 TM__6vuGHHnP4PcSvUQSx0mGGg_0[27].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
2297 TM__6vuGHHnP4PcSvUQSx0mGGg_0[27].name = "name";
2298 TM__6vuGHHnP4PcSvUQSx0mGGg_14_6[4] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[28];
2299 TM__6vuGHHnP4PcSvUQSx0mGGg_0[28].kind = 1;
2300 TM__6vuGHHnP4PcSvUQSx0mGGg_0[28].offset = offsetof(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA, noSource);
2301 TM__6vuGHHnP4PcSvUQSx0mGGg_0[28].typ = (&NTIbool__VaVACK0bpYmqIQ0mKcHfQQ_);
2302 TM__6vuGHHnP4PcSvUQSx0mGGg_0[28].name = "noSource";
2303 TM__6vuGHHnP4PcSvUQSx0mGGg_14_6[5] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[29];
2304 TM__6vuGHHnP4PcSvUQSx0mGGg_0[29].kind = 1;
2305 TM__6vuGHHnP4PcSvUQSx0mGGg_0[29].offset = offsetof(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA, noName);
2306 TM__6vuGHHnP4PcSvUQSx0mGGg_0[29].typ = (&NTIbool__VaVACK0bpYmqIQ0mKcHfQQ_);
2307 TM__6vuGHHnP4PcSvUQSx0mGGg_0[29].name = "noName";
2308 TM__6vuGHHnP4PcSvUQSx0mGGg_0[23].len = 6; TM__6vuGHHnP4PcSvUQSx0mGGg_0[23].kind = 2; TM__6vuGHHnP4PcSvUQSx0mGGg_0[23].sons = &TM__6vuGHHnP4PcSvUQSx0mGGg_14_6[0];
2309 NTImapping58objecttype__tyoFJJITyZcOtgC4HmERDA_.node = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[23];
2310 NTImapping__ZiyRAXiRrbEPGtTCmbMS4Q_.size = sizeof(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA*);
2311 NTImapping__ZiyRAXiRrbEPGtTCmbMS4Q_.align = NIM_ALIGNOF(tyObject_MappingcolonObjectType___tyoFJJITyZcOtgC4HmERDA*);
2312 NTImapping__ZiyRAXiRrbEPGtTCmbMS4Q_.kind = 22;
2313 NTImapping__ZiyRAXiRrbEPGtTCmbMS4Q_.base = (&NTImapping58objecttype__tyoFJJITyZcOtgC4HmERDA_);
2314 NTImapping__ZiyRAXiRrbEPGtTCmbMS4Q_.marker = Marker_tyRef__ZiyRAXiRrbEPGtTCmbMS4Q;
2315 NTIseqLmappingT__9c1n3IOF5T6xvPNf6ipRnuQ_.size = sizeof(tySequence__9c1n3IOF5T6xvPNf6ipRnuQ*);
2316 NTIseqLmappingT__9c1n3IOF5T6xvPNf6ipRnuQ_.align = NIM_ALIGNOF(tySequence__9c1n3IOF5T6xvPNf6ipRnuQ*);
2317 NTIseqLmappingT__9c1n3IOF5T6xvPNf6ipRnuQ_.kind = 24;
2318 NTIseqLmappingT__9c1n3IOF5T6xvPNf6ipRnuQ_.base = (&NTImapping__ZiyRAXiRrbEPGtTCmbMS4Q_);
2319 NTIseqLmappingT__9c1n3IOF5T6xvPNf6ipRnuQ_.marker = Marker_tySequence__9c1n3IOF5T6xvPNf6ipRnuQ;
2320 TM__6vuGHHnP4PcSvUQSx0mGGg_0[22].kind = 1;
2321 TM__6vuGHHnP4PcSvUQSx0mGGg_0[22].offset = offsetof(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw, mappings);
2322 TM__6vuGHHnP4PcSvUQSx0mGGg_0[22].typ = (&NTIseqLmappingT__9c1n3IOF5T6xvPNf6ipRnuQ_);
2323 TM__6vuGHHnP4PcSvUQSx0mGGg_0[22].name = "mappings";
2324 TM__6vuGHHnP4PcSvUQSx0mGGg_0[16].len = 6; TM__6vuGHHnP4PcSvUQSx0mGGg_0[16].kind = 2; TM__6vuGHHnP4PcSvUQSx0mGGg_0[16].sons = &TM__6vuGHHnP4PcSvUQSx0mGGg_13_6[0];
2325 NTIsourcemapgenerator58objecttype__n9aYOgFP19aMaYFJm5zs9bXbw_.node = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[16];
2326 NTIsourcemapgenerator__30OItTzKS9b1R09axKKGTwjQ_.size = sizeof(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw*);
2327 NTIsourcemapgenerator__30OItTzKS9b1R09axKKGTwjQ_.align = NIM_ALIGNOF(tyObject_SourceMapGeneratorcolonObjectType___n9aYOgFP19aMaYFJm5zs9bXbw*);
2328 NTIsourcemapgenerator__30OItTzKS9b1R09axKKGTwjQ_.kind = 22;
2329 NTIsourcemapgenerator__30OItTzKS9b1R09axKKGTwjQ_.base = (&NTIsourcemapgenerator58objecttype__n9aYOgFP19aMaYFJm5zs9bXbw_);
2330 NTIsourcemapgenerator__30OItTzKS9b1R09axKKGTwjQ_.marker = Marker_tyRef__30OItTzKS9b1R09axKKGTwjQ;
2331 TM__6vuGHHnP4PcSvUQSx0mGGg_0[15].kind = 1;
2332 TM__6vuGHHnP4PcSvUQSx0mGGg_0[15].offset = offsetof(tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ, map2);
2333 TM__6vuGHHnP4PcSvUQSx0mGGg_0[15].typ = (&NTIsourcemapgenerator__30OItTzKS9b1R09axKKGTwjQ_);
2334 TM__6vuGHHnP4PcSvUQSx0mGGg_0[15].name = "map2";
2335 TM__6vuGHHnP4PcSvUQSx0mGGg_12_5[3] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[30];
2336 TM__6vuGHHnP4PcSvUQSx0mGGg_0[30].kind = 1;
2337 TM__6vuGHHnP4PcSvUQSx0mGGg_0[30].offset = offsetof(tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ, generated3);
2338 TM__6vuGHHnP4PcSvUQSx0mGGg_0[30].typ = (&NTItupleLa58int_b58intT__1v9bKyksXWMsm0vNwmZ4EuQ_);
2339 TM__6vuGHHnP4PcSvUQSx0mGGg_0[30].name = "generated3";
2340 TM__6vuGHHnP4PcSvUQSx0mGGg_12_5[4] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[31];
2341 TM__6vuGHHnP4PcSvUQSx0mGGg_0[31].kind = 1;
2342 TM__6vuGHHnP4PcSvUQSx0mGGg_0[31].offset = offsetof(tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ, sourceMappingActive4);
2343 TM__6vuGHHnP4PcSvUQSx0mGGg_0[31].typ = (&NTIbool__VaVACK0bpYmqIQ0mKcHfQQ_);
2344 TM__6vuGHHnP4PcSvUQSx0mGGg_0[31].name = "sourceMappingActive4";
2345 TM__6vuGHHnP4PcSvUQSx0mGGg_0[12].len = 5; TM__6vuGHHnP4PcSvUQSx0mGGg_0[12].kind = 2; TM__6vuGHHnP4PcSvUQSx0mGGg_0[12].sons = &TM__6vuGHHnP4PcSvUQSx0mGGg_12_5[0];
2346 NTIobject__H4zxRfW3dL8rDu8vpMB6oQ_.node = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[12];
2347 NTIrefobject__lUKegEKxbmKcVAxqUt9aM5g_.size = sizeof(tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ*);
2348 NTIrefobject__lUKegEKxbmKcVAxqUt9aM5g_.align = NIM_ALIGNOF(tyObject_Env_sourcemapdotnim_toSourceMap___H4zxRfW3dL8rDu8vpMB6oQ*);
2349 NTIrefobject__lUKegEKxbmKcVAxqUt9aM5g_.kind = 22;
2350 NTIrefobject__lUKegEKxbmKcVAxqUt9aM5g_.base = (&NTIobject__H4zxRfW3dL8rDu8vpMB6oQ_);
2351 NTIrefobject__lUKegEKxbmKcVAxqUt9aM5g_.marker = Marker_tyRef__lUKegEKxbmKcVAxqUt9aM5g;
2352 NTIsourcemap58objecttype__m1S8ZVbfoQLk0xvz8tc6ww_.size = sizeof(tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww);
2353 NTIsourcemap58objecttype__m1S8ZVbfoQLk0xvz8tc6ww_.align = NIM_ALIGNOF(tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww);
2354 NTIsourcemap58objecttype__m1S8ZVbfoQLk0xvz8tc6ww_.kind = 18;
2355 NTIsourcemap58objecttype__m1S8ZVbfoQLk0xvz8tc6ww_.base = 0;
2356 TM__6vuGHHnP4PcSvUQSx0mGGg_24_5[0] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[33];
2357 TM__6vuGHHnP4PcSvUQSx0mGGg_0[33].kind = 1;
2358 TM__6vuGHHnP4PcSvUQSx0mGGg_0[33].offset = offsetof(tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww, version);
2359 TM__6vuGHHnP4PcSvUQSx0mGGg_0[33].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
2360 TM__6vuGHHnP4PcSvUQSx0mGGg_0[33].name = "version";
2361 TM__6vuGHHnP4PcSvUQSx0mGGg_24_5[1] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[34];
2362 TM__6vuGHHnP4PcSvUQSx0mGGg_0[34].kind = 1;
2363 TM__6vuGHHnP4PcSvUQSx0mGGg_0[34].offset = offsetof(tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww, sources);
2364 TM__6vuGHHnP4PcSvUQSx0mGGg_0[34].typ = (&NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_);
2365 TM__6vuGHHnP4PcSvUQSx0mGGg_0[34].name = "sources";
2366 TM__6vuGHHnP4PcSvUQSx0mGGg_24_5[2] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[35];
2367 TM__6vuGHHnP4PcSvUQSx0mGGg_0[35].kind = 1;
2368 TM__6vuGHHnP4PcSvUQSx0mGGg_0[35].offset = offsetof(tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww, names);
2369 TM__6vuGHHnP4PcSvUQSx0mGGg_0[35].typ = (&NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_);
2370 TM__6vuGHHnP4PcSvUQSx0mGGg_0[35].name = "names";
2371 TM__6vuGHHnP4PcSvUQSx0mGGg_24_5[3] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[36];
2372 TM__6vuGHHnP4PcSvUQSx0mGGg_0[36].kind = 1;
2373 TM__6vuGHHnP4PcSvUQSx0mGGg_0[36].offset = offsetof(tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww, mappings);
2374 TM__6vuGHHnP4PcSvUQSx0mGGg_0[36].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
2375 TM__6vuGHHnP4PcSvUQSx0mGGg_0[36].name = "mappings";
2376 TM__6vuGHHnP4PcSvUQSx0mGGg_24_5[4] = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[37];
2377 TM__6vuGHHnP4PcSvUQSx0mGGg_0[37].kind = 1;
2378 TM__6vuGHHnP4PcSvUQSx0mGGg_0[37].offset = offsetof(tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww, file);
2379 TM__6vuGHHnP4PcSvUQSx0mGGg_0[37].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
2380 TM__6vuGHHnP4PcSvUQSx0mGGg_0[37].name = "file";
2381 TM__6vuGHHnP4PcSvUQSx0mGGg_0[32].len = 5; TM__6vuGHHnP4PcSvUQSx0mGGg_0[32].kind = 2; TM__6vuGHHnP4PcSvUQSx0mGGg_0[32].sons = &TM__6vuGHHnP4PcSvUQSx0mGGg_24_5[0];
2382 NTIsourcemap58objecttype__m1S8ZVbfoQLk0xvz8tc6ww_.node = &TM__6vuGHHnP4PcSvUQSx0mGGg_0[32];
2383 NTIsourcemap__3Qxt9cglO9bmiH9bDHNweKUAA_.size = sizeof(tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww*);
2384 NTIsourcemap__3Qxt9cglO9bmiH9bDHNweKUAA_.align = NIM_ALIGNOF(tyObject_SourceMapcolonObjectType___m1S8ZVbfoQLk0xvz8tc6ww*);
2385 NTIsourcemap__3Qxt9cglO9bmiH9bDHNweKUAA_.kind = 22;
2386 NTIsourcemap__3Qxt9cglO9bmiH9bDHNweKUAA_.base = (&NTIsourcemap58objecttype__m1S8ZVbfoQLk0xvz8tc6ww_);
2387 NTIsourcemap__3Qxt9cglO9bmiH9bDHNweKUAA_.marker = Marker_tyRef__3Qxt9cglO9bmiH9bDHNweKUAA;
2388 }
2389
2390