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