1 /* Generated by Nim Compiler v1.6.2 */
2 #define NIM_INTBITS 64
3
4 #include "nimbase.h"
5 #include <string.h>
6 #include <stdio.h>
7 #include <setjmp.h>
8 #undef LANGUAGE_C
9 #undef MIPSEB
10 #undef MIPSEL
11 #undef PPC
12 #undef R3000
13 #undef R4000
14 #undef i386
15 #undef linux
16 #undef mips
17 #undef near
18 #undef far
19 #undef powerpc
20 #undef unix
21 #define nimfr_(x, y)
22 #define nimln_(x, y)
23 typedef struct tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw;
24 typedef struct tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw;
25 typedef struct tyObject_Target__9abOl5DLX8suLujOaHSvGzw tyObject_Target__9abOl5DLX8suLujOaHSvGzw;
26 typedef struct NimStringDesc NimStringDesc;
27 typedef struct TGenericSeq TGenericSeq;
28 typedef struct tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg;
29 typedef struct tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A;
30 typedef struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q;
31 typedef struct tySequence__tNFrR3kRuS1FSwuiLGoSSA tySequence__tNFrR3kRuS1FSwuiLGoSSA;
32 typedef struct tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA;
33 typedef struct tySequence__7lEisrXlQEzwtUKW5pzRCw tySequence__7lEisrXlQEzwtUKW5pzRCw;
34 typedef struct tySequence__Zi9cGbCWofbtABoHJ5RbLNQ tySequence__Zi9cGbCWofbtABoHJ5RbLNQ;
35 typedef struct tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg;
36 typedef struct tySequence__4eRCaZmrYLLw2k30GPTiMw tySequence__4eRCaZmrYLLw2k30GPTiMw;
37 typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
38 typedef struct tyTuple__47w2DboNEPf69aPgubZdd7Q tyTuple__47w2DboNEPf69aPgubZdd7Q;
39 typedef struct tySequence__pK3qSsBZwdXd6qyUMkd5Jw tySequence__pK3qSsBZwdXd6qyUMkd5Jw;
40 typedef struct tyObject_SuggestcolonObjectType___bkMuTTb2G70XfpzAiyNrnQ tyObject_SuggestcolonObjectType___bkMuTTb2G70XfpzAiyNrnQ;
41 typedef struct tyObject_ProfileDatacolonObjectType___rPBBfFL4X0b9cQ6rfMNPXig tyObject_ProfileDatacolonObjectType___rPBBfFL4X0b9cQ6rfMNPXig;
42 typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g;
43 typedef struct TNimType TNimType;
44 typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w;
45 typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ;
46 typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA;
47 typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg;
48 typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ;
49 typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg;
50 typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw;
51 typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA;
52 typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw;
53 typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw;
54 typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg;
55 typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg;
56 typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg;
57 typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ;
58 typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg;
59 typedef struct tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw;
60 typedef struct tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA;
61 typedef struct tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ;
62 typedef struct tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A;
63 typedef struct RootObj RootObj;
64 typedef struct TNimNode TNimNode;
65 typedef struct tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA;
66 typedef struct tySequence__dwIXh8fAQr31bYUekxTtpA tySequence__dwIXh8fAQr31bYUekxTtpA;
67 typedef struct tyObject_RstFileTable__1rYTAF4X28SkQlz9cTtPDzQ tyObject_RstFileTable__1rYTAF4X28SkQlz9cTtPDzQ;
68 typedef struct tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ;
69 typedef struct tySequence__pUxI6Ljo6IKKHXKOZkQ7Og tySequence__pUxI6Ljo6IKKHXKOZkQ7Og;
70 typedef struct tySequence__Wm9aGag2treFuYnXRdy8u9bA tySequence__Wm9aGag2treFuYnXRdy8u9bA;
71 typedef struct tyObject_ModSection__ymlGBP1WaJhPNoGyL0oQ9cg tyObject_ModSection__ymlGBP1WaJhPNoGyL0oQ9cg;
72 typedef struct tySequence__MnKKQ5PGyDp4x1lUEG41Ag tySequence__MnKKQ5PGyDp4x1lUEG41Ag;
73 typedef struct tySequence__EhfJ5cVWpPFG1tw09ap9co5g tySequence__EhfJ5cVWpPFG1tw09ap9co5g;
74 typedef struct tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg;
75 typedef struct tyObject_Table__aJYy01k1JDYeFrFCvIyOlw tyObject_Table__aJYy01k1JDYeFrFCvIyOlw;
76 typedef struct tySequence__hi4XF2kW6f9aL7Qx8ito3Rw tySequence__hi4XF2kW6f9aL7Qx8ito3Rw;
77 typedef struct tySequence__3XglYimddjcRJOskKktewA tySequence__3XglYimddjcRJOskKktewA;
78 typedef struct tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q;
79 typedef struct tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA;
80 typedef struct tySequence__eHqUwlHGGaPw0TDPDeL79cQ tySequence__eHqUwlHGGaPw0TDPDeL79cQ;
81 typedef struct tyObject_RstSharedState__yDT5NoQCnsRpOrSc0gqWjA tyObject_RstSharedState__yDT5NoQCnsRpOrSc0gqWjA;
82 typedef struct tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA;
83 typedef struct tyObject_TrunkcolonObjectType___POcWT53G7t0BSUjc31o0iA tyObject_TrunkcolonObjectType___POcWT53G7t0BSUjc31o0iA;
84 typedef struct tySequence__Bre9bNyuQOg1EJKitjSzn8w tySequence__Bre9bNyuQOg1EJKitjSzn8w;
85 typedef struct tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw;
86 typedef struct tySequence__n1XPc9anZlEQHQuS14lnGwg tySequence__n1XPc9anZlEQHQuS14lnGwg;
87 typedef struct tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA;
88 typedef struct tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ;
89 typedef struct tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw;
90 typedef struct tyTuple__PU7VbX9aRt6UwxX09bATz09bg tyTuple__PU7VbX9aRt6UwxX09bATz09bg;
91 typedef struct tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA;
92 typedef struct tyTuple__FK7aTjjzjZq5t6qUNlGUDA tyTuple__FK7aTjjzjZq5t6qUNlGUDA;
93 typedef struct tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ;
94 typedef struct tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w;
95 typedef struct tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g;
96 typedef struct tyObject_TType__facALICuu8zUj0hjvbTLFg tyObject_TType__facALICuu8zUj0hjvbTLFg;
97 typedef struct tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA;
98 typedef struct tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA;
99 typedef struct tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA;
100 typedef struct tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA;
101 typedef struct tySequence__itU9cAYRNnSMU3pWsbVN4bA tySequence__itU9cAYRNnSMU3pWsbVN4bA;
102 typedef struct tySequence__lrunEzM3UiMYKPLPCTNo0w tySequence__lrunEzM3UiMYKPLPCTNo0w;
103 typedef struct tySequence__29caZmiPrO6d9cg0Ucdm9bdAA tySequence__29caZmiPrO6d9cg0Ucdm9bdAA;
104 typedef struct tySequence__SugKu9bev7GtgZTDZMD2xgw tySequence__SugKu9bev7GtgZTDZMD2xgw;
105 typedef struct tySequence__59axsmyJq9bYh2MONDvuwAkA tySequence__59axsmyJq9bYh2MONDvuwAkA;
106 typedef struct tyTuple__kN8up2W6YKc5YA9avn5mV5w tyTuple__kN8up2W6YKc5YA9avn5mV5w;
107 typedef struct tySequence__xv3aaFd3JCw8NbmALHiezQ tySequence__xv3aaFd3JCw8NbmALHiezQ;
108 typedef struct tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg;
109 typedef struct tySequence__MlAD6nAPq9bHKla9cWiIZP0g tySequence__MlAD6nAPq9bHKla9cWiIZP0g;
110 typedef struct tySequence__oLpBKXzW3hF9aCVMo5EymfQ tySequence__oLpBKXzW3hF9aCVMo5EymfQ;
111 typedef struct tyObject_Env_docgendotnim_colonanonymous___c5Z3Q14p7y8mNzZfaVB9b1A tyObject_Env_docgendotnim_colonanonymous___c5Z3Q14p7y8mNzZfaVB9b1A;
112 typedef struct tyTuple__7q7q3E6Oj24ZNVJb9aonhAg tyTuple__7q7q3E6Oj24ZNVJb9aonhAg;
113 typedef struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA;
114 typedef struct tyTuple__XOVT24GHXwqiEj5GCsEGCA tyTuple__XOVT24GHXwqiEj5GCsEGCA;
115 typedef struct tyObject_Env_docgendotnim_presentationPath___CvM9bpa9bcUSX0YhTrauQ9bEg tyObject_Env_docgendotnim_presentationPath___CvM9bpa9bcUSX0YhTrauQ9bEg;
116 typedef struct tyTuple__UV3llMMYFckfui8YMBuUZA tyTuple__UV3llMMYFckfui8YMBuUZA;
117 typedef struct tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ;
118 typedef struct tyObject_TLineInfo__LpCBEHcAwE2yCs4l9cD1BOA tyObject_TLineInfo__LpCBEHcAwE2yCs4l9cD1BOA;
119 typedef struct tySequence__V9cBl110bSARQ3Xk9bVaXHDw tySequence__V9cBl110bSARQ3Xk9bVaXHDw;
120 typedef struct tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A;
121 typedef struct tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg;
122 typedef struct tySequence__0W45b4tBLx0JWnu0NjAmVQ tySequence__0W45b4tBLx0JWnu0NjAmVQ;
123 typedef struct tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw;
124 typedef struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA;
125 typedef struct Exception Exception;
126 typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
127 typedef struct TSafePoint TSafePoint;
128 typedef struct tyObject_Table__Ji6x6JQ0gVMaFr8AIk18Ug tyObject_Table__Ji6x6JQ0gVMaFr8AIk18Ug;
129 typedef struct tySequence__SFipDZIkFtPcrLs0AGBBjQ tySequence__SFipDZIkFtPcrLs0AGBBjQ;
130 typedef struct tyTuple__8ZxhPt1NwfElsJs8zUSV9bg tyTuple__8ZxhPt1NwfElsJs8zUSV9bg;
131 typedef struct tyTuple__jq7X5k7hWG0tdTZTDkiyGQ tyTuple__jq7X5k7hWG0tdTZTDkiyGQ;
132 typedef struct tyObject_Env_docgendotnim_commandJson___jwayR6zaxkEYAMp3GS09bOA tyObject_Env_docgendotnim_commandJson___jwayR6zaxkEYAMp3GS09bOA;
133 typedef struct tyObject_Env_docgendotnim_commandTags___pwUZDPkEs6xKitbL0Cjk9cQ tyObject_Env_docgendotnim_commandTags___pwUZDPkEs6xKitbL0Cjk9cQ;
134 typedef struct tyTuple__z822nu9bFF1AlQnLrHjdwpA tyTuple__z822nu9bFF1AlQnLrHjdwpA;
135 typedef struct tyTuple__xYhUhS7X82rKTqbT9bRfCnw tyTuple__xYhUhS7X82rKTqbT9bRfCnw;
136 typedef struct tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw;
137 typedef struct tyTuple__QeWl6B6ffS4pU6WWrtcrDw tyTuple__QeWl6B6ffS4pU6WWrtcrDw;
138 typedef struct tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg;
139 typedef struct tyObject_TocEntry__SAkUV1sZh55ZCzPTFEuH6A tyObject_TocEntry__SAkUV1sZh55ZCzPTFEuH6A;
140 typedef struct tyTuple__sr3s7uVHpu9cEbbDnCSg8yQ tyTuple__sr3s7uVHpu9cEbbDnCSg8yQ;
141 typedef struct tyObject_LevelInfo__AAHlDP4uHzqyKkFQwy9bV9aQ tyObject_LevelInfo__AAHlDP4uHzqyKkFQwy9bV9aQ;
142 typedef struct tyObject_Substitution__SK0u4dEMNUKSGjjr7h9aBIw tyObject_Substitution__SK0u4dEMNUKSGjjr7h9aBIw;
143 typedef struct tyTuple__wOvXi5VibnCNgN9buQRQD4A tyTuple__wOvXi5VibnCNgN9buQRQD4A;
144 typedef struct tyTuple__msoRFpgv3EcbLwCh9arSpYw tyTuple__msoRFpgv3EcbLwCh9arSpYw;
145 typedef struct tyTuple__sPaDkVPSC0MkcoXCxPH9ccA tyTuple__sPaDkVPSC0MkcoXCxPH9ccA;
146 typedef struct tyTuple__awOivLjlO76sGdHY7nQUjQ tyTuple__awOivLjlO76sGdHY7nQUjQ;
147 typedef struct tyObject_TRenderTok__FnEE3o2nWtqdjoC0wa2wgA tyObject_TRenderTok__FnEE3o2nWtqdjoC0wa2wgA;
148 typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
149 typedef NU8 tyEnum_TBackend__4OBsgZ9cscH2JLUE5Wcz01g;
150 typedef NU8 tyEnum_TSystemCPU__XYDt7D1G3qcClFyZy1Ky9ag;
151 typedef NU8 tyEnum_TSystemOS__s7Mlr1t66SUqP6BKJMXLaQ;
152 struct TGenericSeq {
153 NI len;
154 NI reserved;
155 };
156 struct NimStringDesc {
157 TGenericSeq Sup;
158 NIM_CHAR data[SEQ_DECL_SIZE];
159 };
160 struct tyObject_Target__9abOl5DLX8suLujOaHSvGzw {
161 tyEnum_TSystemCPU__XYDt7D1G3qcClFyZy1Ky9ag targetCPU;
162 tyEnum_TSystemCPU__XYDt7D1G3qcClFyZy1Ky9ag hostCPU;
163 tyEnum_TSystemOS__s7Mlr1t66SUqP6BKJMXLaQ targetOS;
164 tyEnum_TSystemOS__s7Mlr1t66SUqP6BKJMXLaQ hostOS;
165 NI intSize;
166 NI floatSize;
167 NI ptrSize;
168 NimStringDesc* tnl;
169 };
170 typedef NU32 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg;
171 typedef NU64 tySet_tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw;
172 struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q {
173 NU16 line;
174 NI16 col;
175 NI32 fileIndex;
176 };
177 typedef NU8 tySet_tyEnum_TErrorOutput__fBf8Teueoz9aAkO5cXaxrpA;
178 struct tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA {
179 tySequence__7lEisrXlQEzwtUKW5pzRCw* data;
180 NI counter;
181 };
182 struct tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A {
183 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q trackPos;
184 NIM_BOOL trackPosAttached;
185 tySet_tyEnum_TErrorOutput__fBf8Teueoz9aAkO5cXaxrpA errorOutputs;
186 tySequence__tNFrR3kRuS1FSwuiLGoSSA* msgContext;
187 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q lastError;
188 tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA filenameToIndexTbl;
189 tySequence__Zi9cGbCWofbtABoHJ5RbLNQ* fileInfos;
190 NI32 systemFileIdx;
191 };
192 typedef NU8 tyEnum_FilenameOption__eL86bAtPxXWHj24F5gOMFQ;
193 typedef NU8 tyEnum_Command__0zjcIQ623TIRGPdtjLwTFA;
194 typedef NU8 tyEnum_TGCMode__tkz389aDYNd8ykeZszCuBSw;
195 typedef NU8 tyEnum_ExceptionSystem__1mkAogyaDAT7g9cQjzsgKLQ;
196 typedef NU8 tyEnum_SymbolFilesOption__gBES9bqm1ru9ape8SeMRAFgQ;
197 struct tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg {
198 tySequence__4eRCaZmrYLLw2k30GPTiMw* data;
199 NI counter;
200 };
201 typedef NU32 tySet_tyEnum_Feature__01UoAKYz1MxZiuG1X2VhNQ;
202 typedef NU8 tySet_tyEnum_LegacyFeature__hGCD9aOrxPvpXn4Ne6W6OVA;
203 typedef NU8 tyEnum_IdeCmd__1Ced39bl5eePmZ1PKMPXigQ;
204 typedef NU8 tyEnum_TSystemCC__1eWBJUonHMOnlBwsOvpFmA;
205 typedef NU8 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug[11];
206 struct tyTuple__47w2DboNEPf69aPgubZdd7Q {
207 NI Field0;
208 NI Field1;
209 NI Field2;
210 };
211 typedef NU8 tySet_tyEnum_StdOrrKind__6cbmyTzDPaZU9afMe4mz3Ug;
212 typedef struct {
213 N_NIMCALL_PTR(void, ClP_0) (tyObject_SuggestcolonObjectType___bkMuTTb2G70XfpzAiyNrnQ* result, void* ClE_0);
214 void* ClE_0;
215 } tyProc__YD0MR9bJ2x4beJkZdnjXN9cA;
216 typedef struct {
217 N_NIMCALL_PTR(void, ClP_0) (NimStringDesc* output, void* ClE_0);
218 void* ClE_0;
219 } tyProc__k2HFjxisIgDALbEUFojxaQ;
220 typedef NU8 tyEnum_Severity__x5BWBPGAbIH9clm5pmNp5DA;
221 typedef struct {
222 N_NIMCALL_PTR(void, ClP_0) (tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NimStringDesc* msg, tyEnum_Severity__x5BWBPGAbIH9clm5pmNp5DA severity, void* ClE_0);
223 void* ClE_0;
224 } tyProc__oL9coyIA2VDTGdUcur9aL9bew;
225 struct tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw {
226 tyEnum_TBackend__4OBsgZ9cscH2JLUE5Wcz01g backend;
227 tyObject_Target__9abOl5DLX8suLujOaHSvGzw target;
228 NI linesCompiled;
229 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options;
230 tySet_tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw globalOptions;
231 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* macrosToExpand;
232 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* arcToExpand;
233 tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A m;
234 tyEnum_FilenameOption__eL86bAtPxXWHj24F5gOMFQ filenameOption;
235 NimStringDesc* unitSep;
236 NI evalTemplateCounter;
237 NI evalMacroCounter;
238 NI8 exitcode;
239 tyEnum_Command__0zjcIQ623TIRGPdtjLwTFA cmd;
240 NimStringDesc* cmdInput;
241 NIM_BOOL projectIsCmd;
242 NIM_BOOL implicitCmd;
243 tyEnum_TGCMode__tkz389aDYNd8ykeZszCuBSw selectedGC;
244 tyEnum_ExceptionSystem__1mkAogyaDAT7g9cQjzsgKLQ exc;
245 NIM_BOOL hintProcessingDots;
246 NI verbosity;
247 NI numberOfProcessors;
248 NF lastCmdTime;
249 tyEnum_SymbolFilesOption__gBES9bqm1ru9ape8SeMRAFgQ symbolFiles;
250 NI spellSuggestMax;
251 tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg cppDefines;
252 NimStringDesc* headerFile;
253 tySet_tyEnum_Feature__01UoAKYz1MxZiuG1X2VhNQ features;
254 tySet_tyEnum_LegacyFeature__hGCD9aOrxPvpXn4Ne6W6OVA legacyFeatures;
255 NimStringDesc* arguments;
256 tyEnum_IdeCmd__1Ced39bl5eePmZ1PKMPXigQ ideCmd;
257 NIM_BOOL oldNewlines;
258 tyEnum_TSystemCC__1eWBJUonHMOnlBwsOvpFmA cCompiler;
259 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug modifiedyNotes;
260 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug cmdlineNotes;
261 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug foreignPackageNotes;
262 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug notes;
263 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug warningAsErrors;
264 tySet_tyEnum_TMsgKind__7VIi6mabc7hDxpCmSMYIug mainPackageNotes;
265 NI mainPackageId;
266 NI errorCounter;
267 NI hintCounter;
268 NI warnCounter;
269 NI errorMax;
270 NI maxLoopIterationsVM;
271 NIM_BOOL isVmTrace;
272 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* configVars;
273 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* symbols;
274 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* packageCache;
275 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* nimblePaths;
276 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* searchPaths;
277 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* lazyPaths;
278 NimStringDesc* outFile;
279 NimStringDesc* outDir;
280 NimStringDesc* jsonBuildFile;
281 NimStringDesc* prefixDir;
282 NimStringDesc* libpath;
283 NimStringDesc* nimcacheDir;
284 tyTuple__47w2DboNEPf69aPgubZdd7Q nimStdlibVersion;
285 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* dllOverrides;
286 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* moduleOverrides;
287 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* cfileSpecificOptions;
288 NimStringDesc* projectName;
289 NimStringDesc* projectPath;
290 NimStringDesc* projectFull;
291 NIM_BOOL projectIsStdin;
292 tySet_tyEnum_StdOrrKind__6cbmyTzDPaZU9afMe4mz3Ug lastMsgWasDot;
293 NI32 projectMainIdx;
294 NI32 projectMainIdx2;
295 NimStringDesc* command;
296 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* commandArgs;
297 NimStringDesc* commandLine;
298 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* extraCmds;
299 NIM_BOOL keepComments;
300 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* implicitImports;
301 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* implicitIncludes;
302 NimStringDesc* docSeeSrcUrl;
303 NimStringDesc* docRoot;
304 NimStringDesc* docCmd;
305 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* configFiles;
306 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cIncludes;
307 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cLibs;
308 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cLinkedLibs;
309 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* externalToLink;
310 NimStringDesc* linkOptionsCmd;
311 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* compileOptionsCmd;
312 NimStringDesc* linkOptions;
313 NimStringDesc* compileOptions;
314 NimStringDesc* cCompilerPath;
315 tySequence__pK3qSsBZwdXd6qyUMkd5Jw* toCompile;
316 tyProc__YD0MR9bJ2x4beJkZdnjXN9cA suggestionResultHook;
317 NI suggestVersion;
318 NI suggestMaxResults;
319 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q lastLineInfo;
320 tyProc__k2HFjxisIgDALbEUFojxaQ writelnHook;
321 tyProc__oL9coyIA2VDTGdUcur9aL9bew structuredErrorHook;
322 NimStringDesc* cppCustomNamespace;
323 NimStringDesc* nimMainPrefix;
324 tyObject_ProfileDatacolonObjectType___rPBBfFL4X0b9cQ6rfMNPXig* vmProfileData;
325 };
326 typedef NU8 tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw;
327 struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {
328 NI refcount;
329 TNimType* typ;
330 };
331 struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {
332 void* bottom;
333 };
334 struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {
335 NI len;
336 NI cap;
337 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
338 };
339 typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SPr7N6UKfuF549bNPiUvSRw[256];
340 typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24];
341 typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32];
342 typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24];
343 typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256];
344 struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {
345 tyArray__lh2A89ahMmYg9bCmpVaplLbA data;
346 };
347 typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2];
348 struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {
349 tyArray__0aOLqZchNi8nWtMTi8ND8w link;
350 NI key;
351 NI upperBound;
352 NI level;
353 };
354 struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg {
355 tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0;
356 NI Field1;
357 };
358 typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30];
359 struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {
360 NI len;
361 tyArray__LzOv2eCDGiceMKQstCLmhw chunks;
362 tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next;
363 };
364 struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {
365 NI minLargeObj;
366 NI maxLargeObj;
367 tyArray__SPr7N6UKfuF549bNPiUvSRw freeSmallChunks;
368 NU32 flBitmap;
369 tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
370 tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
371 tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
372 NI currMem;
373 NI maxMem;
374 NI freeMem;
375 NI occ;
376 NI lastSize;
377 tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
378 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
379 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
380 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
381 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
382 NIM_BOOL locked;
383 NIM_BOOL blockChunkSizeIncrease;
384 NI nextChunkSize;
385 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
386 tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
387 };
388 struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {
389 NI stackScans;
390 NI cycleCollections;
391 NI maxThreshold;
392 NI maxStackSize;
393 NI maxStackCells;
394 NI cycleTableSize;
395 NI64 maxPause;
396 };
397 struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {
398 NI counter;
399 NI max;
400 tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
401 tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
402 };
403 struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {
404 tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
405 NI cycleThreshold;
406 NI zctThreshold;
407 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
408 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
409 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
410 NI recGcLock;
411 tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
412 tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
413 tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
414 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
415 NI gcThreadId;
416 };
417 typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
418 typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
419 typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
420 typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
421 struct TNimType {
422 NI size;
423 NI align;
424 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
425 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
426 TNimType* base;
427 TNimNode* node;
428 void* finalizer;
429 tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
430 tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
431 };
432 struct RootObj {
433 TNimType* m_type;
434 };
435 struct tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A {
436 RootObj Sup;
437 NI colonstate_;
438 tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf1;
439 };
440 typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
441 struct TNimNode {
442 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
443 NI offset;
444 TNimType* typ;
445 NCSTRING name;
446 NI len;
447 TNimNode** sons;
448 };
449 typedef NU8 tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA;
450 typedef struct {
451 N_NIMCALL_PTR(NimStringDesc*, ClP_0) (NimStringDesc* filename, void* ClE_0);
452 void* ClE_0;
453 } tyProc__oFHfEKFsiYTMAy9a42cSiKw;
454 typedef NU8 tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ;
455 typedef struct {
456 N_NIMCALL_PTR(void, ClP_0) (NimStringDesc* filename, NI line, NI col, tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ msgKind, NimStringDesc* arg, void* ClE_0);
457 void* ClE_0;
458 } tyProc__zVyAuQlxcO3X84ar49cKZSg;
459 struct tyObject_RstFileTable__1rYTAF4X28SkQlz9cTtPDzQ {
460 tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA filenameToIdx;
461 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* idxToFilename;
462 };
463 typedef NimStringDesc* tyArray__XRjZexeZG0H0Os6ksQhowg[5];
464 struct tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ {
465 tySequence__pUxI6Ljo6IKKHXKOZkQ7Og* data;
466 NI counter;
467 };
468 typedef struct {
469 N_NIMCALL_PTR(void, ClP_0) (tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, NimStringDesc* filename, NimStringDesc* cmd, NI status, NimStringDesc* content, void* ClE_0);
470 void* ClE_0;
471 } tyProc__60GIQaCod4Z80PoIKw3WKQ;
472 typedef NU8 tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ;
473 struct tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA {
474 RootObj Sup;
475 tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target;
476 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* config;
477 NI splitAfter;
478 NI listingCounter;
479 tySequence__dwIXh8fAQr31bYUekxTtpA* tocPart;
480 NIM_BOOL hasToc;
481 NimStringDesc* theIndex;
482 tyProc__oFHfEKFsiYTMAy9a42cSiKw findFile;
483 tyProc__zVyAuQlxcO3X84ar49cKZSg msgHandler;
484 NimStringDesc* outDir;
485 NimStringDesc* destFile;
486 tyObject_RstFileTable__1rYTAF4X28SkQlz9cTtPDzQ filenames;
487 NimStringDesc* filename;
488 tyArray__XRjZexeZG0H0Os6ksQhowg meta;
489 NimStringDesc* currentSection;
490 tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ seenIndexTerms;
491 NI id;
492 tyProc__60GIQaCod4Z80PoIKw3WKQ onTestSnippet;
493 tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ escMode;
494 };
495 struct tyObject_ModSection__ymlGBP1WaJhPNoGyL0oQ9cg {
496 tySequence__MnKKQ5PGyDp4x1lUEG41Ag* secItems;
497 NimStringDesc* finalMarkup;
498 };
499 typedef tyObject_ModSection__ymlGBP1WaJhPNoGyL0oQ9cg tyArray__cd2h1ZVkPYGBDd9bnwwQT9aw[26];
500 struct tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg {
501 NimStringDesc* content;
502 NimStringDesc* sortName;
503 };
504 typedef tySequence__EhfJ5cVWpPFG1tw09ap9co5g* tyArray__tMCB8YK27zH5LQDqBAX6og[26];
505 struct tyObject_Table__aJYy01k1JDYeFrFCvIyOlw {
506 tySequence__hi4XF2kW6f9aL7Qx8ito3Rw* data;
507 NI counter;
508 };
509 typedef tyObject_Table__aJYy01k1JDYeFrFCvIyOlw tyArray__faQGT6VwCYDqb60ONtMk0A[26];
510 typedef NimStringDesc* tyArray__z9aXHFNOFP0NmKT9am1vQt9bg[26];
511 struct tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA {
512 NI counter;
513 tySequence__eHqUwlHGGaPw0TDPDeL79cQ* data;
514 };
515 typedef NI tyArray__emiAJ8okywrJw7ZHLzlXbQ[34];
516 struct tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA {
517 NI elems;
518 NI counter;
519 NI max;
520 tyObject_TrunkcolonObjectType___POcWT53G7t0BSUjc31o0iA* head;
521 tySequence__Bre9bNyuQOg1EJKitjSzn8w* data;
522 tyArray__emiAJ8okywrJw7ZHLzlXbQ a;
523 };
524 struct tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw {
525 tySequence__n1XPc9anZlEQHQuS14lnGwg* data;
526 NI counter;
527 NI first;
528 NI last;
529 };
530 struct tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA {
531 tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA Sup;
532 tySequence__Wm9aGag2treFuYnXRdy8u9bA* modDescPre;
533 NimStringDesc* modDescFinal;
534 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* module;
535 NimStringDesc* modDeprecationMsg;
536 tyArray__cd2h1ZVkPYGBDd9bnwwQT9aw section;
537 tyArray__tMCB8YK27zH5LQDqBAX6og tocSimple;
538 tyArray__faQGT6VwCYDqb60ONtMk0A tocTable;
539 tyArray__z9aXHFNOFP0NmKT9am1vQt9bg toc2;
540 tyArray__z9aXHFNOFP0NmKT9am1vQt9bg toc;
541 NimStringDesc* indexValFilename;
542 NimStringDesc* analytics;
543 tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* seenSymbols;
544 tySequence__3XglYimddjcRJOskKktewA* jEntriesPre;
545 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* jEntriesFinal;
546 tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA types;
547 tyObject_RstSharedState__yDT5NoQCnsRpOrSc0gqWjA* sharedState;
548 NIM_BOOL isPureRst;
549 tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf;
550 tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache;
551 NI exampleCounter;
552 tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA emitted;
553 NimStringDesc* thisDir;
554 tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw exampleGroups;
555 NIM_BOOL wroteSupportFiles;
556 };
557 struct tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA {
558 NIM_BOOL isRst;
559 union{
560 struct {tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* rst;
561 } _isRst_1;
562 struct {NimStringDesc* str;
563 } _isRst_2;
564 };
565 };
566 struct tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw {
567 tySequence__Wm9aGag2treFuYnXRdy8u9bA* descRst;
568 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* substitutions;
569 NimStringDesc* sortName;
570 };
571 struct tyTuple__PU7VbX9aRt6UwxX09bATz09bg {
572 NI Field0;
573 NimStringDesc* Field1;
574 tySequence__EhfJ5cVWpPFG1tw09ap9co5g* Field2;
575 };
576 struct tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA {
577 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* json;
578 tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* rst;
579 NimStringDesc* rstField;
580 };
581 struct tyTuple__FK7aTjjzjZq5t6qUNlGUDA {
582 NI Field0;
583 NI Field1;
584 NimStringDesc* Field2;
585 tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ* Field3;
586 };
587 struct tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ {
588 NimStringDesc* rdoccmd;
589 NimStringDesc* docCmd;
590 NimStringDesc* code;
591 NI index;
592 };
593 struct tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g {
594 NI32 module;
595 NI32 item;
596 };
597 struct tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w {
598 RootObj Sup;
599 tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g itemId;
600 };
601 typedef NU8 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw;
602 typedef NU16 tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg;
603 typedef NU64 tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw;
604 typedef NU8 tyEnum_TLocKind__O7PRFZKuiBBWbku09cayVBg;
605 typedef NU8 tyEnum_TStorageLoc__JK9cKMX3XnqHaUky9b6gkGEw;
606 typedef NU16 tySet_tyEnum_TLocFlag__o2bqJgR4ceIupnUSpxiudA;
607 struct tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA {
608 tyEnum_TLocKind__O7PRFZKuiBBWbku09cayVBg k;
609 tyEnum_TStorageLoc__JK9cKMX3XnqHaUky9b6gkGEw storage;
610 tySet_tyEnum_TLocFlag__o2bqJgR4ceIupnUSpxiudA flags;
611 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* lode;
612 tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* r;
613 };
614 struct tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ {
615 tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w Sup;
616 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw kind;
617 union{
618 struct {tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* gcUnsafetyReason;
619 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* transformedBody;
620 } _kind_1;
621 struct {tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* guard;
622 NI bitsize;
623 NI alignment;
624 } _kind_2;
625 };
626 tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg magic;
627 tyObject_TType__facALICuu8zUj0hjvbTLFg* typ;
628 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* name;
629 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info;
630 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner;
631 tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw flags;
632 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ast;
633 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options;
634 NI position;
635 NI offset;
636 tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA loc;
637 tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA* annex;
638 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* constraint;
639 };
640 typedef tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* tyArray__O7BaHX6ctEz6BpjFNHWCFQ[8192];
641 struct tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw {
642 tyArray__O7BaHX6ctEz6BpjFNHWCFQ buckets;
643 NI wordCounter;
644 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* idAnon;
645 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* idDelegator;
646 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* emptyIdent;
647 };
648 typedef NU8 tySet_tyEnum_RstParseOption__Tc4fIeOKddU9cYGFtrL9b7zg;
649 typedef NU8 tyEnum_RstParseOption__Tc4fIeOKddU9cYGFtrL9b7zg;
650 typedef NU8 tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ;
651 struct tyObject_RstSharedState__yDT5NoQCnsRpOrSc0gqWjA {
652 tySet_tyEnum_RstParseOption__Tc4fIeOKddU9cYGFtrL9b7zg options;
653 tySequence__itU9cAYRNnSMU3pWsbVN4bA* hLevels;
654 NI hTitleCnt;
655 NI hCurLevel;
656 NimStringDesc* currRole;
657 tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ currRoleKind;
658 tySequence__lrunEzM3UiMYKPLPCTNo0w* subs;
659 tySequence__lrunEzM3UiMYKPLPCTNo0w* refs;
660 tySequence__29caZmiPrO6d9cg0Ucdm9bdAA* anchors;
661 tySequence__SugKu9bev7GtgZTDZMD2xgw* lineFootnoteNum;
662 tySequence__SugKu9bev7GtgZTDZMD2xgw* lineFootnoteNumRef;
663 NI currFootnoteNumRef;
664 tySequence__SugKu9bev7GtgZTDZMD2xgw* lineFootnoteSym;
665 tySequence__SugKu9bev7GtgZTDZMD2xgw* lineFootnoteSymRef;
666 NI currFootnoteSymRef;
667 tySequence__59axsmyJq9bYh2MONDvuwAkA* footnotes;
668 tyProc__zVyAuQlxcO3X84ar49cKZSg msgHandler;
669 tyProc__oFHfEKFsiYTMAy9a42cSiKw findFile;
670 tyObject_RstFileTable__1rYTAF4X28SkQlz9cTtPDzQ filenames;
671 NI32 currFileIdx;
672 NIM_BOOL hasToc;
673 };
674 typedef NU8 tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w;
675 typedef NU8 tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw;
676 struct tyTuple__kN8up2W6YKc5YA9avn5mV5w {
677 NimStringDesc* Field0;
678 NI Field1;
679 NI Field2;
680 };
681 typedef NimStringDesc* tyArray__nHXaesL0DJZHyVS07ARPRA[1];
682 typedef NU8 tyEnum_StringTableMode__G9c4wVDFIzf0xHmQvxso9a9cQ;
683 struct tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg {
684 RootObj Sup;
685 NI counter;
686 tySequence__xv3aaFd3JCw8NbmALHiezQ* data;
687 tyEnum_StringTableMode__G9c4wVDFIzf0xHmQvxso9a9cQ mode;
688 };
689 typedef NU8 tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg;
690 struct tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg {
691 tySequence__MlAD6nAPq9bHKla9cWiIZP0g* data;
692 NI counter;
693 NI first;
694 NI last;
695 };
696 struct tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q {
697 NIM_BOOL isUnquoted;
698 tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg kind;
699 union{
700 struct {NimStringDesc* str;
701 } _kind_1;
702 struct {NI64 num;
703 } _kind_2;
704 struct {NF fnum;
705 } _kind_3;
706 struct {NIM_BOOL bval;
707 } _kind_4;
708 struct {tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg fields;
709 } _kind_6;
710 struct {tySequence__oLpBKXzW3hF9aCVMo5EymfQ* elems;
711 } _kind_7;
712 };
713 };
714 struct tyObject_Env_docgendotnim_colonanonymous___c5Z3Q14p7y8mNzZfaVB9b1A {
715 RootObj Sup;
716 NI colonstate_;
717 tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d1;
718 NimStringDesc* outp2;
719 };
720 struct tyTuple__7q7q3E6Oj24ZNVJb9aonhAg {
721 NimStringDesc* Field0;
722 NimStringDesc* Field1;
723 NimStringDesc* Field2;
724 };
725 struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA {
726 NI a;
727 NI b;
728 };
729 typedef NimStringDesc* tyArray__meGd17iD6izZVY5NTv9bHUA[10];
730 typedef N_CLOSURE_PTR(NimStringDesc*, TM__5fUAZGW8WPeit3fZaQyNXA_35) (NimStringDesc* cmd);
731 typedef NU8 tySet_tyEnum_ProcessOption__bnU6W8LhTMnT4JaSWtGlSA;
732 struct tyTuple__XOVT24GHXwqiEj5GCsEGCA {
733 NimStringDesc* Field0;
734 NI Field1;
735 };
736 typedef NimStringDesc* tyArray__sMpvt1sOxOJ3LFGulnbeMQ[4];
737 struct tyObject_Env_docgendotnim_presentationPath___CvM9bpa9bcUSX0YhTrauQ9bEg {
738 RootObj Sup;
739 NI colonstate_;
740 tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf1;
741 NimStringDesc* file22;
742 };
743 typedef struct {
744 N_NIMCALL_PTR(NimStringDesc*, ClP_0) (void* ClE_0);
745 void* ClE_0;
746 } tyProc__LCMSFwcIs5O0HdDmqpX05g;
747 typedef N_CLOSURE_PTR(NimStringDesc*, TM__5fUAZGW8WPeit3fZaQyNXA_43) (void);
748 typedef N_CLOSURE_PTR(NimStringDesc*, TM__5fUAZGW8WPeit3fZaQyNXA_44) (void);
749 struct tyTuple__UV3llMMYFckfui8YMBuUZA {
750 NimStringDesc* Field0;
751 NimStringDesc* Field1;
752 };
753 typedef NU8 tyEnum_DocFlags__n80LVfoJIDYz0UaY4RmOog;
754 typedef NU32 tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg;
755 typedef NU8 tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw;
756 struct tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw {
757 tyObject_TType__facALICuu8zUj0hjvbTLFg* typ;
758 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info;
759 tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg flags;
760 tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind;
761 union{
762 struct {NI64 intVal;
763 } _kind_1;
764 struct {NF floatVal;
765 } _kind_2;
766 struct {NimStringDesc* strVal;
767 } _kind_3;
768 struct {tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* sym;
769 } _kind_4;
770 struct {tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* ident;
771 } _kind_5;
772 struct {tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* sons;
773 } _kind_6;
774 };
775 };
776 typedef NU16 tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw;
777 struct tyObject_TLineInfo__LpCBEHcAwE2yCs4l9cD1BOA {
778 NU16 line;
779 NI16 col;
780 NI32 fileIndex;
781 };
782 struct tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ {
783 tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ kind;
784 union{
785 struct {NimStringDesc* text;
786 } _kind_1;
787 struct {NimStringDesc* labelFmt;
788 } _kind_2;
789 struct {NimStringDesc* lineIndent;
790 } _kind_3;
791 struct {NimStringDesc* adType;
792 } _kind_4;
793 struct {NI level;
794 } _kind_5;
795 struct {NI order;
796 } _kind_6;
797 struct {tyObject_TLineInfo__LpCBEHcAwE2yCs4l9cD1BOA info;
798 } _kind_7;
799 };
800 NimStringDesc* anchor;
801 tySequence__V9cBl110bSARQ3Xk9bVaXHDw* sons;
802 };
803 typedef NU8 tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag;
804 typedef NU8 tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA;
805 typedef NU64 tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw;
806 struct tyObject_TType__facALICuu8zUj0hjvbTLFg {
807 tyObject_TIdObj__KUwfjfUQEwGHguQbTcXu7w Sup;
808 tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag kind;
809 tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA callConv;
810 tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw flags;
811 tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A* sons;
812 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n;
813 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* owner;
814 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* sym;
815 NI64 size;
816 NI16 align;
817 NI16 paddingAtEnd;
818 NI16 lockLevel;
819 tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA loc;
820 tyObject_TType__facALICuu8zUj0hjvbTLFg* typeInst;
821 tyObject_ItemId__ozxAxZLHTQ9c3akTzYvt67g uniqueId;
822 };
823 typedef NU8 tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw;
824 typedef tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* tyArray__AB6yfoUgfWM2NtGe9bzkCmw[2];
825 typedef NU8 tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw;
826 typedef NU8 tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw;
827 struct tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA {
828 NI id;
829 NimStringDesc* s;
830 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* next;
831 NI h;
832 };
833 typedef NU8 tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ;
834 typedef NU8 tyEnum_RunnableState__ReeHgNC8fI9bdgH6uVZ2ZTA;
835 typedef NU8 tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw[21];
836 typedef NimStringDesc* tyArray__Re75IspeoxXy2oCZHwcRrA[2];
837 typedef tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* tyArray__cypz0nHJsd9cnKgpO7fP5hQ[1];
838 typedef tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* tyArray__jlWPjgtbdjE069arIWHC9c9bg[1];
839 typedef NU16 tySet_tyEnum_TRenderFlag__wrPgUo1ExBlHvFnXN2nSHw;
840 typedef NimStringDesc* tyArray__24KAM9afIUgUaqBaEBB6r9bg[3];
841 struct tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg {
842 NI indent;
843 NI lineLen;
844 NI col;
845 NI pos;
846 NI idx;
847 tySequence__0W45b4tBLx0JWnu0NjAmVQ* tokens;
848 NimStringDesc* buf;
849 NI pendingNL;
850 NI pendingWhitespace;
851 tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* comStack;
852 tySet_tyEnum_TRenderFlag__wrPgUo1ExBlHvFnXN2nSHw flags;
853 NIM_BOOL inGenericParams;
854 NIM_BOOL checkAnon;
855 NI inPragma;
856 NI32 fid;
857 tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config;
858 tySequence__eHqUwlHGGaPw0TDPDeL79cQ* mangler;
859 };
860 typedef NU8 tySet_tyChar__nmiMWKVIe46vacnhAFrQvw[32];
861 typedef NU8 tyEnum_TRenderFlag__wrPgUo1ExBlHvFnXN2nSHw;
862 typedef NimStringDesc* tyArray__yt5VDPNtUGx9cBkOVakHwdQ[6];
863 typedef NimStringDesc* tyArray__Q6RksR9bl1dCf8jl3HeN9bXg[8];
864 typedef struct {
865 N_NIMCALL_PTR(NI, ClP_0) (tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw x, tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw y, void* ClE_0);
866 void* ClE_0;
867 } tyProc__2NUTrG5LP9b86R9b8Iu9a2aRQ;
868 typedef NU8 tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA;
869 typedef N_CLOSURE_PTR(NI, TM__5fUAZGW8WPeit3fZaQyNXA_158) (tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw x, tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw y);
870 typedef N_CLOSURE_PTR(NI, TM__5fUAZGW8WPeit3fZaQyNXA_159) (tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw x, tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw y);
871 typedef N_CLOSURE_PTR(NI, TM__5fUAZGW8WPeit3fZaQyNXA_160) (tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw x, tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw y, void* ClE_0);
872 typedef NimStringDesc* tyArray__rmMMhDIqORJzUU5zqeitSQ[16];
873 struct Exception {
874 RootObj Sup;
875 Exception* parent;
876 NCSTRING name;
877 NimStringDesc* message;
878 tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
879 Exception* up;
880 };
881 struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA {
882 Exception Sup;
883 };
884 struct tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw {
885 tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;
886 };
887 typedef NimStringDesc* tyArray__29by1HzZaB30irI9cPdBy9cNw[14];
888 typedef struct {
889 N_NIMCALL_PTR(NI, ClP_0) (NimStringDesc* x, NimStringDesc* y, void* ClE_0);
890 void* ClE_0;
891 } tyProc__3pmh9bG9bLpdxUjFu9cDtbZaA;
892 typedef N_CLOSURE_PTR(NI, TM__5fUAZGW8WPeit3fZaQyNXA_201) (NimStringDesc* x, NimStringDesc* y, void* ClE_0);
893 typedef struct {
894 N_NIMCALL_PTR(NI, ClP_0) (tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg x, tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg y, void* ClE_0);
895 void* ClE_0;
896 } tyProc__2bxOhi2UzEVnSIccjRvxEA;
897 typedef N_CLOSURE_PTR(NI, TM__5fUAZGW8WPeit3fZaQyNXA_202) (tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg x, tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg y);
898 typedef N_CLOSURE_PTR(NI, TM__5fUAZGW8WPeit3fZaQyNXA_203) (tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg x, tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg y);
899 typedef N_CLOSURE_PTR(NI, TM__5fUAZGW8WPeit3fZaQyNXA_204) (tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg x, tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg y, void* ClE_0);
900 typedef N_CLOSURE_PTR(NI, TM__5fUAZGW8WPeit3fZaQyNXA_207) (tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg x, tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg y, void* ClE_0);
901 typedef NU8 tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw;
902 typedef NimStringDesc* tyArray__sNC09at9bGf9bERQNOmgMwXdQ[22];
903 typedef NimStringDesc* tyArray__1XN7mEfyEE3SOJgMTajV2g[26];
904 struct TSafePoint {
905 TSafePoint* prev;
906 NI status;
907 jmp_buf context;
908 };
909 typedef NU8 tySet_tyEnum_CopyFlag__pdzel23GjJ9cPFw8c5ldeRA;
910 struct tyObject_Table__Ji6x6JQ0gVMaFr8AIk18Ug {
911 tySequence__SFipDZIkFtPcrLs0AGBBjQ* data;
912 NI counter;
913 };
914 struct tyTuple__8ZxhPt1NwfElsJs8zUSV9bg {
915 NI Field0;
916 NimStringDesc* Field1;
917 NimStringDesc* Field2;
918 };
919 struct tyTuple__jq7X5k7hWG0tdTZTDkiyGQ {
920 NimStringDesc* Field0;
921 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* Field1;
922 };
923 typedef tyTuple__jq7X5k7hWG0tdTZTDkiyGQ tyArray__rhtWm6uYOU6da9bZDT6ryDA[4];
924 typedef tyTuple__jq7X5k7hWG0tdTZTDkiyGQ tyArray__fG4HAsOMuyKnlovN4zCUaA[3];
925 typedef tyTuple__jq7X5k7hWG0tdTZTDkiyGQ tyArray__rnBfBeuXQMeTae3dUyC1Bw[2];
926 typedef tyTuple__jq7X5k7hWG0tdTZTDkiyGQ tyArray__nFPyKpuH1zPi4VuXhWbFAg[1];
927 typedef NU8 tyEnum_FileMode__ZJfK20XeZ9bv2j1pZjw9aswg;
928 typedef NimStringDesc* tyArray__ebVs7LW9aC16IAZKgIOCAJQ[24];
929 struct tyObject_Env_docgendotnim_commandJson___jwayR6zaxkEYAMp3GS09bOA {
930 RootObj Sup;
931 NI colonstate_;
932 tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf1;
933 };
934 struct tyObject_Env_docgendotnim_commandTags___pwUZDPkEs6xKitbL0Cjk9cQ {
935 RootObj Sup;
936 NI colonstate_;
937 tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf1;
938 };
939 struct tyTuple__z822nu9bFF1AlQnLrHjdwpA {
940 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q Field0;
941 NimStringDesc* Field1;
942 };
943 struct tyTuple__xYhUhS7X82rKTqbT9bRfCnw {
944 NI Field0;
945 NimStringDesc* Field1;
946 NI32 Field2;
947 };
948 struct tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw {
949 NimStringDesc* fullPath;
950 NimStringDesc* projPath;
951 NimStringDesc* shortName;
952 tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* quotedName;
953 tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* quotedFullName;
954 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* lines;
955 NimStringDesc* dirtyFile;
956 NimStringDesc* hash;
957 NIM_BOOL dirty;
958 };
959 struct tyTuple__QeWl6B6ffS4pU6WWrtcrDw {
960 NI Field0;
961 NimStringDesc* Field1;
962 };
963 typedef NU8 tySet_tyEnum_CfileFlag__Vl9c9ayddDuXiWtnWTsEYGsA;
964 struct tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg {
965 NimStringDesc* nimname;
966 NimStringDesc* cname;
967 NimStringDesc* obj;
968 tySet_tyEnum_CfileFlag__Vl9c9ayddDuXiWtnWTsEYGsA flags;
969 NimStringDesc* customArgs;
970 };
971 struct tyObject_TocEntry__SAkUV1sZh55ZCzPTFEuH6A {
972 tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n;
973 NimStringDesc* refname;
974 NimStringDesc* header;
975 };
976 struct tyTuple__sr3s7uVHpu9cEbbDnCSg8yQ {
977 NI Field0;
978 NimStringDesc* Field1;
979 NI Field2;
980 };
981 struct tyObject_LevelInfo__AAHlDP4uHzqyKkFQwy9bV9aQ {
982 NIM_CHAR symbol;
983 NIM_BOOL hasOverline;
984 NI line;
985 NIM_BOOL hasPeers;
986 };
987 struct tyObject_Substitution__SK0u4dEMNUKSGjjr7h9aBIw {
988 NimStringDesc* key;
989 tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* value;
990 };
991 struct tyTuple__wOvXi5VibnCNgN9buQRQD4A {
992 NimStringDesc* Field0;
993 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* Field1;
994 };
995 typedef NU8 tyEnum_FootnoteType__ZCau9bAoJ0KvZYqUKBf6DQA;
996 struct tyTuple__msoRFpgv3EcbLwCh9arSpYw {
997 tyEnum_FootnoteType__ZCau9bAoJ0KvZYqUKBf6DQA Field0;
998 NI Field1;
999 NI Field2;
1000 NI Field3;
1001 NimStringDesc* Field4;
1002 };
1003 struct tyTuple__sPaDkVPSC0MkcoXCxPH9ccA {
1004 NimStringDesc* Field0;
1005 NimStringDesc* Field1;
1006 NIM_BOOL Field2;
1007 };
1008 struct tyTuple__awOivLjlO76sGdHY7nQUjQ {
1009 NI Field0;
1010 NI Field1;
1011 NimStringDesc* Field2;
1012 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* Field3;
1013 };
1014 struct tyObject_TRenderTok__FnEE3o2nWtqdjoC0wa2wgA {
1015 tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ kind;
1016 NI16 length;
1017 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* sym;
1018 };
1019 struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {
1020 NCSTRING procname;
1021 NI line;
1022 NCSTRING filename;
1023 };
1024 struct tySequence__EhfJ5cVWpPFG1tw09ap9co5g {
1025 TGenericSeq Sup;
1026 tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg data[SEQ_DECL_SIZE];
1027 };
1028 struct tySequence__Wm9aGag2treFuYnXRdy8u9bA {
1029 TGenericSeq Sup;
1030 tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA data[SEQ_DECL_SIZE];
1031 };
1032 struct tySequence__MnKKQ5PGyDp4x1lUEG41Ag {
1033 TGenericSeq Sup;
1034 tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw data[SEQ_DECL_SIZE];
1035 };
1036 struct tySequence__hi4XF2kW6f9aL7Qx8ito3Rw {
1037 TGenericSeq Sup;
1038 tyTuple__PU7VbX9aRt6UwxX09bATz09bg data[SEQ_DECL_SIZE];
1039 };
1040 struct tySequence__3XglYimddjcRJOskKktewA {
1041 TGenericSeq Sup;
1042 tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA data[SEQ_DECL_SIZE];
1043 };
1044 struct tySequence__n1XPc9anZlEQHQuS14lnGwg {
1045 TGenericSeq Sup;
1046 tyTuple__FK7aTjjzjZq5t6qUNlGUDA data[SEQ_DECL_SIZE];
1047 };
1048 struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ {
1049 TGenericSeq Sup;
1050 NimStringDesc* data[SEQ_DECL_SIZE];
1051 };
1052 struct tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A {
1053 TGenericSeq Sup;
1054 tyObject_TType__facALICuu8zUj0hjvbTLFg* data[SEQ_DECL_SIZE];
1055 };
1056 struct tySequence__tNFrR3kRuS1FSwuiLGoSSA {
1057 TGenericSeq Sup;
1058 tyTuple__z822nu9bFF1AlQnLrHjdwpA data[SEQ_DECL_SIZE];
1059 };
1060 struct tySequence__7lEisrXlQEzwtUKW5pzRCw {
1061 TGenericSeq Sup;
1062 tyTuple__xYhUhS7X82rKTqbT9bRfCnw data[SEQ_DECL_SIZE];
1063 };
1064 struct tySequence__Zi9cGbCWofbtABoHJ5RbLNQ {
1065 TGenericSeq Sup;
1066 tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw data[SEQ_DECL_SIZE];
1067 };
1068 struct tySequence__4eRCaZmrYLLw2k30GPTiMw {
1069 TGenericSeq Sup;
1070 tyTuple__QeWl6B6ffS4pU6WWrtcrDw data[SEQ_DECL_SIZE];
1071 };
1072 struct tySequence__pK3qSsBZwdXd6qyUMkd5Jw {
1073 TGenericSeq Sup;
1074 tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg data[SEQ_DECL_SIZE];
1075 };
1076 struct tySequence__dwIXh8fAQr31bYUekxTtpA {
1077 TGenericSeq Sup;
1078 tyObject_TocEntry__SAkUV1sZh55ZCzPTFEuH6A data[SEQ_DECL_SIZE];
1079 };
1080 struct tySequence__pUxI6Ljo6IKKHXKOZkQ7Og {
1081 TGenericSeq Sup;
1082 tyTuple__sr3s7uVHpu9cEbbDnCSg8yQ data[SEQ_DECL_SIZE];
1083 };
1084 struct tySequence__eHqUwlHGGaPw0TDPDeL79cQ {
1085 TGenericSeq Sup;
1086 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* data[SEQ_DECL_SIZE];
1087 };
1088 struct tySequence__Bre9bNyuQOg1EJKitjSzn8w {
1089 TGenericSeq Sup;
1090 tyObject_TrunkcolonObjectType___POcWT53G7t0BSUjc31o0iA* data[SEQ_DECL_SIZE];
1091 };
1092 struct tySequence__itU9cAYRNnSMU3pWsbVN4bA {
1093 TGenericSeq Sup;
1094 tyObject_LevelInfo__AAHlDP4uHzqyKkFQwy9bV9aQ data[SEQ_DECL_SIZE];
1095 };
1096 struct tySequence__lrunEzM3UiMYKPLPCTNo0w {
1097 TGenericSeq Sup;
1098 tyObject_Substitution__SK0u4dEMNUKSGjjr7h9aBIw data[SEQ_DECL_SIZE];
1099 };
1100 struct tySequence__29caZmiPrO6d9cg0Ucdm9bdAA {
1101 TGenericSeq Sup;
1102 tyTuple__wOvXi5VibnCNgN9buQRQD4A data[SEQ_DECL_SIZE];
1103 };
1104 struct tySequence__SugKu9bev7GtgZTDZMD2xgw {
1105 TGenericSeq Sup;
1106 tyObject_TLineInfo__LpCBEHcAwE2yCs4l9cD1BOA data[SEQ_DECL_SIZE];
1107 };
1108 struct tySequence__59axsmyJq9bYh2MONDvuwAkA {
1109 TGenericSeq Sup;
1110 tyTuple__msoRFpgv3EcbLwCh9arSpYw data[SEQ_DECL_SIZE];
1111 };
1112 struct tySequence__xv3aaFd3JCw8NbmALHiezQ {
1113 TGenericSeq Sup;
1114 tyTuple__sPaDkVPSC0MkcoXCxPH9ccA data[SEQ_DECL_SIZE];
1115 };
1116 struct tySequence__MlAD6nAPq9bHKla9cWiIZP0g {
1117 TGenericSeq Sup;
1118 tyTuple__awOivLjlO76sGdHY7nQUjQ data[SEQ_DECL_SIZE];
1119 };
1120 struct tySequence__oLpBKXzW3hF9aCVMo5EymfQ {
1121 TGenericSeq Sup;
1122 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* data[SEQ_DECL_SIZE];
1123 };
1124 struct tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ {
1125 TGenericSeq Sup;
1126 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* data[SEQ_DECL_SIZE];
1127 };
1128 struct tySequence__V9cBl110bSARQ3Xk9bVaXHDw {
1129 TGenericSeq Sup;
1130 tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* data[SEQ_DECL_SIZE];
1131 };
1132 struct tySequence__0W45b4tBLx0JWnu0NjAmVQ {
1133 TGenericSeq Sup;
1134 tyObject_TRenderTok__FnEE3o2nWtqdjoC0wa2wgA data[SEQ_DECL_SIZE];
1135 };
1136 struct tySequence__uB9b75OUPRENsBAu4AnoePA {
1137 TGenericSeq Sup;
1138 tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];
1139 };
1140 struct tySequence__SFipDZIkFtPcrLs0AGBBjQ {
1141 TGenericSeq Sup;
1142 tyTuple__8ZxhPt1NwfElsJs8zUSV9bg data[SEQ_DECL_SIZE];
1143 };
1144 N_LIB_PRIVATE N_NIMCALL(void, handleDocOutputOptions__docgen_7237)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
1145 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, slash___pathutils_89)(NimStringDesc* base, NimStringDesc* f);
1146 static N_INLINE(void, asgnRef)(void** dest, void* src);
1147 static N_INLINE(void, incRef__system_5309)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
1148 static N_INLINE(NI, pluspercent___system_696)(NI x, NI y);
1149 static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__system_5271)(void* usr);
1150 static N_INLINE(NI, minuspercent___system_716)(NI x, NI y);
1151 static N_INLINE(void, decRef__system_5316)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
1152 static N_INLINE(NIM_BOOL, ltpercent___system_1005)(NI x, NI y);
1153 static N_INLINE(void, rtlAddZCT__system_5314)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
1154 N_LIB_PRIVATE N_NOINLINE(void, addZCT__system_5265)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
1155 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, parseFile__syntaxes_217)(NI32 fileIdx, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config);
1156 N_LIB_PRIVATE N_NIMCALL(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA*, newDocumentor__docgen_352)(NimStringDesc* filename, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* outExt, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* module, NIM_BOOL isPureRst);
1157 N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
1158 static N_NIMCALL(void, Marker_tyRef__V3MI5pMOk7mgnWO9c9b9czAZQ)(void* p, NI op);
1159 N_LIB_PRIVATE N_NOINLINE(void*, newObj)(TNimType* typ, NI size);
1160 static N_NIMCALL(void, Marker_tySequence__Wm9aGag2treFuYnXRdy8u9bA)(void* p, NI op);
1161 static N_NIMCALL(void, Marker_tySequence__MnKKQ5PGyDp4x1lUEG41Ag)(void* p, NI op);
1162 static N_NIMCALL(void, Marker_tySequence__EhfJ5cVWpPFG1tw09ap9co5g)(void* p, NI op);
1163 static N_NIMCALL(void, Marker_tySequence__hi4XF2kW6f9aL7Qx8ito3Rw)(void* p, NI op);
1164 static N_NIMCALL(void, Marker_tySequence__3XglYimddjcRJOskKktewA)(void* p, NI op);
1165 static N_NIMCALL(void, Marker_tyRef__12SjKZyLpJKBYPLZVcoGLA)(void* p, NI op);
1166 static N_NIMCALL(void, Marker_tySequence__n1XPc9anZlEQHQuS14lnGwg)(void* p, NI op);
1167 static N_NIMCALL(void, Marker_tyRef__8sQPpcTOmswNE6K009bf9bnw)(void* p, NI op);
1168 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
1169 static N_INLINE(void, nimGCunrefNoCycle)(void* p);
1170 N_LIB_PRIVATE N_NIMCALL(tyObject_RstSharedState__yDT5NoQCnsRpOrSc0gqWjA*, newRstSharedState__packagesZdocutilsZrst_2019)(tySet_tyEnum_RstParseOption__Tc4fIeOKddU9cYGFtrL9b7zg options, NimStringDesc* filename, tyProc__oFHfEKFsiYTMAy9a42cSiKw findFile, tyProc__zVyAuQlxcO3X84ar49cKZSg msgHandler);
1171 N_LIB_PRIVATE N_CLOSURE(NimStringDesc*, docgenFindFile__docgen_374)(NimStringDesc* sX60gensym38_, void* ClE_0);
1172 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, findFile__options_4490)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* f, NIM_BOOL suppressStdlib);
1173 static N_INLINE(NimStringDesc*, slash___pureZos_121)(NimStringDesc* head, NimStringDesc* tail);
1174 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosjoinPath)(NimStringDesc* head, NimStringDesc* tail);
1175 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosgetCurrentDir)(void);
1176 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nosfileExists)(NimStringDesc* filename);
1177 static N_INLINE(void, nimZeroMem)(void* p, NI size);
1178 static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size);
1179 N_LIB_PRIVATE N_CLOSURE(void, compilerMsgHandler__docgen_367)(NimStringDesc* filenameX60gensym38_, NI lineX60gensym38_, NI colX60gensym38_, tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ msgKindX60gensym38_, NimStringDesc* argX60gensym38_, void* ClE_0);
1180 N_LIB_PRIVATE N_NOINLINE(void, liMessage__msgs_1118)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w msg, NimStringDesc* arg, tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw eh, tyTuple__kN8up2W6YKc5YA9avn5mV5w info2, NIM_BOOL isRaw);
1181 static N_INLINE(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q, newLineInfo__msgs_398)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename, NI line, NI col);
1182 N_LIB_PRIVATE N_NIMCALL(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q, newLineInfo__msgs_381)(NI32 fileInfoIdx, NI line, NI col);
1183 N_LIB_PRIVATE N_NIMCALL(NI32, fileInfoIdx__msgs_376)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename);
1184 N_LIB_PRIVATE N_NIMCALL(void, initRstGenerator__packagesZdocutilsZrstgen_90)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* g, tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target, tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* config, NimStringDesc* filename, tyProc__oFHfEKFsiYTMAy9a42cSiKw findFile, tyProc__zVyAuQlxcO3X84ar49cKZSg msgHandler, tyObject_RstFileTable__1rYTAF4X28SkQlz9cTtPDzQ filenames);
1185 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isLatexCmd__docgen_345)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
1186 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nsthasKey)(tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* t, NimStringDesc* key);
1187 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuFormatOpenArray)(NimStringDesc* formatstr, NimStringDesc** a, NI aLen_0);
1188 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getOrDefault__pureZstrtabs_173)(tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* t, NimStringDesc* key, NimStringDesc* default_0);
1189 N_LIB_PRIVATE N_NIMCALL(tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg*, nstnewStringTable)(tyEnum_StringTableMode__G9c4wVDFIzf0xHmQvxso9a9cQ mode);
1190 N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, newJArray__pureZjson_123)(void);
1191 N_LIB_PRIVATE N_NIMCALL(void, initStrTable__ast_4088)(tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA* x);
1192 N_LIB_PRIVATE N_CLOSURE(void, colonanonymous___docgen_385)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* gen, NimStringDesc* filename, NimStringDesc* cmd, NI status, NimStringDesc* content, void* ClE_0);
1193 static N_NIMCALL(void, Marker_tyRef__vLZiljicyk62OxuIdb6tJQ)(void* p, NI op);
1194 static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
1195 static N_INLINE(NIM_BOOL, equalMem__system_1735)(void* a, void* b, NI size);
1196 static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
1197 N_LIB_PRIVATE N_NIMCALL(void, nossplitFile)(NimStringDesc* path, tyTuple__7q7q3E6Oj24ZNVJb9aonhAg* Result);
1198 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, slash___pathutils_111)(NimStringDesc* base, NimStringDesc* f);
1199 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getNimcacheDir__options_4183)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
1200 static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
1201 static N_INLINE(void, copyMem__system_1727)(void* dest, void* source, NI size);
1202 static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
1203 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___systemZdollars_3)(NI x);
1204 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
1205 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nosisAbsolute)(NimStringDesc* path);
1206 N_LIB_PRIVATE N_NIMCALL(void, noscreateDir)(NimStringDesc* dir);
1207 N_LIB_PRIVATE N_NIMCALL(void, splitFile__pathutils_26)(NimStringDesc* x, tyTuple__7q7q3E6Oj24ZNVJb9aonhAg* Result);
1208 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuReplaceStr)(NimStringDesc* s, NimStringDesc* sub, NimStringDesc* by);
1209 N_LIB_PRIVATE N_NIMCALL(void, writeFile__systemZio_476)(NimStringDesc* filename, NimStringDesc* content);
1210 N_LIB_PRIVATE N_CLOSURE(NimStringDesc*, interpSnippetCmd__docgen_400)(NimStringDesc* cmd, void* ClE_0);
1211 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nsuStartsWith)(NimStringDesc* s, NimStringDesc* prefix);
1212 static N_INLINE(NimStringDesc*, X5BX5D___pureZunicode_3215)(NimStringDesc* s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x);
1213 N_NIMCALL(NimStringDesc*, mnewString)(NI len);
1214 static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___stdZenumutils_80)(NI a, NI b);
1215 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
1216 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nospquoteShell)(NimStringDesc* s);
1217 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosgetAppFilename)(void);
1218 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ);
1219 N_LIB_PRIVATE N_NIMCALL(void, execCmdEx__pureZosproc_1164)(NimStringDesc* command, tySet_tyEnum_ProcessOption__bnU6W8LhTMnT4JaSWtGlSA options, tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* env, NimStringDesc* workingDir, NimStringDesc* input, tyTuple__XOVT24GHXwqiEj5GCsEGCA* Result);
1220 static N_INLINE(void, initIntSet__pureZcollectionsZintsets_238)(tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA* Result);
1221 N_LIB_PRIVATE N_NIMCALL(void, initPackedSet__pureZcollectionsZintsets_16)(tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA* Result);
1222 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getOutFile2__docgen_331)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename, NimStringDesc* ext, NIM_BOOL guessTarget);
1223 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, noschangeFileExt)(NimStringDesc* filename, NimStringDesc* ext);
1224 static N_INLINE(NIM_BOOL, isEmpty__options_4049)(NimStringDesc* x);
1225 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, absOutFile__options_4038)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
1226 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getOutFile__options_4028)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename, NimStringDesc* ext);
1227 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, presentationPath__docgen_193)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* file);
1228 static N_NIMCALL(void, Marker_tyRef__c2g79crEiD9bqYYWD2mguKAA)(void* p, NI op);
1229 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___options_4373)(NimStringDesc* x);
1230 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getRelativePathFromConfigPath__options_4368)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* f, NIM_BOOL isTitle);
1231 N_LIB_PRIVATE N_CLOSURE(NimStringDesc*, nimbleDir__docgen_202)(void* ClE_0);
1232 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosparentDir)(NimStringDesc* path);
1233 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getNimbleFile__options_4126)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* path);
1234 static N_INLINE(NIM_BOOL, isEmpty__pathutils_93)(NimStringDesc* x);
1235 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, relativeTo__pathutils_132)(NimStringDesc* fullPath, NimStringDesc* baseFilename, NIM_CHAR sep);
1236 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
1237 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nosdirExists)(NimStringDesc* dir);
1238 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosexpandFilename)(NimStringDesc* filename);
1239 N_LIB_PRIVATE N_NIMCALL(void, nossplitPath)(NimStringDesc* path, tyTuple__UV3llMMYFckfui8YMBuUZA* Result);
1240 N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__systemZassertions_56)(NimStringDesc* msg);
1241 N_LIB_PRIVATE N_NIMCALL(void, generateDoc__docgen_5366)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* orig, tyEnum_DocFlags__n80LVfoJIDYz0UaY4RmOog docFlags);
1242 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, findPragma__trees_271)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw which);
1243 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, genDeprecationMsg__docgen_3409)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1244 static N_INLINE(NI, safeLen__ast_3191)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1245 static N_INLINE(NI, len__ast_3198)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1246 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getConfigVar__options_4019)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* key, NimStringDesc* default_0);
1247 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, escape__pureZxmltree_465)(NimStringDesc* s);
1248 N_LIB_PRIVATE N_NIMCALL(void, add__docgen_106)(tySequence__Wm9aGag2treFuYnXRdy8u9bA** dest, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* rst);
1249 N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, incrSeqV3)(TGenericSeq* s, TNimType* typ);
1250 N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
1251 N_LIB_PRIVATE N_NIMCALL(void, genericAssign)(void* dest, void* src, TNimType* mt);
1252 N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*, genComment__docgen_508)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1253 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, comment__ast_993)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1254 N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*, parseRst__docgen_306)(NimStringDesc* text, NimStringDesc* filename, NI line, NI column, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_RstSharedState__yDT5NoQCnsRpOrSc0gqWjA* sharedState);
1255 N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*, rstParsePass1__packagesZdocutilsZrst_6756)(NimStringDesc* fragment, NI line, NI column, tyObject_RstSharedState__yDT5NoQCnsRpOrSc0gqWjA* sharedState);
1256 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toFullPath__msgs_538)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NI32 fileIdx);
1257 static N_INLINE(NI, toLinenumber__msgs_609)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1258 static N_INLINE(NI, toColumn__msgs_612)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1259 N_LIB_PRIVATE N_NIMCALL(void, documentRaises__docgen_5281)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1260 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, documentEffect__docgen_5203)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x, tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw effectType, NI idx);
1261 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, effectSpec__trees_284)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw effectType);
1262 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newNodeI__ast_3360)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NI children);
1263 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, typeToString__types_50)(tyObject_TType__facALICuu8zUj0hjvbTLFg* typ, tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw prefer);
1264 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, substr__system_7756)(NimStringDesc* s, NI first);
1265 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newIdentNode__ast_3712)(tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* ident, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1266 N_LIB_PRIVATE N_NIMCALL(tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA*, getIdent__idents_143)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* ic, NimStringDesc* identifier);
1267 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newTreeI__ast_3420)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** children, NI childrenLen_0);
1268 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, documentWriteEffect__docgen_5245)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw flag, NimStringDesc* pragmaName);
1269 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newNodeI__ast_3356)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1270 N_LIB_PRIVATE N_NIMCALL(void, add__ast_4797)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* father, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* son);
1271 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, documentNewEffect__docgen_5193)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1272 N_LIB_PRIVATE N_NIMCALL(void, genItem__docgen_3445)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* nameNode, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k, tyEnum_DocFlags__n80LVfoJIDYz0UaY4RmOog docFlags);
1273 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isVisible__docgen_3266)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1274 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, containsOrIncl__astalgo_402)(tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA* s, NI key);
1275 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getName__docgen_3329)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NI splitAfter);
1276 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, esc__packagesZdocutilsZrstgen_240)(tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target, NimStringDesc* s, NI splitAfter, tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ escMode);
1277 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, renderDefinitionName__renderer_88)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s, NIM_BOOL noQuotes);
1278 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getPlainDocstring__docgen_558)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1279 N_LIB_PRIVATE N_NIMCALL(void, getAllRunnableExamples__docgen_3246)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tySequence__Wm9aGag2treFuYnXRdy8u9bA** dest);
1280 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, getRoutineBody__docgen_3216)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1281 N_LIB_PRIVATE N_NIMCALL(tyEnum_RunnableState__ReeHgNC8fI9bdgH6uVZ2ZTA, getAllRunnableExamplesImpl__docgen_3170)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tySequence__Wm9aGag2treFuYnXRdy8u9bA** dest, tyEnum_RunnableState__ReeHgNC8fI9bdgH6uVZ2ZTA state, NIM_BOOL topLevel);
1282 N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*, genRecComment__docgen_541)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1283 N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*, genRecCommentAux__docgen_512)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1284 N_LIB_PRIVATE N_NIMCALL(void, commenteq___ast_1361)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NimStringDesc* a);
1285 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isRunnableExamples__ast_4698)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1286 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, lastSon__ast_4832)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1287 N_LIB_PRIVATE N_NIMCALL(void, prepareExample__docgen_1035)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NIM_BOOL topLevel, tyTuple__UV3llMMYFckfui8YMBuUZA* Result);
1288 static N_INLINE(NimStringDesc*, toFileLineCol__msgs_619)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
1289 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toMsgFilename__msgs_602)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NI32 fileIdx);
1290 static N_INLINE(void, addInt__stdZprivateZdigitsutils_189)(NimStringDesc** result, NI x);
1291 N_LIB_PRIVATE N_NIMCALL(void, addInt__stdZprivateZdigitsutils_167)(NimStringDesc** result, NI64 x);
1292 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, extractRunnableExamplesSource__renderverbatim_97)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NI indent);
1293 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, exampleOutputDir__docgen_647)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d);
1294 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosextractFilename)(NimStringDesc* path);
1295 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newTree__ast_3392)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** children, NI childrenLen_0);
1296 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newStrNode__ast_3813)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, NimStringDesc* strVal);
1297 N_LIB_PRIVATE N_NIMCALL(void, renderModule__renderer_2109)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NimStringDesc* outfile, tySet_tyEnum_TRenderFlag__wrPgUo1ExBlHvFnXN2nSHw renderFlags, NI32 fid, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
1298 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__pureZstrutils_1631)(NimStringDesc* s, NimStringDesc* sub);
1299 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___docgen_1080)(tyTuple__kN8up2W6YKc5YA9avn5mV5w x);
1300 N_LIB_PRIVATE N_NIMCALL(void, addQuoted__pureZos_449)(NimStringDesc** s, NimStringDesc* x);
1301 N_LIB_PRIVATE N_NIMCALL(void, addQuoted__extccomp_2078)(NimStringDesc** s, NI x);
1302 N_LIB_PRIVATE N_NIMCALL(void, toInstantiationInfo__docgen_1031)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyTuple__kN8up2W6YKc5YA9avn5mV5w* Result);
1303 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, quoted__docgen_1024)(NimStringDesc* a);
1304 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__docgen_1168)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t, NimStringDesc* key);
1305 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasKey__docgen_1184)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t, NimStringDesc* key);
1306 N_LIB_PRIVATE N_NIMCALL(NI, rawGet__docgen_1199)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t, NimStringDesc* key, NI* hc);
1307 N_LIB_PRIVATE N_NIMCALL(NI, hash__pureZhashes_291)(NimStringDesc* x);
1308 static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZtables_31)(NI hcode);
1309 static N_INLINE(NI, nextTry__pureZcollectionsZtables_34)(NI h, NI maxHash);
1310 N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___docgen_1526)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t, NimStringDesc* key, tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ* val);
1311 static N_INLINE(NI, slotsNeeded__pureZcollectionsZtables_42)(NI count);
1312 N_LIB_PRIVATE N_NIMCALL(NI, nextPowerOfTwo__pureZmath_177)(NI x);
1313 N_LIB_PRIVATE N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
1314 static N_INLINE(NIM_BOOL, mustRehash__docgen_1707)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t);
1315 N_LIB_PRIVATE N_NIMCALL(void, enlarge__docgen_1868)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t);
1316 N_LIB_PRIVATE N_NIMCALL(void, rawInsert__docgen_2279)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t, tySequence__n1XPc9anZlEQHQuS14lnGwg** data, NimStringDesc* key, tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ* val, NI hc, NI h);
1317 N_LIB_PRIVATE N_NIMCALL(NI, rawGetKnownHC__docgen_2561)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t, NimStringDesc* key, NI hc);
1318 static N_INLINE(NI, len__docgen_701)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t);
1319 N_LIB_PRIVATE N_NIMCALL(tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ**, X5BX5D___docgen_2858)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t, NimStringDesc* key);
1320 static N_INLINE(NI, rawGet__docgen_2865)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t, NimStringDesc* key, NI* hc);
1321 N_LIB_PRIVATE N_NOINLINE(void, raiseKeyError__msgs_300)(NimStringDesc* key) __attribute__((noreturn));
1322 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuFormatSingleElem)(NimStringDesc* formatstr, NimStringDesc* a);
1323 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, canonicalImport__options_4664)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* file);
1324 N_LIB_PRIVATE N_NIMCALL(void, nsuAddf)(NimStringDesc** s, NimStringDesc* formatstr, NimStringDesc** a, NI aLen_0);
1325 N_LIB_PRIVATE N_NIMCALL(void, add__docgen_125)(tySequence__Wm9aGag2treFuYnXRdy8u9bA** dest, NimStringDesc* str);
1326 N_LIB_PRIVATE N_NIMCALL(void, renderNimCode__packagesZdocutilsZrstgen_8238)(NimStringDesc** result, NimStringDesc* code, tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target);
1327 N_LIB_PRIVATE N_NIMCALL(void, initTokRender__renderer_2127)(tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg* r, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tySet_tyEnum_TRenderFlag__wrPgUo1ExBlHvFnXN2nSHw renderFlags);
1328 N_LIB_PRIVATE N_NIMCALL(void, getNextTok__renderer_2131)(tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg* r, tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ* kind, NimStringDesc** literal);
1329 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, getDeclPragma__ast_3246)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1330 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuStrip)(NimStringDesc* s, NIM_BOOL leading, NIM_BOOL trailing, tySet_tyChar__nmiMWKVIe46vacnhAFrQvw chars);
1331 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, renderPlainSymbolName__typesrenderer_6)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1332 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, complexName__docgen_3388)(tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NimStringDesc* baseName);
1333 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, renderParamTypes__typesrenderer_167)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NimStringDesc* sep);
1334 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, encodeUrl__pureZuri_40)(NimStringDesc* s, NIM_BOOL usePlus);
1335 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, newUniquePlainSymbol__docgen_3379)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, NimStringDesc* original);
1336 N_LIB_PRIVATE N_NIMCALL(void, nstPut)(tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* t, NimStringDesc* key, NimStringDesc* val);
1337 N_LIB_PRIVATE N_NIMCALL(void, nodeToHighlightedHtml__docgen_593)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NimStringDesc** result, tySet_tyEnum_TRenderFlag__wrPgUo1ExBlHvFnXN2nSHw renderFlags, NimStringDesc* procLink);
1338 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, getTokSym__renderer_2147)(tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg* r);
1339 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, belongsToPackage__docgen_571)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* module);
1340 N_LIB_PRIVATE N_NIMCALL(NI, getnimblePkgId__ast_3161)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* a);
1341 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, externalDep__docgen_579)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* module);
1342 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, genSeeSrc__docgen_3434)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, NimStringDesc* path, NI line);
1343 N_LIB_PRIVATE N_NIMCALL(void, genericSeqAssign)(void* dest, void* src, TNimType* mt);
1344 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, attachToType__docgen_261)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* p);
1345 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, whichType__docgen_242)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1346 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, strTableContains__astalgo_3233)(tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA t, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* n);
1347 N_LIB_PRIVATE N_NIMCALL(void, setIndexTerm__packagesZdocutilsZrstgen_344)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, NimStringDesc* htmlFile, NimStringDesc* id, NimStringDesc* term, NimStringDesc* linkTitle, NimStringDesc* linkDesc);
1348 static N_INLINE(void, appendChar)(NimStringDesc* dest, NIM_CHAR c);
1349 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, docstringSummary__docgen_3400)(NimStringDesc* rstText);
1350 N_LIB_PRIVATE N_NIMCALL(NI, nsuFindChar)(NimStringDesc* s, NIM_CHAR sub, NI start, NI last);
1351 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, setLengthStr)(NimStringDesc* s, NI newLen);
1352 N_LIB_PRIVATE N_NIMCALL(NI, nsuFindCharSet)(NimStringDesc* s, tySet_tyChar__nmiMWKVIe46vacnhAFrQvw chars, NI start, NI last);
1353 N_LIB_PRIVATE N_NIMCALL(tySequence__EhfJ5cVWpPFG1tw09ap9co5g**, mgetOrPut__docgen_3602)(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw* t, NimStringDesc* key, tySequence__EhfJ5cVWpPFG1tw09ap9co5g* val);
1354 static N_INLINE(NI, rawGet__docgen_3664)(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw t, NimStringDesc* key, NI* hc);
1355 static N_INLINE(NIM_BOOL, mustRehash__docgen_3956)(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw t);
1356 N_LIB_PRIVATE N_NIMCALL(void, enlarge__docgen_4109)(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw* t);
1357 N_LIB_PRIVATE N_NIMCALL(void, rawInsert__docgen_4413)(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw* t, tySequence__hi4XF2kW6f9aL7Qx8ito3Rw** data, NimStringDesc* key, tySequence__EhfJ5cVWpPFG1tw09ap9co5g* val, NI hc, NI h);
1358 static N_INLINE(NI, rawGetKnownHC__docgen_4582)(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw t, NimStringDesc* key, NI hc);
1359 N_LIB_PRIVATE N_NIMCALL(tySequence__EhfJ5cVWpPFG1tw09ap9co5g*, newSeq__docgen_3555)(NI len);
1360 N_LIB_PRIVATE N_NIMCALL(void, strTableAdd__astalgo_3332)(tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA* t, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* n);
1361 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, checkForFalse__docgen_5124)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1362 N_LIB_PRIVATE N_NIMCALL(NI, nsuCmpIgnoreStyle)(NimStringDesc* a, NimStringDesc* b);
1363 N_LIB_PRIVATE N_NIMCALL(void, traceDeps__docgen_5131)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* it);
1364 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, prettyLink__packagesZdocutilsZrstgen_85)(NimStringDesc* file);
1365 N_LIB_PRIVATE N_NIMCALL(void, exportSym__docgen_5172)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s);
1366 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, originatingModule__ast_4669)(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s);
1367 N_LIB_PRIVATE N_NIMCALL(void, add__docgen_5446)(tySequence__Wm9aGag2treFuYnXRdy8u9bA** x, tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA* y, NI yLen_0);
1368 N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, setLengthSeqV2)(TGenericSeq* s, TNimType* typ, NI newLen);
1369 N_LIB_PRIVATE N_NIMCALL(void, finishGenerateDoc__docgen_5479)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA** d);
1370 N_LIB_PRIVATE N_NIMCALL(void, preparePass2__packagesZdocutilsZrst_6763)(tyObject_RstSharedState__yDT5NoQCnsRpOrSc0gqWjA* s, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* mainNode);
1371 N_LIB_PRIVATE N_NIMCALL(tySequence__MnKKQ5PGyDp4x1lUEG41Ag*, sorted__docgen_5530)(tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw* a, NI aLen_0, tyProc__2NUTrG5LP9b86R9b8Iu9a2aRQ cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order);
1372 N_LIB_PRIVATE N_NIMCALL(tySequence__MnKKQ5PGyDp4x1lUEG41Ag*, newSeq__docgen_5542)(NI len);
1373 N_LIB_PRIVATE N_NIMCALL(void, sort__docgen_5567)(tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw* a, NI aLen_0, tyProc__2NUTrG5LP9b86R9b8Iu9a2aRQ cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order);
1374 N_LIB_PRIVATE N_NIMCALL(void, mergeAlt__docgen_5584)(tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw* a, NI aLen_0, tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw* b, NI bLen_0, NI lo, NI m, NI hi, tyProc__2NUTrG5LP9b86R9b8Iu9a2aRQ cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order);
1375 static N_INLINE(NI, star___pureZalgorithm_8)(NI x, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order);
1376 N_LIB_PRIVATE N_NIMCALL(NI, cmp__docgen_5519)(tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw x, tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw y);
1377 N_LIB_PRIVATE N_NIMCALL(NI, cmpDecimalsIgnoreCase__docgen_132)(NimStringDesc* a, NimStringDesc* b);
1378 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nsuIsDigitChar)(NIM_CHAR c);
1379 N_LIB_PRIVATE N_NIMCALL(NIM_CHAR, nsuToLowerAsciiChar)(NIM_CHAR c);
1380 N_LIB_PRIVATE N_NIMCALL(void, renderItemPre__docgen_5501)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tySequence__Wm9aGag2treFuYnXRdy8u9bA* fragments, NimStringDesc** result);
1381 N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*, resolveSubs__packagesZdocutilsZrst_6766)(tyObject_RstSharedState__yDT5NoQCnsRpOrSc0gqWjA* s, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n);
1382 N_LIB_PRIVATE N_NIMCALL(void, renderRstToOut__packagesZdocutilsZrstgen_299)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringDesc** result);
1383 N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, amp___docgen_5668)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* x, tySequence__sM4lkSb7zS6F7OVMvW9cffQ* y);
1384 static N_INLINE(void, X5BX5Deq___pureZjson_1923)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* obj, NimStringDesc* key, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* val);
1385 N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___pureZjson_287)(tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg* t, NimStringDesc* key, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* val);
1386 N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___pureZjson_1790)(NimStringDesc* s);
1387 N_LIB_PRIVATE N_NIMCALL(void, add__pureZjson_222)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* father, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* child);
1388 N_LIB_PRIVATE N_NIMCALL(void, writeOutput__docgen_7175)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, NIM_BOOL useWarning, NIM_BOOL groupedToc);
1389 N_LIB_PRIVATE N_NIMCALL(void, runAllExamples__docgen_650)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d);
1390 static N_INLINE(NimStringDesc*, findNodeJs__nodejs_2)(void);
1391 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, findExe__pureZos_644)(NimStringDesc* exe, NIM_BOOL followSymlinks, NimStringDesc** extensions, NI extensionsLen_0);
1392 N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringDesc** args, NI argsLen_0);
1393 N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
1394 N_LIB_PRIVATE N_NIMCALL(NI, nosexecShellCmd)(NimStringDesc* command);
1395 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isDefined__options_2279)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* symbol);
1396 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, prettyString__docgen_1001)(tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ* a);
1397 N_LIB_PRIVATE N_NIMCALL(void, quit__system_7174)(NimStringDesc* errormsg, NI errorcode) __attribute__((noreturn));
1398 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, msgKindToString__msgs_772)(tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w kind);
1399 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, genOutFile__docgen_7107)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, NIM_BOOL groupedToc);
1400 N_LIB_PRIVATE N_NIMCALL(void, renderTocEntries__packagesZdocutilsZrstgen_8125)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, NI* j, NI lvl, NimStringDesc** result);
1401 N_LIB_PRIVATE N_NIMCALL(void, genSection__docgen_6255)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw kind, NIM_BOOL groupedToc);
1402 N_LIB_PRIVATE N_NIMCALL(NI, len__docgen_6543)(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw t);
1403 N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, sorted__docgen_6731)(NimStringDesc** a, NI aLen_0, tyProc__3pmh9bG9bLpdxUjFu9cDtbZaA cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order);
1404 N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, newSeq__systemZio_503)(NI len);
1405 N_LIB_PRIVATE N_NIMCALL(void, sort__sem_1803)(NimStringDesc** a, NI aLen_0, tyProc__3pmh9bG9bLpdxUjFu9cDtbZaA cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order);
1406 N_LIB_PRIVATE N_NIMCALL(tySequence__EhfJ5cVWpPFG1tw09ap9co5g**, X5BX5D___docgen_6817)(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw* t, NimStringDesc* key);
1407 N_LIB_PRIVATE N_NIMCALL(void, sort__docgen_6890)(tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg* a, NI aLen_0, tyProc__2bxOhi2UzEVnSIccjRvxEA cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order);
1408 N_LIB_PRIVATE N_NIMCALL(void, mergeAlt__docgen_6908)(tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg* a, NI aLen_0, tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg* b, NI bLen_0, NI lo, NI m, NI hi, tyProc__2bxOhi2UzEVnSIccjRvxEA cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order);
1409 N_LIB_PRIVATE N_NIMCALL(NI, cmp__docgen_6267)(tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg x, tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg y);
1410 N_LIB_PRIVATE N_NIMCALL(tySequence__EhfJ5cVWpPFG1tw09ap9co5g*, sorted__docgen_6996)(tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg* a, NI aLen_0, tyProc__2bxOhi2UzEVnSIccjRvxEA cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order);
1411 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nativeToUnixPath__stdZprivateZglobs_50)(NimStringDesc* path);
1412 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getDateStr__options_583)(void);
1413 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getClockStr__options_591)(void);
1414 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, relLink__docgen_7098)(NimStringDesc* outDir, NimStringDesc* destFile, NimStringDesc* linkto);
1415 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___docgen_7103)(NimStringDesc* x);
1416 N_LIB_PRIVATE N_NIMCALL(void, write__systemZio_205)(FILE* f, NimStringDesc* s);
1417 N_LIB_PRIVATE N_NIMCALL(void, updateOutfile__docgen_7161)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, NimStringDesc* outfile);
1418 static N_INLINE(void, pushSafePoint)(TSafePoint* s);
1419 static N_INLINE(void, popSafePoint)(void);
1420 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isObj)(TNimType* obj, TNimType* subclass);
1421 static N_INLINE(Exception*, nimBorrowCurrentException)(void);
1422 static N_INLINE(void, popCurrentException)(void);
1423 N_LIB_PRIVATE N_NIMCALL(void, reraiseException)(void);
1424 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___options_4475)(NimStringDesc* x);
1425 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getPrefixDir__options_4061)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
1426 N_LIB_PRIVATE N_NIMCALL(void, noscopyFile)(NimStringDesc* source, NimStringDesc* dest, tySet_tyEnum_CopyFlag__pdzel23GjJ9cPFw8c5ldeRA options);
1427 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, interp__nimpaths_25)(NimStringDesc* path, NimStringDesc* nimr);
1428 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getDocHacksJs__nimpaths_84)(NimStringDesc* nimr, NimStringDesc* nim, NIM_BOOL forceRebuild);
1429 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, noslastPathPart)(NimStringDesc* path);
1430 N_LIB_PRIVATE N_NIMCALL(void, generateIndex__docgen_7153)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d);
1431 N_LIB_PRIVATE N_NIMCALL(void, writeIndexFile__packagesZdocutilsZrstgen_193)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* g, NimStringDesc* outfile);
1432 N_LIB_PRIVATE N_NIMCALL(void, add__docgen_5802)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA j);
1433 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___pureZjson_2044)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* a, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* b);
1434 N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___docgen_5843)(tyObject_Table__Ji6x6JQ0gVMaFr8AIk18Ug table);
1435 N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, newJObject__pureZjson_92)(void);
1436 N_LIB_PRIVATE N_NIMCALL(NI, len__docgen_5896)(tyObject_Table__Ji6x6JQ0gVMaFr8AIk18Ug t);
1437 N_LIB_PRIVATE N_NIMCALL(void, genJsonItem__docgen_4925)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* nameNode, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k, tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA* Result);
1438 N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___pureZjson_1819)(tyTuple__jq7X5k7hWG0tdTZTDkiyGQ* keyVals, NI keyValsLen_0);
1439 N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___pureZjson_1800)(NI n);
1440 static N_INLINE(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, X5BX5D___pureZjson_3043)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* node, NimStringDesc* name);
1441 N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q**, X5BX5D___pureZjson_2638)(tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg* t, NimStringDesc* key);
1442 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___renderer_2106)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
1443 N_LIB_PRIVATE N_NIMCALL(void, generateJson__docgen_5813)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NIM_BOOL includeComments);
1444 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
1445 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getPackageName__options_4143)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* path);
1446 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___pureZjson_4465)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* node);
1447 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, open__systemZio_391)(FILE** f, NimStringDesc* filename, tyEnum_FileMode__ZJfK20XeZ9bv2j1pZjw9aswg mode, NI bufSize);
1448 N_LIB_PRIVATE N_NIMCALL(void, close__systemZio_218)(FILE* f);
1449 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, mergeIndexes__packagesZdocutilsZrstgen_7941)(NimStringDesc* dir);
1450 N_LIB_PRIVATE N_NIMCALL(void, commandRstAux__docgen_7252)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename, NimStringDesc* outExt);
1451 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosaddFileExt)(NimStringDesc* filename, NimStringDesc* ext);
1452 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, readFile__systemZio_471)(NimStringDesc* filename);
1453 static N_INLINE(void, nimGCunrefRC1)(void* p);
1454 N_LIB_PRIVATE N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len);
1455 N_LIB_PRIVATE N_NIMCALL(void, genericShallowAssign)(void* dest, void* src, TNimType* mt);
1456 static N_NIMCALL(void, Marker_tyRef__SNRao7b4hOZKnbHC8HR0gg)(void* p, NI op);
1457 N_LIB_PRIVATE N_CLOSURE(void, colonanonymous___docgen_7288)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, NimStringDesc* filename, NimStringDesc* cmd, NI status, NimStringDesc* content, void* ClE_0);
1458 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, pretty__pureZjson_4461)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* node, NI indent);
1459 static N_NIMCALL(void, Marker_tyRef__sHJ3bK9btAJ66R8tJi9bFYHg)(void* p, NI op);
1460 N_LIB_PRIVATE N_CLOSURE(void, colonanonymous___docgen_7310)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, NimStringDesc* filename, NimStringDesc* cmd, NI status, NimStringDesc* content, void* ClE_0);
1461 N_LIB_PRIVATE N_NIMCALL(void, generateTags__docgen_6202)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NimStringDesc** r);
1462 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, genTagsItem__docgen_6196)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* nameNode, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k);
1463 extern TNimType NTIrootobj__ytyiCJqK439aF9cIibuRVpAg_;
1464 N_LIB_PRIVATE TNimType NTIobject__bjZ39beKZKuX6eBUmfaMw0A_;
1465 extern TNimType NTIint__xHTZrq9aYs6boc9bCba0JbpQ_;
1466 extern TNimType NTIconfigref__a8lycfSA25OQltN3OMeBsA_;
1467 N_LIB_PRIVATE TNimType NTIrefobject__V3MI5pMOk7mgnWO9c9b9czAZQ_;
1468 extern TNimType NTIrstgenerator__3jlDCj6GoMg9aZfxlJYSfkA_;
1469 N_LIB_PRIVATE TNimType NTItdocumentor__0qk3QCyMUTRYfKiuiIvI9cA_;
1470 N_LIB_PRIVATE TNimType NTIitemfragment__1E61TU9aUfqHCQZV7JEfWuA_;
1471 extern TNimType NTIbool__VaVACK0bpYmqIQ0mKcHfQQ_;
1472 TNimNode* NimDT___1E61TU9aUfqHCQZV7JEfWuA_isRst[3];
1473 extern TNimType NTIprstnode__atGg6Dddbb7ASNaCLVdS9aA_;
1474 extern TNimType NTIstring__77mFvmsOLKik79ci2hXkHEg_;
1475 N_LIB_PRIVATE TNimType NTIitempre__Wm9aGag2treFuYnXRdy8u9bA_;
1476 extern TNimType NTIpsym__dG2QVH5Z69aMUY38zTqWxaA_;
1477 N_LIB_PRIVATE TNimType NTImodsection__ymlGBP1WaJhPNoGyL0oQ9cg_;
1478 N_LIB_PRIVATE TNimType NTIitem__H9bFFvU3st4d7H9cwvzvRVyw_;
1479 extern TNimType NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_;
1480 N_LIB_PRIVATE TNimType NTIseqLitemT__MnKKQ5PGyDp4x1lUEG41Ag_;
1481 N_LIB_PRIVATE TNimType NTImodsections__cd2h1ZVkPYGBDd9bnwwQT9aw_;
1482 N_LIB_PRIVATE TNimType NTItocitem__jc5WxywzGPY8oy0aHNYXIg_;
1483 N_LIB_PRIVATE TNimType NTIseqLtocitemT__EhfJ5cVWpPFG1tw09ap9co5g_;
1484 N_LIB_PRIVATE TNimType NTIarrayLtsymkind_seqLtocitemTT__tMCB8YK27zH5LQDqBAX6og_;
1485 N_LIB_PRIVATE TNimType NTItable__aJYy01k1JDYeFrFCvIyOlw_;
1486 N_LIB_PRIVATE TNimType NTIkeyvaluepair__PU7VbX9aRt6UwxX09bATz09bg_;
1487 extern TNimType NTIint__rR5Bzr1D5krxoo1NcNyeMA_;
1488 N_LIB_PRIVATE TNimType NTIkeyvaluepairseq__hi4XF2kW6f9aL7Qx8ito3Rw_;
1489 N_LIB_PRIVATE TNimType NTIarrayLtsymkind_tableLsystemOstring_seqLtocitemTTT__faQGT6VwCYDqb60ONtMk0A_;
1490 N_LIB_PRIVATE TNimType NTItocsectionsfinal__z9aXHFNOFP0NmKT9am1vQt9bg_;
1491 extern TNimType NTIstringtableref__n9cmoMXcDs47wYDFGEXuCfw_;
1492 N_LIB_PRIVATE TNimType NTIjsonitem__HvwlrcjKsbWUCdHjiBcfWA_;
1493 extern TNimType NTIjsonnode__zfzzuQ8txrdZAYK0WGWpHg_;
1494 N_LIB_PRIVATE TNimType NTIseqLjsonitemT__3XglYimddjcRJOskKktewA_;
1495 extern TNimType NTItstrtable__f07aOS3dr28kGa5wcE29aFA_;
1496 extern TNimType NTIprstsharedstate__YXv0Ic1rfmWevYoin4lGYw_;
1497 extern TNimType NTIidentcache__lnkYNZP9asc88UfiEGjLrbA_;
1498 extern TNimType NTIpackedset__IhxwDBRi51nGrosBGFKcsA_;
1499 N_LIB_PRIVATE TNimType NTIorderedtable__82OdS5RTON4FvDz04E3cFw_;
1500 N_LIB_PRIVATE TNimType NTIorderedkeyvaluepair__FK7aTjjzjZq5t6qUNlGUDA_;
1501 N_LIB_PRIVATE TNimType NTIexamplegroup58objecttype__fmIjjJC59a002tPvpD7yKSQ_;
1502 N_LIB_PRIVATE TNimType NTIexamplegroup__12SjKZyLpJKBYPLZVcoGLA_;
1503 N_LIB_PRIVATE TNimType NTIorderedkeyvaluepairseq__n1XPc9anZlEQHQuS14lnGwg_;
1504 N_LIB_PRIVATE TNimType NTIpdoc__8sQPpcTOmswNE6K009bf9bnw_;
1505 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_14, "/home/runner/work/nightlies/nightlies/nim/compiler/docgen.nim", 61);
1506 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5fUAZGW8WPeit3fZaQyNXA_13 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_14),
1507 ((NI) 231),
1508 ((NI) 17)}
1509 ;
1510 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_15, "doc.googleAnalytics", 19);
1511 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_16, "<script>\012 (function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){\012 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\012 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\012 })(window,document,\'script\',\'//www.google-analytics.com/analytics.js\',\'ga\');\012\012 ga(\'create\', \'$1\', \'auto\');\012 ga(\'send\', \'pageview\');\012\012</script>\012 ", 402);
1512 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_17, "doc.googleAnalytics", 19);
1513 N_LIB_PRIVATE TNimType NTIobject__c5Z3Q14p7y8mNzZfaVB9b1A_;
1514 N_LIB_PRIVATE TNimType NTIptrtdocumentor__rFcS9b9avKcUgS1A9cH0Nfykw_;
1515 N_LIB_PRIVATE TNimType NTIrefobject__vLZiljicyk62OxuIdb6tJQ_;
1516 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_19, "skip", 4);
1517 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_20, "snippets", 8);
1518 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_21, "_snippet_", 9);
1519 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_22, ".nim", 4);
1520 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_23, "import \"$1\"\012", 12);
1521 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_24, "\\", 1);
1522 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_25, "/", 1);
1523 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_26, "nim ", 4);
1524 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_27, "$nim ", 5);
1525 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_28, "$1", 2);
1526 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_29, "$options", 8);
1527 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_30, "nim", 3);
1528 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_31, "libpath", 7);
1529 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_32, "docCmd", 6);
1530 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_33, "backend", 7);
1531 extern TNimType NTItbackend__4OBsgZ9cscH2JLUE5Wcz01g_;
1532 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_34, "options", 7);
1533 extern NIM_CONST tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q unknownLineInfo__lineinfos_280;
1534 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5fUAZGW8WPeit3fZaQyNXA_36 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_14),
1535 ((NI) 334),
1536 ((NI) 16)}
1537 ;
1538 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_37, "snippet failed: cmd: \'$1\' status: $2 expected: $3 output: $4", 60);
1539 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5fUAZGW8WPeit3fZaQyNXA_38 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_14),
1540 ((NI) 337),
1541 ((NI) 18)}
1542 ;
1543 N_LIB_PRIVATE TNimType NTIobject__CvM9bpa9bcUSX0YhTrauQ9bEg_;
1544 N_LIB_PRIVATE TNimType NTIrefobject__c2g79crEiD9bqYYWD2mguKAA_;
1545 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_40, "@default", 8);
1546 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_41, "@pkg", 4);
1547 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_42, "@path", 5);
1548 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_45, "\'$1\' failed", 11);
1549 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_47, "conf.docRoot.isAbsolute", 23);
1550 static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__5fUAZGW8WPeit3fZaQyNXA_46 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_47)}
1551 ;
1552 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_48, "; conf.docRoot: ", 16);
1553 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5fUAZGW8WPeit3fZaQyNXA_49 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_14),
1554 ((NI) 176),
1555 ((NI) 8)}
1556 ;
1557 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_51, "conf.docRoot.dirExists", 22);
1558 static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__5fUAZGW8WPeit3fZaQyNXA_50 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_51)}
1559 ;
1560 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5fUAZGW8WPeit3fZaQyNXA_52 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_14),
1561 ((NI) 177),
1562 ((NI) 8)}
1563 ;
1564 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_53, "..", 2);
1565 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_54, "_._", 3);
1566 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_55, "docgen.nim(185, 3) `not result.isEmpty` ", 40);
1567 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_56, "docgen.nim(186, 3) `not isAbsolute(result.string)` ", 51);
1568 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_57, "html", 4);
1569 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_58, "doc.deprecationmsg", 18);
1570 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_60, "label", 5);
1571 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_61, "Deprecated", 10);
1572 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_62, "message", 7);
1573 static NIM_CONST tyArray__sMpvt1sOxOJ3LFGulnbeMQ TM__5fUAZGW8WPeit3fZaQyNXA_59 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_60),
1574 ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_61),
1575 ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_62),
1576 ((NimStringDesc*) NIM_NIL)}
1577 ;
1578 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_63, "Deprecated:", 11);
1579 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_64, "docgen.nim(862, 14) `false` ", 28);
1580 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_65, "ref ", 4);
1581 extern TNimType NTItspecialword__ycbpMCRV6Cd2eBh3X9biEiw_;
1582 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_66, "writes", 6);
1583 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_67, "new", 3);
1584 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_68, "escapes", 7);
1585 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_69, "`", 1);
1586 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_70, "##", 2);
1587 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_71, "docgen.nim(694, 14) `result.len == 2` ", 38);
1588 static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__5fUAZGW8WPeit3fZaQyNXA_72 = {
1589 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04,
1590 0x00, 0x06, 0x00, 0x00, 0xc0, 0x00, 0x08, 0x40,
1591 0x20, 0x60, 0x00, 0x00, 0x00}
1592 ;
1593 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_73, "runnableExamples invalid", 24);
1594 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5fUAZGW8WPeit3fZaQyNXA_74 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_14),
1595 ((NI) 533),
1596 ((NI) 40)}
1597 ;
1598 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_75, "string litteral expected", 24);
1599 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5fUAZGW8WPeit3fZaQyNXA_76 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_14),
1600 ((NI) 537),
1601 ((NI) 44)}
1602 ;
1603 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_77, "(", 1);
1604 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_78, ", ", 2);
1605 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_79, ")", 1);
1606 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_80, "autogenerated by docgen\012loc: $1\012rdoccmd: $2", 43);
1607 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_81, "runnableExamples", 16);
1608 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_82, "$#_examples_$#.nim", 18);
1609 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_83, "codeReordering", 14);
1610 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_84, "{.line: $#.}:\012$#\012", 17);
1611 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_85, ",", 1);
1612 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_86, "#[\012$#\012]#\012import $#\012$#\012", 22);
1613 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_87, "import $1\012", 10);
1614 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_88, "import $#\012$#", 12);
1615 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_89, "Example:", 8);
1616 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_90, " cmd: ", 6);
1617 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_91, "\012<p><strong class=\"examples_text\">$1</strong></p>\012", 50);
1618 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_92, "\012\012\\textbf{$1}\012", 14);
1619 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_93, "doc.listing_start", 17);
1620 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_94, "langNim", 7);
1621 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_95, "doc.listing_end", 15);
1622 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_96, "runnableExamples must appear before the first non-comment statement", 67);
1623 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5fUAZGW8WPeit3fZaQyNXA_97 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_14),
1624 ((NI) 661),
1625 ((NI) 18)}
1626 ;
1627 static NIM_CONST tySet_tyChar__nmiMWKVIe46vacnhAFrQvw TM__5fUAZGW8WPeit3fZaQyNXA_98 = {
1628 0x00, 0x3e, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
1629 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1630 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1631 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
1632 ;
1633 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_99, ".m", 2);
1634 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_100, ".e", 2);
1635 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_101, ".i", 2);
1636 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_102, ".t", 2);
1637 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_103, ".c", 2);
1638 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_104, "_", 1);
1639 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_105, "<span class=\"Comment\">$1</span>", 31);
1640 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_106, "\\spanComment{$1}", 16);
1641 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_107, "<span class=\"Keyword\">$1</span>", 31);
1642 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_108, "\\spanKeyword{$1}", 16);
1643 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_109, "<span class=\"Operator\">$1</span>", 32);
1644 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_110, "\\spanOperator{$1}", 17);
1645 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_111, "<span class=\"StringLit\">$1</span>", 33);
1646 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_112, "\\spanStringLit{$1}", 18);
1647 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_113, "<span class=\"CharLit\">$1</span>", 31);
1648 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_114, "\\spanCharLit{$1}", 16);
1649 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_115, "<span class=\"DecNumber\">$1</span>", 33);
1650 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_116, "\\spanDecNumber{$1}", 18);
1651 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_117, "<span class=\"FloatNumber\">$1</span>", 35);
1652 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_118, "\\spanFloatNumber{$1}", 20);
1653 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_119, "<a href=\"#$2\"><span class=\"Identifier\">$1</span></a>", 52);
1654 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_120, "\\spanIdentifier{$1}", 19);
1655 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_121, "<a href=\"$1#$2\"><span class=\"Identifier\">$3</span></a>", 54);
1656 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_122, "<span class=\"Identifier\">$1</span>", 34);
1657 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_123, "\\spanOther{$1}", 14);
1658 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_124, "<span>\012<span class=\"Other pragmadots\">...</span>\012</span>\012<span class=\"pragmawrap\">", 82);
1659 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_125, "\012", 1);
1660 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_126, "</span>", 7);
1661 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_127, "<span class=\"Other\">$1</span>", 29);
1662 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_128, "doc.item.seesrc", 15);
1663 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_129, "git.url", 7);
1664 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_130, "devel", 5);
1665 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_131, "version-$1-$2", 13);
1666 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_132, "git.commit", 10);
1667 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_133, "git.devel", 9);
1668 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_134, "path", 4);
1669 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_135, "line", 4);
1670 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_136, "url", 3);
1671 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_137, "commit", 6);
1672 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_138, "name", 4);
1673 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_139, "uniqueName", 10);
1674 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_140, "header", 6);
1675 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_141, "itemID", 6);
1676 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_142, "header_plain", 12);
1677 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_143, "itemSym", 7);
1678 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_144, "itemSymOrID", 11);
1679 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_145, "itemSymEnc", 10);
1680 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_146, "itemSymOrIDEnc", 14);
1681 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_147, "seeSrc", 6);
1682 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_148, "deprecationMsg", 14);
1683 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_149, "\342\200\246", 3);
1684 static NIM_CONST tySet_tyChar__nmiMWKVIe46vacnhAFrQvw TM__5fUAZGW8WPeit3fZaQyNXA_150 = {
1685 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x00, 0x04,
1686 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1687 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1688 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
1689 ;
1690 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_151, "doc.item.toc", 12);
1691 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_152, "doc.item.tocTable", 17);
1692 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_153, ",<wbr>", 6);
1693 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_154, ": ", 2);
1694 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_155, "false", 5);
1695 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_156, "<a class=\"reference external\" href=\"$2\">$1</a>", 46);
1696 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_157, "<a href=\"$2#$3\"><span class=\"Identifier\">$1</span></a>", 54);
1697 extern TNimType NTIkeyvaluepairseq__7lEisrXlQEzwtUKW5pzRCw_;
1698 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_161, "doc.item", 8);
1699 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_162, "desc", 4);
1700 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_163, "$1_group$2_examples.nim", 23);
1701 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_164, "# autogenerated by docgen\012# source: $1\012# rdoccmd: $2\012$3", 55);
1702 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_165, "$nim $backend -r --lib:$libpath --warning:UnusedImport:off --path:$path --nimcache:$nimcache $rdoccmd $docCmd $file", 115);
1703 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_166, "nimcache", 8);
1704 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_167, "file", 4);
1705 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_168, "rdoccmd", 7);
1706 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_169, "nodejs", 6);
1707 extern NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA ExeExts__pureZos_643;
1708 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_170, "node", 4);
1709 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_172, "Please install NodeJS first, see https://nodejs.org/en/download", 63);
1710 static NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__5fUAZGW8WPeit3fZaQyNXA_171 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_172)}
1711 ;
1712 extern TNimType NTIrefioerror__HMIVdYjdZYWskTmTQVo5BQ_;
1713 extern TNimType NTIioerror__iLZrPn9anoh9ad1MmO0RczFw_;
1714 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_173, "NodeJS not found in PATH: ", 26);
1715 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_174, "nimDebug", 8);
1716 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_175, "options.nim(634, 14) `false` ", 29);
1717 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_176, "[runnableExamples] failed: generated file: \'$1\' group: \'$2\' cmd: $3", 67);
1718 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_177, "rdoccmd: ", 9);
1719 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_178, "docCmd: ", 8);
1720 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_179, "code: ", 6);
1721 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_180, "index: ", 7);
1722 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_181, "runnableExamples: ", 18);
1723 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5fUAZGW8WPeit3fZaQyNXA_182 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_14),
1724 ((NI) 521),
1725 ((NI) 16)}
1726 ;
1727 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_183, "Imports", 7);
1728 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_184, "Types", 5);
1729 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_185, "Vars", 4);
1730 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_186, "Lets", 4);
1731 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_187, "Consts", 6);
1732 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_188, "Procs", 5);
1733 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_189, "Funcs", 5);
1734 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_190, "Methods", 7);
1735 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_191, "Iterators", 9);
1736 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_192, "Converters", 10);
1737 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_193, "Macros", 6);
1738 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_194, "Templates", 9);
1739 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_195, "Exports", 7);
1740 N_LIB_PRIVATE NIM_CONST tyArray__29by1HzZaB30irI9cPdBy9cNw sectionNames__docgen_6259 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_183),
1741 ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_184),
1742 ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_185),
1743 ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_186),
1744 ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_187),
1745 ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_185),
1746 ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_188),
1747 ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_189),
1748 ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_190),
1749 ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_191),
1750 ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_192),
1751 ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_193),
1752 ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_194),
1753 ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_195)}
1754 ;
1755 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_196, "doc.section", 11);
1756 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_197, "sectionid", 9);
1757 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_198, "sectionTitle", 12);
1758 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_199, "sectionTitleID", 14);
1759 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_200, "content", 7);
1760 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_205, "doc.section.toc2", 16);
1761 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_206, "plainName", 9);
1762 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_208, "doc.section.toc", 15);
1763 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_209, "doc.toc", 7);
1764 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_210, "<h2 class=\"subtitle\">$1</h2>", 28);
1765 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_211, "\\\\\\vspace{0.5em}\\large $1", 25);
1766 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_212, "doc.body_toc_groupsection", 25);
1767 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_213, "doc.body_toc_group", 18);
1768 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_214, "doc.body_toc", 12);
1769 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_215, "doc.body_no_toc", 15);
1770 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_216, "title", 5);
1771 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_217, "subtitle", 8);
1772 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_218, "tableofcontents", 15);
1773 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_219, "moduledesc", 10);
1774 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_220, "date", 4);
1775 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_221, "time", 4);
1776 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_222, "theindexhref", 12);
1777 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_223, "theindex.html", 13);
1778 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_224, "body_toc_groupsection", 21);
1779 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_225, "doc.file", 8);
1780 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_226, "nimdoccss", 9);
1781 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_227, "nimdoc.out.css", 14);
1782 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_228, "dochackjs", 9);
1783 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_229, "dochack.js", 10);
1784 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_230, "author", 6);
1785 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_231, "version", 7);
1786 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_232, "analytics", 9);
1787 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5fUAZGW8WPeit3fZaQyNXA_234 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_14),
1788 ((NI) 1441),
1789 ((NI) 16)}
1790 ;
1791 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_235, "$nimr/doc/nimdoc.css", 20);
1792 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_236, "nimdoc.out.css", 14);
1793 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_237, ".idx", 4);
1794 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_238, "comment", 7);
1795 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_239, "type", 4);
1796 extern TNimType NTItsymkind__cNCW9acsSznmEccl1fgQwkw_;
1797 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_240, "col", 3);
1798 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_241, "description", 11);
1799 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_242, "code", 4);
1800 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_243, "signature", 9);
1801 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_244, "return", 6);
1802 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_245, "arguments", 9);
1803 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_246, "default", 7);
1804 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_247, "pragmas", 7);
1805 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_248, "genericParams", 13);
1806 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_249, "types", 5);
1807 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_250, "orig", 4);
1808 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_251, "nimble", 6);
1809 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_252, "moduleDescription", 17);
1810 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_253, "entries", 7);
1811 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_254, "unable to open file \"", 21);
1812 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_255, "\" for writing", 13);
1813 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5fUAZGW8WPeit3fZaQyNXA_256 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_14),
1814 ((NI) 1469),
1815 ((NI) 16)}
1816 ;
1817 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_257, "Index", 5);
1818 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5fUAZGW8WPeit3fZaQyNXA_259 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_14),
1819 ((NI) 1577),
1820 ((NI) 14)}
1821 ;
1822 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_260, "txt", 3);
1823 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_261, "tex", 3);
1824 N_LIB_PRIVATE TNimType NTIobject__jwayR6zaxkEYAMp3GS09bOA_;
1825 N_LIB_PRIVATE TNimType NTIrefobject__SNRao7b4hOZKnbHC8HR0gg_;
1826 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_263, "the \':test:\' attribute is not supported by this backend", 55);
1827 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5fUAZGW8WPeit3fZaQyNXA_264 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_14),
1828 ((NI) 1517),
1829 ((NI) 14)}
1830 ;
1831 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_265, "json", 4);
1832 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5fUAZGW8WPeit3fZaQyNXA_267 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_14),
1833 ((NI) 1533),
1834 ((NI) 16)}
1835 ;
1836 N_LIB_PRIVATE TNimType NTIobject__pwUZDPkEs6xKitbL0Cjk9cQ_;
1837 N_LIB_PRIVATE TNimType NTIrefobject__sHJ3bK9btAJ66R8tJi9bFYHg_;
1838 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5fUAZGW8WPeit3fZaQyNXA_269 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_14),
1839 ((NI) 1541),
1840 ((NI) 14)}
1841 ;
1842 STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_270, "tags", 4);
1843 static NIM_CONST tyTuple__kN8up2W6YKc5YA9avn5mV5w TM__5fUAZGW8WPeit3fZaQyNXA_272 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_14),
1844 ((NI) 1556),
1845 ((NI) 16)}
1846 ;
1847 extern tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__system_5218;
1848 extern TSafePoint* excHandler__system_2565;
1849 extern TSafePoint* excHandler__system_2565;
1850 extern TSafePoint* excHandler__system_2565;
1851 extern TSafePoint* excHandler__system_2565;
1852 extern Exception* currException__system_2566;
1853 extern Exception* currException__system_2566;
1854 extern Exception* currException__system_2566;
N_INLINE(NI,pluspercent___system_696)1855 static N_INLINE(NI, pluspercent___system_696)(NI x, NI y) {
1856 NI result;
1857 result = (NI)0;
1858 result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y))))));
1859 return result;
1860 }
N_INLINE(void,incRef__system_5309)1861 static N_INLINE(void, incRef__system_5309)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
1862 (*c).refcount = pluspercent___system_696((*c).refcount, ((NI) 8));
1863 }
N_INLINE(NI,minuspercent___system_716)1864 static N_INLINE(NI, minuspercent___system_716)(NI x, NI y) {
1865 NI result;
1866 result = (NI)0;
1867 result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y))))));
1868 return result;
1869 }
N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g *,usrToCell__system_5271)1870 static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__system_5271)(void* usr) {
1871 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result;
1872 NI T1_;
1873 result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
1874 T1_ = (NI)0;
1875 T1_ = minuspercent___system_716(((NI) (ptrdiff_t) (usr)), ((NI) 16));
1876 result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_));
1877 return result;
1878 }
N_INLINE(NIM_BOOL,ltpercent___system_1005)1879 static N_INLINE(NIM_BOOL, ltpercent___system_1005)(NI x, NI y) {
1880 NIM_BOOL result;
1881 result = (NIM_BOOL)0;
1882 result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y))));
1883 return result;
1884 }
N_INLINE(void,rtlAddZCT__system_5314)1885 static N_INLINE(void, rtlAddZCT__system_5314)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
1886 addZCT__system_5265((&gch__system_5218.zct), c);
1887 }
N_INLINE(void,decRef__system_5316)1888 static N_INLINE(void, decRef__system_5316)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
1889 (*c).refcount = minuspercent___system_716((*c).refcount, ((NI) 8));
1890 {
1891 NIM_BOOL T3_;
1892 T3_ = (NIM_BOOL)0;
1893 T3_ = ltpercent___system_1005((*c).refcount, ((NI) 8));
1894 if (!T3_) goto LA4_;
1895 rtlAddZCT__system_5314(c);
1896 }
1897 LA4_: ;
1898 }
N_INLINE(void,asgnRef)1899 static N_INLINE(void, asgnRef)(void** dest, void* src) {
1900 {
1901 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
1902 if (!!((src == NIM_NIL))) goto LA3_;
1903 T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
1904 T5_ = usrToCell__system_5271(src);
1905 incRef__system_5309(T5_);
1906 }
1907 LA3_: ;
1908 {
1909 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
1910 if (!!(((*dest) == NIM_NIL))) goto LA8_;
1911 T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
1912 T10_ = usrToCell__system_5271((*dest));
1913 decRef__system_5316(T10_);
1914 }
1915 LA8_: ;
1916 (*dest) = src;
1917 }
N_NIMCALL(void,handleDocOutputOptions__docgen_7237)1918 N_LIB_PRIVATE N_NIMCALL(void, handleDocOutputOptions__docgen_7237)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {
1919 {
1920 if (!(((*conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 33))&63U)))!=0)) goto LA3_;
1921 asgnRef((void**) (&(*conf).outDir), slash___pathutils_89((*conf).outDir, (*conf).outFile));
1922 }
1923 LA3_: ;
1924 }
N_NIMCALL(void,Marker_tyRef__V3MI5pMOk7mgnWO9c9b9czAZQ)1925 static N_NIMCALL(void, Marker_tyRef__V3MI5pMOk7mgnWO9c9b9czAZQ)(void* p, NI op) {
1926 tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A* a;
1927 a = (tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A*)p;
1928 nimGCvisit((void*)(*a).conf1, op);
1929 }
N_NIMCALL(void,Marker_tySequence__Wm9aGag2treFuYnXRdy8u9bA)1930 static N_NIMCALL(void, Marker_tySequence__Wm9aGag2treFuYnXRdy8u9bA)(void* p, NI op) {
1931 tySequence__Wm9aGag2treFuYnXRdy8u9bA* a;
1932 NI T1_;
1933 a = (tySequence__Wm9aGag2treFuYnXRdy8u9bA*)p;
1934 T1_ = (NI)0;
1935 for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
1936 switch (a->data[T1_].isRst) {
1937 case NIM_TRUE:
1938 nimGCvisit((void*)a->data[T1_]._isRst_1.rst, op);
1939 break;
1940 case NIM_FALSE:
1941 nimGCvisit((void*)a->data[T1_]._isRst_2.str, op);
1942 break;
1943 }
1944 }
1945 }
N_NIMCALL(void,Marker_tySequence__MnKKQ5PGyDp4x1lUEG41Ag)1946 static N_NIMCALL(void, Marker_tySequence__MnKKQ5PGyDp4x1lUEG41Ag)(void* p, NI op) {
1947 tySequence__MnKKQ5PGyDp4x1lUEG41Ag* a;
1948 NI T1_;
1949 a = (tySequence__MnKKQ5PGyDp4x1lUEG41Ag*)p;
1950 T1_ = (NI)0;
1951 for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
1952 nimGCvisit((void*)a->data[T1_].descRst, op);
1953 nimGCvisit((void*)a->data[T1_].substitutions, op);
1954 nimGCvisit((void*)a->data[T1_].sortName, op);
1955 }
1956 }
N_NIMCALL(void,Marker_tySequence__EhfJ5cVWpPFG1tw09ap9co5g)1957 static N_NIMCALL(void, Marker_tySequence__EhfJ5cVWpPFG1tw09ap9co5g)(void* p, NI op) {
1958 tySequence__EhfJ5cVWpPFG1tw09ap9co5g* a;
1959 NI T1_;
1960 a = (tySequence__EhfJ5cVWpPFG1tw09ap9co5g*)p;
1961 T1_ = (NI)0;
1962 for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
1963 nimGCvisit((void*)a->data[T1_].content, op);
1964 nimGCvisit((void*)a->data[T1_].sortName, op);
1965 }
1966 }
N_NIMCALL(void,Marker_tySequence__hi4XF2kW6f9aL7Qx8ito3Rw)1967 static N_NIMCALL(void, Marker_tySequence__hi4XF2kW6f9aL7Qx8ito3Rw)(void* p, NI op) {
1968 tySequence__hi4XF2kW6f9aL7Qx8ito3Rw* a;
1969 NI T1_;
1970 a = (tySequence__hi4XF2kW6f9aL7Qx8ito3Rw*)p;
1971 T1_ = (NI)0;
1972 for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
1973 nimGCvisit((void*)a->data[T1_].Field1, op);
1974 nimGCvisit((void*)a->data[T1_].Field2, op);
1975 }
1976 }
N_NIMCALL(void,Marker_tySequence__3XglYimddjcRJOskKktewA)1977 static N_NIMCALL(void, Marker_tySequence__3XglYimddjcRJOskKktewA)(void* p, NI op) {
1978 tySequence__3XglYimddjcRJOskKktewA* a;
1979 NI T1_;
1980 a = (tySequence__3XglYimddjcRJOskKktewA*)p;
1981 T1_ = (NI)0;
1982 for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
1983 nimGCvisit((void*)a->data[T1_].json, op);
1984 nimGCvisit((void*)a->data[T1_].rst, op);
1985 nimGCvisit((void*)a->data[T1_].rstField, op);
1986 }
1987 }
N_NIMCALL(void,Marker_tyRef__12SjKZyLpJKBYPLZVcoGLA)1988 static N_NIMCALL(void, Marker_tyRef__12SjKZyLpJKBYPLZVcoGLA)(void* p, NI op) {
1989 tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ* a;
1990 a = (tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ*)p;
1991 nimGCvisit((void*)(*a).rdoccmd, op);
1992 nimGCvisit((void*)(*a).docCmd, op);
1993 nimGCvisit((void*)(*a).code, op);
1994 }
N_NIMCALL(void,Marker_tySequence__n1XPc9anZlEQHQuS14lnGwg)1995 static N_NIMCALL(void, Marker_tySequence__n1XPc9anZlEQHQuS14lnGwg)(void* p, NI op) {
1996 tySequence__n1XPc9anZlEQHQuS14lnGwg* a;
1997 NI T1_;
1998 a = (tySequence__n1XPc9anZlEQHQuS14lnGwg*)p;
1999 T1_ = (NI)0;
2000 for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
2001 nimGCvisit((void*)a->data[T1_].Field2, op);
2002 nimGCvisit((void*)a->data[T1_].Field3, op);
2003 }
2004 }
N_NIMCALL(void,Marker_tyRef__8sQPpcTOmswNE6K009bf9bnw)2005 static N_NIMCALL(void, Marker_tyRef__8sQPpcTOmswNE6K009bf9bnw)(void* p, NI op) {
2006 tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* a;
2007 NI T1_;
2008 NI T2_;
2009 NI T3_;
2010 NI T4_;
2011 NI T5_;
2012 NI T6_;
2013 NI T7_;
2014 a = (tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA*)p;
2015 nimGCvisit((void*)(*a).Sup.config, op);
2016 nimGCvisit((void*)(*a).Sup.tocPart, op);
2017 nimGCvisit((void*)(*a).Sup.theIndex, op);
2018 nimGCvisit((void*)(*a).Sup.findFile.ClE_0, op);
2019 nimGCvisit((void*)(*a).Sup.msgHandler.ClE_0, op);
2020 nimGCvisit((void*)(*a).Sup.outDir, op);
2021 nimGCvisit((void*)(*a).Sup.destFile, op);
2022 nimGCvisit((void*)(*a).Sup.filenames.filenameToIdx.data, op);
2023 nimGCvisit((void*)(*a).Sup.filenames.idxToFilename, op);
2024 nimGCvisit((void*)(*a).Sup.filename, op);
2025 T1_ = (NI)0;
2026 for (T1_ = 0; T1_ < 5; T1_++) {
2027 nimGCvisit((void*)(*a).Sup.meta[T1_], op);
2028 }
2029 nimGCvisit((void*)(*a).Sup.currentSection, op);
2030 nimGCvisit((void*)(*a).Sup.seenIndexTerms.data, op);
2031 nimGCvisit((void*)(*a).Sup.onTestSnippet.ClE_0, op);
2032 nimGCvisit((void*)(*a).modDescPre, op);
2033 nimGCvisit((void*)(*a).modDescFinal, op);
2034 nimGCvisit((void*)(*a).module, op);
2035 nimGCvisit((void*)(*a).modDeprecationMsg, op);
2036 T2_ = (NI)0;
2037 for (T2_ = 0; T2_ < 26; T2_++) {
2038 nimGCvisit((void*)(*a).section[T2_].secItems, op);
2039 nimGCvisit((void*)(*a).section[T2_].finalMarkup, op);
2040 }
2041 T3_ = (NI)0;
2042 for (T3_ = 0; T3_ < 26; T3_++) {
2043 nimGCvisit((void*)(*a).tocSimple[T3_], op);
2044 }
2045 T4_ = (NI)0;
2046 for (T4_ = 0; T4_ < 26; T4_++) {
2047 nimGCvisit((void*)(*a).tocTable[T4_].data, op);
2048 }
2049 T5_ = (NI)0;
2050 for (T5_ = 0; T5_ < 26; T5_++) {
2051 nimGCvisit((void*)(*a).toc2[T5_], op);
2052 }
2053 T6_ = (NI)0;
2054 for (T6_ = 0; T6_ < 26; T6_++) {
2055 nimGCvisit((void*)(*a).toc[T6_], op);
2056 }
2057 nimGCvisit((void*)(*a).indexValFilename, op);
2058 nimGCvisit((void*)(*a).analytics, op);
2059 nimGCvisit((void*)(*a).seenSymbols, op);
2060 nimGCvisit((void*)(*a).jEntriesPre, op);
2061 nimGCvisit((void*)(*a).jEntriesFinal, op);
2062 nimGCvisit((void*)(*a).types.data, op);
2063 nimGCvisit((void*)(*a).sharedState, op);
2064 nimGCvisit((void*)(*a).conf, op);
2065 nimGCvisit((void*)(*a).cache, op);
2066 nimGCvisit((void*)(*a).emitted.head, op);
2067 nimGCvisit((void*)(*a).emitted.data, op);
2068 T7_ = (NI)0;
2069 nimGCvisit((void*)(*a).thisDir, op);
2070 nimGCvisit((void*)(*a).exampleGroups.data, op);
2071 }
N_INLINE(void,nimGCunrefNoCycle)2072 static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
2073 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
2074 T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
2075 T1_ = usrToCell__system_5271(p);
2076 decRef__system_5316(T1_);
2077 }
N_INLINE(NimStringDesc *,slash___pureZos_121)2078 static N_INLINE(NimStringDesc*, slash___pureZos_121)(NimStringDesc* head, NimStringDesc* tail) {
2079 NimStringDesc* result;
2080 result = NIM_NIL;
2081 result = nosjoinPath(head, tail);
2082 return result;
2083 }
N_CLOSURE(NimStringDesc *,docgenFindFile__docgen_374)2084 N_LIB_PRIVATE N_CLOSURE(NimStringDesc*, docgenFindFile__docgen_374)(NimStringDesc* sX60gensym38_, void* ClE_0) {
2085 NimStringDesc* result;
2086 tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A* colonenvP_;
2087 result = NIM_NIL;
2088 colonenvP_ = (tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A*) ClE_0;
2089 result = findFile__options_4490((*colonenvP_).conf1, sX60gensym38_, NIM_FALSE);
2090 {
2091 NimStringDesc* T5_;
2092 if (!((result ? result->Sup.len : 0) == ((NI) 0))) goto LA3_;
2093 T5_ = NIM_NIL;
2094 T5_ = nosgetCurrentDir();
2095 result = slash___pureZos_121(T5_, sX60gensym38_);
2096 {
2097 NIM_BOOL T8_;
2098 T8_ = (NIM_BOOL)0;
2099 T8_ = nosfileExists(result);
2100 if (!!(T8_)) goto LA9_;
2101 result = ((NimStringDesc*) NIM_NIL);
2102 }
2103 LA9_: ;
2104 }
2105 LA3_: ;
2106 return result;
2107 }
N_INLINE(void,nimSetMem__systemZmemory_7)2108 static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size) {
2109 void* T1_;
2110 T1_ = (void*)0;
2111 T1_ = memset(a, v, ((size_t) (size)));
2112 }
N_INLINE(void,nimZeroMem)2113 static N_INLINE(void, nimZeroMem)(void* p, NI size) {
2114 nimSetMem__systemZmemory_7(p, ((int) 0), size);
2115 }
N_INLINE(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q,newLineInfo__msgs_398)2116 static N_INLINE(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q, newLineInfo__msgs_398)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename, NI line, NI col) {
2117 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q result;
2118 NI32 T1_;
2119 nimZeroMem((void*)(&result), sizeof(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q));
2120 T1_ = (NI32)0;
2121 T1_ = fileInfoIdx__msgs_376(conf, filename);
2122 result = newLineInfo__msgs_381(T1_, line, col);
2123 return result;
2124 }
N_CLOSURE(void,compilerMsgHandler__docgen_367)2125 N_LIB_PRIVATE N_CLOSURE(void, compilerMsgHandler__docgen_367)(NimStringDesc* filenameX60gensym38_, NI lineX60gensym38_, NI colX60gensym38_, tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ msgKindX60gensym38_, NimStringDesc* argX60gensym38_, void* ClE_0) {
2126 tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A* colonenvP_;
2127 tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w kX60gensym38_;
2128 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q T16_;
2129 colonenvP_ = (tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A*) ClE_0;
2130 kX60gensym38_ = (tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w)0;
2131 switch (msgKindX60gensym38_) {
2132 case ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ) 0):
2133 {
2134 kX60gensym38_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 4);
2135 }
2136 break;
2137 case ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ) 1):
2138 {
2139 kX60gensym38_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 5);
2140 }
2141 break;
2142 case ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ) 2):
2143 {
2144 kX60gensym38_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 6);
2145 }
2146 break;
2147 case ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ) 3):
2148 {
2149 kX60gensym38_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 7);
2150 }
2151 break;
2152 case ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ) 4):
2153 {
2154 kX60gensym38_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 8);
2155 }
2156 break;
2157 case ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ) 5):
2158 {
2159 kX60gensym38_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 9);
2160 }
2161 break;
2162 case ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ) 6):
2163 {
2164 kX60gensym38_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 10);
2165 }
2166 break;
2167 case ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ) 7):
2168 {
2169 kX60gensym38_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 11);
2170 }
2171 break;
2172 case ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ) 8):
2173 {
2174 kX60gensym38_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 12);
2175 }
2176 break;
2177 case ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ) 9):
2178 {
2179 kX60gensym38_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 25);
2180 }
2181 break;
2182 case ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ) 10):
2183 {
2184 kX60gensym38_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 26);
2185 }
2186 break;
2187 case ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ) 11):
2188 {
2189 kX60gensym38_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 27);
2190 }
2191 break;
2192 case ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ) 12):
2193 {
2194 kX60gensym38_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 28);
2195 }
2196 break;
2197 case ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ) 13):
2198 {
2199 kX60gensym38_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 29);
2200 }
2201 break;
2202 case ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ) 14):
2203 {
2204 kX60gensym38_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 30);
2205 }
2206 break;
2207 }
2208 T16_ = newLineInfo__msgs_398((*colonenvP_).conf1, filenameX60gensym38_, lineX60gensym38_, colX60gensym38_);
2209 liMessage__msgs_1118((*colonenvP_).conf1, T16_, kX60gensym38_, argX60gensym38_, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 2), TM__5fUAZGW8WPeit3fZaQyNXA_13, NIM_FALSE);
2210 }
N_NIMCALL(NIM_BOOL,isLatexCmd__docgen_345)2211 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isLatexCmd__docgen_345)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {
2212 NIM_BOOL result;
2213 result = (NIM_BOOL)0;
2214 result = ((163840 &((NU32)1<<((NU)((*conf).cmd)&31U)))!=0);
2215 return result;
2216 }
N_NIMCALL(void,Marker_tyRef__vLZiljicyk62OxuIdb6tJQ)2217 static N_NIMCALL(void, Marker_tyRef__vLZiljicyk62OxuIdb6tJQ)(void* p, NI op) {
2218 tyObject_Env_docgendotnim_colonanonymous___c5Z3Q14p7y8mNzZfaVB9b1A* a;
2219 a = (tyObject_Env_docgendotnim_colonanonymous___c5Z3Q14p7y8mNzZfaVB9b1A*)p;
2220 nimGCvisit((void*)(*a).outp2, op);
2221 }
N_INLINE(int,nimCmpMem)2222 static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size) {
2223 int result;
2224 result = (int)0;
2225 result = memcmp(a, b, ((size_t) (size)));
2226 return result;
2227 }
N_INLINE(NIM_BOOL,equalMem__system_1735)2228 static N_INLINE(NIM_BOOL, equalMem__system_1735)(void* a, void* b, NI size) {
2229 NIM_BOOL result;
2230 int T1_;
2231 result = (NIM_BOOL)0;
2232 T1_ = (int)0;
2233 T1_ = nimCmpMem(a, b, size);
2234 result = (T1_ == ((NI32) 0));
2235 return result;
2236 }
N_INLINE(NIM_BOOL,eqStrings)2237 static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) {
2238 NIM_BOOL result;
2239 NI alen;
2240 NI blen;
2241 { result = (NIM_BOOL)0;
2242 alen = (a ? a->Sup.len : 0);
2243 blen = (b ? b->Sup.len : 0);
2244 {
2245 if (!(alen == blen)) goto LA3_;
2246 {
2247 if (!(alen == ((NI) 0))) goto LA7_;
2248 result = NIM_TRUE;
2249 goto BeforeRet_;
2250 }
2251 LA7_: ;
2252 result = equalMem__system_1735(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen)));
2253 goto BeforeRet_;
2254 }
2255 LA3_: ;
2256 }BeforeRet_: ;
2257 return result;
2258 }
N_INLINE(void,nimCopyMem)2259 static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) {
2260 void* T1_;
2261 T1_ = (void*)0;
2262 T1_ = memcpy(dest, source, ((size_t) (size)));
2263 }
N_INLINE(void,copyMem__system_1727)2264 static N_INLINE(void, copyMem__system_1727)(void* dest, void* source, NI size) {
2265 nimCopyMem(dest, source, size);
2266 }
N_INLINE(void,appendString)2267 static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
2268 {
2269 if (!!((src == ((NimStringDesc*) NIM_NIL)))) goto LA3_;
2270 copyMem__system_1727(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
2271 (*dest).Sup.len += (*src).Sup.len;
2272 }
2273 LA3_: ;
2274 }
N_INLINE(NimStringDesc *,X5BX5D___pureZunicode_3215)2275 static N_INLINE(NimStringDesc*, X5BX5D___pureZunicode_3215)(NimStringDesc* s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x) {
2276 NimStringDesc* result;
2277 NI a;
2278 NI L;
2279 result = NIM_NIL;
2280 a = x.a;
2281 L = (NI)((NI)((NI)((s ? s->Sup.len : 0) - x.b) - a) + ((NI) 1));
2282 result = mnewString(((NI) (L)));
2283 {
2284 NI i;
2285 NI i_2;
2286 i = (NI)0;
2287 i_2 = ((NI) 0);
2288 {
2289 while (1) {
2290 if (!(i_2 < L)) goto LA3;
2291 i = i_2;
2292 result->data[i] = s->data[(NI)(i + a)];
2293 i_2 += ((NI) 1);
2294 } LA3: ;
2295 }
2296 }
2297 return result;
2298 }
N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA,dotdot___stdZenumutils_80)2299 static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___stdZenumutils_80)(NI a, NI b) {
2300 tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA result;
2301 nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA));
2302 nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA));
2303 result.a = a;
2304 result.b = b;
2305 return result;
2306 }
N_CLOSURE(NimStringDesc *,interpSnippetCmd__docgen_400)2307 N_LIB_PRIVATE N_CLOSURE(NimStringDesc*, interpSnippetCmd__docgen_400)(NimStringDesc* cmd, void* ClE_0) {
2308 NimStringDesc* result;
2309 tyObject_Env_docgendotnim_colonanonymous___c5Z3Q14p7y8mNzZfaVB9b1A* colonenvP_;
2310 NimStringDesc* T10_;
2311 tyArray__meGd17iD6izZVY5NTv9bHUA T11_;
2312 NimStringDesc* T12_;
2313 result = NIM_NIL;
2314 colonenvP_ = (tyObject_Env_docgendotnim_colonanonymous___c5Z3Q14p7y8mNzZfaVB9b1A*) ClE_0;
2315 {
2316 NIM_BOOL T3_;
2317 NimStringDesc* T6_;
2318 tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T7_;
2319 NimStringDesc* T8_;
2320 T3_ = (NIM_BOOL)0;
2321 T3_ = nsuStartsWith(cmd, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_26));
2322 if (!T3_) goto LA4_;
2323 T6_ = NIM_NIL;
2324 T7_ = dotdot___stdZenumutils_80(((NI) 4), ((NI) 1));
2325 T8_ = NIM_NIL;
2326 T8_ = X5BX5D___pureZunicode_3215(cmd, T7_);
2327 T6_ = rawNewString((T8_ ? T8_->Sup.len : 0) + 5);
2328 appendString(T6_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_27));
2329 appendString(T6_, T8_);
2330 result = T6_;
2331 }
2332 goto LA1_;
2333 LA4_: ;
2334 {
2335 result = copyString(cmd);
2336 }
2337 LA1_: ;
2338 T10_ = NIM_NIL;
2339 T10_ = nsuReplaceStr(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_28), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_29));
2340 nimZeroMem((void*)T11_, sizeof(tyArray__meGd17iD6izZVY5NTv9bHUA));
2341 T11_[0] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_30));
2342 T12_ = NIM_NIL;
2343 T12_ = nosgetAppFilename();
2344 T11_[1] = nospquoteShell(T12_);
2345 T11_[2] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_31));
2346 T11_[3] = nospquoteShell((*(*(*colonenvP_).d1).conf).libpath);
2347 T11_[4] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_32));
2348 T11_[5] = copyString((*(*(*colonenvP_).d1).conf).docCmd);
2349 T11_[6] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_33));
2350 T11_[7] = reprEnum((NI)(*(*(*colonenvP_).d1).conf).backend, (&NTItbackend__4OBsgZ9cscH2JLUE5Wcz01g_));
2351 T11_[8] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_34));
2352 T11_[9] = nospquoteShell((*colonenvP_).outp2);
2353 result = nsuFormatOpenArray(T10_, T11_, 10);
2354 return result;
2355 }
N_CLOSURE(void,colonanonymous___docgen_385)2356 N_LIB_PRIVATE N_CLOSURE(void, colonanonymous___docgen_385)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* gen, NimStringDesc* filename, NimStringDesc* cmd, NI status, NimStringDesc* content, void* ClE_0) {
2357 tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A* colonenvP_;
2358 tyObject_Env_docgendotnim_colonanonymous___c5Z3Q14p7y8mNzZfaVB9b1A* colonenv_;
2359 tyTuple__7q7q3E6Oj24ZNVJb9aonhAg T22_;
2360 NimStringDesc* importStmt;
2361 NimStringDesc* T29_;
2362 NimStringDesc* cmd_2;
2363 tyProc__oFHfEKFsiYTMAy9a42cSiKw T30_;
2364 tyTuple__XOVT24GHXwqiEj5GCsEGCA T31_;
2365 NimStringDesc* output;
2366 NI gotten;
2367 { colonenvP_ = (tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A*) ClE_0;
2368 colonenv_ = NIM_NIL;
2369 colonenv_ = (tyObject_Env_docgendotnim_colonanonymous___c5Z3Q14p7y8mNzZfaVB9b1A*) newObj((&NTIrefobject__vLZiljicyk62OxuIdb6tJQ_), sizeof(tyObject_Env_docgendotnim_colonanonymous___c5Z3Q14p7y8mNzZfaVB9b1A));
2370 (*colonenv_).Sup.m_type = (&NTIobject__c5Z3Q14p7y8mNzZfaVB9b1A_);
2371 {
2372 if (!eqStrings((*(*colonenvP_).conf1).docCmd, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_19))) goto LA3_;
2373 goto BeforeRet_;
2374 }
2375 LA3_: ;
2376 (*gen).id += ((NI) 1);
2377 (*colonenv_).d1 = (*((tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA**) (&(gen))));
2378 asgnRef((void**) (&(*colonenv_).outp2), NIM_NIL);
2379 {
2380 NimStringDesc* nameOnly;
2381 tyTuple__7q7q3E6Oj24ZNVJb9aonhAg T9_;
2382 NimStringDesc* T10_;
2383 NimStringDesc* T11_;
2384 NimStringDesc* T12_;
2385 NimStringDesc* T13_;
2386 NimStringDesc* T14_;
2387 if (!((filename ? filename->Sup.len : 0) == ((NI) 0))) goto LA7_;
2388 nimZeroMem((void*)(&T9_), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg));
2389 nossplitFile((*(*colonenv_).d1).Sup.filename, (&T9_));
2390 nameOnly = T9_.Field1;
2391 T10_ = NIM_NIL;
2392 T10_ = getNimcacheDir__options_4183((*colonenvP_).conf1);
2393 T11_ = NIM_NIL;
2394 T11_ = slash___pathutils_111(T10_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_20));
2395 T12_ = NIM_NIL;
2396 T12_ = slash___pathutils_111(T11_, nameOnly);
2397 T13_ = NIM_NIL;
2398 T14_ = NIM_NIL;
2399 T14_ = dollar___systemZdollars_3((*(*colonenv_).d1).Sup.id);
2400 T13_ = rawNewString((nameOnly ? nameOnly->Sup.len : 0) + (T14_ ? T14_->Sup.len : 0) + 13);
2401 appendString(T13_, nameOnly);
2402 appendString(T13_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_21));
2403 appendString(T13_, T14_);
2404 appendString(T13_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_22));
2405 asgnRef((void**) (&(*colonenv_).outp2), slash___pathutils_89(T12_, T13_));
2406 }
2407 goto LA5_;
2408 LA7_: ;
2409 {
2410 NIM_BOOL T16_;
2411 NimStringDesc* T19_;
2412 T16_ = (NIM_BOOL)0;
2413 T16_ = nosisAbsolute(filename);
2414 if (!T16_) goto LA17_;
2415 T19_ = NIM_NIL;
2416 T19_ = (*colonenv_).outp2; (*colonenv_).outp2 = copyStringRC1(filename);
2417 if (T19_) nimGCunrefNoCycle(T19_);
2418 }
2419 goto LA5_;
2420 LA17_: ;
2421 {
2422 NimStringDesc* nameOnly_2;
2423 tyTuple__7q7q3E6Oj24ZNVJb9aonhAg T21_;
2424 nimZeroMem((void*)(&T21_), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg));
2425 nossplitFile((*(*colonenv_).d1).Sup.filename, (&T21_));
2426 nameOnly_2 = T21_.Field1;
2427 asgnRef((void**) (&(*colonenv_).outp2), slash___pathutils_89(nameOnly_2, filename));
2428 }
2429 LA5_: ;
2430 nimZeroMem((void*)(&T22_), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg));
2431 splitFile__pathutils_26((*colonenv_).outp2, (&T22_));
2432 noscreateDir(T22_.Field0);
2433 {
2434 if (!(*(*colonenv_).d1).isPureRst) goto LA25_;
2435 importStmt = ((NimStringDesc*) NIM_NIL);
2436 }
2437 goto LA23_;
2438 LA25_: ;
2439 {
2440 tyArray__nHXaesL0DJZHyVS07ARPRA T28_;
2441 nimZeroMem((void*)T28_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
2442 T28_[0] = nsuReplaceStr((*(*colonenv_).d1).Sup.filename, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_24), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_25));
2443 importStmt = nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_23), T28_, 1);
2444 }
2445 LA23_: ;
2446 T29_ = NIM_NIL;
2447 T29_ = rawNewString((importStmt ? importStmt->Sup.len : 0) + (content ? content->Sup.len : 0) + 0);
2448 appendString(T29_, importStmt);
2449 appendString(T29_, content);
2450 writeFile__systemZio_476((*colonenv_).outp2, T29_);
2451 nimZeroMem((void*)(&T30_), sizeof(tyProc__oFHfEKFsiYTMAy9a42cSiKw));
2452 T30_.ClP_0 = interpSnippetCmd__docgen_400; T30_.ClE_0 = colonenv_;
2453 cmd_2 = T30_.ClE_0? T30_.ClP_0(cmd, T30_.ClE_0):((TM__5fUAZGW8WPeit3fZaQyNXA_35)(T30_.ClP_0))(cmd);
2454 liMessage__msgs_1118((*colonenvP_).conf1, unknownLineInfo__lineinfos_280, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 89), cmd_2, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 1), TM__5fUAZGW8WPeit3fZaQyNXA_36, NIM_FALSE);
2455 nimZeroMem((void*)(&T31_), sizeof(tyTuple__XOVT24GHXwqiEj5GCsEGCA));
2456 execCmdEx__pureZosproc_1164(cmd_2, 10, ((tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg*) NIM_NIL), ((NimStringDesc*) NIM_NIL), ((NimStringDesc*) NIM_NIL), (&T31_));
2457 output = NIM_NIL;
2458 output = T31_.Field0;
2459 gotten = (NI)0;
2460 gotten = T31_.Field1;
2461 {
2462 tyArray__sMpvt1sOxOJ3LFGulnbeMQ T36_;
2463 NimStringDesc* T37_;
2464 if (!!((gotten == status))) goto LA34_;
2465 nimZeroMem((void*)T36_, sizeof(tyArray__sMpvt1sOxOJ3LFGulnbeMQ));
2466 T36_[0] = copyString(cmd_2);
2467 T36_[1] = dollar___systemZdollars_3(gotten);
2468 T36_[2] = dollar___systemZdollars_3(status);
2469 T36_[3] = copyString(output);
2470 T37_ = NIM_NIL;
2471 T37_ = nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_37), T36_, 4);
2472 liMessage__msgs_1118((*colonenvP_).conf1, unknownLineInfo__lineinfos_280, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), T37_, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 1), TM__5fUAZGW8WPeit3fZaQyNXA_38, NIM_FALSE);
2473 }
2474 LA34_: ;
2475 }BeforeRet_: ;
2476 }
N_INLINE(void,initIntSet__pureZcollectionsZintsets_238)2477 static N_INLINE(void, initIntSet__pureZcollectionsZintsets_238)(tyObject_PackedSet__IhxwDBRi51nGrosBGFKcsA* Result) {
2478 initPackedSet__pureZcollectionsZintsets_16(Result);
2479 }
N_INLINE(NIM_BOOL,isEmpty__options_4049)2480 static N_INLINE(NIM_BOOL, isEmpty__options_4049)(NimStringDesc* x) {
2481 NIM_BOOL result;
2482 result = (NIM_BOOL)0;
2483 result = ((x ? x->Sup.len : 0) == ((NI) 0));
2484 return result;
2485 }
N_NIMCALL(NimStringDesc *,getOutFile2__docgen_331)2486 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getOutFile2__docgen_331)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename, NimStringDesc* ext, NIM_BOOL guessTarget) {
2487 NimStringDesc* result;
2488 result = NIM_NIL;
2489 {
2490 NIM_BOOL T3_;
2491 NimStringDesc* d;
2492 NimStringDesc* T7_;
2493 T3_ = (NIM_BOOL)0;
2494 T3_ = (((*conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 33))&63U)))!=0);
2495 if (T3_) goto LA4_;
2496 T3_ = guessTarget;
2497 LA4_: ;
2498 if (!T3_) goto LA5_;
2499 d = (*conf).outDir;
2500 noscreateDir(d);
2501 T7_ = NIM_NIL;
2502 T7_ = noschangeFileExt(filename, ext);
2503 result = slash___pathutils_89(d, T7_);
2504 }
2505 goto LA1_;
2506 LA5_: ;
2507 {
2508 NIM_BOOL T9_;
2509 T9_ = (NIM_BOOL)0;
2510 T9_ = isEmpty__options_4049((*conf).outFile);
2511 if (!!(T9_)) goto LA10_;
2512 result = absOutFile__options_4038(conf);
2513 }
2514 goto LA1_;
2515 LA10_: ;
2516 {
2517 result = getOutFile__options_4028(conf, filename, ext);
2518 }
2519 LA1_: ;
2520 return result;
2521 }
N_NIMCALL(void,Marker_tyRef__c2g79crEiD9bqYYWD2mguKAA)2522 static N_NIMCALL(void, Marker_tyRef__c2g79crEiD9bqYYWD2mguKAA)(void* p, NI op) {
2523 tyObject_Env_docgendotnim_presentationPath___CvM9bpa9bcUSX0YhTrauQ9bEg* a;
2524 a = (tyObject_Env_docgendotnim_presentationPath___CvM9bpa9bcUSX0YhTrauQ9bEg*)p;
2525 nimGCvisit((void*)(*a).conf1, op);
2526 nimGCvisit((void*)(*a).file22, op);
2527 }
N_CLOSURE(NimStringDesc *,nimbleDir__docgen_202)2528 N_LIB_PRIVATE N_CLOSURE(NimStringDesc*, nimbleDir__docgen_202)(void* ClE_0) {
2529 NimStringDesc* result;
2530 tyObject_Env_docgendotnim_presentationPath___CvM9bpa9bcUSX0YhTrauQ9bEg* colonenvP_;
2531 NimStringDesc* T1_;
2532 result = NIM_NIL;
2533 colonenvP_ = (tyObject_Env_docgendotnim_presentationPath___CvM9bpa9bcUSX0YhTrauQ9bEg*) ClE_0;
2534 T1_ = NIM_NIL;
2535 T1_ = getNimbleFile__options_4126((*colonenvP_).conf1, (*colonenvP_).file22);
2536 result = nosparentDir(T1_);
2537 return result;
2538 }
N_INLINE(NIM_BOOL,isEmpty__pathutils_93)2539 static N_INLINE(NIM_BOOL, isEmpty__pathutils_93)(NimStringDesc* x) {
2540 NIM_BOOL result;
2541 result = (NIM_BOOL)0;
2542 result = ((x ? x->Sup.len : 0) == ((NI) 0));
2543 return result;
2544 }
N_NIMCALL(NimStringDesc *,presentationPath__docgen_193)2545 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, presentationPath__docgen_193)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* file) {
2546 NimStringDesc* result;
2547 tyObject_Env_docgendotnim_presentationPath___CvM9bpa9bcUSX0YhTrauQ9bEg* colonenv_;
2548 result = NIM_NIL;
2549 colonenv_ = NIM_NIL;
2550 colonenv_ = (tyObject_Env_docgendotnim_presentationPath___CvM9bpa9bcUSX0YhTrauQ9bEg*) newObj((&NTIrefobject__c2g79crEiD9bqYYWD2mguKAA_), sizeof(tyObject_Env_docgendotnim_presentationPath___CvM9bpa9bcUSX0YhTrauQ9bEg));
2551 (*colonenv_).Sup.m_type = (&NTIobject__CvM9bpa9bcUSX0YhTrauQ9bEg_);
2552 asgnRef((void**) (&(*colonenv_).conf1), conf);
2553 asgnRef((void**) (&(*colonenv_).file22), dollar___options_4373(file));
2554 if (eqStrings((*(*colonenv_).conf1).docRoot, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_40))) goto LA1_;
2555 if (eqStrings((*(*colonenv_).conf1).docRoot, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_41))) goto LA2_;
2556 if (eqStrings((*(*colonenv_).conf1).docRoot, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_42))) goto LA3_;
2557 goto LA4_;
2558 LA1_: ;
2559 {
2560 NimStringDesc* dir;
2561 tyProc__LCMSFwcIs5O0HdDmqpX05g T7_;
2562 result = getRelativePathFromConfigPath__options_4368((*colonenv_).conf1, file, NIM_FALSE);
2563 nimZeroMem((void*)(&T7_), sizeof(tyProc__LCMSFwcIs5O0HdDmqpX05g));
2564 T7_.ClP_0 = nimbleDir__docgen_202; T7_.ClE_0 = colonenv_;
2565 dir = T7_.ClE_0? T7_.ClP_0(T7_.ClE_0):((TM__5fUAZGW8WPeit3fZaQyNXA_43)(T7_.ClP_0))();
2566 {
2567 NIM_BOOL T10_;
2568 NimStringDesc* result2;
2569 T10_ = (NIM_BOOL)0;
2570 T10_ = isEmpty__pathutils_93(dir);
2571 if (!!(T10_)) goto LA11_;
2572 result2 = relativeTo__pathutils_132(file, dir, 47);
2573 {
2574 NIM_BOOL T15_;
2575 NIM_BOOL T16_;
2576 NIM_BOOL T18_;
2577 T15_ = (NIM_BOOL)0;
2578 T16_ = (NIM_BOOL)0;
2579 T16_ = isEmpty__options_4049(result2);
2580 T15_ = !(T16_);
2581 if (!(T15_)) goto LA17_;
2582 T18_ = (NIM_BOOL)0;
2583 T18_ = isEmpty__options_4049(result);
2584 if (T18_) goto LA19_;
2585 T18_ = ((result2 ? result2->Sup.len : 0) < (result ? result->Sup.len : 0));
2586 LA19_: ;
2587 T15_ = T18_;
2588 LA17_: ;
2589 if (!T15_) goto LA20_;
2590 result = copyString(result2);
2591 }
2592 LA20_: ;
2593 }
2594 LA11_: ;
2595 {
2596 NIM_BOOL T24_;
2597 T24_ = (NIM_BOOL)0;
2598 T24_ = isEmpty__options_4049(result);
2599 if (!T24_) goto LA25_;
2600 result = relativeTo__pathutils_132(file, (*(*colonenv_).conf1).projectPath, 47);
2601 }
2602 LA25_: ;
2603 }
2604 goto LA5_;
2605 LA2_: ;
2606 {
2607 NimStringDesc* dir_2;
2608 tyProc__LCMSFwcIs5O0HdDmqpX05g T28_;
2609 nimZeroMem((void*)(&T28_), sizeof(tyProc__LCMSFwcIs5O0HdDmqpX05g));
2610 T28_.ClP_0 = nimbleDir__docgen_202; T28_.ClE_0 = colonenv_;
2611 dir_2 = T28_.ClE_0? T28_.ClP_0(T28_.ClE_0):((TM__5fUAZGW8WPeit3fZaQyNXA_44)(T28_.ClP_0))();
2612 {
2613 NIM_BOOL T31_;
2614 T31_ = (NIM_BOOL)0;
2615 T31_ = isEmpty__pathutils_93(dir_2);
2616 if (!T31_) goto LA32_;
2617 result = relativeTo__pathutils_132(file, (*(*colonenv_).conf1).projectPath, 47);
2618 }
2619 goto LA29_;
2620 LA32_: ;
2621 {
2622 result = relativeTo__pathutils_132(file, dir_2, 47);
2623 }
2624 LA29_: ;
2625 }
2626 goto LA5_;
2627 LA3_: ;
2628 {
2629 result = getRelativePathFromConfigPath__options_4368((*colonenv_).conf1, file, NIM_FALSE);
2630 {
2631 NIM_BOOL T38_;
2632 T38_ = (NIM_BOOL)0;
2633 T38_ = isEmpty__options_4049(result);
2634 if (!T38_) goto LA39_;
2635 result = relativeTo__pathutils_132(file, (*(*colonenv_).conf1).projectPath, 47);
2636 }
2637 LA39_: ;
2638 }
2639 goto LA5_;
2640 LA4_: ;
2641 {
2642 {
2643 NimStringDesc* T66_;
2644 if (!(((NI) 0) < ((*(*colonenv_).conf1).docRoot ? (*(*colonenv_).conf1).docRoot->Sup.len : 0))) goto LA44_;
2645 {
2646 NIM_BOOL T48_;
2647 NimStringDesc* arg2X60gensym8_;
2648 T48_ = (NIM_BOOL)0;
2649 T48_ = nosisAbsolute((*(*colonenv_).conf1).docRoot);
2650 if (!!(T48_)) goto LA49_;
2651 arg2X60gensym8_ = nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_45), TM__5fUAZGW8WPeit3fZaQyNXA_46, 1);
2652 {
2653 NimStringDesc* T55_;
2654 if (!(((NI) 0) < ((*(*colonenv_).conf1).docRoot ? (*(*colonenv_).conf1).docRoot->Sup.len : 0))) goto LA53_;
2655 T55_ = NIM_NIL;
2656 T55_ = rawNewString(((*(*colonenv_).conf1).docRoot ? (*(*colonenv_).conf1).docRoot->Sup.len : 0) + 16);
2657 appendString(T55_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_48));
2658 appendString(T55_, (*(*colonenv_).conf1).docRoot);
2659 arg2X60gensym8_ = resizeString(arg2X60gensym8_, (T55_ ? T55_->Sup.len : 0) + 0);
2660 appendString(arg2X60gensym8_, T55_);
2661 }
2662 LA53_: ;
2663 liMessage__msgs_1118((*colonenv_).conf1, unknownLineInfo__lineinfos_280, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), arg2X60gensym8_, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 2), TM__5fUAZGW8WPeit3fZaQyNXA_49, NIM_FALSE);
2664 }
2665 LA49_: ;
2666 {
2667 NIM_BOOL T58_;
2668 NimStringDesc* arg2X60gensym11_;
2669 T58_ = (NIM_BOOL)0;
2670 T58_ = nosdirExists((*(*colonenv_).conf1).docRoot);
2671 if (!!(T58_)) goto LA59_;
2672 arg2X60gensym11_ = nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_45), TM__5fUAZGW8WPeit3fZaQyNXA_50, 1);
2673 {
2674 NimStringDesc* T65_;
2675 if (!(((NI) 0) < ((*(*colonenv_).conf1).docRoot ? (*(*colonenv_).conf1).docRoot->Sup.len : 0))) goto LA63_;
2676 T65_ = NIM_NIL;
2677 T65_ = rawNewString(((*(*colonenv_).conf1).docRoot ? (*(*colonenv_).conf1).docRoot->Sup.len : 0) + 16);
2678 appendString(T65_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_48));
2679 appendString(T65_, (*(*colonenv_).conf1).docRoot);
2680 arg2X60gensym11_ = resizeString(arg2X60gensym11_, (T65_ ? T65_->Sup.len : 0) + 0);
2681 appendString(arg2X60gensym11_, T65_);
2682 }
2683 LA63_: ;
2684 liMessage__msgs_1118((*colonenv_).conf1, unknownLineInfo__lineinfos_280, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), arg2X60gensym11_, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 2), TM__5fUAZGW8WPeit3fZaQyNXA_52, NIM_FALSE);
2685 }
2686 LA59_: ;
2687 T66_ = NIM_NIL;
2688 T66_ = nosexpandFilename((*(*colonenv_).conf1).docRoot);
2689 result = relativeTo__pathutils_132(file, T66_, 47);
2690 }
2691 goto LA42_;
2692 LA44_: ;
2693 {
2694 result = relativeTo__pathutils_132(file, (*(*colonenv_).conf1).projectPath, 47);
2695 }
2696 LA42_: ;
2697 }
2698 LA5_: ;
2699 {
2700 NIM_BOOL T70_;
2701 tyTuple__UV3llMMYFckfui8YMBuUZA T73_;
2702 T70_ = (NIM_BOOL)0;
2703 T70_ = nosisAbsolute(result);
2704 if (!T70_) goto LA71_;
2705 nimZeroMem((void*)(&T73_), sizeof(tyTuple__UV3llMMYFckfui8YMBuUZA));
2706 nossplitPath(file, (&T73_));
2707 result = copyString(T73_.Field1);
2708 }
2709 LA71_: ;
2710 result = nsuReplaceStr(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_53), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_54));
2711 {
2712 NIM_BOOL T76_;
2713 T76_ = (NIM_BOOL)0;
2714 T76_ = isEmpty__options_4049(result);
2715 if (!!(!(T76_))) goto LA77_;
2716 failedAssertImpl__systemZassertions_56(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_55));
2717 }
2718 LA77_: ;
2719 {
2720 NIM_BOOL T81_;
2721 T81_ = (NIM_BOOL)0;
2722 T81_ = nosisAbsolute(result);
2723 if (!!(!(T81_))) goto LA82_;
2724 failedAssertImpl__systemZassertions_56(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_56));
2725 }
2726 LA82_: ;
2727 return result;
2728 }
N_NIMCALL(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA *,newDocumentor__docgen_352)2729 N_LIB_PRIVATE N_NIMCALL(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA*, newDocumentor__docgen_352)(NimStringDesc* filename, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* outExt, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* module, NIM_BOOL isPureRst) {
2730 tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* result;
2731 tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A* colonenv_;
2732 NimStringDesc* T1_;
2733 tySet_tyEnum_RstParseOption__Tc4fIeOKddU9cYGFtrL9b7zg options;
2734 tyProc__oFHfEKFsiYTMAy9a42cSiKw T6_;
2735 tyProc__zVyAuQlxcO3X84ar49cKZSg T7_;
2736 tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA T8_;
2737 tyProc__oFHfEKFsiYTMAy9a42cSiKw T15_;
2738 tyProc__zVyAuQlxcO3X84ar49cKZSg T16_;
2739 tyObject_RstFileTable__1rYTAF4X28SkQlz9cTtPDzQ T17_;
2740 tyProc__60GIQaCod4Z80PoIKw3WKQ T25_;
2741 NimStringDesc* T26_;
2742 tyTuple__7q7q3E6Oj24ZNVJb9aonhAg T27_;
2743 NimStringDesc* T28_;
2744 result = NIM_NIL;
2745 colonenv_ = NIM_NIL;
2746 colonenv_ = (tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A*) newObj((&NTIrefobject__V3MI5pMOk7mgnWO9c9b9czAZQ_), sizeof(tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A));
2747 (*colonenv_).Sup.m_type = (&NTIobject__bjZ39beKZKuX6eBUmfaMw0A_);
2748 asgnRef((void**) (&(*colonenv_).conf1), conf);
2749 result = (tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA*) newObj((&NTIpdoc__8sQPpcTOmswNE6K009bf9bnw_), sizeof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA));
2750 (*result).Sup.Sup.m_type = (&NTItdocumentor__0qk3QCyMUTRYfKiuiIvI9cA_);
2751 asgnRef((void**) (&(*result).module), module);
2752 asgnRef((void**) (&(*result).conf), (*colonenv_).conf1);
2753 asgnRef((void**) (&(*result).cache), cache);
2754 T1_ = NIM_NIL;
2755 T1_ = (*result).Sup.outDir; (*result).Sup.outDir = copyStringRC1((*(*colonenv_).conf1).outDir);
2756 if (T1_) nimGCunrefNoCycle(T1_);
2757 (*result).isPureRst = isPureRst;
2758 options = 14;
2759 {
2760 if (!!(isPureRst)) goto LA4_;
2761 options |= ((NU8)1)<<((((tyEnum_RstParseOption__Tc4fIeOKddU9cYGFtrL9b7zg) 4)) & 7);
2762 }
2763 LA4_: ;
2764 nimZeroMem((void*)(&T6_), sizeof(tyProc__oFHfEKFsiYTMAy9a42cSiKw));
2765 T6_.ClP_0 = docgenFindFile__docgen_374; T6_.ClE_0 = colonenv_;
2766 nimZeroMem((void*)(&T7_), sizeof(tyProc__zVyAuQlxcO3X84ar49cKZSg));
2767 T7_.ClP_0 = compilerMsgHandler__docgen_367; T7_.ClE_0 = colonenv_;
2768 asgnRef((void**) (&(*result).sharedState), newRstSharedState__packagesZdocutilsZrst_2019(options, filename, T6_, T7_));
2769 T8_ = (tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0;
2770 {
2771 NIM_BOOL T11_;
2772 T11_ = (NIM_BOOL)0;
2773 T11_ = isLatexCmd__docgen_345((*colonenv_).conf1);
2774 if (!T11_) goto LA12_;
2775 T8_ = ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA) 1);
2776 }
2777 goto LA9_;
2778 LA12_: ;
2779 {
2780 T8_ = ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA) 0);
2781 }
2782 LA9_: ;
2783 nimZeroMem((void*)(&T15_), sizeof(tyProc__oFHfEKFsiYTMAy9a42cSiKw));
2784 T15_.ClP_0 = docgenFindFile__docgen_374; T15_.ClE_0 = colonenv_;
2785 nimZeroMem((void*)(&T16_), sizeof(tyProc__zVyAuQlxcO3X84ar49cKZSg));
2786 T16_.ClP_0 = compilerMsgHandler__docgen_367; T16_.ClE_0 = colonenv_;
2787 nimZeroMem((void*)(&T17_), sizeof(tyObject_RstFileTable__1rYTAF4X28SkQlz9cTtPDzQ));
2788 initRstGenerator__packagesZdocutilsZrstgen_90(&result->Sup, T8_, (*(*colonenv_).conf1).configVars, filename, T15_, T16_, T17_);
2789 {
2790 NIM_BOOL T20_;
2791 tyArray__nHXaesL0DJZHyVS07ARPRA T23_;
2792 T20_ = (NIM_BOOL)0;
2793 T20_ = nsthasKey((*(*colonenv_).conf1).configVars, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_15));
2794 if (!T20_) goto LA21_;
2795 nimZeroMem((void*)T23_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
2796 T23_[0] = getOrDefault__pureZstrtabs_173((*(*colonenv_).conf1).configVars, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_17), ((NimStringDesc*) NIM_NIL));
2797 asgnRef((void**) (&(*result).analytics), nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_16), T23_, 1));
2798 }
2799 goto LA18_;
2800 LA21_: ;
2801 {
2802 asgnRef((void**) (&(*result).analytics), ((NimStringDesc*) NIM_NIL));
2803 }
2804 LA18_: ;
2805 asgnRef((void**) (&(*result).seenSymbols), nstnewStringTable(((tyEnum_StringTableMode__G9c4wVDFIzf0xHmQvxso9a9cQ) 1)));
2806 (*result).Sup.id = ((NI) 100);
2807 asgnRef((void**) (&(*result).jEntriesFinal), newJArray__pureZjson_123());
2808 initStrTable__ast_4088((&(*result).types));
2809 nimZeroMem((void*)(&T25_), sizeof(tyProc__60GIQaCod4Z80PoIKw3WKQ));
2810 T25_.ClP_0 = colonanonymous___docgen_385; T25_.ClE_0 = colonenv_;
2811 asgnRef((void**) (&(*result).Sup.onTestSnippet.ClE_0), T25_.ClE_0);
2812 (*result).Sup.onTestSnippet.ClP_0 = T25_.ClP_0;
2813 initIntSet__pureZcollectionsZintsets_238((&(*result).emitted));
2814 T26_ = NIM_NIL;
2815 T26_ = presentationPath__docgen_193((*colonenv_).conf1, filename);
2816 asgnRef((void**) (&(*result).Sup.destFile), getOutFile2__docgen_331((*colonenv_).conf1, T26_, outExt, NIM_FALSE));
2817 nimZeroMem((void*)(&T27_), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg));
2818 splitFile__pathutils_26((*result).Sup.destFile, (&T27_));
2819 T28_ = NIM_NIL;
2820 T28_ = (*result).thisDir; (*result).thisDir = copyStringRC1(T27_.Field0);
2821 if (T28_) nimGCunrefNoCycle(T28_);
2822 return result;
2823 }
N_INLINE(NI,len__ast_3198)2824 static N_INLINE(NI, len__ast_3198)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
2825 NI result;
2826 NI T1_;
2827 result = (NI)0;
2828 T1_ = ((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0);
2829 result = T1_;
2830 return result;
2831 }
N_INLINE(NI,safeLen__ast_3191)2832 static N_INLINE(NI, safeLen__ast_3191)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
2833 NI result;
2834 result = (NI)0;
2835 {
2836 if (!((*n).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 0) && (*n).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23))) goto LA3_;
2837 result = ((NI) 0);
2838 }
2839 goto LA1_;
2840 LA3_: ;
2841 {
2842 result = len__ast_3198(n);
2843 }
2844 LA1_: ;
2845 return result;
2846 }
N_NIMCALL(NimStringDesc *,genDeprecationMsg__docgen_3409)2847 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, genDeprecationMsg__docgen_3409)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
2848 NimStringDesc* result;
2849 NI T5_;
2850 { result = NIM_NIL;
2851 {
2852 if (!(n == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL))) goto LA3_;
2853 goto BeforeRet_;
2854 }
2855 LA3_: ;
2856 T5_ = (NI)0;
2857 T5_ = safeLen__ast_3191(n);
2858 switch (T5_) {
2859 case ((NI) 0):
2860 {
2861 NimStringDesc* T7_;
2862 T7_ = NIM_NIL;
2863 T7_ = getConfigVar__options_4019((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_58), ((NimStringDesc*) NIM_NIL));
2864 result = nsuFormatOpenArray(T7_, TM__5fUAZGW8WPeit3fZaQyNXA_59, 4);
2865 }
2866 break;
2867 case ((NI) 2):
2868 {
2869 {
2870 NimStringDesc* T13_;
2871 tyArray__sMpvt1sOxOJ3LFGulnbeMQ T14_;
2872 if (!((*(*n)._kind_6.sons->data[((NI) 1)]).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20) && (*(*n)._kind_6.sons->data[((NI) 1)]).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 22))) goto LA11_;
2873 T13_ = NIM_NIL;
2874 T13_ = getConfigVar__options_4019((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_58), ((NimStringDesc*) NIM_NIL));
2875 nimZeroMem((void*)T14_, sizeof(tyArray__sMpvt1sOxOJ3LFGulnbeMQ));
2876 T14_[0] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_60));
2877 T14_[1] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_63));
2878 T14_[2] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_62));
2879 T14_[3] = escape__pureZxmltree_465((*(*n)._kind_6.sons->data[((NI) 1)])._kind_3.strVal);
2880 result = nsuFormatOpenArray(T13_, T14_, 4);
2881 }
2882 LA11_: ;
2883 }
2884 break;
2885 default:
2886 {
2887 {
2888 if (!NIM_TRUE) goto LA18_;
2889 failedAssertImpl__systemZassertions_56(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_64));
2890 }
2891 LA18_: ;
2892 }
2893 break;
2894 }
2895 }BeforeRet_: ;
2896 return result;
2897 }
N_NIMCALL(void,add__docgen_106)2898 N_LIB_PRIVATE N_NIMCALL(void, add__docgen_106)(tySequence__Wm9aGag2treFuYnXRdy8u9bA** dest, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* rst) {
2899 tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA T1_;
2900 NI T2_;
2901 nimZeroMem((void*)(&T1_), sizeof(tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA));
2902 nimZeroMem((void*)(&T1_), sizeof(tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA));
2903 T1_.isRst = NIM_TRUE;
2904 T1_._isRst_1.rst = rst;
2905 unsureAsgnRef((void**) (&(*dest)), (tySequence__Wm9aGag2treFuYnXRdy8u9bA*) incrSeqV3((TGenericSeq*)((*dest)), (&NTIitempre__Wm9aGag2treFuYnXRdy8u9bA_)));
2906 T2_ = (*dest)->Sup.len++;
2907 genericAssign((void*)(&(*dest)->data[T2_]), (void*)(&T1_), (&NTIitemfragment__1E61TU9aUfqHCQZV7JEfWuA_));
2908 }
N_NIMCALL(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ *,parseRst__docgen_306)2909 N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*, parseRst__docgen_306)(NimStringDesc* text, NimStringDesc* filename, NI line, NI column, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_RstSharedState__yDT5NoQCnsRpOrSc0gqWjA* sharedState) {
2910 tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* result;
2911 result = NIM_NIL;
2912 result = rstParsePass1__packagesZdocutilsZrst_6756(text, line, column, sharedState);
2913 return result;
2914 }
N_INLINE(NI,toLinenumber__msgs_609)2915 static N_INLINE(NI, toLinenumber__msgs_609)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
2916 NI result;
2917 result = (NI)0;
2918 result = ((NI) (info.line));
2919 return result;
2920 }
N_INLINE(NI,toColumn__msgs_612)2921 static N_INLINE(NI, toColumn__msgs_612)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
2922 NI result;
2923 result = (NI)0;
2924 result = ((NI) (info.col));
2925 return result;
2926 }
N_NIMCALL(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ *,genComment__docgen_508)2927 N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*, genComment__docgen_508)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
2928 tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* result;
2929 result = NIM_NIL;
2930 {
2931 NimStringDesc* T3_;
2932 NimStringDesc* T6_;
2933 NimStringDesc* T7_;
2934 NI T8_;
2935 NI T9_;
2936 T3_ = NIM_NIL;
2937 T3_ = comment__ast_993(n);
2938 if (!(((NI) 0) < (T3_ ? T3_->Sup.len : 0))) goto LA4_;
2939 T6_ = NIM_NIL;
2940 T6_ = comment__ast_993(n);
2941 T7_ = NIM_NIL;
2942 T7_ = toFullPath__msgs_538((*d).conf, (*n).info.fileIndex);
2943 T8_ = (NI)0;
2944 T8_ = toLinenumber__msgs_609((*n).info);
2945 T9_ = (NI)0;
2946 T9_ = toColumn__msgs_612((*n).info);
2947 result = parseRst__docgen_306(T6_, T7_, T8_, (NI)(T9_ + ((NI) 3)), (*d).conf, (*d).sharedState);
2948 }
2949 LA4_: ;
2950 return result;
2951 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,documentEffect__docgen_5203)2952 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, documentEffect__docgen_5203)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x, tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw effectType, NI idx) {
2953 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
2954 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* spec;
2955 { result = NIM_NIL;
2956 spec = effectSpec__trees_284(x, effectType);
2957 {
2958 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s;
2959 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* actual;
2960 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* real;
2961 NI realLen;
2962 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* effects;
2963 tyArray__AB6yfoUgfWM2NtGe9bzkCmw T23_;
2964 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T24_;
2965 if (!(spec == 0)) goto LA3_;
2966 s = (*(*n)._kind_6.sons->data[((NI) 0)])._kind_4.sym;
2967 actual = (*(*(*s).typ).n)._kind_6.sons->data[((NI) 0)];
2968 {
2969 NI T7_;
2970 T7_ = (NI)0;
2971 T7_ = len__ast_3198(actual);
2972 if (!!((T7_ == ((NI) 5)))) goto LA8_;
2973 goto BeforeRet_;
2974 }
2975 LA8_: ;
2976 real = (*actual)._kind_6.sons->data[idx];
2977 {
2978 if (!(real == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL))) goto LA12_;
2979 goto BeforeRet_;
2980 }
2981 LA12_: ;
2982 realLen = len__ast_3198(real);
2983 effects = newNodeI__ast_3360(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 41), (*n).info, realLen);
2984 {
2985 NI i;
2986 NI i_2;
2987 i = (NI)0;
2988 i_2 = ((NI) 0);
2989 {
2990 while (1) {
2991 NimStringDesc* t;
2992 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T22_;
2993 if (!(i_2 < realLen)) goto LA16;
2994 i = i_2;
2995 t = typeToString__types_50((*(*real)._kind_6.sons->data[i]).typ, ((tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw) 0));
2996 {
2997 NIM_BOOL T19_;
2998 T19_ = (NIM_BOOL)0;
2999 T19_ = nsuStartsWith(t, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_65));
3000 if (!T19_) goto LA20_;
3001 t = substr__system_7756(t, ((NI) 4));
3002 }
3003 LA20_: ;
3004 T22_ = NIM_NIL;
3005 T22_ = getIdent__idents_143(cache, t);
3006 asgnRef((void**) (&(*effects)._kind_6.sons->data[i]), newIdentNode__ast_3712(T22_, (*n).info));
3007 asgnRef((void**) (&(*(*effects)._kind_6.sons->data[i]).typ), (*(*real)._kind_6.sons->data[i]).typ);
3008 i_2 += ((NI) 1);
3009 } LA16: ;
3010 }
3011 }
3012 nimZeroMem((void*)T23_, sizeof(tyArray__AB6yfoUgfWM2NtGe9bzkCmw));
3013 T24_ = NIM_NIL;
3014 T24_ = getIdent__idents_143(cache, reprEnum((NI)effectType, (&NTItspecialword__ycbpMCRV6Cd2eBh3X9biEiw_)));
3015 T23_[0] = newIdentNode__ast_3712(T24_, (*n).info);
3016 T23_[1] = effects;
3017 result = newTreeI__ast_3420(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 34), (*n).info, T23_, 2);
3018 }
3019 LA3_: ;
3020 }BeforeRet_: ;
3021 return result;
3022 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,documentWriteEffect__docgen_5245)3023 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, documentWriteEffect__docgen_5245)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw flag, NimStringDesc* pragmaName) {
3024 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3025 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s;
3026 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* params;
3027 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* effects;
3028 result = NIM_NIL;
3029 s = (*(*n)._kind_6.sons->data[((NI) 0)])._kind_4.sym;
3030 params = (*(*s).typ).n;
3031 effects = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 41), (*n).info);
3032 {
3033 NI i;
3034 NI colontmp_;
3035 NI i_2;
3036 i = (NI)0;
3037 colontmp_ = (NI)0;
3038 colontmp_ = len__ast_3198(params);
3039 i_2 = ((NI) 1);
3040 {
3041 while (1) {
3042 if (!(i_2 < colontmp_)) goto LA3;
3043 i = i_2;
3044 {
3045 NIM_BOOL T6_;
3046 T6_ = (NIM_BOOL)0;
3047 T6_ = ((*(*params)._kind_6.sons->data[i]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
3048 if (!(T6_)) goto LA7_;
3049 T6_ = (((*(*(*params)._kind_6.sons->data[i])._kind_4.sym).flags &((NU64)1<<((NU)(flag)&63U)))!=0);
3050 LA7_: ;
3051 if (!T6_) goto LA8_;
3052 add__ast_4797(effects, (*params)._kind_6.sons->data[i]);
3053 }
3054 LA8_: ;
3055 i_2 += ((NI) 1);
3056 } LA3: ;
3057 }
3058 }
3059 {
3060 NI T12_;
3061 tyArray__AB6yfoUgfWM2NtGe9bzkCmw T15_;
3062 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T16_;
3063 T12_ = (NI)0;
3064 T12_ = len__ast_3198(effects);
3065 if (!(((NI) 0) < T12_)) goto LA13_;
3066 nimZeroMem((void*)T15_, sizeof(tyArray__AB6yfoUgfWM2NtGe9bzkCmw));
3067 T16_ = NIM_NIL;
3068 T16_ = getIdent__idents_143(cache, pragmaName);
3069 T15_[0] = newIdentNode__ast_3712(T16_, (*n).info);
3070 T15_[1] = effects;
3071 result = newTreeI__ast_3420(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 34), (*n).info, T15_, 2);
3072 }
3073 LA13_: ;
3074 return result;
3075 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,documentNewEffect__docgen_5193)3076 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, documentNewEffect__docgen_5193)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
3077 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3078 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s;
3079 result = NIM_NIL;
3080 s = (*(*n)._kind_6.sons->data[((NI) 0)])._kind_4.sym;
3081 {
3082 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* T5_;
3083 if (!(((*(*s).typ).flags &((NU64)1<<((NU)(((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 3))&63U)))!=0)) goto LA3_;
3084 T5_ = NIM_NIL;
3085 T5_ = getIdent__idents_143(cache, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_67));
3086 result = newIdentNode__ast_3712(T5_, (*n).info);
3087 }
3088 LA3_: ;
3089 return result;
3090 }
N_NIMCALL(void,documentRaises__docgen_5281)3091 N_LIB_PRIVATE N_NIMCALL(void, documentRaises__docgen_5281)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
3092 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* pragmas;
3093 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p1;
3094 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p2;
3095 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p3;
3096 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p4;
3097 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p5;
3098 { {
3099 if (!!(((*(*n)._kind_6.sons->data[((NI) 0)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3)))) goto LA3_;
3100 goto BeforeRet_;
3101 }
3102 LA3_: ;
3103 pragmas = (*n)._kind_6.sons->data[((NI) 4)];
3104 p1 = documentEffect__docgen_5203(cache, n, pragmas, ((tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw) 174), ((NI) 0));
3105 p2 = documentEffect__docgen_5203(cache, n, pragmas, ((tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw) 179), ((NI) 3));
3106 p3 = documentWriteEffect__docgen_5245(cache, n, ((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 31), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_66));
3107 p4 = documentNewEffect__docgen_5193(cache, n);
3108 p5 = documentWriteEffect__docgen_5245(cache, n, ((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 19), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_68));
3109 {
3110 NIM_BOOL T7_;
3111 NIM_BOOL T8_;
3112 NIM_BOOL T9_;
3113 NIM_BOOL T10_;
3114 T7_ = (NIM_BOOL)0;
3115 T8_ = (NIM_BOOL)0;
3116 T9_ = (NIM_BOOL)0;
3117 T10_ = (NIM_BOOL)0;
3118 T10_ = !((p1 == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)));
3119 if (T10_) goto LA11_;
3120 T10_ = !((p2 == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)));
3121 LA11_: ;
3122 T9_ = T10_;
3123 if (T9_) goto LA12_;
3124 T9_ = !((p3 == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)));
3125 LA12_: ;
3126 T8_ = T9_;
3127 if (T8_) goto LA13_;
3128 T8_ = !((p4 == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)));
3129 LA13_: ;
3130 T7_ = T8_;
3131 if (T7_) goto LA14_;
3132 T7_ = !((p5 == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)));
3133 LA14_: ;
3134 if (!T7_) goto LA15_;
3135 {
3136 if (!((*pragmas).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1))) goto LA19_;
3137 asgnRef((void**) (&(*n)._kind_6.sons->data[((NI) 4)]), newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 90), (*n).info));
3138 }
3139 LA19_: ;
3140 {
3141 if (!!((p1 == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)))) goto LA23_;
3142 add__ast_4797((*n)._kind_6.sons->data[((NI) 4)], p1);
3143 }
3144 LA23_: ;
3145 {
3146 if (!!((p2 == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)))) goto LA27_;
3147 add__ast_4797((*n)._kind_6.sons->data[((NI) 4)], p2);
3148 }
3149 LA27_: ;
3150 {
3151 if (!!((p3 == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)))) goto LA31_;
3152 add__ast_4797((*n)._kind_6.sons->data[((NI) 4)], p3);
3153 }
3154 LA31_: ;
3155 {
3156 if (!!((p4 == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)))) goto LA35_;
3157 add__ast_4797((*n)._kind_6.sons->data[((NI) 4)], p4);
3158 }
3159 LA35_: ;
3160 {
3161 if (!!((p5 == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)))) goto LA39_;
3162 add__ast_4797((*n)._kind_6.sons->data[((NI) 4)], p5);
3163 }
3164 LA39_: ;
3165 }
3166 LA15_: ;
3167 }BeforeRet_: ;
3168 }
N_NIMCALL(NIM_BOOL,isVisible__docgen_3266)3169 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isVisible__docgen_3266)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
3170 NIM_BOOL result;
3171 result = (NIM_BOOL)0;
3172 result = NIM_FALSE;
3173 {
3174 if (!((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 31))) goto LA3_;
3175 {
3176 NIM_BOOL T7_;
3177 NI T8_;
3178 tyObject_TIdent__1LTsGP7bSxg45u9aHcxh6OA* v;
3179 NIM_BOOL T12_;
3180 T7_ = (NIM_BOOL)0;
3181 T8_ = (NI)0;
3182 T8_ = len__ast_3198(n);
3183 T7_ = (T8_ == ((NI) 2));
3184 if (!(T7_)) goto LA9_;
3185 T7_ = ((*(*n)._kind_6.sons->data[((NI) 0)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2));
3186 LA9_: ;
3187 if (!T7_) goto LA10_;
3188 v = (*(*n)._kind_6.sons->data[((NI) 0)])._kind_5.ident;
3189 T12_ = (NIM_BOOL)0;
3190 T12_ = ((*v).id == ((NI) 72));
3191 if (T12_) goto LA13_;
3192 T12_ = ((*v).id == ((NI) 73));
3193 LA13_: ;
3194 result = T12_;
3195 }
3196 LA10_: ;
3197 }
3198 goto LA1_;
3199 LA3_: ;
3200 {
3201 if (!((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3))) goto LA15_;
3202 {
3203 if (!(((*(*d).conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 34))&63U)))!=0)) goto LA19_;
3204 result = ((20 & (*(*n)._kind_4.sym).flags) == 0);
3205 }
3206 goto LA17_;
3207 LA19_: ;
3208 {
3209 result = ((22 & (*(*n)._kind_4.sym).flags) == 2);
3210 }
3211 LA17_: ;
3212 {
3213 NIM_BOOL T24_;
3214 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* xX60gensym162_;
3215 T24_ = (NIM_BOOL)0;
3216 T24_ = result;
3217 if (!(T24_)) goto LA25_;
3218 xX60gensym162_ = (*n)._kind_4.sym;
3219 T24_ = containsOrIncl__astalgo_402((&(*d).emitted), (NI)((NI)((NU64)(((NI) ((*xX60gensym162_).Sup.itemId.module))) << (NU64)(((NI) 24))) + ((NI) ((*xX60gensym162_).Sup.itemId.item))));
3220 LA25_: ;
3221 if (!T24_) goto LA26_;
3222 result = NIM_FALSE;
3223 }
3224 LA26_: ;
3225 }
3226 goto LA1_;
3227 LA15_: ;
3228 {
3229 if (!((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 43))) goto LA29_;
3230 result = isVisible__docgen_3266(d, (*n)._kind_6.sons->data[((NI) 0)]);
3231 }
3232 goto LA1_;
3233 LA29_: ;
3234 LA1_: ;
3235 return result;
3236 }
N_NIMCALL(NimStringDesc *,getName__docgen_3329)3237 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getName__docgen_3329)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NI splitAfter) {
3238 NimStringDesc* result;
3239 result = NIM_NIL;
3240 switch ((*n).kind) {
3241 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 31):
3242 {
3243 result = getName__docgen_3329(d, (*n)._kind_6.sons->data[((NI) 1)], splitAfter);
3244 }
3245 break;
3246 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 43):
3247 {
3248 result = getName__docgen_3329(d, (*n)._kind_6.sons->data[((NI) 0)], splitAfter);
3249 }
3250 break;
3251 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3):
3252 {
3253 NimStringDesc* T4_;
3254 T4_ = NIM_NIL;
3255 T4_ = renderDefinitionName__renderer_88((*n)._kind_4.sym, NIM_FALSE);
3256 result = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, T4_, splitAfter, ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
3257 }
3258 break;
3259 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2):
3260 {
3261 result = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, (*(*n)._kind_5.ident).s, splitAfter, ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
3262 }
3263 break;
3264 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 53):
3265 {
3266 NimStringDesc* T11_;
3267 result = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_69), ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
3268 {
3269 NI i;
3270 NI colontmp_;
3271 NI i_2;
3272 i = (NI)0;
3273 colontmp_ = (NI)0;
3274 colontmp_ = len__ast_3198(n);
3275 i_2 = ((NI) 0);
3276 {
3277 while (1) {
3278 NimStringDesc* T10_;
3279 if (!(i_2 < colontmp_)) goto LA9;
3280 i = i_2;
3281 T10_ = NIM_NIL;
3282 T10_ = getName__docgen_3329(d, (*n)._kind_6.sons->data[i], splitAfter);
3283 result = resizeString(result, (T10_ ? T10_->Sup.len : 0) + 0);
3284 appendString(result, T10_);
3285 i_2 += ((NI) 1);
3286 } LA9: ;
3287 }
3288 }
3289 T11_ = NIM_NIL;
3290 T11_ = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_69), ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
3291 result = resizeString(result, (T11_ ? T11_->Sup.len : 0) + 0);
3292 appendString(result, T11_);
3293 }
3294 break;
3295 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 57):
3296 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 56):
3297 {
3298 result = getName__docgen_3329(d, (*n)._kind_6.sons->data[((NI) 0)], splitAfter);
3299 }
3300 break;
3301 default:
3302 {
3303 result = ((NimStringDesc*) NIM_NIL);
3304 }
3305 break;
3306 }
3307 return result;
3308 }
N_NIMCALL(NimStringDesc *,getPlainDocstring__docgen_558)3309 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getPlainDocstring__docgen_558)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
3310 NimStringDesc* result;
3311 { result = NIM_NIL;
3312 {
3313 if (!(n == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL))) goto LA3_;
3314 result = ((NimStringDesc*) NIM_NIL);
3315 }
3316 goto LA1_;
3317 LA3_: ;
3318 {
3319 NimStringDesc* T6_;
3320 NIM_BOOL T7_;
3321 T6_ = NIM_NIL;
3322 T6_ = comment__ast_993(n);
3323 T7_ = (NIM_BOOL)0;
3324 T7_ = nsuStartsWith(T6_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_70));
3325 if (!T7_) goto LA8_;
3326 result = comment__ast_993(n);
3327 }
3328 goto LA1_;
3329 LA8_: ;
3330 {
3331 {
3332 NI i;
3333 NI colontmp_;
3334 NI i_2;
3335 i = (NI)0;
3336 colontmp_ = (NI)0;
3337 colontmp_ = safeLen__ast_3191(n);
3338 i_2 = ((NI) 0);
3339 {
3340 while (1) {
3341 if (!(i_2 < colontmp_)) goto LA13;
3342 i = i_2;
3343 result = getPlainDocstring__docgen_558((*n)._kind_6.sons->data[i]);
3344 {
3345 if (!(((NI) 0) < (result ? result->Sup.len : 0))) goto LA16_;
3346 goto BeforeRet_;
3347 }
3348 LA16_: ;
3349 i_2 += ((NI) 1);
3350 } LA13: ;
3351 }
3352 }
3353 }
3354 LA1_: ;
3355 }BeforeRet_: ;
3356 return result;
3357 }
N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw *,getRoutineBody__docgen_3216)3358 N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, getRoutineBody__docgen_3216)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
3359 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
3360 result = NIM_NIL;
3361 result = (*n)._kind_6.sons->data[((NI) 6)];
3362 {
3363 NIM_BOOL T3_;
3364 NIM_BOOL T4_;
3365 NIM_BOOL T5_;
3366 NI T8_;
3367 T3_ = (NIM_BOOL)0;
3368 T4_ = (NIM_BOOL)0;
3369 T5_ = (NIM_BOOL)0;
3370 T5_ = ((*result).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 73));
3371 if (!(T5_)) goto LA6_;
3372 T5_ = ((*(*result)._kind_6.sons->data[((NI) 0)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
3373 LA6_: ;
3374 T4_ = T5_;
3375 if (!(T4_)) goto LA7_;
3376 T8_ = (NI)0;
3377 T8_ = len__ast_3198(n);
3378 T4_ = (((NI) 7) < T8_);
3379 LA7_: ;
3380 T3_ = T4_;
3381 if (!(T3_)) goto LA9_;
3382 T3_ = ((*(*n)._kind_6.sons->data[((NI) 7)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
3383 LA9_: ;
3384 if (!T3_) goto LA10_;
3385 {
3386 NI T14_;
3387 T14_ = (NI)0;
3388 T14_ = len__ast_3198(result);
3389 if (!!((T14_ == ((NI) 2)))) goto LA15_;
3390 failedAssertImpl__systemZassertions_56(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_71));
3391 }
3392 LA15_: ;
3393 result = (*result)._kind_6.sons->data[((NI) 1)];
3394 }
3395 LA10_: ;
3396 return result;
3397 }
N_NIMCALL(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ *,genRecCommentAux__docgen_512)3398 N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*, genRecCommentAux__docgen_512)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
3399 tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* result;
3400 { result = NIM_NIL;
3401 {
3402 if (!(n == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL))) goto LA3_;
3403 result = ((tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*) NIM_NIL);
3404 goto BeforeRet_;
3405 }
3406 LA3_: ;
3407 result = genComment__docgen_508(d, n);
3408 {
3409 if (!(result == ((tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*) NIM_NIL))) goto LA7_;
3410 {
3411 if (!((TM__5fUAZGW8WPeit3fZaQyNXA_72[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) goto LA11_;
3412 {
3413 NI i;
3414 NI colontmp_;
3415 NI i_2;
3416 i = (NI)0;
3417 colontmp_ = (NI)0;
3418 colontmp_ = len__ast_3198(n);
3419 i_2 = ((NI) 0);
3420 {
3421 while (1) {
3422 if (!(i_2 < colontmp_)) goto LA15;
3423 i = i_2;
3424 result = genRecCommentAux__docgen_512(d, (*n)._kind_6.sons->data[i]);
3425 {
3426 if (!!((result == ((tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*) NIM_NIL)))) goto LA18_;
3427 goto BeforeRet_;
3428 }
3429 LA18_: ;
3430 i_2 += ((NI) 1);
3431 } LA15: ;
3432 }
3433 }
3434 }
3435 LA11_: ;
3436 }
3437 goto LA5_;
3438 LA7_: ;
3439 {
3440 commenteq___ast_1361(n, ((NimStringDesc*) NIM_NIL));
3441 }
3442 LA5_: ;
3443 }BeforeRet_: ;
3444 return result;
3445 }
N_NIMCALL(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ *,genRecComment__docgen_541)3446 N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*, genRecComment__docgen_541)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
3447 tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* result;
3448 { result = NIM_NIL;
3449 {
3450 if (!(n == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL))) goto LA3_;
3451 result = ((tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*) NIM_NIL);
3452 goto BeforeRet_;
3453 }
3454 LA3_: ;
3455 result = genComment__docgen_508(d, n);
3456 {
3457 if (!(result == ((tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*) NIM_NIL))) goto LA7_;
3458 {
3459 if (!((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 79) || (*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 159) || (*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 80) || (*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 84) || (*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 82) || (*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 83) || (*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 81))) goto LA11_;
3460 result = genRecCommentAux__docgen_512(d, (*n)._kind_6.sons->data[((NI) 6)]);
3461 }
3462 goto LA9_;
3463 LA11_: ;
3464 {
3465 result = genRecCommentAux__docgen_512(d, n);
3466 }
3467 LA9_: ;
3468 }
3469 LA7_: ;
3470 }BeforeRet_: ;
3471 return result;
3472 }
N_INLINE(void,addInt__stdZprivateZdigitsutils_189)3473 static N_INLINE(void, addInt__stdZprivateZdigitsutils_189)(NimStringDesc** result, NI x) {
3474 addInt__stdZprivateZdigitsutils_167(result, ((NI64) (x)));
3475 }
N_INLINE(NimStringDesc *,toFileLineCol__msgs_619)3476 static N_INLINE(NimStringDesc*, toFileLineCol__msgs_619)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
3477 NimStringDesc* result;
3478 NimStringDesc* T1_;
3479 result = NIM_NIL;
3480 T1_ = NIM_NIL;
3481 T1_ = toMsgFilename__msgs_602(conf, info.fileIndex);
3482 result = resizeString(result, (T1_ ? T1_->Sup.len : 0) + 0);
3483 appendString(result, T1_);
3484 {
3485 if (!(((NI) 0) < ((NI) (info.line)))) goto LA4_;
3486 result = resizeString(result, 1);
3487 appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_77));
3488 addInt__stdZprivateZdigitsutils_189((&result), ((NI) (info.line)));
3489 {
3490 if (!(((NI) 0) < (NI)(((NI) (info.col)) + ((NI) 1)))) goto LA8_;
3491 result = resizeString(result, 2);
3492 appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_78));
3493 addInt__stdZprivateZdigitsutils_189((&result), (NI)(((NI) (info.col)) + ((NI) 1)));
3494 }
3495 LA8_: ;
3496 result = resizeString(result, 1);
3497 appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_79));
3498 }
3499 LA4_: ;
3500 return result;
3501 }
N_NIMCALL(NimStringDesc *,exampleOutputDir__docgen_647)3502 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, exampleOutputDir__docgen_647)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d) {
3503 NimStringDesc* result;
3504 NimStringDesc* T1_;
3505 result = NIM_NIL;
3506 T1_ = NIM_NIL;
3507 T1_ = getNimcacheDir__options_4183((*d).conf);
3508 result = slash___pathutils_111(T1_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_81));
3509 return result;
3510 }
N_NIMCALL(NimStringDesc *,dollar___docgen_1080)3511 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___docgen_1080)(tyTuple__kN8up2W6YKc5YA9avn5mV5w x) {
3512 NimStringDesc* result;
3513 NI count;
3514 result = NIM_NIL;
3515 result = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_77));
3516 count = ((NI) 0);
3517 {
3518 if (!(((NI) 0) < count)) goto LA3_;
3519 result = resizeString(result, 2);
3520 appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_78));
3521 }
3522 LA3_: ;
3523 count += ((NI) 1);
3524 addQuoted__pureZos_449((&result), x.Field0);
3525 {
3526 if (!(((NI) 0) < count)) goto LA7_;
3527 result = resizeString(result, 2);
3528 appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_78));
3529 }
3530 LA7_: ;
3531 count += ((NI) 1);
3532 addQuoted__extccomp_2078((&result), x.Field1);
3533 {
3534 if (!(((NI) 0) < count)) goto LA11_;
3535 result = resizeString(result, 2);
3536 appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_78));
3537 }
3538 LA11_: ;
3539 count += ((NI) 1);
3540 addQuoted__extccomp_2078((&result), x.Field2);
3541 {
3542 if (!(count == ((NI) 1))) goto LA15_;
3543 result = resizeString(result, 1);
3544 appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_85));
3545 }
3546 LA15_: ;
3547 result = resizeString(result, 1);
3548 appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_79));
3549 return result;
3550 }
N_NIMCALL(void,toInstantiationInfo__docgen_1031)3551 N_LIB_PRIVATE N_NIMCALL(void, toInstantiationInfo__docgen_1031)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyTuple__kN8up2W6YKc5YA9avn5mV5w* Result) {
3552 NimStringDesc* colontmp_;
3553 NI colontmp__2;
3554 NI colontmp__3;
3555 colontmp_ = toMsgFilename__msgs_602(conf, info.fileIndex);
3556 colontmp__2 = ((NI) (info.line));
3557 colontmp__3 = (NI)(((NI) (info.col)) + ((NI) 1));
3558 unsureAsgnRef((void**) (&(*Result).Field0), copyString(colontmp_));
3559 (*Result).Field1 = colontmp__2;
3560 (*Result).Field2 = colontmp__3;
3561 }
N_NIMCALL(NimStringDesc *,quoted__docgen_1024)3562 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, quoted__docgen_1024)(NimStringDesc* a) {
3563 NimStringDesc* result;
3564 result = NIM_NIL;
3565 addQuoted__pureZos_449((&result), a);
3566 return result;
3567 }
N_INLINE(NIM_BOOL,isFilled__pureZcollectionsZtables_31)3568 static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZtables_31)(NI hcode) {
3569 NIM_BOOL result;
3570 result = (NIM_BOOL)0;
3571 result = !((hcode == ((NI) 0)));
3572 return result;
3573 }
N_INLINE(NI,nextTry__pureZcollectionsZtables_34)3574 static N_INLINE(NI, nextTry__pureZcollectionsZtables_34)(NI h, NI maxHash) {
3575 NI result;
3576 result = (NI)0;
3577 result = (NI)((NI)(h + ((NI) 1)) & maxHash);
3578 return result;
3579 }
N_NIMCALL(NI,rawGet__docgen_1199)3580 N_LIB_PRIVATE N_NIMCALL(NI, rawGet__docgen_1199)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t, NimStringDesc* key, NI* hc) {
3581 NI result;
3582 NI h;
3583 NI T10_;
3584 { result = (NI)0;
3585 (*hc) = hash__pureZhashes_291(key);
3586 {
3587 if (!((*hc) == ((NI) 0))) goto LA3_;
3588 (*hc) = ((NI) 314159265);
3589 }
3590 LA3_: ;
3591 {
3592 NI T7_;
3593 T7_ = ((*t).data ? (*t).data->Sup.len : 0);
3594 if (!(T7_ == ((NI) 0))) goto LA8_;
3595 result = ((NI) -1);
3596 goto BeforeRet_;
3597 }
3598 LA8_: ;
3599 T10_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
3600 h = (NI)((*hc) & T10_);
3601 {
3602 while (1) {
3603 NIM_BOOL T13_;
3604 NI T20_;
3605 T13_ = (NIM_BOOL)0;
3606 T13_ = isFilled__pureZcollectionsZtables_31((*t).data->data[h].Field0);
3607 if (!T13_) goto LA12;
3608 {
3609 NIM_BOOL T16_;
3610 T16_ = (NIM_BOOL)0;
3611 T16_ = ((*t).data->data[h].Field0 == (*hc));
3612 if (!(T16_)) goto LA17_;
3613 T16_ = eqStrings((*t).data->data[h].Field2, key);
3614 LA17_: ;
3615 if (!T16_) goto LA18_;
3616 result = h;
3617 goto BeforeRet_;
3618 }
3619 LA18_: ;
3620 T20_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
3621 h = nextTry__pureZcollectionsZtables_34(h, T20_);
3622 } LA12: ;
3623 }
3624 result = (NI)(((NI) -1) - h);
3625 }BeforeRet_: ;
3626 return result;
3627 }
N_NIMCALL(NIM_BOOL,hasKey__docgen_1184)3628 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasKey__docgen_1184)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t, NimStringDesc* key) {
3629 NIM_BOOL result;
3630 NI hc;
3631 NI T1_;
3632 result = (NIM_BOOL)0;
3633 hc = (NI)0;
3634 T1_ = (NI)0;
3635 T1_ = rawGet__docgen_1199(t, key, (&hc));
3636 result = (((NI) 0) <= T1_);
3637 return result;
3638 }
N_NIMCALL(NIM_BOOL,contains__docgen_1168)3639 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__docgen_1168)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t, NimStringDesc* key) {
3640 NIM_BOOL result;
3641 { result = (NIM_BOOL)0;
3642 result = hasKey__docgen_1184(t, key);
3643 goto BeforeRet_;
3644 }BeforeRet_: ;
3645 return result;
3646 }
N_INLINE(NI,slotsNeeded__pureZcollectionsZtables_42)3647 static N_INLINE(NI, slotsNeeded__pureZcollectionsZtables_42)(NI count) {
3648 NI result;
3649 result = (NI)0;
3650 result = nextPowerOfTwo__pureZmath_177((NI)((NI)((NI)(((NI) (count)) * ((NI) 3)) / ((NI) 2)) + ((NI) 4)));
3651 return result;
3652 }
N_INLINE(NIM_BOOL,mustRehash__docgen_1707)3653 static N_INLINE(NIM_BOOL, mustRehash__docgen_1707)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t) {
3654 NIM_BOOL result;
3655 NIM_BOOL T1_;
3656 NI T2_;
3657 NI T4_;
3658 result = (NIM_BOOL)0;
3659 T1_ = (NIM_BOOL)0;
3660 T2_ = ((*t).data ? (*t).data->Sup.len : 0);
3661 T1_ = ((NI)(T2_ * ((NI) 2)) < (NI)((*t).counter * ((NI) 3)));
3662 if (T1_) goto LA3_;
3663 T4_ = ((*t).data ? (*t).data->Sup.len : 0);
3664 T1_ = ((NI)(T4_ - (*t).counter) < ((NI) 4));
3665 LA3_: ;
3666 result = T1_;
3667 return result;
3668 }
N_NIMCALL(void,rawInsert__docgen_2279)3669 N_LIB_PRIVATE N_NIMCALL(void, rawInsert__docgen_2279)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t, tySequence__n1XPc9anZlEQHQuS14lnGwg** data, NimStringDesc* key, tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ* val, NI hc, NI h) {
3670 NimStringDesc* T1_;
3671 T1_ = NIM_NIL;
3672 T1_ = (*data)->data[h].Field2; (*data)->data[h].Field2 = copyStringRC1(key);
3673 if (T1_) nimGCunrefNoCycle(T1_);
3674 asgnRef((void**) (&(*data)->data[h].Field3), val);
3675 (*data)->data[h].Field0 = hc;
3676 (*data)->data[h].Field1 = ((NI) -1);
3677 {
3678 if (!((*t).first < ((NI) 0))) goto LA4_;
3679 (*t).first = h;
3680 }
3681 LA4_: ;
3682 {
3683 if (!(((NI) 0) <= (*t).last)) goto LA8_;
3684 (*data)->data[(*t).last].Field1 = h;
3685 }
3686 LA8_: ;
3687 (*t).last = h;
3688 }
N_NIMCALL(void,enlarge__docgen_1868)3689 N_LIB_PRIVATE N_NIMCALL(void, enlarge__docgen_1868)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t) {
3690 tySequence__n1XPc9anZlEQHQuS14lnGwg* n;
3691 NI T1_;
3692 NI h;
3693 tySequence__n1XPc9anZlEQHQuS14lnGwg* T2_;
3694 n = NIM_NIL;
3695 T1_ = ((*t).data ? (*t).data->Sup.len : 0);
3696 n = (tySequence__n1XPc9anZlEQHQuS14lnGwg*) newSeq((&NTIorderedkeyvaluepairseq__n1XPc9anZlEQHQuS14lnGwg_), ((NI) ((NI)(T1_ * ((NI) 2)))));
3697 h = (*t).first;
3698 (*t).first = ((NI) -1);
3699 (*t).last = ((NI) -1);
3700 T2_ = NIM_NIL;
3701 T2_ = (*t).data;
3702 unsureAsgnRef((void**) (&(*t).data), n);
3703 n = T2_;
3704 {
3705 while (1) {
3706 NI nxt;
3707 NI eh;
3708 if (!(((NI) 0) <= h)) goto LA4;
3709 nxt = n->data[h].Field1;
3710 eh = n->data[h].Field0;
3711 {
3712 NIM_BOOL T7_;
3713 NI j;
3714 NI T10_;
3715 NimStringDesc* T15_;
3716 tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ* T16_;
3717 T7_ = (NIM_BOOL)0;
3718 T7_ = isFilled__pureZcollectionsZtables_31(eh);
3719 if (!T7_) goto LA8_;
3720 T10_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
3721 j = (NI)(eh & T10_);
3722 {
3723 while (1) {
3724 NIM_BOOL T13_;
3725 NI T14_;
3726 T13_ = (NIM_BOOL)0;
3727 T13_ = isFilled__pureZcollectionsZtables_31((*t).data->data[j].Field0);
3728 if (!T13_) goto LA12;
3729 T14_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
3730 j = nextTry__pureZcollectionsZtables_34(j, T14_);
3731 } LA12: ;
3732 }
3733 T15_ = NIM_NIL;
3734 T15_ = n->data[h].Field2;
3735 asgnRef((void**) (&n->data[h].Field2), NIM_NIL);
3736 T16_ = NIM_NIL;
3737 T16_ = n->data[h].Field3;
3738 asgnRef((void**) (&n->data[h].Field3), NIM_NIL);
3739 rawInsert__docgen_2279(t, (&(*t).data), T15_, T16_, n->data[h].Field0, j);
3740 }
3741 LA8_: ;
3742 h = nxt;
3743 } LA4: ;
3744 }
3745 }
N_NIMCALL(NI,rawGetKnownHC__docgen_2561)3746 N_LIB_PRIVATE N_NIMCALL(NI, rawGetKnownHC__docgen_2561)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t, NimStringDesc* key, NI hc) {
3747 NI result;
3748 NI h;
3749 NI T6_;
3750 { result = (NI)0;
3751 {
3752 NI T3_;
3753 T3_ = ((*t).data ? (*t).data->Sup.len : 0);
3754 if (!(T3_ == ((NI) 0))) goto LA4_;
3755 result = ((NI) -1);
3756 goto BeforeRet_;
3757 }
3758 LA4_: ;
3759 T6_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
3760 h = (NI)(hc & T6_);
3761 {
3762 while (1) {
3763 NIM_BOOL T9_;
3764 NI T16_;
3765 T9_ = (NIM_BOOL)0;
3766 T9_ = isFilled__pureZcollectionsZtables_31((*t).data->data[h].Field0);
3767 if (!T9_) goto LA8;
3768 {
3769 NIM_BOOL T12_;
3770 T12_ = (NIM_BOOL)0;
3771 T12_ = ((*t).data->data[h].Field0 == hc);
3772 if (!(T12_)) goto LA13_;
3773 T12_ = eqStrings((*t).data->data[h].Field2, key);
3774 LA13_: ;
3775 if (!T12_) goto LA14_;
3776 result = h;
3777 goto BeforeRet_;
3778 }
3779 LA14_: ;
3780 T16_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
3781 h = nextTry__pureZcollectionsZtables_34(h, T16_);
3782 } LA8: ;
3783 }
3784 result = (NI)(((NI) -1) - h);
3785 }BeforeRet_: ;
3786 return result;
3787 }
N_NIMCALL(void,X5BX5Deq___docgen_1526)3788 N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___docgen_1526)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t, NimStringDesc* key, tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ* val) {
3789 NI hc;
3790 NI index;
3791 {
3792 NI T3_;
3793 NI correctSizeX60gensym127_;
3794 T3_ = ((*t).data ? (*t).data->Sup.len : 0);
3795 if (!(T3_ == ((NI) 0))) goto LA4_;
3796 correctSizeX60gensym127_ = slotsNeeded__pureZcollectionsZtables_42(((NI) 32));
3797 (*t).counter = ((NI) 0);
3798 unsureAsgnRef((void**) (&(*t).data), (tySequence__n1XPc9anZlEQHQuS14lnGwg*) newSeq((&NTIorderedkeyvaluepairseq__n1XPc9anZlEQHQuS14lnGwg_), ((NI) (correctSizeX60gensym127_))));
3799 (*t).first = ((NI) -1);
3800 (*t).last = ((NI) -1);
3801 }
3802 LA4_: ;
3803 hc = (NI)0;
3804 index = rawGet__docgen_1199((&(*t)), key, (&hc));
3805 {
3806 if (!(((NI) 0) <= index)) goto LA8_;
3807 asgnRef((void**) (&(*t).data->data[index].Field3), val);
3808 }
3809 goto LA6_;
3810 LA8_: ;
3811 {
3812 {
3813 NI T13_;
3814 NI correctSizeX60gensym130_;
3815 T13_ = ((*t).data ? (*t).data->Sup.len : 0);
3816 if (!(T13_ == ((NI) 0))) goto LA14_;
3817 correctSizeX60gensym130_ = slotsNeeded__pureZcollectionsZtables_42(((NI) 32));
3818 (*t).counter = ((NI) 0);
3819 unsureAsgnRef((void**) (&(*t).data), (tySequence__n1XPc9anZlEQHQuS14lnGwg*) newSeq((&NTIorderedkeyvaluepairseq__n1XPc9anZlEQHQuS14lnGwg_), ((NI) (correctSizeX60gensym130_))));
3820 (*t).first = ((NI) -1);
3821 (*t).last = ((NI) -1);
3822 }
3823 LA14_: ;
3824 {
3825 NIM_BOOL T18_;
3826 T18_ = (NIM_BOOL)0;
3827 T18_ = mustRehash__docgen_1707((&(*t)));
3828 if (!T18_) goto LA19_;
3829 enlarge__docgen_1868(t);
3830 index = rawGetKnownHC__docgen_2561((&(*t)), key, hc);
3831 }
3832 LA19_: ;
3833 index = (NI)(((NI) -1) - index);
3834 rawInsert__docgen_2279(t, (&(*t).data), key, val, hc, index);
3835 (*t).counter += ((NI) 1);
3836 }
3837 LA6_: ;
3838 }
N_INLINE(NI,len__docgen_701)3839 static N_INLINE(NI, len__docgen_701)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t) {
3840 NI result;
3841 result = (NI)0;
3842 result = (*t).counter;
3843 return result;
3844 }
N_INLINE(NI,rawGet__docgen_2865)3845 static N_INLINE(NI, rawGet__docgen_2865)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t, NimStringDesc* key, NI* hc) {
3846 NI result;
3847 NI h;
3848 NI T10_;
3849 { result = (NI)0;
3850 (*hc) = hash__pureZhashes_291(key);
3851 {
3852 if (!((*hc) == ((NI) 0))) goto LA3_;
3853 (*hc) = ((NI) 314159265);
3854 }
3855 LA3_: ;
3856 {
3857 NI T7_;
3858 T7_ = ((*t).data ? (*t).data->Sup.len : 0);
3859 if (!(T7_ == ((NI) 0))) goto LA8_;
3860 result = ((NI) -1);
3861 goto BeforeRet_;
3862 }
3863 LA8_: ;
3864 T10_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
3865 h = (NI)((*hc) & T10_);
3866 {
3867 while (1) {
3868 NIM_BOOL T13_;
3869 NI T20_;
3870 T13_ = (NIM_BOOL)0;
3871 T13_ = isFilled__pureZcollectionsZtables_31((*t).data->data[h].Field0);
3872 if (!T13_) goto LA12;
3873 {
3874 NIM_BOOL T16_;
3875 T16_ = (NIM_BOOL)0;
3876 T16_ = ((*t).data->data[h].Field0 == (*hc));
3877 if (!(T16_)) goto LA17_;
3878 T16_ = eqStrings((*t).data->data[h].Field2, key);
3879 LA17_: ;
3880 if (!T16_) goto LA18_;
3881 result = h;
3882 goto BeforeRet_;
3883 }
3884 LA18_: ;
3885 T20_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
3886 h = nextTry__pureZcollectionsZtables_34(h, T20_);
3887 } LA12: ;
3888 }
3889 result = (NI)(((NI) -1) - h);
3890 }BeforeRet_: ;
3891 return result;
3892 }
N_NIMCALL(tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ **,X5BX5D___docgen_2858)3893 N_LIB_PRIVATE N_NIMCALL(tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ**, X5BX5D___docgen_2858)(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw* t, NimStringDesc* key) {
3894 tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ** result;
3895 NI hcX60gensym89_;
3896 NI indexX60gensym89_;
3897 result = (tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ**)0;
3898 hcX60gensym89_ = (NI)0;
3899 indexX60gensym89_ = rawGet__docgen_2865((&(*t)), key, (&hcX60gensym89_));
3900 {
3901 if (!(((NI) 0) <= indexX60gensym89_)) goto LA3_;
3902 result = &(*t).data->data[indexX60gensym89_].Field3;
3903 }
3904 goto LA1_;
3905 LA3_: ;
3906 {
3907 raiseKeyError__msgs_300(key);
3908 }
3909 LA1_: ;
3910 return result;
3911 }
N_NIMCALL(void,prepareExample__docgen_1035)3912 N_LIB_PRIVATE N_NIMCALL(void, prepareExample__docgen_1035)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NIM_BOOL topLevel, tyTuple__UV3llMMYFckfui8YMBuUZA* Result) {
3913 NimStringDesc* rdoccmd;
3914 NIM_BOOL useRenderModule;
3915 NimStringDesc* loc;
3916 NimStringDesc* code;
3917 NimStringDesc* codeIndent;
3918 NimStringDesc* comment;
3919 tyArray__Re75IspeoxXy2oCZHwcRrA T22_;
3920 NimStringDesc* outputDir;
3921 NimStringDesc* outp;
3922 tyArray__Re75IspeoxXy2oCZHwcRrA T23_;
3923 NimStringDesc* T24_;
3924 NimStringDesc* T25_;
3925 tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ** T56_;
3926 NimStringDesc* T57_;
3927 NimStringDesc* T58_;
3928 NimStringDesc* codeShown;
3929 NimStringDesc* colontmp__5;
3930 NimStringDesc* colontmp__6;
3931 { rdoccmd = ((NimStringDesc*) NIM_NIL);
3932 {
3933 NIM_BOOL T3_;
3934 NI T4_;
3935 NI T6_;
3936 T3_ = (NIM_BOOL)0;
3937 T4_ = (NI)0;
3938 T4_ = len__ast_3198(n);
3939 T3_ = (T4_ < ((NI) 2));
3940 if (T3_) goto LA5_;
3941 T6_ = (NI)0;
3942 T6_ = len__ast_3198(n);
3943 T3_ = (((NI) 3) < T6_);
3944 LA5_: ;
3945 if (!T3_) goto LA7_;
3946 liMessage__msgs_1118((*d).conf, (*n).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_73), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 2), TM__5fUAZGW8WPeit3fZaQyNXA_74, NIM_FALSE);
3947 }
3948 LA7_: ;
3949 {
3950 NI T11_;
3951 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n1;
3952 T11_ = (NI)0;
3953 T11_ = len__ast_3198(n);
3954 if (!(T11_ == ((NI) 3))) goto LA12_;
3955 n1 = (*n)._kind_6.sons->data[((NI) 1)];
3956 {
3957 if (!!(((*n1).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20) && (*n1).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 22)))) goto LA16_;
3958 liMessage__msgs_1118((*d).conf, (*n1).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 14), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_75), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 2), TM__5fUAZGW8WPeit3fZaQyNXA_76, NIM_FALSE);
3959 }
3960 LA16_: ;
3961 rdoccmd = copyString((*n1)._kind_3.strVal);
3962 }
3963 LA12_: ;
3964 useRenderModule = NIM_FALSE;
3965 loc = toFileLineCol__msgs_619((*d).conf, (*n).info);
3966 code = extractRunnableExamplesSource__renderverbatim_97((*d).conf, n, ((NI) 0));
3967 codeIndent = extractRunnableExamplesSource__renderverbatim_97((*d).conf, n, ((NI) 2));
3968 {
3969 NimStringDesc* colontmp_;
3970 NimStringDesc* colontmp__2;
3971 if (!(((NI) 0) < (*(*d).conf).errorCounter)) goto LA20_;
3972 colontmp_ = copyString(rdoccmd);
3973 colontmp__2 = copyString(code);
3974 unsureAsgnRef((void**) (&(*Result).Field0), copyString(colontmp_));
3975 unsureAsgnRef((void**) (&(*Result).Field1), copyString(colontmp__2));
3976 goto BeforeRet_;
3977 }
3978 LA20_: ;
3979 nimZeroMem((void*)T22_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
3980 T22_[0] = copyString(loc);
3981 T22_[1] = copyString(rdoccmd);
3982 comment = nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_80), T22_, 2);
3983 outputDir = exampleOutputDir__docgen_647(d);
3984 noscreateDir(outputDir);
3985 (*d).exampleCounter += ((NI) 1);
3986 nimZeroMem((void*)T23_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
3987 T24_ = NIM_NIL;
3988 T24_ = nosextractFilename((*d).Sup.filename);
3989 T23_[0] = noschangeFileExt(T24_, ((NimStringDesc*) NIM_NIL));
3990 T23_[1] = dollar___systemZdollars_3((*d).exampleCounter);
3991 T25_ = NIM_NIL;
3992 T25_ = nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_82), T23_, 2);
3993 outp = slash___pathutils_89(outputDir, T25_);
3994 {
3995 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* docComment;
3996 tyArray__cypz0nHJsd9cnKgpO7fP5hQ T30_;
3997 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* runnableExamples;
3998 tyArray__AB6yfoUgfWM2NtGe9bzkCmw T31_;
3999 tyArray__jlWPjgtbdjE069arIWHC9c9bg T32_;
4000 if (!useRenderModule) goto LA28_;
4001 nimZeroMem((void*)T30_, sizeof(tyArray__cypz0nHJsd9cnKgpO7fP5hQ));
4002 docComment = newTree__ast_3392(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 125), T30_, 0);
4003 commenteq___ast_1361(docComment, comment);
4004 nimZeroMem((void*)T31_, sizeof(tyArray__AB6yfoUgfWM2NtGe9bzkCmw));
4005 T31_[0] = docComment;
4006 nimZeroMem((void*)T32_, sizeof(tyArray__jlWPjgtbdjE069arIWHC9c9bg));
4007 T32_[0] = newStrNode__ast_3813(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20), (*d).Sup.filename);
4008 T31_[1] = newTree__ast_3392(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 116), T32_, 1);
4009 runnableExamples = newTree__ast_3392(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115), T31_, 2);
4010 (*runnableExamples).info = (*n).info;
4011 {
4012 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a;
4013 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* colontmp__3;
4014 a = NIM_NIL;
4015 colontmp__3 = NIM_NIL;
4016 colontmp__3 = lastSon__ast_4832(n);
4017 {
4018 NI i;
4019 NI colontmp__4;
4020 NI i_2;
4021 i = (NI)0;
4022 colontmp__4 = (NI)0;
4023 colontmp__4 = safeLen__ast_3191(colontmp__3);
4024 i_2 = ((NI) 0);
4025 {
4026 while (1) {
4027 if (!(i_2 < colontmp__4)) goto LA36;
4028 i = i_2;
4029 a = (*colontmp__3)._kind_6.sons->data[i];
4030 add__ast_4797(runnableExamples, a);
4031 i_2 += ((NI) 1);
4032 } LA36: ;
4033 }
4034 }
4035 }
4036 renderModule__renderer_2109(runnableExamples, outp, 0, ((NI32) -1), (*d).conf);
4037 }
4038 goto LA26_;
4039 LA28_: ;
4040 {
4041 NimStringDesc* code2;
4042 tyArray__24KAM9afIUgUaqBaEBB6r9bg T47_;
4043 code2 = copyString(code);
4044 {
4045 NIM_BOOL T40_;
4046 NIM_BOOL T42_;
4047 tyArray__Re75IspeoxXy2oCZHwcRrA T45_;
4048 tyTuple__kN8up2W6YKc5YA9avn5mV5w T46_;
4049 T40_ = (NIM_BOOL)0;
4050 T40_ = (((NI) 0) < (code ? code->Sup.len : 0));
4051 if (!(T40_)) goto LA41_;
4052 T42_ = (NIM_BOOL)0;
4053 T42_ = contains__pureZstrutils_1631(code, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_83));
4054 T40_ = !(T42_);
4055 LA41_: ;
4056 if (!T40_) goto LA43_;
4057 nimZeroMem((void*)T45_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
4058 nimZeroMem((void*)(&T46_), sizeof(tyTuple__kN8up2W6YKc5YA9avn5mV5w));
4059 toInstantiationInfo__docgen_1031((*d).conf, (*n).info, (&T46_));
4060 T45_[0] = dollar___docgen_1080(T46_);
4061 T45_[1] = copyString(codeIndent);
4062 code2 = nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_84), T45_, 2);
4063 }
4064 LA43_: ;
4065 nimZeroMem((void*)T47_, sizeof(tyArray__24KAM9afIUgUaqBaEBB6r9bg));
4066 T47_[0] = copyString(comment);
4067 T47_[1] = quoted__docgen_1024((*d).Sup.filename);
4068 T47_[2] = copyString(code2);
4069 code2 = nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_86), T47_, 3);
4070 writeFile__systemZio_476(outp, code2);
4071 }
4072 LA26_: ;
4073 {
4074 NIM_BOOL T50_;
4075 tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ* T53_;
4076 NimStringDesc* T54_;
4077 NimStringDesc* T55_;
4078 T50_ = (NIM_BOOL)0;
4079 T50_ = contains__docgen_1168((&(*d).exampleGroups), rdoccmd);
4080 if (!!(T50_)) goto LA51_;
4081 T53_ = NIM_NIL;
4082 T53_ = (tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ*) newObj((&NTIexamplegroup__12SjKZyLpJKBYPLZVcoGLA_), sizeof(tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ));
4083 T54_ = NIM_NIL;
4084 T54_ = (*T53_).rdoccmd; (*T53_).rdoccmd = copyStringRC1(rdoccmd);
4085 if (T54_) nimGCunrefNoCycle(T54_);
4086 T55_ = NIM_NIL;
4087 T55_ = (*T53_).docCmd; (*T53_).docCmd = copyStringRC1((*(*d).conf).docCmd);
4088 if (T55_) nimGCunrefNoCycle(T55_);
4089 (*T53_).index = len__docgen_701((&(*d).exampleGroups));
4090 X5BX5Deq___docgen_1526((&(*d).exampleGroups), rdoccmd, T53_);
4091 }
4092 LA51_: ;
4093 T56_ = (tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ**)0;
4094 T56_ = X5BX5D___docgen_2858((&(*d).exampleGroups), rdoccmd);
4095 T57_ = NIM_NIL;
4096 T57_ = quoted__docgen_1024(outp);
4097 T58_ = NIM_NIL;
4098 T58_ = nsuFormatSingleElem(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_87), T57_);
4099 asgnRef((void**) (&(*(*T56_)).code), resizeString((*(*T56_)).code, (T58_ ? T58_->Sup.len : 0) + 0));
4100 appendString((*(*T56_)).code, T58_);
4101 codeShown = NIM_NIL;
4102 {
4103 NimStringDesc* title;
4104 tyArray__Re75IspeoxXy2oCZHwcRrA T63_;
4105 if (!topLevel) goto LA61_;
4106 title = canonicalImport__options_4664((*d).conf, (*d).Sup.filename);
4107 nimZeroMem((void*)T63_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
4108 T63_[0] = copyString(title);
4109 T63_[1] = copyString(code);
4110 codeShown = nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_88), T63_, 2);
4111 }
4112 goto LA59_;
4113 LA61_: ;
4114 {
4115 codeShown = copyString(code);
4116 }
4117 LA59_: ;
4118 colontmp__5 = copyString(rdoccmd);
4119 colontmp__6 = copyString(codeShown);
4120 unsureAsgnRef((void**) (&(*Result).Field0), copyString(colontmp__5));
4121 unsureAsgnRef((void**) (&(*Result).Field1), copyString(colontmp__6));
4122 }BeforeRet_: ;
4123 }
N_NIMCALL(void,add__docgen_125)4124 N_LIB_PRIVATE N_NIMCALL(void, add__docgen_125)(tySequence__Wm9aGag2treFuYnXRdy8u9bA** dest, NimStringDesc* str) {
4125 tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA T1_;
4126 NI T2_;
4127 nimZeroMem((void*)(&T1_), sizeof(tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA));
4128 nimZeroMem((void*)(&T1_), sizeof(tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA));
4129 T1_.isRst = NIM_FALSE;
4130 T1_._isRst_2.str = copyString(str);
4131 unsureAsgnRef((void**) (&(*dest)), (tySequence__Wm9aGag2treFuYnXRdy8u9bA*) incrSeqV3((TGenericSeq*)((*dest)), (&NTIitempre__Wm9aGag2treFuYnXRdy8u9bA_)));
4132 T2_ = (*dest)->Sup.len++;
4133 genericAssign((void*)(&(*dest)->data[T2_]), (void*)(&T1_), (&NTIitemfragment__1E61TU9aUfqHCQZV7JEfWuA_));
4134 }
N_NIMCALL(tyEnum_RunnableState__ReeHgNC8fI9bdgH6uVZ2ZTA,getAllRunnableExamplesImpl__docgen_3170)4135 N_LIB_PRIVATE N_NIMCALL(tyEnum_RunnableState__ReeHgNC8fI9bdgH6uVZ2ZTA, getAllRunnableExamplesImpl__docgen_3170)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tySequence__Wm9aGag2treFuYnXRdy8u9bA** dest, tyEnum_RunnableState__ReeHgNC8fI9bdgH6uVZ2ZTA state, NIM_BOOL topLevel) {
4136 tyEnum_RunnableState__ReeHgNC8fI9bdgH6uVZ2ZTA result;
4137 { result = (tyEnum_RunnableState__ReeHgNC8fI9bdgH6uVZ2ZTA)0;
4138 switch ((*n).kind) {
4139 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 125):
4140 {
4141 {
4142 tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* T6_;
4143 if (!((5 &((NU8)1<<((NU)(state)&7U)))!=0)) goto LA4_;
4144 T6_ = NIM_NIL;
4145 T6_ = genRecComment__docgen_541(d, n);
4146 add__docgen_106(dest, T6_);
4147 result = ((tyEnum_RunnableState__ReeHgNC8fI9bdgH6uVZ2ZTA) 1);
4148 goto BeforeRet_;
4149 }
4150 LA4_: ;
4151 }
4152 break;
4153 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 26) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 32):
4154 {
4155 {
4156 NIM_BOOL T10_;
4157 NIM_BOOL T11_;
4158 NI T13_;
4159 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T15_;
4160 T10_ = (NIM_BOOL)0;
4161 T11_ = (NIM_BOOL)0;
4162 T11_ = isRunnableExamples__ast_4698((*n)._kind_6.sons->data[((NI) 0)]);
4163 if (!(T11_)) goto LA12_;
4164 T13_ = (NI)0;
4165 T13_ = len__ast_3198(n);
4166 T11_ = (((NI) 2) <= T13_);
4167 LA12_: ;
4168 T10_ = T11_;
4169 if (!(T10_)) goto LA14_;
4170 T15_ = NIM_NIL;
4171 T15_ = lastSon__ast_4832(n);
4172 T10_ = ((*T15_).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115));
4173 LA14_: ;
4174 if (!T10_) goto LA16_;
4175 {
4176 tyTuple__UV3llMMYFckfui8YMBuUZA T22_;
4177 NimStringDesc* rdoccmd;
4178 NimStringDesc* code;
4179 NimStringDesc* msg;
4180 NimStringDesc* s;
4181 NimStringDesc* id;
4182 NimStringDesc* T36_;
4183 tyArray__24KAM9afIUgUaqBaEBB6r9bg T37_;
4184 NimStringDesc* T38_;
4185 NimStringDesc* dest2;
4186 NimStringDesc* T39_;
4187 NimStringDesc* T40_;
4188 if (!((7 &((NU8)1<<((NU)(state)&7U)))!=0)) goto LA20_;
4189 nimZeroMem((void*)(&T22_), sizeof(tyTuple__UV3llMMYFckfui8YMBuUZA));
4190 prepareExample__docgen_1035(d, n, topLevel, (&T22_));
4191 rdoccmd = NIM_NIL;
4192 rdoccmd = T22_.Field0;
4193 code = NIM_NIL;
4194 code = T22_.Field1;
4195 msg = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_89));
4196 {
4197 NimStringDesc* T27_;
4198 if (!(((NI) 0) < (rdoccmd ? rdoccmd->Sup.len : 0))) goto LA25_;
4199 T27_ = NIM_NIL;
4200 T27_ = rawNewString((rdoccmd ? rdoccmd->Sup.len : 0) + 6);
4201 appendString(T27_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_90));
4202 appendString(T27_, rdoccmd);
4203 msg = resizeString(msg, (T27_ ? T27_->Sup.len : 0) + 0);
4204 appendString(msg, T27_);
4205 }
4206 LA25_: ;
4207 s = NIM_NIL;
4208 {
4209 NIM_BOOL T30_;
4210 tyArray__nHXaesL0DJZHyVS07ARPRA T33_;
4211 T30_ = (NIM_BOOL)0;
4212 T30_ = isLatexCmd__docgen_345((*d).conf);
4213 if (!!(T30_)) goto LA31_;
4214 nimZeroMem((void*)T33_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4215 T33_[0] = copyString(msg);
4216 nsuAddf((&s), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_91), T33_, 1);
4217 }
4218 goto LA28_;
4219 LA31_: ;
4220 {
4221 tyArray__nHXaesL0DJZHyVS07ARPRA T35_;
4222 nimZeroMem((void*)T35_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4223 T35_[0] = copyString(msg);
4224 nsuAddf((&s), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_92), T35_, 1);
4225 }
4226 LA28_: ;
4227 add__docgen_125(dest, s);
4228 (*d).Sup.listingCounter += ((NI) 1);
4229 id = dollar___systemZdollars_3((*d).Sup.listingCounter);
4230 T36_ = NIM_NIL;
4231 T36_ = getOrDefault__pureZstrtabs_173((*d).Sup.config, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_93), ((NimStringDesc*) NIM_NIL));
4232 nimZeroMem((void*)T37_, sizeof(tyArray__24KAM9afIUgUaqBaEBB6r9bg));
4233 T37_[0] = copyString(id);
4234 T37_[1] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_94));
4235 T37_[2] = ((NimStringDesc*) NIM_NIL);
4236 T38_ = NIM_NIL;
4237 T38_ = nsuFormatOpenArray(T36_, T37_, 3);
4238 add__docgen_125(dest, T38_);
4239 dest2 = ((NimStringDesc*) NIM_NIL);
4240 renderNimCode__packagesZdocutilsZrstgen_8238((&dest2), code, (*d).Sup.target);
4241 add__docgen_125(dest, dest2);
4242 T39_ = NIM_NIL;
4243 T39_ = getOrDefault__pureZstrtabs_173((*d).Sup.config, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_95), ((NimStringDesc*) NIM_NIL));
4244 T40_ = NIM_NIL;
4245 T40_ = nsuFormatSingleElem(T39_, id);
4246 add__docgen_125(dest, T40_);
4247 result = ((tyEnum_RunnableState__ReeHgNC8fI9bdgH6uVZ2ZTA) 2);
4248 goto BeforeRet_;
4249 }
4250 goto LA18_;
4251 LA20_: ;
4252 {
4253 liMessage__msgs_1118((*d).conf, (*n).info, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 15), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_96), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__5fUAZGW8WPeit3fZaQyNXA_97, NIM_FALSE);
4254 }
4255 LA18_: ;
4256 }
4257 LA16_: ;
4258 }
4259 break;
4260 default:
4261 {
4262 }
4263 break;
4264 }
4265 result = ((tyEnum_RunnableState__ReeHgNC8fI9bdgH6uVZ2ZTA) 3);
4266 goto BeforeRet_;
4267 }BeforeRet_: ;
4268 return result;
4269 }
N_NIMCALL(void,getAllRunnableExamples__docgen_3246)4270 N_LIB_PRIVATE N_NIMCALL(void, getAllRunnableExamples__docgen_3246)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tySequence__Wm9aGag2treFuYnXRdy8u9bA** dest) {
4271 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n_2;
4272 tyEnum_RunnableState__ReeHgNC8fI9bdgH6uVZ2ZTA state;
4273 tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* T1_;
4274 n_2 = n;
4275 state = ((tyEnum_RunnableState__ReeHgNC8fI9bdgH6uVZ2ZTA) 0);
4276 T1_ = NIM_NIL;
4277 T1_ = genComment__docgen_508(d, n_2);
4278 add__docgen_106(dest, T1_);
4279 switch ((*n_2).kind) {
4280 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 79) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 84):
4281 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 159):
4282 {
4283 n_2 = getRoutineBody__docgen_3216(n_2);
4284 switch ((*n_2).kind) {
4285 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 125):
4286 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 26) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 32):
4287 {
4288 state = getAllRunnableExamplesImpl__docgen_3170(d, n_2, dest, state, NIM_FALSE);
4289 }
4290 break;
4291 default:
4292 {
4293 {
4294 NI i;
4295 NI colontmp_;
4296 NI i_2;
4297 i = (NI)0;
4298 colontmp_ = (NI)0;
4299 colontmp_ = safeLen__ast_3191(n_2);
4300 i_2 = ((NI) 0);
4301 {
4302 while (1) {
4303 if (!(i_2 < colontmp_)) goto LA7;
4304 i = i_2;
4305 state = getAllRunnableExamplesImpl__docgen_3170(d, (*n_2)._kind_6.sons->data[i], dest, state, NIM_FALSE);
4306 {
4307 if (!(state == ((tyEnum_RunnableState__ReeHgNC8fI9bdgH6uVZ2ZTA) 3))) goto LA10_;
4308 }
4309 LA10_: ;
4310 i_2 += ((NI) 1);
4311 } LA7: ;
4312 }
4313 }
4314 }
4315 break;
4316 }
4317 }
4318 break;
4319 default:
4320 {
4321 state = getAllRunnableExamplesImpl__docgen_3170(d, n_2, dest, state, NIM_TRUE);
4322 }
4323 break;
4324 }
4325 }
N_NIMCALL(NimStringDesc *,complexName__docgen_3388)4326 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, complexName__docgen_3388)(tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NimStringDesc* baseName) {
4327 NimStringDesc* result;
4328 result = NIM_NIL;
4329 result = copyString(baseName);
4330 switch (k) {
4331 case ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 12):
4332 case ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 13):
4333 {
4334 }
4335 break;
4336 case ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 17):
4337 {
4338 result = resizeString(result, 2);
4339 appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_99));
4340 }
4341 break;
4342 case ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 14):
4343 {
4344 result = resizeString(result, 2);
4345 appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_100));
4346 }
4347 break;
4348 case ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15):
4349 {
4350 result = resizeString(result, 2);
4351 appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_101));
4352 }
4353 break;
4354 case ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 18):
4355 {
4356 result = resizeString(result, 2);
4357 appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_102));
4358 }
4359 break;
4360 case ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 16):
4361 {
4362 result = resizeString(result, 2);
4363 appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_103));
4364 }
4365 break;
4366 default:
4367 {
4368 }
4369 break;
4370 }
4371 {
4372 NIM_BOOL T10_;
4373 NI T11_;
4374 NimStringDesc* params;
4375 T10_ = (NIM_BOOL)0;
4376 T11_ = (NI)0;
4377 T11_ = safeLen__ast_3191(n);
4378 T10_ = (((NI) 3) < T11_);
4379 if (!(T10_)) goto LA12_;
4380 T10_ = ((*(*n)._kind_6.sons->data[((NI) 3)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 76));
4381 LA12_: ;
4382 if (!T10_) goto LA13_;
4383 params = renderParamTypes__typesrenderer_167((*n)._kind_6.sons->data[((NI) 3)], ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_85));
4384 {
4385 if (!(((NI) 0) < (params ? params->Sup.len : 0))) goto LA17_;
4386 result = resizeString(result, 1);
4387 appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_85));
4388 result = resizeString(result, (params ? params->Sup.len : 0) + 0);
4389 appendString(result, params);
4390 }
4391 LA17_: ;
4392 }
4393 LA13_: ;
4394 return result;
4395 }
N_NIMCALL(NimStringDesc *,newUniquePlainSymbol__docgen_3379)4396 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, newUniquePlainSymbol__docgen_3379)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, NimStringDesc* original) {
4397 NimStringDesc* result;
4398 NI count;
4399 { result = NIM_NIL;
4400 {
4401 NIM_BOOL T3_;
4402 T3_ = (NIM_BOOL)0;
4403 T3_ = nsthasKey((*d).seenSymbols, original);
4404 if (!!(T3_)) goto LA4_;
4405 result = copyString(original);
4406 nstPut((*d).seenSymbols, original, ((NimStringDesc*) NIM_NIL));
4407 goto BeforeRet_;
4408 }
4409 LA4_: ;
4410 count = ((NI) 2);
4411 {
4412 while (1) {
4413 NimStringDesc* T8_;
4414 NimStringDesc* T9_;
4415 T8_ = NIM_NIL;
4416 T9_ = NIM_NIL;
4417 T9_ = dollar___systemZdollars_3(count);
4418 T8_ = rawNewString((original ? original->Sup.len : 0) + (T9_ ? T9_->Sup.len : 0) + 1);
4419 appendString(T8_, original);
4420 appendString(T8_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_104));
4421 appendString(T8_, T9_);
4422 result = T8_;
4423 {
4424 NIM_BOOL T12_;
4425 T12_ = (NIM_BOOL)0;
4426 T12_ = nsthasKey((*d).seenSymbols, result);
4427 if (!!(T12_)) goto LA13_;
4428 nstPut((*d).seenSymbols, result, ((NimStringDesc*) NIM_NIL));
4429 goto LA6;
4430 }
4431 LA13_: ;
4432 count += ((NI) 1);
4433 }
4434 } LA6: ;
4435 }BeforeRet_: ;
4436 return result;
4437 }
N_NIMCALL(NIM_BOOL,belongsToPackage__docgen_571)4438 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, belongsToPackage__docgen_571)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* module) {
4439 NIM_BOOL result;
4440 NIM_BOOL T1_;
4441 NI T3_;
4442 result = (NIM_BOOL)0;
4443 T1_ = (NIM_BOOL)0;
4444 T1_ = ((*module).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6));
4445 if (!(T1_)) goto LA2_;
4446 T3_ = (NI)0;
4447 T3_ = getnimblePkgId__ast_3161(module);
4448 T1_ = (T3_ == (*conf).mainPackageId);
4449 LA2_: ;
4450 result = T1_;
4451 return result;
4452 }
N_NIMCALL(NimStringDesc *,externalDep__docgen_579)4453 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, externalDep__docgen_579)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* module) {
4454 NimStringDesc* result;
4455 result = NIM_NIL;
4456 {
4457 NIM_BOOL T3_;
4458 NimStringDesc* full;
4459 NimStringDesc* tmp;
4460 NimStringDesc* T7_;
4461 T3_ = (NIM_BOOL)0;
4462 T3_ = (((*(*d).conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 33))&63U)))!=0);
4463 if (T3_) goto LA4_;
4464 T3_ = (((NI) 0) < ((*(*d).conf).docRoot ? (*(*d).conf).docRoot->Sup.len : 0));
4465 LA4_: ;
4466 if (!T3_) goto LA5_;
4467 full = toFullPath__msgs_538((*d).conf, ((NI32) ((*module).position)));
4468 T7_ = NIM_NIL;
4469 T7_ = presentationPath__docgen_193((*d).conf, full);
4470 tmp = getOutFile2__docgen_331((*d).conf, T7_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_57), !((((*module).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 14))&63U)))!=0)));
4471 result = relativeTo__pathutils_132(tmp, (*d).thisDir, 47);
4472 }
4473 goto LA1_;
4474 LA5_: ;
4475 {
4476 NimStringDesc* T9_;
4477 T9_ = NIM_NIL;
4478 T9_ = toFullPath__msgs_538((*d).conf, ((NI32) ((*module).position)));
4479 result = nosextractFilename(T9_);
4480 }
4481 LA1_: ;
4482 return result;
4483 }
N_NIMCALL(void,nodeToHighlightedHtml__docgen_593)4484 N_LIB_PRIVATE N_NIMCALL(void, nodeToHighlightedHtml__docgen_593)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NimStringDesc** result, tySet_tyEnum_TRenderFlag__wrPgUo1ExBlHvFnXN2nSHw renderFlags, NimStringDesc* procLink) {
4485 tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg r;
4486 NimStringDesc* literal;
4487 tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ kind;
4488 NI tokenPos;
4489 NI procTokenPos;
4490 nimZeroMem((void*)(&r), sizeof(tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg));
4491 literal = ((NimStringDesc*) NIM_NIL);
4492 initTokRender__renderer_2127((&r), n, renderFlags);
4493 kind = ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 1);
4494 tokenPos = ((NI) 0);
4495 procTokenPos = ((NI) 0);
4496 {
4497 while (1) {
4498 getNextTok__renderer_2131((&r), (&kind), (&literal));
4499 tokenPos += ((NI) 1);
4500 switch (kind) {
4501 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 1):
4502 {
4503 goto LA1;
4504 }
4505 break;
4506 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 111):
4507 {
4508 {
4509 NIM_BOOL T7_;
4510 tyArray__nHXaesL0DJZHyVS07ARPRA T10_;
4511 T7_ = (NIM_BOOL)0;
4512 T7_ = isLatexCmd__docgen_345((*d).conf);
4513 if (!!(T7_)) goto LA8_;
4514 nimZeroMem((void*)T10_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4515 T10_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4516 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_105), T10_, 1);
4517 }
4518 goto LA5_;
4519 LA8_: ;
4520 {
4521 tyArray__nHXaesL0DJZHyVS07ARPRA T12_;
4522 nimZeroMem((void*)T12_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4523 T12_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4524 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_106), T12_, 1);
4525 }
4526 LA5_: ;
4527 }
4528 break;
4529 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 3) ... ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 68):
4530 {
4531 {
4532 if (!(kind == ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 51) || kind == ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 41) || kind == ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 38) || kind == ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 40) || kind == ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 59) || kind == ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 30) || kind == ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 15))) goto LA16_;
4533 procTokenPos = tokenPos;
4534 }
4535 LA16_: ;
4536 {
4537 NIM_BOOL T20_;
4538 tyArray__nHXaesL0DJZHyVS07ARPRA T23_;
4539 T20_ = (NIM_BOOL)0;
4540 T20_ = isLatexCmd__docgen_345((*d).conf);
4541 if (!!(T20_)) goto LA21_;
4542 nimZeroMem((void*)T23_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4543 T23_[0] = copyString(literal);
4544 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_107), T23_, 1);
4545 }
4546 goto LA18_;
4547 LA21_: ;
4548 {
4549 tyArray__nHXaesL0DJZHyVS07ARPRA T25_;
4550 nimZeroMem((void*)T25_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4551 T25_[0] = copyString(literal);
4552 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_108), T25_, 1);
4553 }
4554 LA18_: ;
4555 }
4556 break;
4557 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 110):
4558 {
4559 {
4560 NIM_BOOL T29_;
4561 tyArray__nHXaesL0DJZHyVS07ARPRA T32_;
4562 T29_ = (NIM_BOOL)0;
4563 T29_ = isLatexCmd__docgen_345((*d).conf);
4564 if (!!(T29_)) goto LA30_;
4565 nimZeroMem((void*)T32_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4566 T32_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4567 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_109), T32_, 1);
4568 }
4569 goto LA27_;
4570 LA30_: ;
4571 {
4572 tyArray__nHXaesL0DJZHyVS07ARPRA T34_;
4573 nimZeroMem((void*)T34_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4574 T34_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4575 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_110), T34_, 1);
4576 }
4577 LA27_: ;
4578 }
4579 break;
4580 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 83) ... ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 85):
4581 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 89):
4582 {
4583 {
4584 NIM_BOOL T38_;
4585 tyArray__nHXaesL0DJZHyVS07ARPRA T41_;
4586 T38_ = (NIM_BOOL)0;
4587 T38_ = isLatexCmd__docgen_345((*d).conf);
4588 if (!!(T38_)) goto LA39_;
4589 nimZeroMem((void*)T41_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4590 T41_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4591 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_111), T41_, 1);
4592 }
4593 goto LA36_;
4594 LA39_: ;
4595 {
4596 tyArray__nHXaesL0DJZHyVS07ARPRA T43_;
4597 nimZeroMem((void*)T43_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4598 T43_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4599 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_112), T43_, 1);
4600 }
4601 LA36_: ;
4602 }
4603 break;
4604 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 88):
4605 {
4606 {
4607 NIM_BOOL T47_;
4608 tyArray__nHXaesL0DJZHyVS07ARPRA T50_;
4609 T47_ = (NIM_BOOL)0;
4610 T47_ = isLatexCmd__docgen_345((*d).conf);
4611 if (!!(T47_)) goto LA48_;
4612 nimZeroMem((void*)T50_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4613 T50_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4614 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_113), T50_, 1);
4615 }
4616 goto LA45_;
4617 LA48_: ;
4618 {
4619 tyArray__nHXaesL0DJZHyVS07ARPRA T52_;
4620 nimZeroMem((void*)T52_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4621 T52_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4622 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_114), T52_, 1);
4623 }
4624 LA45_: ;
4625 }
4626 break;
4627 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 69) ... ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 78):
4628 {
4629 {
4630 NIM_BOOL T56_;
4631 tyArray__nHXaesL0DJZHyVS07ARPRA T59_;
4632 T56_ = (NIM_BOOL)0;
4633 T56_ = isLatexCmd__docgen_345((*d).conf);
4634 if (!!(T56_)) goto LA57_;
4635 nimZeroMem((void*)T59_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4636 T59_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4637 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_115), T59_, 1);
4638 }
4639 goto LA54_;
4640 LA57_: ;
4641 {
4642 tyArray__nHXaesL0DJZHyVS07ARPRA T61_;
4643 nimZeroMem((void*)T61_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4644 T61_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4645 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_116), T61_, 1);
4646 }
4647 LA54_: ;
4648 }
4649 break;
4650 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 79) ... ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 82):
4651 {
4652 {
4653 NIM_BOOL T65_;
4654 tyArray__nHXaesL0DJZHyVS07ARPRA T68_;
4655 T65_ = (NIM_BOOL)0;
4656 T65_ = isLatexCmd__docgen_345((*d).conf);
4657 if (!!(T65_)) goto LA66_;
4658 nimZeroMem((void*)T68_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4659 T68_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4660 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_117), T68_, 1);
4661 }
4662 goto LA63_;
4663 LA66_: ;
4664 {
4665 tyArray__nHXaesL0DJZHyVS07ARPRA T70_;
4666 nimZeroMem((void*)T70_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4667 T70_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4668 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_118), T70_, 1);
4669 }
4670 LA63_: ;
4671 }
4672 break;
4673 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 2):
4674 {
4675 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s;
4676 s = getTokSym__renderer_2147((&r));
4677 {
4678 NIM_BOOL T74_;
4679 T74_ = (NIM_BOOL)0;
4680 T74_ = (procTokenPos == (NI)(tokenPos - ((NI) 2)));
4681 if (!(T74_)) goto LA75_;
4682 T74_ = !(((procLink ? procLink->Sup.len : 0) == 0));
4683 LA75_: ;
4684 if (!T74_) goto LA76_;
4685 {
4686 NIM_BOOL T80_;
4687 tyArray__Re75IspeoxXy2oCZHwcRrA T83_;
4688 T80_ = (NIM_BOOL)0;
4689 T80_ = isLatexCmd__docgen_345((*d).conf);
4690 if (!!(T80_)) goto LA81_;
4691 nimZeroMem((void*)T83_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
4692 T83_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4693 T83_[1] = copyString(procLink);
4694 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_119), T83_, 2);
4695 }
4696 goto LA78_;
4697 LA81_: ;
4698 {
4699 tyArray__Re75IspeoxXy2oCZHwcRrA T85_;
4700 nimZeroMem((void*)T85_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
4701 T85_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4702 T85_[1] = copyString(procLink);
4703 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_120), T85_, 2);
4704 }
4705 LA78_: ;
4706 }
4707 goto LA72_;
4708 LA76_: ;
4709 {
4710 NIM_BOOL T87_;
4711 NIM_BOOL T88_;
4712 NIM_BOOL T89_;
4713 NIM_BOOL T90_;
4714 NIM_BOOL T91_;
4715 NimStringDesc* external;
4716 tyArray__24KAM9afIUgUaqBaEBB6r9bg T99_;
4717 T87_ = (NIM_BOOL)0;
4718 T88_ = (NIM_BOOL)0;
4719 T89_ = (NIM_BOOL)0;
4720 T90_ = (NIM_BOOL)0;
4721 T91_ = (NIM_BOOL)0;
4722 T91_ = !((s == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)));
4723 if (!(T91_)) goto LA92_;
4724 T91_ = ((1920 &((NU32)1<<((NU)((*s).kind)&31U)))!=0);
4725 LA92_: ;
4726 T90_ = T91_;
4727 if (!(T90_)) goto LA93_;
4728 T90_ = (((*s).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 1))&63U)))!=0);
4729 LA93_: ;
4730 T89_ = T90_;
4731 if (!(T89_)) goto LA94_;
4732 T89_ = !(((*s).owner == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)));
4733 LA94_: ;
4734 T88_ = T89_;
4735 if (!(T88_)) goto LA95_;
4736 T88_ = belongsToPackage__docgen_571((*d).conf, (*s).owner);
4737 LA95_: ;
4738 T87_ = T88_;
4739 if (!(T87_)) goto LA96_;
4740 T87_ = ((*d).Sup.target == ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA) 0));
4741 LA96_: ;
4742 if (!T87_) goto LA97_;
4743 external = externalDep__docgen_579(d, (*s).owner);
4744 nimZeroMem((void*)T99_, sizeof(tyArray__24KAM9afIUgUaqBaEBB6r9bg));
4745 T99_[0] = noschangeFileExt(external, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_57));
4746 T99_[1] = copyString(literal);
4747 T99_[2] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4748 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_121), T99_, 3);
4749 }
4750 goto LA72_;
4751 LA97_: ;
4752 {
4753 {
4754 NIM_BOOL T103_;
4755 tyArray__nHXaesL0DJZHyVS07ARPRA T106_;
4756 T103_ = (NIM_BOOL)0;
4757 T103_ = isLatexCmd__docgen_345((*d).conf);
4758 if (!!(T103_)) goto LA104_;
4759 nimZeroMem((void*)T106_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4760 T106_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4761 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_122), T106_, 1);
4762 }
4763 goto LA101_;
4764 LA104_: ;
4765 {
4766 tyArray__nHXaesL0DJZHyVS07ARPRA T108_;
4767 nimZeroMem((void*)T108_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4768 T108_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4769 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_120), T108_, 1);
4770 }
4771 LA101_: ;
4772 }
4773 LA72_: ;
4774 }
4775 break;
4776 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 113):
4777 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 0):
4778 {
4779 unsureAsgnRef((void**) (&(*result)), resizeString((*result), (literal ? literal->Sup.len : 0) + 0));
4780 appendString((*result), literal);
4781 }
4782 break;
4783 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 117):
4784 {
4785 {
4786 if (!((renderFlags &((NU16)1<<((NU)(((tyEnum_TRenderFlag__wrPgUo1ExBlHvFnXN2nSHw) 8))&15U)))!=0)) goto LA113_;
4787 {
4788 NIM_BOOL T117_;
4789 tyArray__nHXaesL0DJZHyVS07ARPRA T120_;
4790 T117_ = (NIM_BOOL)0;
4791 T117_ = isLatexCmd__docgen_345((*d).conf);
4792 if (!!(T117_)) goto LA118_;
4793 nimZeroMem((void*)T120_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4794 T120_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4795 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_28), T120_, 1);
4796 }
4797 goto LA115_;
4798 LA118_: ;
4799 {
4800 tyArray__nHXaesL0DJZHyVS07ARPRA T122_;
4801 nimZeroMem((void*)T122_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4802 T122_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4803 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_123), T122_, 1);
4804 }
4805 LA115_: ;
4806 }
4807 goto LA111_;
4808 LA113_: ;
4809 {
4810 {
4811 NIM_BOOL T126_;
4812 NimStringDesc* T129_;
4813 tyArray__nHXaesL0DJZHyVS07ARPRA T130_;
4814 T126_ = (NIM_BOOL)0;
4815 T126_ = isLatexCmd__docgen_345((*d).conf);
4816 if (!!(T126_)) goto LA127_;
4817 T129_ = NIM_NIL;
4818 T129_ = nsuReplaceStr(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_124), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_125), ((NimStringDesc*) NIM_NIL));
4819 nimZeroMem((void*)T130_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4820 T130_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4821 nsuAddf(result, T129_, T130_, 1);
4822 }
4823 goto LA124_;
4824 LA127_: ;
4825 {
4826 tyArray__nHXaesL0DJZHyVS07ARPRA T132_;
4827 nimZeroMem((void*)T132_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4828 T132_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4829 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_123), T132_, 1);
4830 }
4831 LA124_: ;
4832 }
4833 LA111_: ;
4834 }
4835 break;
4836 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 118):
4837 {
4838 {
4839 if (!((renderFlags &((NU16)1<<((NU)(((tyEnum_TRenderFlag__wrPgUo1ExBlHvFnXN2nSHw) 8))&15U)))!=0)) goto LA136_;
4840 {
4841 NIM_BOOL T140_;
4842 tyArray__nHXaesL0DJZHyVS07ARPRA T143_;
4843 T140_ = (NIM_BOOL)0;
4844 T140_ = isLatexCmd__docgen_345((*d).conf);
4845 if (!!(T140_)) goto LA141_;
4846 nimZeroMem((void*)T143_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4847 T143_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4848 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_28), T143_, 1);
4849 }
4850 goto LA138_;
4851 LA141_: ;
4852 {
4853 tyArray__nHXaesL0DJZHyVS07ARPRA T145_;
4854 nimZeroMem((void*)T145_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4855 T145_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4856 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_123), T145_, 1);
4857 }
4858 LA138_: ;
4859 }
4860 goto LA134_;
4861 LA136_: ;
4862 {
4863 {
4864 NIM_BOOL T149_;
4865 tyArray__nHXaesL0DJZHyVS07ARPRA T152_;
4866 T149_ = (NIM_BOOL)0;
4867 T149_ = isLatexCmd__docgen_345((*d).conf);
4868 if (!!(T149_)) goto LA150_;
4869 nimZeroMem((void*)T152_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4870 T152_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4871 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_126), T152_, 1);
4872 }
4873 goto LA147_;
4874 LA150_: ;
4875 {
4876 tyArray__nHXaesL0DJZHyVS07ARPRA T154_;
4877 nimZeroMem((void*)T154_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4878 T154_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4879 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_123), T154_, 1);
4880 }
4881 LA147_: ;
4882 }
4883 LA134_: ;
4884 }
4885 break;
4886 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 98):
4887 {
4888 {
4889 NIM_BOOL T158_;
4890 tyArray__nHXaesL0DJZHyVS07ARPRA T161_;
4891 T158_ = (NIM_BOOL)0;
4892 T158_ = isLatexCmd__docgen_345((*d).conf);
4893 if (!!(T158_)) goto LA159_;
4894 nimZeroMem((void*)T161_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4895 T161_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4896 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_28), T161_, 1);
4897 }
4898 goto LA156_;
4899 LA159_: ;
4900 {
4901 tyArray__nHXaesL0DJZHyVS07ARPRA T163_;
4902 nimZeroMem((void*)T163_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4903 T163_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4904 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_123), T163_, 1);
4905 }
4906 LA156_: ;
4907 }
4908 break;
4909 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 99):
4910 {
4911 {
4912 NIM_BOOL T167_;
4913 tyArray__nHXaesL0DJZHyVS07ARPRA T170_;
4914 T167_ = (NIM_BOOL)0;
4915 T167_ = isLatexCmd__docgen_345((*d).conf);
4916 if (!!(T167_)) goto LA168_;
4917 nimZeroMem((void*)T170_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4918 T170_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4919 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_28), T170_, 1);
4920 }
4921 goto LA165_;
4922 LA168_: ;
4923 {
4924 tyArray__nHXaesL0DJZHyVS07ARPRA T172_;
4925 nimZeroMem((void*)T172_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4926 T172_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4927 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_123), T172_, 1);
4928 }
4929 LA165_: ;
4930 }
4931 break;
4932 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 90):
4933 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 91):
4934 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 92):
4935 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 93):
4936 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 94):
4937 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 95):
4938 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 96):
4939 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 97):
4940 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 100):
4941 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 101):
4942 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 102):
4943 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 103):
4944 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 104):
4945 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 106):
4946 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 107):
4947 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 108):
4948 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 112):
4949 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 105):
4950 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 86):
4951 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 87):
4952 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 114):
4953 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 115):
4954 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 116):
4955 case ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 109):
4956 {
4957 {
4958 NIM_BOOL T176_;
4959 tyArray__nHXaesL0DJZHyVS07ARPRA T179_;
4960 T176_ = (NIM_BOOL)0;
4961 T176_ = isLatexCmd__docgen_345((*d).conf);
4962 if (!!(T176_)) goto LA177_;
4963 nimZeroMem((void*)T179_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4964 T179_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4965 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_127), T179_, 1);
4966 }
4967 goto LA174_;
4968 LA177_: ;
4969 {
4970 tyArray__nHXaesL0DJZHyVS07ARPRA T181_;
4971 nimZeroMem((void*)T181_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
4972 T181_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, literal, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
4973 nsuAddf(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_123), T181_, 1);
4974 }
4975 LA174_: ;
4976 }
4977 break;
4978 }
4979 }
4980 } LA1: ;
4981 }
N_NIMCALL(NimStringDesc *,genSeeSrc__docgen_3434)4982 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, genSeeSrc__docgen_3434)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, NimStringDesc* path, NI line) {
4983 NimStringDesc* result;
4984 NimStringDesc* docItemSeeSrc;
4985 result = NIM_NIL;
4986 docItemSeeSrc = getConfigVar__options_4019((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_128), ((NimStringDesc*) NIM_NIL));
4987 {
4988 NimStringDesc* path_2;
4989 NimStringDesc* T5_;
4990 NimStringDesc* gitUrl;
4991 if (!(((NI) 0) < (docItemSeeSrc ? docItemSeeSrc->Sup.len : 0))) goto LA3_;
4992 T5_ = NIM_NIL;
4993 T5_ = nosgetCurrentDir();
4994 path_2 = relativeTo__pathutils_132(path, T5_, 47);
4995 gitUrl = getConfigVar__options_4019((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_129), ((NimStringDesc*) NIM_NIL));
4996 {
4997 NimStringDesc* defaultBranch;
4998 NimStringDesc* commit;
4999 NimStringDesc* develBranch;
5000 if (!(((NI) 0) < (gitUrl ? gitUrl->Sup.len : 0))) goto LA8_;
5001 {
5002 if (!NIM_FALSE) goto LA12_;
5003 defaultBranch = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_130));
5004 }
5005 goto LA10_;
5006 LA12_: ;
5007 {
5008 tyArray__Re75IspeoxXy2oCZHwcRrA T15_;
5009 nimZeroMem((void*)T15_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
5010 T15_[0] = dollar___systemZdollars_3(((NI) 1));
5011 T15_[1] = dollar___systemZdollars_3(((NI) 6));
5012 defaultBranch = nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_131), T15_, 2);
5013 }
5014 LA10_: ;
5015 commit = getConfigVar__options_4019((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_132), defaultBranch);
5016 develBranch = getConfigVar__options_4019((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_133), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_130));
5017 {
5018 NIM_BOOL T18_;
5019 tyArray__nHXaesL0DJZHyVS07ARPRA T21_;
5020 tyArray__meGd17iD6izZVY5NTv9bHUA T22_;
5021 T18_ = (NIM_BOOL)0;
5022 T18_ = isLatexCmd__docgen_345((*d).conf);
5023 if (!!(T18_)) goto LA19_;
5024 nimZeroMem((void*)T21_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
5025 nimZeroMem((void*)T22_, sizeof(tyArray__meGd17iD6izZVY5NTv9bHUA));
5026 T22_[0] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_134));
5027 T22_[1] = copyString(path_2);
5028 T22_[2] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_135));
5029 T22_[3] = dollar___systemZdollars_3(line);
5030 T22_[4] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_136));
5031 T22_[5] = copyString(gitUrl);
5032 T22_[6] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_137));
5033 T22_[7] = copyString(commit);
5034 T22_[8] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_130));
5035 T22_[9] = copyString(develBranch);
5036 T21_[0] = nsuFormatOpenArray(docItemSeeSrc, T22_, 10);
5037 nsuAddf((&result), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_28), T21_, 1);
5038 }
5039 goto LA16_;
5040 LA19_: ;
5041 {
5042 tyArray__nHXaesL0DJZHyVS07ARPRA T24_;
5043 tyArray__meGd17iD6izZVY5NTv9bHUA T25_;
5044 nimZeroMem((void*)T24_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
5045 nimZeroMem((void*)T25_, sizeof(tyArray__meGd17iD6izZVY5NTv9bHUA));
5046 T25_[0] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_134));
5047 T25_[1] = copyString(path_2);
5048 T25_[2] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_135));
5049 T25_[3] = dollar___systemZdollars_3(line);
5050 T25_[4] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_136));
5051 T25_[5] = copyString(gitUrl);
5052 T25_[6] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_137));
5053 T25_[7] = copyString(commit);
5054 T25_[8] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_130));
5055 T25_[9] = copyString(develBranch);
5056 T24_[0] = nsuFormatOpenArray(docItemSeeSrc, T25_, 10);
5057 nsuAddf((&result), ((NimStringDesc*) NIM_NIL), T24_, 1);
5058 }
5059 LA16_: ;
5060 }
5061 LA8_: ;
5062 }
5063 LA3_: ;
5064 return result;
5065 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,whichType__docgen_242)5066 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, whichType__docgen_242)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
5067 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
5068 { result = NIM_NIL;
5069 {
5070 if (!((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3))) goto LA3_;
5071 {
5072 NIM_BOOL T7_;
5073 T7_ = (NIM_BOOL)0;
5074 T7_ = strTableContains__astalgo_3233((*d).types, (*n)._kind_4.sym);
5075 if (!T7_) goto LA8_;
5076 result = (*n)._kind_4.sym;
5077 }
5078 LA8_: ;
5079 }
5080 goto LA1_;
5081 LA3_: ;
5082 {
5083 {
5084 NI i;
5085 NI colontmp_;
5086 NI i_2;
5087 i = (NI)0;
5088 colontmp_ = (NI)0;
5089 colontmp_ = safeLen__ast_3191(n);
5090 i_2 = ((NI) 0);
5091 {
5092 while (1) {
5093 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* x;
5094 if (!(i_2 < colontmp_)) goto LA13;
5095 i = i_2;
5096 x = whichType__docgen_242(d, (*n)._kind_6.sons->data[i]);
5097 {
5098 if (!!((x == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)))) goto LA16_;
5099 result = x;
5100 goto BeforeRet_;
5101 }
5102 LA16_: ;
5103 i_2 += ((NI) 1);
5104 } LA13: ;
5105 }
5106 }
5107 }
5108 LA1_: ;
5109 }BeforeRet_: ;
5110 return result;
5111 }
N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ *,attachToType__docgen_261)5112 N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*, attachToType__docgen_261)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* p) {
5113 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* result;
5114 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* params;
5115 { result = NIM_NIL;
5116 params = (*(*p).ast)._kind_6.sons->data[((NI) 3)];
5117 {
5118 NI T3_;
5119 T3_ = (NI)0;
5120 T3_ = len__ast_3198(params);
5121 if (!(((NI) 1) < T3_)) goto LA4_;
5122 result = whichType__docgen_242(d, (*params)._kind_6.sons->data[((NI) 1)]);
5123 {
5124 if (!!((result == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)))) goto LA8_;
5125 goto BeforeRet_;
5126 }
5127 LA8_: ;
5128 }
5129 LA4_: ;
5130 {
5131 NI T12_;
5132 T12_ = (NI)0;
5133 T12_ = len__ast_3198(params);
5134 if (!(((NI) 0) < T12_)) goto LA13_;
5135 result = whichType__docgen_242(d, (*params)._kind_6.sons->data[((NI) 0)]);
5136 {
5137 if (!!((result == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)))) goto LA17_;
5138 goto BeforeRet_;
5139 }
5140 LA17_: ;
5141 }
5142 LA13_: ;
5143 {
5144 NI i;
5145 NI colontmp_;
5146 NI i_2;
5147 i = (NI)0;
5148 colontmp_ = (NI)0;
5149 colontmp_ = len__ast_3198(params);
5150 i_2 = ((NI) 2);
5151 {
5152 while (1) {
5153 if (!(i_2 < colontmp_)) goto LA21;
5154 i = i_2;
5155 result = whichType__docgen_242(d, (*params)._kind_6.sons->data[i]);
5156 {
5157 if (!!((result == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)))) goto LA24_;
5158 goto BeforeRet_;
5159 }
5160 LA24_: ;
5161 i_2 += ((NI) 1);
5162 } LA21: ;
5163 }
5164 }
5165 }BeforeRet_: ;
5166 return result;
5167 }
N_INLINE(void,appendChar)5168 static N_INLINE(void, appendChar)(NimStringDesc* dest, NIM_CHAR c) {
5169 (*dest).data[(*dest).Sup.len] = c;
5170 (*dest).data[(NI)((*dest).Sup.len + ((NI) 1))] = 0;
5171 (*dest).Sup.len += ((NI) 1);
5172 }
N_NIMCALL(NimStringDesc *,docstringSummary__docgen_3400)5173 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, docstringSummary__docgen_3400)(NimStringDesc* rstText) {
5174 NimStringDesc* result;
5175 NimStringDesc* T1_;
5176 NI pos;
5177 NI last;
5178 { result = NIM_NIL;
5179 T1_ = NIM_NIL;
5180 T1_ = substr__system_7756(rstText, ((NI) 2));
5181 result = nsuStrip(T1_, NIM_TRUE, NIM_TRUE, TM__5fUAZGW8WPeit3fZaQyNXA_98);
5182 pos = nsuFindChar(result, 10, ((NI) 0), ((NI) 0));
5183 {
5184 if (!(((NI) 0) < pos)) goto LA4_;
5185 result = setLengthStr(result, ((NI) ((NI)(pos - ((NI) 1)))));
5186 result = resizeString(result, 3);
5187 appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_149));
5188 }
5189 LA4_: ;
5190 {
5191 if (!(pos < ((NI) 100))) goto LA8_;
5192 goto BeforeRet_;
5193 }
5194 LA8_: ;
5195 pos = nsuFindCharSet(result, TM__5fUAZGW8WPeit3fZaQyNXA_150, ((NI) 0), ((NI) 0));
5196 last = (NI)((result ? result->Sup.len : 0) - ((NI) 1));
5197 {
5198 NIM_BOOL T12_;
5199 T12_ = (NIM_BOOL)0;
5200 T12_ = (((NI) 0) < pos);
5201 if (!(T12_)) goto LA13_;
5202 T12_ = (pos < last);
5203 LA13_: ;
5204 if (!T12_) goto LA14_;
5205 result = setLengthStr(result, ((NI) ((NI)(pos - ((NI) 1)))));
5206 result = resizeString(result, 3);
5207 appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_149));
5208 }
5209 LA14_: ;
5210 }BeforeRet_: ;
5211 return result;
5212 }
N_INLINE(NI,rawGet__docgen_3664)5213 static N_INLINE(NI, rawGet__docgen_3664)(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw t, NimStringDesc* key, NI* hc) {
5214 NI result;
5215 NI h;
5216 NI T10_;
5217 { result = (NI)0;
5218 (*hc) = hash__pureZhashes_291(key);
5219 {
5220 if (!((*hc) == ((NI) 0))) goto LA3_;
5221 (*hc) = ((NI) 314159265);
5222 }
5223 LA3_: ;
5224 {
5225 NI T7_;
5226 T7_ = (t.data ? t.data->Sup.len : 0);
5227 if (!(T7_ == ((NI) 0))) goto LA8_;
5228 result = ((NI) -1);
5229 goto BeforeRet_;
5230 }
5231 LA8_: ;
5232 T10_ = ((t.data ? t.data->Sup.len : 0)-1);
5233 h = (NI)((*hc) & T10_);
5234 {
5235 while (1) {
5236 NIM_BOOL T13_;
5237 NI T20_;
5238 T13_ = (NIM_BOOL)0;
5239 T13_ = isFilled__pureZcollectionsZtables_31(t.data->data[h].Field0);
5240 if (!T13_) goto LA12;
5241 {
5242 NIM_BOOL T16_;
5243 T16_ = (NIM_BOOL)0;
5244 T16_ = (t.data->data[h].Field0 == (*hc));
5245 if (!(T16_)) goto LA17_;
5246 T16_ = eqStrings(t.data->data[h].Field1, key);
5247 LA17_: ;
5248 if (!T16_) goto LA18_;
5249 result = h;
5250 goto BeforeRet_;
5251 }
5252 LA18_: ;
5253 T20_ = ((t.data ? t.data->Sup.len : 0)-1);
5254 h = nextTry__pureZcollectionsZtables_34(h, T20_);
5255 } LA12: ;
5256 }
5257 result = (NI)(((NI) -1) - h);
5258 }BeforeRet_: ;
5259 return result;
5260 }
N_INLINE(NIM_BOOL,mustRehash__docgen_3956)5261 static N_INLINE(NIM_BOOL, mustRehash__docgen_3956)(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw t) {
5262 NIM_BOOL result;
5263 NIM_BOOL T1_;
5264 NI T2_;
5265 NI T4_;
5266 result = (NIM_BOOL)0;
5267 T1_ = (NIM_BOOL)0;
5268 T2_ = (t.data ? t.data->Sup.len : 0);
5269 T1_ = ((NI)(T2_ * ((NI) 2)) < (NI)(t.counter * ((NI) 3)));
5270 if (T1_) goto LA3_;
5271 T4_ = (t.data ? t.data->Sup.len : 0);
5272 T1_ = ((NI)(T4_ - t.counter) < ((NI) 4));
5273 LA3_: ;
5274 result = T1_;
5275 return result;
5276 }
N_NIMCALL(void,rawInsert__docgen_4413)5277 N_LIB_PRIVATE N_NIMCALL(void, rawInsert__docgen_4413)(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw* t, tySequence__hi4XF2kW6f9aL7Qx8ito3Rw** data, NimStringDesc* key, tySequence__EhfJ5cVWpPFG1tw09ap9co5g* val, NI hc, NI h) {
5278 NimStringDesc* T1_;
5279 T1_ = NIM_NIL;
5280 T1_ = (*data)->data[h].Field1; (*data)->data[h].Field1 = copyStringRC1(key);
5281 if (T1_) nimGCunrefNoCycle(T1_);
5282 genericSeqAssign((&(*data)->data[h].Field2), val, (&NTIseqLtocitemT__EhfJ5cVWpPFG1tw09ap9co5g_));
5283 (*data)->data[h].Field0 = hc;
5284 }
N_NIMCALL(void,enlarge__docgen_4109)5285 N_LIB_PRIVATE N_NIMCALL(void, enlarge__docgen_4109)(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw* t) {
5286 tySequence__hi4XF2kW6f9aL7Qx8ito3Rw* n;
5287 NI T1_;
5288 tySequence__hi4XF2kW6f9aL7Qx8ito3Rw* T2_;
5289 n = NIM_NIL;
5290 T1_ = ((*t).data ? (*t).data->Sup.len : 0);
5291 n = (tySequence__hi4XF2kW6f9aL7Qx8ito3Rw*) newSeq((&NTIkeyvaluepairseq__hi4XF2kW6f9aL7Qx8ito3Rw_), ((NI) ((NI)(T1_ * ((NI) 2)))));
5292 T2_ = NIM_NIL;
5293 T2_ = (*t).data;
5294 unsureAsgnRef((void**) (&(*t).data), n);
5295 n = T2_;
5296 {
5297 NI i;
5298 NI colontmp_;
5299 NI T4_;
5300 NI res;
5301 i = (NI)0;
5302 colontmp_ = (NI)0;
5303 T4_ = ((n ? n->Sup.len : 0)-1);
5304 colontmp_ = T4_;
5305 res = ((NI) 0);
5306 {
5307 while (1) {
5308 NI eh;
5309 if (!(res <= colontmp_)) goto LA6;
5310 i = res;
5311 eh = n->data[i].Field0;
5312 {
5313 NIM_BOOL T9_;
5314 NI j;
5315 NI T12_;
5316 NimStringDesc* T17_;
5317 tySequence__EhfJ5cVWpPFG1tw09ap9co5g* T18_;
5318 T9_ = (NIM_BOOL)0;
5319 T9_ = isFilled__pureZcollectionsZtables_31(eh);
5320 if (!T9_) goto LA10_;
5321 T12_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
5322 j = (NI)(eh & T12_);
5323 {
5324 while (1) {
5325 NIM_BOOL T15_;
5326 NI T16_;
5327 T15_ = (NIM_BOOL)0;
5328 T15_ = isFilled__pureZcollectionsZtables_31((*t).data->data[j].Field0);
5329 if (!T15_) goto LA14;
5330 T16_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
5331 j = nextTry__pureZcollectionsZtables_34(j, T16_);
5332 } LA14: ;
5333 }
5334 T17_ = NIM_NIL;
5335 T17_ = n->data[i].Field1;
5336 asgnRef((void**) (&n->data[i].Field1), NIM_NIL);
5337 T18_ = NIM_NIL;
5338 T18_ = n->data[i].Field2;
5339 asgnRef((void**) (&n->data[i].Field2), NIM_NIL);
5340 rawInsert__docgen_4413(t, (&(*t).data), T17_, T18_, eh, j);
5341 }
5342 LA10_: ;
5343 res += ((NI) 1);
5344 } LA6: ;
5345 }
5346 }
5347 }
N_INLINE(NI,rawGetKnownHC__docgen_4582)5348 static N_INLINE(NI, rawGetKnownHC__docgen_4582)(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw t, NimStringDesc* key, NI hc) {
5349 NI result;
5350 NI h;
5351 NI T6_;
5352 { result = (NI)0;
5353 {
5354 NI T3_;
5355 T3_ = (t.data ? t.data->Sup.len : 0);
5356 if (!(T3_ == ((NI) 0))) goto LA4_;
5357 result = ((NI) -1);
5358 goto BeforeRet_;
5359 }
5360 LA4_: ;
5361 T6_ = ((t.data ? t.data->Sup.len : 0)-1);
5362 h = (NI)(hc & T6_);
5363 {
5364 while (1) {
5365 NIM_BOOL T9_;
5366 NI T16_;
5367 T9_ = (NIM_BOOL)0;
5368 T9_ = isFilled__pureZcollectionsZtables_31(t.data->data[h].Field0);
5369 if (!T9_) goto LA8;
5370 {
5371 NIM_BOOL T12_;
5372 T12_ = (NIM_BOOL)0;
5373 T12_ = (t.data->data[h].Field0 == hc);
5374 if (!(T12_)) goto LA13_;
5375 T12_ = eqStrings(t.data->data[h].Field1, key);
5376 LA13_: ;
5377 if (!T12_) goto LA14_;
5378 result = h;
5379 goto BeforeRet_;
5380 }
5381 LA14_: ;
5382 T16_ = ((t.data ? t.data->Sup.len : 0)-1);
5383 h = nextTry__pureZcollectionsZtables_34(h, T16_);
5384 } LA8: ;
5385 }
5386 result = (NI)(((NI) -1) - h);
5387 }BeforeRet_: ;
5388 return result;
5389 }
N_NIMCALL(tySequence__EhfJ5cVWpPFG1tw09ap9co5g **,mgetOrPut__docgen_3602)5390 N_LIB_PRIVATE N_NIMCALL(tySequence__EhfJ5cVWpPFG1tw09ap9co5g**, mgetOrPut__docgen_3602)(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw* t, NimStringDesc* key, tySequence__EhfJ5cVWpPFG1tw09ap9co5g* val) {
5391 tySequence__EhfJ5cVWpPFG1tw09ap9co5g** result;
5392 NI hc;
5393 NI index;
5394 result = (tySequence__EhfJ5cVWpPFG1tw09ap9co5g**)0;
5395 {
5396 NI T3_;
5397 NI correctSizeX60gensym204_;
5398 T3_ = ((*t).data ? (*t).data->Sup.len : 0);
5399 if (!(T3_ == ((NI) 0))) goto LA4_;
5400 correctSizeX60gensym204_ = slotsNeeded__pureZcollectionsZtables_42(((NI) 32));
5401 (*t).counter = ((NI) 0);
5402 unsureAsgnRef((void**) (&(*t).data), (tySequence__hi4XF2kW6f9aL7Qx8ito3Rw*) newSeq((&NTIkeyvaluepairseq__hi4XF2kW6f9aL7Qx8ito3Rw_), ((NI) (correctSizeX60gensym204_))));
5403 }
5404 LA4_: ;
5405 hc = (NI)0;
5406 index = rawGet__docgen_3664((*t), key, (&hc));
5407 {
5408 if (!(index < ((NI) 0))) goto LA8_;
5409 {
5410 NI T12_;
5411 NI correctSizeX60gensym209_;
5412 T12_ = ((*t).data ? (*t).data->Sup.len : 0);
5413 if (!(T12_ == ((NI) 0))) goto LA13_;
5414 correctSizeX60gensym209_ = slotsNeeded__pureZcollectionsZtables_42(((NI) 32));
5415 (*t).counter = ((NI) 0);
5416 unsureAsgnRef((void**) (&(*t).data), (tySequence__hi4XF2kW6f9aL7Qx8ito3Rw*) newSeq((&NTIkeyvaluepairseq__hi4XF2kW6f9aL7Qx8ito3Rw_), ((NI) (correctSizeX60gensym209_))));
5417 }
5418 LA13_: ;
5419 {
5420 NIM_BOOL T17_;
5421 T17_ = (NIM_BOOL)0;
5422 T17_ = mustRehash__docgen_3956((*t));
5423 if (!T17_) goto LA18_;
5424 enlarge__docgen_4109(t);
5425 index = rawGetKnownHC__docgen_4582((*t), key, hc);
5426 }
5427 LA18_: ;
5428 index = (NI)(((NI) -1) - index);
5429 rawInsert__docgen_4413(t, (&(*t).data), key, val, hc, index);
5430 (*t).counter += ((NI) 1);
5431 }
5432 LA8_: ;
5433 result = (&(*t).data->data[index].Field2);
5434 return result;
5435 }
N_NIMCALL(tySequence__EhfJ5cVWpPFG1tw09ap9co5g *,newSeq__docgen_3555)5436 N_LIB_PRIVATE N_NIMCALL(tySequence__EhfJ5cVWpPFG1tw09ap9co5g*, newSeq__docgen_3555)(NI len) {
5437 tySequence__EhfJ5cVWpPFG1tw09ap9co5g* result;
5438 result = NIM_NIL;
5439 result = (tySequence__EhfJ5cVWpPFG1tw09ap9co5g*) newSeq((&NTIseqLtocitemT__EhfJ5cVWpPFG1tw09ap9co5g_), len);
5440 return result;
5441 }
N_NIMCALL(void,genItem__docgen_3445)5442 N_LIB_PRIVATE N_NIMCALL(void, genItem__docgen_3445)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* nameNode, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k, tyEnum_DocFlags__n80LVfoJIDYz0UaY4RmOog docFlags) {
5443 NimStringDesc* name;
5444 NimStringDesc* plainDocstring;
5445 NimStringDesc* result;
5446 NimStringDesc* literal;
5447 NimStringDesc* plainName;
5448 tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ kind;
5449 tySequence__Wm9aGag2treFuYnXRdy8u9bA* comm;
5450 tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg r;
5451 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* pragmaNode;
5452 NimStringDesc* plainNameEsc;
5453 NimStringDesc* T24_;
5454 NimStringDesc* uniqueName;
5455 NimStringDesc* sortName;
5456 NimStringDesc* cleanPlainSymbol;
5457 NimStringDesc* complexSymbol;
5458 NimStringDesc* plainSymbolEnc;
5459 NimStringDesc* symbolOrId;
5460 NimStringDesc* symbolOrIdEnc;
5461 NimStringDesc* deprecationMsg;
5462 NimStringDesc* seeSrc;
5463 NimStringDesc* T35_;
5464 tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw T36_;
5465 NimStringDesc* T37_;
5466 NimStringDesc* T38_;
5467 NimStringDesc* T39_;
5468 NimStringDesc* T40_;
5469 NimStringDesc* T41_;
5470 NimStringDesc* T42_;
5471 NimStringDesc* T43_;
5472 NimStringDesc* T44_;
5473 NimStringDesc* T45_;
5474 NimStringDesc* T46_;
5475 NimStringDesc* T47_;
5476 NimStringDesc* T48_;
5477 NimStringDesc* T49_;
5478 NimStringDesc* T50_;
5479 NimStringDesc* T51_;
5480 NimStringDesc* T52_;
5481 NimStringDesc* T53_;
5482 NimStringDesc* T54_;
5483 NimStringDesc* T55_;
5484 NimStringDesc* T56_;
5485 NimStringDesc* T57_;
5486 NI T58_;
5487 NimStringDesc* T59_;
5488 NimStringDesc* external;
5489 NimStringDesc* T60_;
5490 NimStringDesc* attype;
5491 tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg T91_;
5492 NimStringDesc* T92_;
5493 tyArray__yt5VDPNtUGx9cBkOVakHwdQ T93_;
5494 NI T94_;
5495 NimStringDesc* T95_;
5496 NimStringDesc* T96_;
5497 tySequence__EhfJ5cVWpPFG1tw09ap9co5g* T97_;
5498 tySequence__EhfJ5cVWpPFG1tw09ap9co5g** T98_;
5499 tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg T99_;
5500 NimStringDesc* T100_;
5501 tyArray__Q6RksR9bl1dCf8jl3HeN9bXg T101_;
5502 NI T102_;
5503 NimStringDesc* T103_;
5504 NimStringDesc* T104_;
5505 NimStringDesc* linkTitle;
5506 NimStringDesc* T105_;
5507 NimStringDesc* T106_;
5508 NimStringDesc* T107_;
5509 NimStringDesc* T117_;
5510 NimStringDesc* T118_;
5511 { {
5512 NIM_BOOL T3_;
5513 NIM_BOOL T5_;
5514 T3_ = (NIM_BOOL)0;
5515 T3_ = !((docFlags == ((tyEnum_DocFlags__n80LVfoJIDYz0UaY4RmOog) 1)));
5516 if (!(T3_)) goto LA4_;
5517 T5_ = (NIM_BOOL)0;
5518 T5_ = isVisible__docgen_3266(d, nameNode);
5519 T3_ = !(T5_);
5520 LA4_: ;
5521 if (!T3_) goto LA6_;
5522 goto BeforeRet_;
5523 }
5524 LA6_: ;
5525 name = getName__docgen_3329(d, nameNode, ((NI) -1));
5526 plainDocstring = getPlainDocstring__docgen_558(n);
5527 result = ((NimStringDesc*) NIM_NIL);
5528 literal = ((NimStringDesc*) NIM_NIL);
5529 plainName = ((NimStringDesc*) NIM_NIL);
5530 kind = ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 1);
5531 comm = NIM_NIL;
5532 {
5533 if (!((*n).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 79) && (*n).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 84) || (*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 159))) goto LA10_;
5534 getAllRunnableExamples__docgen_3246(d, n, (&comm));
5535 }
5536 goto LA8_;
5537 LA10_: ;
5538 {
5539 tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* T13_;
5540 T13_ = NIM_NIL;
5541 T13_ = genRecComment__docgen_541(d, n);
5542 add__docgen_106((&comm), T13_);
5543 }
5544 LA8_: ;
5545 nimZeroMem((void*)(&r), sizeof(tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg));
5546 initTokRender__renderer_2127((&r), n, 94);
5547 {
5548 while (1) {
5549 getNextTok__renderer_2131((&r), (&kind), (&literal));
5550 {
5551 if (!(kind == ((tyEnum_TokType__5VVBIL7Ozj1cc9akK23jAGQ) 1))) goto LA18_;
5552 goto LA14;
5553 }
5554 LA18_: ;
5555 plainName = resizeString(plainName, (literal ? literal->Sup.len : 0) + 0);
5556 appendString(plainName, literal);
5557 }
5558 } LA14: ;
5559 pragmaNode = getDeclPragma__ast_3246(n);
5560 {
5561 if (!!((pragmaNode == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)))) goto LA22_;
5562 pragmaNode = findPragma__trees_271(pragmaNode, ((tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw) 138));
5563 }
5564 LA22_: ;
5565 (*d).Sup.id += ((NI) 1);
5566 T24_ = NIM_NIL;
5567 T24_ = nsuStrip(plainName, NIM_TRUE, NIM_TRUE, TM__5fUAZGW8WPeit3fZaQyNXA_98);
5568 plainNameEsc = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, T24_, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
5569 {
5570 if (!((520192 &((NU32)1<<((NU)(k)&31U)))!=0)) goto LA27_;
5571 uniqueName = plainNameEsc;
5572 }
5573 goto LA25_;
5574 LA27_: ;
5575 {
5576 uniqueName = name;
5577 }
5578 LA25_: ;
5579 {
5580 if (!((520192 &((NU32)1<<((NU)(k)&31U)))!=0)) goto LA32_;
5581 sortName = nsuStrip(plainName, NIM_TRUE, NIM_TRUE, TM__5fUAZGW8WPeit3fZaQyNXA_98);
5582 }
5583 goto LA30_;
5584 LA32_: ;
5585 {
5586 sortName = name;
5587 }
5588 LA30_: ;
5589 cleanPlainSymbol = renderPlainSymbolName__typesrenderer_6(nameNode);
5590 complexSymbol = complexName__docgen_3388(k, n, cleanPlainSymbol);
5591 plainSymbolEnc = encodeUrl__pureZuri_40(cleanPlainSymbol, NIM_FALSE);
5592 symbolOrId = newUniquePlainSymbol__docgen_3379(d, complexSymbol);
5593 symbolOrIdEnc = encodeUrl__pureZuri_40(symbolOrId, NIM_FALSE);
5594 deprecationMsg = genDeprecationMsg__docgen_3409(d, pragmaNode);
5595 nodeToHighlightedHtml__docgen_593(d, n, (&result), 142, symbolOrIdEnc);
5596 T35_ = NIM_NIL;
5597 T35_ = toFullPath__msgs_538((*d).conf, (*n).info.fileIndex);
5598 seeSrc = genSeeSrc__docgen_3434(d, T35_, ((NI) ((*n).info.line)));
5599 nimZeroMem((void*)(&T36_), sizeof(tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw));
5600 nimZeroMem((void*)(&T36_), sizeof(tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw));
5601 genericSeqAssign((&T36_.descRst), comm, (&NTIitempre__Wm9aGag2treFuYnXRdy8u9bA_));
5602 T36_.sortName = copyString(sortName);
5603 T36_.substitutions = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) newSeq((&NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_), 22);
5604 T37_ = NIM_NIL;
5605 T37_ = T36_.substitutions->data[0]; T36_.substitutions->data[0] = copyStringRC1(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_138));
5606 if (T37_) nimGCunrefNoCycle(T37_);
5607 T38_ = NIM_NIL;
5608 T38_ = T36_.substitutions->data[1]; T36_.substitutions->data[1] = copyStringRC1(name);
5609 if (T38_) nimGCunrefNoCycle(T38_);
5610 T39_ = NIM_NIL;
5611 T39_ = T36_.substitutions->data[2]; T36_.substitutions->data[2] = copyStringRC1(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_139));
5612 if (T39_) nimGCunrefNoCycle(T39_);
5613 T40_ = NIM_NIL;
5614 T40_ = T36_.substitutions->data[3]; T36_.substitutions->data[3] = copyStringRC1(uniqueName);
5615 if (T40_) nimGCunrefNoCycle(T40_);
5616 T41_ = NIM_NIL;
5617 T41_ = T36_.substitutions->data[4]; T36_.substitutions->data[4] = copyStringRC1(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_140));
5618 if (T41_) nimGCunrefNoCycle(T41_);
5619 T42_ = NIM_NIL;
5620 T42_ = T36_.substitutions->data[5]; T36_.substitutions->data[5] = copyStringRC1(result);
5621 if (T42_) nimGCunrefNoCycle(T42_);
5622 T43_ = NIM_NIL;
5623 T43_ = T36_.substitutions->data[6]; T36_.substitutions->data[6] = copyStringRC1(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_141));
5624 if (T43_) nimGCunrefNoCycle(T43_);
5625 asgnRef((void**) (&T36_.substitutions->data[7]), dollar___systemZdollars_3((*d).Sup.id));
5626 T44_ = NIM_NIL;
5627 T44_ = T36_.substitutions->data[8]; T36_.substitutions->data[8] = copyStringRC1(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_142));
5628 if (T44_) nimGCunrefNoCycle(T44_);
5629 T45_ = NIM_NIL;
5630 T45_ = T36_.substitutions->data[9]; T36_.substitutions->data[9] = copyStringRC1(plainNameEsc);
5631 if (T45_) nimGCunrefNoCycle(T45_);
5632 T46_ = NIM_NIL;
5633 T46_ = T36_.substitutions->data[10]; T36_.substitutions->data[10] = copyStringRC1(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_143));
5634 if (T46_) nimGCunrefNoCycle(T46_);
5635 T47_ = NIM_NIL;
5636 T47_ = T36_.substitutions->data[11]; T36_.substitutions->data[11] = copyStringRC1(cleanPlainSymbol);
5637 if (T47_) nimGCunrefNoCycle(T47_);
5638 T48_ = NIM_NIL;
5639 T48_ = T36_.substitutions->data[12]; T36_.substitutions->data[12] = copyStringRC1(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_144));
5640 if (T48_) nimGCunrefNoCycle(T48_);
5641 T49_ = NIM_NIL;
5642 T49_ = T36_.substitutions->data[13]; T36_.substitutions->data[13] = copyStringRC1(symbolOrId);
5643 if (T49_) nimGCunrefNoCycle(T49_);
5644 T50_ = NIM_NIL;
5645 T50_ = T36_.substitutions->data[14]; T36_.substitutions->data[14] = copyStringRC1(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_145));
5646 if (T50_) nimGCunrefNoCycle(T50_);
5647 T51_ = NIM_NIL;
5648 T51_ = T36_.substitutions->data[15]; T36_.substitutions->data[15] = copyStringRC1(plainSymbolEnc);
5649 if (T51_) nimGCunrefNoCycle(T51_);
5650 T52_ = NIM_NIL;
5651 T52_ = T36_.substitutions->data[16]; T36_.substitutions->data[16] = copyStringRC1(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_146));
5652 if (T52_) nimGCunrefNoCycle(T52_);
5653 T53_ = NIM_NIL;
5654 T53_ = T36_.substitutions->data[17]; T36_.substitutions->data[17] = copyStringRC1(symbolOrIdEnc);
5655 if (T53_) nimGCunrefNoCycle(T53_);
5656 T54_ = NIM_NIL;
5657 T54_ = T36_.substitutions->data[18]; T36_.substitutions->data[18] = copyStringRC1(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_147));
5658 if (T54_) nimGCunrefNoCycle(T54_);
5659 T55_ = NIM_NIL;
5660 T55_ = T36_.substitutions->data[19]; T36_.substitutions->data[19] = copyStringRC1(seeSrc);
5661 if (T55_) nimGCunrefNoCycle(T55_);
5662 T56_ = NIM_NIL;
5663 T56_ = T36_.substitutions->data[20]; T36_.substitutions->data[20] = copyStringRC1(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_148));
5664 if (T56_) nimGCunrefNoCycle(T56_);
5665 T57_ = NIM_NIL;
5666 T57_ = T36_.substitutions->data[21]; T36_.substitutions->data[21] = copyStringRC1(deprecationMsg);
5667 if (T57_) nimGCunrefNoCycle(T57_);
5668 asgnRef((void**) (&(*d).section[(k)- 0].secItems), (tySequence__MnKKQ5PGyDp4x1lUEG41Ag*) incrSeqV3((TGenericSeq*)((*d).section[(k)- 0].secItems), (&NTIseqLitemT__MnKKQ5PGyDp4x1lUEG41Ag_)));
5669 T58_ = (*d).section[(k)- 0].secItems->Sup.len++;
5670 genericSeqAssign((&(*d).section[(k)- 0].secItems->data[T58_].descRst), T36_.descRst, (&NTIitempre__Wm9aGag2treFuYnXRdy8u9bA_));
5671 genericSeqAssign((&(*d).section[(k)- 0].secItems->data[T58_].substitutions), T36_.substitutions, (&NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_));
5672 T59_ = NIM_NIL;
5673 T59_ = (*d).section[(k)- 0].secItems->data[T58_].sortName; (*d).section[(k)- 0].secItems->data[T58_].sortName = copyStringRC1(T36_.sortName);
5674 if (T59_) nimGCunrefNoCycle(T59_);
5675 T60_ = NIM_NIL;
5676 T60_ = relativeTo__pathutils_132((*d).Sup.destFile, (*(*d).conf).outDir, 47);
5677 external = noschangeFileExt(T60_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_57));
5678 attype = ((NimStringDesc*) NIM_NIL);
5679 {
5680 NIM_BOOL T63_;
5681 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* att;
5682 T63_ = (NIM_BOOL)0;
5683 T63_ = ((520192 &((NU32)1<<((NU)(k)&31U)))!=0);
5684 if (!(T63_)) goto LA64_;
5685 T63_ = ((*nameNode).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
5686 LA64_: ;
5687 if (!T63_) goto LA65_;
5688 att = attachToType__docgen_261(d, (*nameNode)._kind_4.sym);
5689 {
5690 if (!!((att == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)))) goto LA69_;
5691 attype = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, (*(*att).name).s, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
5692 }
5693 LA69_: ;
5694 }
5695 goto LA61_;
5696 LA65_: ;
5697 {
5698 NIM_BOOL T72_;
5699 NIM_BOOL T73_;
5700 tyObject_TType__facALICuu8zUj0hjvbTLFg* etyp;
5701 T72_ = (NIM_BOOL)0;
5702 T73_ = (NIM_BOOL)0;
5703 T73_ = (k == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 7));
5704 if (!(T73_)) goto LA74_;
5705 T73_ = ((*nameNode).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
5706 LA74_: ;
5707 T72_ = T73_;
5708 if (!(T72_)) goto LA75_;
5709 T72_ = ((*(*(*nameNode)._kind_4.sym).typ).kind == ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 14) || (*(*(*nameNode)._kind_4.sym).typ).kind == ((tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag) 1));
5710 LA75_: ;
5711 if (!T72_) goto LA76_;
5712 etyp = (*(*nameNode)._kind_4.sym).typ;
5713 {
5714 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* e;
5715 e = NIM_NIL;
5716 {
5717 NI i;
5718 NI colontmp_;
5719 NI i_2;
5720 i = (NI)0;
5721 colontmp_ = (NI)0;
5722 colontmp_ = safeLen__ast_3191((*etyp).n);
5723 i_2 = ((NI) 0);
5724 {
5725 while (1) {
5726 if (!(i_2 < colontmp_)) goto LA81;
5727 i = i_2;
5728 e = (*(*etyp).n)._kind_6.sons->data[i];
5729 {
5730 NimStringDesc* plain;
5731 NimStringDesc* symbolOrId_2;
5732 NimStringDesc* T87_;
5733 NimStringDesc* T88_;
5734 NimStringDesc* T89_;
5735 NimStringDesc* T90_;
5736 {
5737 if (!!(((*(*e)._kind_4.sym).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 20)))) goto LA85_;
5738 goto LA82;
5739 }
5740 LA85_: ;
5741 plain = renderPlainSymbolName__typesrenderer_6(e);
5742 symbolOrId_2 = newUniquePlainSymbol__docgen_3379(d, plain);
5743 T87_ = NIM_NIL;
5744 T87_ = rawNewString(((*(*(*nameNode)._kind_4.sym).name).s ? (*(*(*nameNode)._kind_4.sym).name).s->Sup.len : 0) + (plain ? plain->Sup.len : 0) + 1);
5745 appendString(T87_, (*(*(*nameNode)._kind_4.sym).name).s);
5746 appendChar(T87_, 46);
5747 appendString(T87_, plain);
5748 T88_ = NIM_NIL;
5749 T88_ = getPlainDocstring__docgen_558(e);
5750 T89_ = NIM_NIL;
5751 T89_ = docstringSummary__docgen_3400(T88_);
5752 T90_ = NIM_NIL;
5753 T90_ = escape__pureZxmltree_465(T89_);
5754 setIndexTerm__packagesZdocutilsZrstgen_344(&d->Sup, external, symbolOrId_2, plain, T87_, T90_);
5755 } LA82: ;
5756 i_2 += ((NI) 1);
5757 } LA81: ;
5758 }
5759 }
5760 }
5761 }
5762 goto LA61_;
5763 LA76_: ;
5764 LA61_: ;
5765 nimZeroMem((void*)(&T91_), sizeof(tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg));
5766 nimZeroMem((void*)(&T91_), sizeof(tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg));
5767 T91_.sortName = copyString(sortName);
5768 T92_ = NIM_NIL;
5769 T92_ = getConfigVar__options_4019((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_151), ((NimStringDesc*) NIM_NIL));
5770 nimZeroMem((void*)T93_, sizeof(tyArray__yt5VDPNtUGx9cBkOVakHwdQ));
5771 T93_[0] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_138));
5772 T93_[1] = copyString(name);
5773 T93_[2] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_142));
5774 T93_[3] = copyString(plainNameEsc);
5775 T93_[4] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_146));
5776 T93_[5] = copyString(symbolOrIdEnc);
5777 T91_.content = nsuFormatOpenArray(T92_, T93_, 6);
5778 asgnRef((void**) (&(*d).tocSimple[(k)- 0]), (tySequence__EhfJ5cVWpPFG1tw09ap9co5g*) incrSeqV3((TGenericSeq*)((*d).tocSimple[(k)- 0]), (&NTIseqLtocitemT__EhfJ5cVWpPFG1tw09ap9co5g_)));
5779 T94_ = (*d).tocSimple[(k)- 0]->Sup.len++;
5780 T95_ = NIM_NIL;
5781 T95_ = (*d).tocSimple[(k)- 0]->data[T94_].content; (*d).tocSimple[(k)- 0]->data[T94_].content = copyStringRC1(T91_.content);
5782 if (T95_) nimGCunrefNoCycle(T95_);
5783 T96_ = NIM_NIL;
5784 T96_ = (*d).tocSimple[(k)- 0]->data[T94_].sortName; (*d).tocSimple[(k)- 0]->data[T94_].sortName = copyStringRC1(T91_.sortName);
5785 if (T96_) nimGCunrefNoCycle(T96_);
5786 T97_ = NIM_NIL;
5787 T97_ = newSeq__docgen_3555(((NI) 0));
5788 T98_ = (tySequence__EhfJ5cVWpPFG1tw09ap9co5g**)0;
5789 T98_ = mgetOrPut__docgen_3602((&(*d).tocTable[(k)- 0]), cleanPlainSymbol, T97_);
5790 nimZeroMem((void*)(&T99_), sizeof(tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg));
5791 nimZeroMem((void*)(&T99_), sizeof(tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg));
5792 T99_.sortName = copyString(sortName);
5793 T100_ = NIM_NIL;
5794 T100_ = getConfigVar__options_4019((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_152), ((NimStringDesc*) NIM_NIL));
5795 nimZeroMem((void*)T101_, sizeof(tyArray__Q6RksR9bl1dCf8jl3HeN9bXg));
5796 T101_[0] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_138));
5797 T101_[1] = copyString(name);
5798 T101_[2] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_142));
5799 T101_[3] = copyString(plainNameEsc);
5800 T101_[4] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_144));
5801 T101_[5] = nsuReplaceStr(symbolOrId, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_85), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_153));
5802 T101_[6] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_146));
5803 T101_[7] = copyString(symbolOrIdEnc);
5804 T99_.content = nsuFormatOpenArray(T100_, T101_, 8);
5805 unsureAsgnRef((void**) (&(*T98_)), (tySequence__EhfJ5cVWpPFG1tw09ap9co5g*) incrSeqV3((TGenericSeq*)((*T98_)), (&NTIseqLtocitemT__EhfJ5cVWpPFG1tw09ap9co5g_)));
5806 T102_ = (*T98_)->Sup.len++;
5807 T103_ = NIM_NIL;
5808 T103_ = (*T98_)->data[T102_].content; (*T98_)->data[T102_].content = copyStringRC1(T99_.content);
5809 if (T103_) nimGCunrefNoCycle(T103_);
5810 T104_ = NIM_NIL;
5811 T104_ = (*T98_)->data[T102_].sortName; (*T98_)->data[T102_].sortName = copyStringRC1(T99_.sortName);
5812 if (T104_) nimGCunrefNoCycle(T104_);
5813 T105_ = NIM_NIL;
5814 T106_ = NIM_NIL;
5815 T106_ = nosextractFilename((*d).Sup.filename);
5816 T107_ = NIM_NIL;
5817 T107_ = noschangeFileExt(T106_, ((NimStringDesc*) NIM_NIL));
5818 T105_ = rawNewString((T107_ ? T107_->Sup.len : 0) + 2);
5819 appendString(T105_, T107_);
5820 appendString(T105_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_154));
5821 linkTitle = T105_;
5822 {
5823 NimStringDesc* T112_;
5824 NimStringDesc* T113_;
5825 if (!((*n).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 79) && (*n).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 84) || (*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 159))) goto LA110_;
5826 T112_ = NIM_NIL;
5827 T112_ = nsuStrip(plainName, NIM_TRUE, NIM_TRUE, TM__5fUAZGW8WPeit3fZaQyNXA_98);
5828 T113_ = NIM_NIL;
5829 T113_ = escape__pureZxmltree_465(T112_);
5830 linkTitle = resizeString(linkTitle, (T113_ ? T113_->Sup.len : 0) + 0);
5831 appendString(linkTitle, T113_);
5832 }
5833 goto LA108_;
5834 LA110_: ;
5835 {
5836 NimStringDesc* T115_;
5837 NimStringDesc* T116_;
5838 T115_ = NIM_NIL;
5839 T115_ = nsuStrip(complexSymbol, NIM_TRUE, NIM_TRUE, TM__5fUAZGW8WPeit3fZaQyNXA_98);
5840 T116_ = NIM_NIL;
5841 T116_ = escape__pureZxmltree_465(T115_);
5842 linkTitle = resizeString(linkTitle, (T116_ ? T116_->Sup.len : 0) + 0);
5843 appendString(linkTitle, T116_);
5844 }
5845 LA108_: ;
5846 T117_ = NIM_NIL;
5847 T117_ = docstringSummary__docgen_3400(plainDocstring);
5848 T118_ = NIM_NIL;
5849 T118_ = escape__pureZxmltree_465(T117_);
5850 setIndexTerm__packagesZdocutilsZrstgen_344(&d->Sup, external, symbolOrId, name, linkTitle, T118_);
5851 {
5852 NIM_BOOL T121_;
5853 T121_ = (NIM_BOOL)0;
5854 T121_ = (k == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 7));
5855 if (!(T121_)) goto LA122_;
5856 T121_ = ((*nameNode).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
5857 LA122_: ;
5858 if (!T121_) goto LA123_;
5859 strTableAdd__astalgo_3332((&(*d).types), (*nameNode)._kind_4.sym);
5860 }
5861 LA123_: ;
5862 }BeforeRet_: ;
5863 }
N_NIMCALL(NIM_BOOL,checkForFalse__docgen_5124)5864 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, checkForFalse__docgen_5124)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
5865 NIM_BOOL result;
5866 NIM_BOOL T1_;
5867 NI T3_;
5868 result = (NIM_BOOL)0;
5869 T1_ = (NIM_BOOL)0;
5870 T1_ = ((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2));
5871 if (!(T1_)) goto LA2_;
5872 T3_ = (NI)0;
5873 T3_ = nsuCmpIgnoreStyle((*(*n)._kind_5.ident).s, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_155));
5874 T1_ = (T3_ == ((NI) 0));
5875 LA2_: ;
5876 result = T1_;
5877 return result;
5878 }
N_NIMCALL(void,traceDeps__docgen_5131)5879 N_LIB_PRIVATE N_NIMCALL(void, traceDeps__docgen_5131)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* it) {
5880 {
5881 NIM_BOOL T3_;
5882 NIM_BOOL T4_;
5883 NI T6_;
5884 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* sep;
5885 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* dir;
5886 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a;
5887 T3_ = (NIM_BOOL)0;
5888 T4_ = (NIM_BOOL)0;
5889 T4_ = ((*it).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 29));
5890 if (!(T4_)) goto LA5_;
5891 T6_ = (NI)0;
5892 T6_ = len__ast_3198(it);
5893 T4_ = (T6_ == ((NI) 3));
5894 LA5_: ;
5895 T3_ = T4_;
5896 if (!(T3_)) goto LA7_;
5897 T3_ = ((*(*it)._kind_6.sons->data[((NI) 2)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 41));
5898 LA7_: ;
5899 if (!T3_) goto LA8_;
5900 sep = (*it)._kind_6.sons->data[((NI) 0)];
5901 dir = (*it)._kind_6.sons->data[((NI) 1)];
5902 a = newNodeI__ast_3356(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 29), (*it).info);
5903 add__ast_4797(a, sep);
5904 add__ast_4797(a, dir);
5905 add__ast_4797(a, sep);
5906 {
5907 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x;
5908 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* colontmp_;
5909 x = NIM_NIL;
5910 colontmp_ = NIM_NIL;
5911 colontmp_ = (*it)._kind_6.sons->data[((NI) 2)];
5912 {
5913 NI i;
5914 NI colontmp__2;
5915 NI i_2;
5916 i = (NI)0;
5917 colontmp__2 = (NI)0;
5918 colontmp__2 = safeLen__ast_3191(colontmp_);
5919 i_2 = ((NI) 0);
5920 {
5921 while (1) {
5922 if (!(i_2 < colontmp__2)) goto LA13;
5923 i = i_2;
5924 x = (*colontmp_)._kind_6.sons->data[i];
5925 asgnRef((void**) (&(*a)._kind_6.sons->data[((NI) 2)]), x);
5926 traceDeps__docgen_5131(d, a);
5927 i_2 += ((NI) 1);
5928 } LA13: ;
5929 }
5930 }
5931 }
5932 }
5933 goto LA1_;
5934 LA8_: ;
5935 {
5936 NIM_BOOL T15_;
5937 NimStringDesc* external;
5938 T15_ = (NIM_BOOL)0;
5939 T15_ = ((*it).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
5940 if (!(T15_)) goto LA16_;
5941 T15_ = belongsToPackage__docgen_571((*d).conf, (*it)._kind_4.sym);
5942 LA16_: ;
5943 if (!T15_) goto LA17_;
5944 external = externalDep__docgen_579(d, (*it)._kind_4.sym);
5945 {
5946 if (!!((((*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6))- 0].finalMarkup ? (*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6))- 0].finalMarkup->Sup.len : 0) == 0))) goto LA21_;
5947 asgnRef((void**) (&(*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6))- 0].finalMarkup), resizeString((*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6))- 0].finalMarkup, 2));
5948 appendString((*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6))- 0].finalMarkup, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_78));
5949 }
5950 LA21_: ;
5951 {
5952 NIM_BOOL T25_;
5953 tyArray__Re75IspeoxXy2oCZHwcRrA T28_;
5954 NimStringDesc* T29_;
5955 T25_ = (NIM_BOOL)0;
5956 T25_ = isLatexCmd__docgen_345((*d).conf);
5957 if (!!(T25_)) goto LA26_;
5958 nimZeroMem((void*)T28_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
5959 T29_ = NIM_NIL;
5960 T29_ = prettyLink__packagesZdocutilsZrstgen_85(external);
5961 T28_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, T29_, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
5962 T28_[1] = noschangeFileExt(external, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_57));
5963 nsuAddf((&(*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6))- 0].finalMarkup), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_156), T28_, 2);
5964 }
5965 goto LA23_;
5966 LA26_: ;
5967 {
5968 tyArray__Re75IspeoxXy2oCZHwcRrA T31_;
5969 NimStringDesc* T32_;
5970 nimZeroMem((void*)T31_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
5971 T32_ = NIM_NIL;
5972 T32_ = prettyLink__packagesZdocutilsZrstgen_85(external);
5973 T31_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, T32_, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
5974 T31_[1] = noschangeFileExt(external, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_57));
5975 nsuAddf((&(*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6))- 0].finalMarkup), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_28), T31_, 2);
5976 }
5977 LA23_: ;
5978 }
5979 goto LA1_;
5980 LA17_: ;
5981 LA1_: ;
5982 }
N_NIMCALL(void,exportSym__docgen_5172)5983 N_LIB_PRIVATE N_NIMCALL(void, exportSym__docgen_5172)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* s) {
5984 {
5985 NIM_BOOL T3_;
5986 NimStringDesc* external;
5987 T3_ = (NIM_BOOL)0;
5988 T3_ = ((*s).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6));
5989 if (!(T3_)) goto LA4_;
5990 T3_ = belongsToPackage__docgen_571((*d).conf, s);
5991 LA4_: ;
5992 if (!T3_) goto LA5_;
5993 external = externalDep__docgen_579(d, s);
5994 {
5995 if (!!((((*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0].finalMarkup ? (*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0].finalMarkup->Sup.len : 0) == 0))) goto LA9_;
5996 asgnRef((void**) (&(*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0].finalMarkup), resizeString((*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0].finalMarkup, 2));
5997 appendString((*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0].finalMarkup, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_78));
5998 }
5999 LA9_: ;
6000 {
6001 NIM_BOOL T13_;
6002 tyArray__Re75IspeoxXy2oCZHwcRrA T16_;
6003 NimStringDesc* T17_;
6004 T13_ = (NIM_BOOL)0;
6005 T13_ = isLatexCmd__docgen_345((*d).conf);
6006 if (!!(T13_)) goto LA14_;
6007 nimZeroMem((void*)T16_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
6008 T17_ = NIM_NIL;
6009 T17_ = prettyLink__packagesZdocutilsZrstgen_85(external);
6010 T16_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, T17_, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
6011 T16_[1] = noschangeFileExt(external, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_57));
6012 nsuAddf((&(*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0].finalMarkup), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_156), T16_, 2);
6013 }
6014 goto LA11_;
6015 LA14_: ;
6016 {
6017 tyArray__Re75IspeoxXy2oCZHwcRrA T19_;
6018 NimStringDesc* T20_;
6019 nimZeroMem((void*)T19_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
6020 T20_ = NIM_NIL;
6021 T20_ = prettyLink__packagesZdocutilsZrstgen_85(external);
6022 T19_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, T20_, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
6023 T19_[1] = noschangeFileExt(external, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_57));
6024 nsuAddf((&(*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0].finalMarkup), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_28), T19_, 2);
6025 }
6026 LA11_: ;
6027 }
6028 goto LA1_;
6029 LA5_: ;
6030 {
6031 NIM_BOOL T22_;
6032 tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ* module;
6033 T22_ = (NIM_BOOL)0;
6034 T22_ = !(((*s).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6)));
6035 if (!(T22_)) goto LA23_;
6036 T22_ = !(((*s).owner == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)));
6037 LA23_: ;
6038 if (!T22_) goto LA24_;
6039 module = originatingModule__ast_4669(s);
6040 {
6041 NIM_BOOL T28_;
6042 NimStringDesc* complexSymbol;
6043 NimStringDesc* symbolOrId;
6044 NimStringDesc* external_2;
6045 T28_ = (NIM_BOOL)0;
6046 T28_ = belongsToPackage__docgen_571((*d).conf, module);
6047 if (!T28_) goto LA29_;
6048 complexSymbol = complexName__docgen_3388((*s).kind, (*s).ast, (*(*s).name).s);
6049 symbolOrId = newUniquePlainSymbol__docgen_3379(d, complexSymbol);
6050 external_2 = externalDep__docgen_579(d, module);
6051 {
6052 if (!!((((*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0].finalMarkup ? (*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0].finalMarkup->Sup.len : 0) == 0))) goto LA33_;
6053 asgnRef((void**) (&(*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0].finalMarkup), resizeString((*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0].finalMarkup, 2));
6054 appendString((*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0].finalMarkup, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_78));
6055 }
6056 LA33_: ;
6057 {
6058 NIM_BOOL T37_;
6059 tyArray__24KAM9afIUgUaqBaEBB6r9bg T40_;
6060 T37_ = (NIM_BOOL)0;
6061 T37_ = isLatexCmd__docgen_345((*d).conf);
6062 if (!!(T37_)) goto LA38_;
6063 nimZeroMem((void*)T40_, sizeof(tyArray__24KAM9afIUgUaqBaEBB6r9bg));
6064 T40_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, (*(*s).name).s, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
6065 T40_[1] = noschangeFileExt(external_2, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_57));
6066 T40_[2] = copyString(symbolOrId);
6067 nsuAddf((&(*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0].finalMarkup), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_157), T40_, 3);
6068 }
6069 goto LA35_;
6070 LA38_: ;
6071 {
6072 tyArray__24KAM9afIUgUaqBaEBB6r9bg T42_;
6073 nimZeroMem((void*)T42_, sizeof(tyArray__24KAM9afIUgUaqBaEBB6r9bg));
6074 T42_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, (*(*s).name).s, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
6075 T42_[1] = noschangeFileExt(external_2, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_57));
6076 T42_[2] = copyString(symbolOrId);
6077 nsuAddf((&(*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0].finalMarkup), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_28), T42_, 3);
6078 }
6079 LA35_: ;
6080 }
6081 LA29_: ;
6082 }
6083 goto LA1_;
6084 LA24_: ;
6085 LA1_: ;
6086 }
N_NIMCALL(void,add__docgen_5446)6087 N_LIB_PRIVATE N_NIMCALL(void, add__docgen_5446)(tySequence__Wm9aGag2treFuYnXRdy8u9bA** x, tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA* y, NI yLen_0) {
6088 NI xl;
6089 NI T1_;
6090 T1_ = ((*x) ? (*x)->Sup.len : 0);
6091 xl = T1_;
6092 unsureAsgnRef((void**) (&(*x)), (tySequence__Wm9aGag2treFuYnXRdy8u9bA*) setLengthSeqV2(&((*x))->Sup, (&NTIitempre__Wm9aGag2treFuYnXRdy8u9bA_), ((NI) ((NI)(xl + yLen_0)))));
6093 {
6094 NI i;
6095 NI colontmp_;
6096 NI res;
6097 i = (NI)0;
6098 colontmp_ = (NI)0;
6099 colontmp_ = (yLen_0-1);
6100 res = ((NI) 0);
6101 {
6102 while (1) {
6103 if (!(res <= colontmp_)) goto LA4;
6104 i = res;
6105 genericAssign((void*)(&(*x)->data[(NI)(xl + i)]), (void*)(&y[i]), (&NTIitemfragment__1E61TU9aUfqHCQZV7JEfWuA_));
6106 res += ((NI) 1);
6107 } LA4: ;
6108 }
6109 }
6110 }
N_NIMCALL(void,generateDoc__docgen_5366)6111 N_LIB_PRIVATE N_NIMCALL(void, generateDoc__docgen_5366)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* orig, tyEnum_DocFlags__n80LVfoJIDYz0UaY4RmOog docFlags) {
6112 switch ((*n).kind) {
6113 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 90):
6114 {
6115 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* pragmaNode;
6116 NimStringDesc* T2_;
6117 pragmaNode = findPragma__trees_271(n, ((tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw) 138));
6118 T2_ = NIM_NIL;
6119 T2_ = genDeprecationMsg__docgen_3409(d, pragmaNode);
6120 asgnRef((void**) (&(*d).modDeprecationMsg), resizeString((*d).modDeprecationMsg, (T2_ ? T2_->Sup.len : 0) + 0));
6121 appendString((*d).modDeprecationMsg, T2_);
6122 }
6123 break;
6124 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 125):
6125 {
6126 tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* T4_;
6127 T4_ = NIM_NIL;
6128 T4_ = genComment__docgen_508(d, n);
6129 add__docgen_106((&(*d).modDescPre), T4_);
6130 }
6131 break;
6132 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 79):
6133 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 159):
6134 {
6135 documentRaises__docgen_5281((*d).cache, n);
6136 genItem__docgen_3445(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 12), docFlags);
6137 }
6138 break;
6139 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 80):
6140 {
6141 documentRaises__docgen_5281((*d).cache, n);
6142 genItem__docgen_3445(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 14), docFlags);
6143 }
6144 break;
6145 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 84):
6146 {
6147 documentRaises__docgen_5281((*d).cache, n);
6148 genItem__docgen_3445(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15), docFlags);
6149 }
6150 break;
6151 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 82):
6152 {
6153 genItem__docgen_3445(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 17), docFlags);
6154 }
6155 break;
6156 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 83):
6157 {
6158 genItem__docgen_3445(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 18), docFlags);
6159 }
6160 break;
6161 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 81):
6162 {
6163 documentRaises__docgen_5281((*d).cache, n);
6164 genItem__docgen_3445(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 16), docFlags);
6165 }
6166 break;
6167 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 98):
6168 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 99):
6169 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 100):
6170 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 101):
6171 {
6172 {
6173 NI i;
6174 NI colontmp_;
6175 NI i_2;
6176 i = (NI)0;
6177 colontmp_ = (NI)0;
6178 colontmp_ = len__ast_3198(n);
6179 i_2 = ((NI) 0);
6180 {
6181 while (1) {
6182 if (!(i_2 < colontmp_)) goto LA14;
6183 i = i_2;
6184 {
6185 if (!!(((*(*n)._kind_6.sons->data[i]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 125)))) goto LA17_;
6186 genItem__docgen_3445(d, (*n)._kind_6.sons->data[i], (*(*n)._kind_6.sons->data[i])._kind_6.sons->data[((NI) 0)], (tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw)(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 7) + (NI)((*n).kind - ((NI) 98))), docFlags);
6187 }
6188 LA17_: ;
6189 i_2 += ((NI) 1);
6190 } LA14: ;
6191 }
6192 }
6193 }
6194 break;
6195 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115):
6196 {
6197 {
6198 NI i_3;
6199 NI colontmp__2;
6200 NI i_4;
6201 i_3 = (NI)0;
6202 colontmp__2 = (NI)0;
6203 colontmp__2 = len__ast_3198(n);
6204 i_4 = ((NI) 0);
6205 {
6206 while (1) {
6207 if (!(i_4 < colontmp__2)) goto LA22;
6208 i_3 = i_4;
6209 generateDoc__docgen_5366(d, (*n)._kind_6.sons->data[i_3], orig, ((tyEnum_DocFlags__n80LVfoJIDYz0UaY4RmOog) 0));
6210 i_4 += ((NI) 1);
6211 } LA22: ;
6212 }
6213 }
6214 }
6215 break;
6216 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 93):
6217 {
6218 {
6219 NIM_BOOL T26_;
6220 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T29_;
6221 T26_ = (NIM_BOOL)0;
6222 T26_ = checkForFalse__docgen_5124((*(*n)._kind_6.sons->data[((NI) 0)])._kind_6.sons->data[((NI) 0)]);
6223 if (!!(T26_)) goto LA27_;
6224 T29_ = NIM_NIL;
6225 T29_ = lastSon__ast_4832((*n)._kind_6.sons->data[((NI) 0)]);
6226 generateDoc__docgen_5366(d, T29_, orig, ((tyEnum_DocFlags__n80LVfoJIDYz0UaY4RmOog) 0));
6227 }
6228 LA27_: ;
6229 }
6230 break;
6231 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 116):
6232 {
6233 {
6234 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* it;
6235 it = NIM_NIL;
6236 {
6237 NI i_5;
6238 NI colontmp__3;
6239 NI i_6;
6240 i_5 = (NI)0;
6241 colontmp__3 = (NI)0;
6242 colontmp__3 = safeLen__ast_3191(n);
6243 i_6 = ((NI) 0);
6244 {
6245 while (1) {
6246 if (!(i_6 < colontmp__3)) goto LA34;
6247 i_5 = i_6;
6248 it = (*n)._kind_6.sons->data[i_5];
6249 traceDeps__docgen_5131(d, it);
6250 i_6 += ((NI) 1);
6251 } LA34: ;
6252 }
6253 }
6254 }
6255 }
6256 break;
6257 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 118):
6258 {
6259 {
6260 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* it_2;
6261 it_2 = NIM_NIL;
6262 {
6263 NI i_7;
6264 NI colontmp__4;
6265 NI i_8;
6266 i_7 = (NI)0;
6267 colontmp__4 = (NI)0;
6268 colontmp__4 = safeLen__ast_3191(n);
6269 i_8 = ((NI) 0);
6270 {
6271 while (1) {
6272 if (!(i_8 < colontmp__4)) goto LA39;
6273 i_7 = i_8;
6274 it_2 = (*n)._kind_6.sons->data[i_7];
6275 {
6276 if (!((*it_2).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3))) goto LA42_;
6277 {
6278 NIM_BOOL T46_;
6279 T46_ = (NIM_BOOL)0;
6280 T46_ = !(((*d).module == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL)));
6281 if (!(T46_)) goto LA47_;
6282 T46_ = ((*d).module == (*(*it_2)._kind_4.sym).owner);
6283 LA47_: ;
6284 if (!T46_) goto LA48_;
6285 generateDoc__docgen_5366(d, (*(*it_2)._kind_4.sym).ast, orig, ((tyEnum_DocFlags__n80LVfoJIDYz0UaY4RmOog) 1));
6286 }
6287 goto LA44_;
6288 LA48_: ;
6289 {
6290 if (!!(((*(*it_2)._kind_4.sym).ast == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL)))) goto LA51_;
6291 exportSym__docgen_5172(d, (*it_2)._kind_4.sym);
6292 }
6293 goto LA44_;
6294 LA51_: ;
6295 LA44_: ;
6296 }
6297 LA42_: ;
6298 i_8 += ((NI) 1);
6299 } LA39: ;
6300 }
6301 }
6302 }
6303 }
6304 break;
6305 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 119):
6306 {
6307 }
6308 break;
6309 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 120):
6310 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 117):
6311 {
6312 traceDeps__docgen_5131(d, (*n)._kind_6.sons->data[((NI) 0)]);
6313 }
6314 break;
6315 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 26) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 32):
6316 {
6317 tySequence__Wm9aGag2treFuYnXRdy8u9bA* comm;
6318 comm = NIM_NIL;
6319 getAllRunnableExamples__docgen_3246(d, n, (&comm));
6320 {
6321 NI T58_;
6322 T58_ = (comm ? comm->Sup.len : 0);
6323 if (!!((T58_ == ((NI) 0)))) goto LA59_;
6324 add__docgen_5446((&(*d).modDescPre), comm->data, (comm ? comm->Sup.len : 0));
6325 }
6326 LA59_: ;
6327 }
6328 break;
6329 default:
6330 {
6331 }
6332 break;
6333 }
6334 }
N_NIMCALL(tySequence__MnKKQ5PGyDp4x1lUEG41Ag *,newSeq__docgen_5542)6335 N_LIB_PRIVATE N_NIMCALL(tySequence__MnKKQ5PGyDp4x1lUEG41Ag*, newSeq__docgen_5542)(NI len) {
6336 tySequence__MnKKQ5PGyDp4x1lUEG41Ag* result;
6337 result = NIM_NIL;
6338 result = (tySequence__MnKKQ5PGyDp4x1lUEG41Ag*) newSeq((&NTIseqLitemT__MnKKQ5PGyDp4x1lUEG41Ag_), len);
6339 return result;
6340 }
N_INLINE(NI,star___pureZalgorithm_8)6341 static N_INLINE(NI, star___pureZalgorithm_8)(NI x, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order) {
6342 NI result;
6343 NI y;
6344 result = (NI)0;
6345 y = (NI)(order - ((NI) 1));
6346 result = (NI)((NI)(x ^ y) - y);
6347 return result;
6348 }
N_NIMCALL(void,mergeAlt__docgen_5584)6349 N_LIB_PRIVATE N_NIMCALL(void, mergeAlt__docgen_5584)(tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw* a, NI aLen_0, tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw* b, NI bLen_0, NI lo, NI m, NI hi, tyProc__2NUTrG5LP9b86R9b8Iu9a2aRQ cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order) {
6350 NI j;
6351 NI bb;
6352 NI i;
6353 NI k;
6354 { {
6355 NI T3_;
6356 NI T4_;
6357 T3_ = (NI)0;
6358 T3_ = cmp.ClE_0? cmp.ClP_0(a[m], a[(NI)(m + ((NI) 1))], cmp.ClE_0):((TM__5fUAZGW8WPeit3fZaQyNXA_158)(cmp.ClP_0))(a[m], a[(NI)(m + ((NI) 1))]);
6359 T4_ = (NI)0;
6360 T4_ = star___pureZalgorithm_8(T3_, order);
6361 if (!(T4_ <= ((NI) 0))) goto LA5_;
6362 goto BeforeRet_;
6363 }
6364 LA5_: ;
6365 j = lo;
6366 bb = ((NI) 0);
6367 {
6368 while (1) {
6369 if (!(j <= m)) goto LA8;
6370 unsureAsgnRef((void**) (&b[bb].descRst), a[j].descRst);
6371 unsureAsgnRef((void**) (&b[bb].substitutions), a[j].substitutions);
6372 unsureAsgnRef((void**) (&b[bb].sortName), a[j].sortName);
6373 bb += ((NI) 1);
6374 j += ((NI) 1);
6375 } LA8: ;
6376 }
6377 i = ((NI) 0);
6378 k = lo;
6379 {
6380 while (1) {
6381 NIM_BOOL T11_;
6382 T11_ = (NIM_BOOL)0;
6383 T11_ = (k < j);
6384 if (!(T11_)) goto LA12_;
6385 T11_ = (j <= hi);
6386 LA12_: ;
6387 if (!T11_) goto LA10;
6388 {
6389 NI T15_;
6390 NI T16_;
6391 T15_ = (NI)0;
6392 T15_ = cmp.ClE_0? cmp.ClP_0(b[i], a[j], cmp.ClE_0):((TM__5fUAZGW8WPeit3fZaQyNXA_159)(cmp.ClP_0))(b[i], a[j]);
6393 T16_ = (NI)0;
6394 T16_ = star___pureZalgorithm_8(T15_, order);
6395 if (!(T16_ <= ((NI) 0))) goto LA17_;
6396 unsureAsgnRef((void**) (&a[k].descRst), b[i].descRst);
6397 unsureAsgnRef((void**) (&a[k].substitutions), b[i].substitutions);
6398 unsureAsgnRef((void**) (&a[k].sortName), b[i].sortName);
6399 i += ((NI) 1);
6400 }
6401 goto LA13_;
6402 LA17_: ;
6403 {
6404 unsureAsgnRef((void**) (&a[k].descRst), a[j].descRst);
6405 unsureAsgnRef((void**) (&a[k].substitutions), a[j].substitutions);
6406 unsureAsgnRef((void**) (&a[k].sortName), a[j].sortName);
6407 j += ((NI) 1);
6408 }
6409 LA13_: ;
6410 k += ((NI) 1);
6411 } LA10: ;
6412 }
6413 {
6414 while (1) {
6415 if (!(k < j)) goto LA21;
6416 unsureAsgnRef((void**) (&a[k].descRst), b[i].descRst);
6417 unsureAsgnRef((void**) (&a[k].substitutions), b[i].substitutions);
6418 unsureAsgnRef((void**) (&a[k].sortName), b[i].sortName);
6419 k += ((NI) 1);
6420 i += ((NI) 1);
6421 } LA21: ;
6422 }
6423 }BeforeRet_: ;
6424 }
N_NIMCALL(void,sort__docgen_5567)6425 N_LIB_PRIVATE N_NIMCALL(void, sort__docgen_5567)(tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw* a, NI aLen_0, tyProc__2NUTrG5LP9b86R9b8Iu9a2aRQ cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order) {
6426 NI n;
6427 tySequence__MnKKQ5PGyDp4x1lUEG41Ag* b;
6428 NI s;
6429 n = aLen_0;
6430 b = newSeq__docgen_5542(((NI) ((NI)(n / ((NI) 2)))));
6431 s = ((NI) 1);
6432 {
6433 while (1) {
6434 NI m;
6435 if (!(s < n)) goto LA2;
6436 m = (NI)((NI)(n - ((NI) 1)) - s);
6437 {
6438 while (1) {
6439 if (!(((NI) 0) <= m)) goto LA4;
6440 mergeAlt__docgen_5584(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);
6441 m -= (NI)(s * ((NI) 2));
6442 } LA4: ;
6443 }
6444 s = (NI)(s * ((NI) 2));
6445 } LA2: ;
6446 }
6447 }
N_NIMCALL(tySequence__MnKKQ5PGyDp4x1lUEG41Ag *,sorted__docgen_5530)6448 N_LIB_PRIVATE N_NIMCALL(tySequence__MnKKQ5PGyDp4x1lUEG41Ag*, sorted__docgen_5530)(tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw* a, NI aLen_0, tyProc__2NUTrG5LP9b86R9b8Iu9a2aRQ cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order) {
6449 tySequence__MnKKQ5PGyDp4x1lUEG41Ag* result;
6450 result = NIM_NIL;
6451 result = newSeq__docgen_5542(((NI) (aLen_0)));
6452 {
6453 NI i;
6454 NI colontmp_;
6455 NI res;
6456 i = (NI)0;
6457 colontmp_ = (NI)0;
6458 colontmp_ = (aLen_0-1);
6459 res = ((NI) 0);
6460 {
6461 while (1) {
6462 NimStringDesc* T4_;
6463 if (!(res <= colontmp_)) goto LA3;
6464 i = res;
6465 genericSeqAssign((&result->data[i].descRst), a[i].descRst, (&NTIitempre__Wm9aGag2treFuYnXRdy8u9bA_));
6466 genericSeqAssign((&result->data[i].substitutions), a[i].substitutions, (&NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_));
6467 T4_ = NIM_NIL;
6468 T4_ = result->data[i].sortName; result->data[i].sortName = copyStringRC1(a[i].sortName);
6469 if (T4_) nimGCunrefNoCycle(T4_);
6470 res += ((NI) 1);
6471 } LA3: ;
6472 }
6473 }
6474 sort__docgen_5567(result->data, (result ? result->Sup.len : 0), cmp, order);
6475 return result;
6476 }
N_NIMCALL(NI,cmpDecimalsIgnoreCase__docgen_132)6477 N_LIB_PRIVATE N_NIMCALL(NI, cmpDecimalsIgnoreCase__docgen_132)(NimStringDesc* a, NimStringDesc* b) {
6478 NI result;
6479 NI aLen;
6480 NI bLen;
6481 NI iA;
6482 NI iB;
6483 { result = (NI)0;
6484 aLen = (a ? a->Sup.len : 0);
6485 bLen = (b ? b->Sup.len : 0);
6486 iA = ((NI) 0);
6487 iB = ((NI) 0);
6488 {
6489 while (1) {
6490 NIM_BOOL T3_;
6491 T3_ = (NIM_BOOL)0;
6492 T3_ = (iA < aLen);
6493 if (!(T3_)) goto LA4_;
6494 T3_ = (iB < bLen);
6495 LA4_: ;
6496 if (!T3_) goto LA2;
6497 {
6498 NIM_BOOL T7_;
6499 NI limitA;
6500 NI limitB;
6501 NI pos;
6502 T7_ = (NIM_BOOL)0;
6503 T7_ = nsuIsDigitChar(a->data[iA]);
6504 if (!(T7_)) goto LA8_;
6505 T7_ = nsuIsDigitChar(b->data[iB]);
6506 LA8_: ;
6507 if (!T7_) goto LA9_;
6508 limitA = iA;
6509 limitB = iB;
6510 {
6511 while (1) {
6512 NIM_BOOL T13_;
6513 T13_ = (NIM_BOOL)0;
6514 T13_ = (limitA < aLen);
6515 if (!(T13_)) goto LA14_;
6516 T13_ = nsuIsDigitChar(a->data[limitA]);
6517 LA14_: ;
6518 if (!T13_) goto LA12;
6519 limitA += ((NI) 1);
6520 } LA12: ;
6521 }
6522 {
6523 while (1) {
6524 NIM_BOOL T17_;
6525 T17_ = (NIM_BOOL)0;
6526 T17_ = (limitB < bLen);
6527 if (!(T17_)) goto LA18_;
6528 T17_ = nsuIsDigitChar(b->data[limitB]);
6529 LA18_: ;
6530 if (!T17_) goto LA16;
6531 limitB += ((NI) 1);
6532 } LA16: ;
6533 }
6534 pos = (((NI)(limitA - iA) >= (NI)(limitB - iA)) ? (NI)(limitA - iA) : (NI)(limitB - iA));
6535 {
6536 while (1) {
6537 if (!(((NI) 0) < pos)) goto LA20;
6538 {
6539 if (!((NI)(limitA - pos) < iA)) goto LA23_;
6540 result = (NI)(((NI) 48) - ((NU8)(b->data[(NI)(limitB - pos)])));
6541 }
6542 goto LA21_;
6543 LA23_: ;
6544 {
6545 if (!((NI)(limitB - pos) < iB)) goto LA26_;
6546 result = (NI)(((NU8)(a->data[(NI)(limitA - pos)])) - ((NI) 48));
6547 }
6548 goto LA21_;
6549 LA26_: ;
6550 {
6551 result = (NI)(((NU8)(a->data[(NI)(limitA - pos)])) - ((NU8)(b->data[(NI)(limitB - pos)])));
6552 }
6553 LA21_: ;
6554 {
6555 if (!!((result == ((NI) 0)))) goto LA31_;
6556 goto BeforeRet_;
6557 }
6558 LA31_: ;
6559 pos -= ((NI) 1);
6560 } LA20: ;
6561 }
6562 result = (NI)((NI)(limitA - iA) - (NI)(limitB - iB));
6563 {
6564 if (!!((result == ((NI) 0)))) goto LA35_;
6565 goto BeforeRet_;
6566 }
6567 LA35_: ;
6568 iA = limitA;
6569 iB = limitB;
6570 }
6571 goto LA5_;
6572 LA9_: ;
6573 {
6574 NIM_CHAR T38_;
6575 NIM_CHAR T39_;
6576 T38_ = (NIM_CHAR)0;
6577 T38_ = nsuToLowerAsciiChar(a->data[iA]);
6578 T39_ = (NIM_CHAR)0;
6579 T39_ = nsuToLowerAsciiChar(b->data[iB]);
6580 result = (NI)(((NU8)(T38_)) - ((NU8)(T39_)));
6581 {
6582 if (!!((result == ((NI) 0)))) goto LA42_;
6583 goto BeforeRet_;
6584 }
6585 LA42_: ;
6586 iA += ((NI) 1);
6587 iB += ((NI) 1);
6588 }
6589 LA5_: ;
6590 } LA2: ;
6591 }
6592 result = (NI)((NI)(aLen - iA) - (NI)(bLen - iB));
6593 }BeforeRet_: ;
6594 return result;
6595 }
N_NIMCALL(NI,cmp__docgen_5519)6596 N_LIB_PRIVATE N_NIMCALL(NI, cmp__docgen_5519)(tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw x, tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw y) {
6597 NI result;
6598 result = (NI)0;
6599 result = cmpDecimalsIgnoreCase__docgen_132(x.sortName, y.sortName);
6600 return result;
6601 }
N_NIMCALL(void,renderItemPre__docgen_5501)6602 N_LIB_PRIVATE N_NIMCALL(void, renderItemPre__docgen_5501)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tySequence__Wm9aGag2treFuYnXRdy8u9bA* fragments, NimStringDesc** result) {
6603 {
6604 tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA* f;
6605 NI i;
6606 NI L;
6607 NI T2_;
6608 f = (tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA*)0;
6609 i = ((NI) 0);
6610 T2_ = (fragments ? fragments->Sup.len : 0);
6611 L = T2_;
6612 {
6613 while (1) {
6614 if (!(i < L)) goto LA4;
6615 f = (&fragments->data[i]);
6616 switch ((*f).isRst) {
6617 case NIM_TRUE:
6618 {
6619 tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* resolved;
6620 resolved = resolveSubs__packagesZdocutilsZrst_6766((*d).sharedState, (*f)._isRst_1.rst);
6621 renderRstToOut__packagesZdocutilsZrstgen_299(&d->Sup, resolved, result);
6622 }
6623 break;
6624 case NIM_FALSE:
6625 {
6626 unsureAsgnRef((void**) (&(*result)), resizeString((*result), ((*f)._isRst_2.str ? (*f)._isRst_2.str->Sup.len : 0) + 0));
6627 appendString((*result), (*f)._isRst_2.str);
6628 }
6629 break;
6630 default:
6631 {
6632 }
6633 break;
6634 }
6635 i += ((NI) 1);
6636 } LA4: ;
6637 }
6638 }
6639 }
N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ *,amp___docgen_5668)6640 N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, amp___docgen_5668)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* x, tySequence__sM4lkSb7zS6F7OVMvW9cffQ* y) {
6641 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* result;
6642 NI T1_;
6643 NI T2_;
6644 result = NIM_NIL;
6645 T1_ = (x ? x->Sup.len : 0);
6646 T2_ = (y ? y->Sup.len : 0);
6647 result = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) newSeq((&NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_), ((NI) ((NI)(T1_ + T2_))));
6648 {
6649 NI i;
6650 NI colontmp_;
6651 NI T4_;
6652 NI res;
6653 i = (NI)0;
6654 colontmp_ = (NI)0;
6655 T4_ = (x ? x->Sup.len : 0);
6656 colontmp_ = (NI)(T4_ - ((NI) 1));
6657 res = ((NI) 0);
6658 {
6659 while (1) {
6660 NimStringDesc* T7_;
6661 if (!(res <= colontmp_)) goto LA6;
6662 i = res;
6663 T7_ = NIM_NIL;
6664 T7_ = result->data[i]; result->data[i] = copyStringRC1(x->data[i]);
6665 if (T7_) nimGCunrefNoCycle(T7_);
6666 res += ((NI) 1);
6667 } LA6: ;
6668 }
6669 }
6670 {
6671 NI i_2;
6672 NI colontmp__2;
6673 NI T9_;
6674 NI res_2;
6675 i_2 = (NI)0;
6676 colontmp__2 = (NI)0;
6677 T9_ = (y ? y->Sup.len : 0);
6678 colontmp__2 = (NI)(T9_ - ((NI) 1));
6679 res_2 = ((NI) 0);
6680 {
6681 while (1) {
6682 NI T12_;
6683 NimStringDesc* T13_;
6684 if (!(res_2 <= colontmp__2)) goto LA11;
6685 i_2 = res_2;
6686 T12_ = (x ? x->Sup.len : 0);
6687 T13_ = NIM_NIL;
6688 T13_ = result->data[(NI)(i_2 + T12_)]; result->data[(NI)(i_2 + T12_)] = copyStringRC1(y->data[i_2]);
6689 if (T13_) nimGCunrefNoCycle(T13_);
6690 res_2 += ((NI) 1);
6691 } LA11: ;
6692 }
6693 }
6694 return result;
6695 }
N_INLINE(void,X5BX5Deq___pureZjson_1923)6696 static N_INLINE(void, X5BX5Deq___pureZjson_1923)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* obj, NimStringDesc* key, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* val) {
6697 X5BX5Deq___pureZjson_287((&(*obj)._kind_6.fields), key, val);
6698 }
N_NIMCALL(void,finishGenerateDoc__docgen_5479)6699 N_LIB_PRIVATE N_NIMCALL(void, finishGenerateDoc__docgen_5479)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA** d) {
6700 tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* firstRst;
6701 NIM_BOOL T24_;
6702 genericSeqAssign((&(*(*d)).Sup.filenames.filenameToIdx.data), (*(*(*d)).sharedState).filenames.filenameToIdx.data, (&NTIkeyvaluepairseq__7lEisrXlQEzwtUKW5pzRCw_));
6703 (*(*d)).Sup.filenames.filenameToIdx.counter = (*(*(*d)).sharedState).filenames.filenameToIdx.counter;
6704 genericSeqAssign((&(*(*d)).Sup.filenames.idxToFilename), (*(*(*d)).sharedState).filenames.idxToFilename, (&NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_));
6705 firstRst = ((tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*) NIM_NIL);
6706 {
6707 tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA* fragment;
6708 NI i;
6709 NI L;
6710 NI T2_;
6711 fragment = (tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA*)0;
6712 i = ((NI) 0);
6713 T2_ = ((*(*d)).modDescPre ? (*(*d)).modDescPre->Sup.len : 0);
6714 L = T2_;
6715 {
6716 while (1) {
6717 if (!(i < L)) goto LA4;
6718 fragment = (&(*(*d)).modDescPre->data[i]);
6719 {
6720 if (!(*fragment).isRst) goto LA7_;
6721 firstRst = (*fragment)._isRst_1.rst;
6722 goto LA1;
6723 }
6724 LA7_: ;
6725 i += ((NI) 1);
6726 } LA4: ;
6727 }
6728 } LA1: ;
6729 preparePass2__packagesZdocutilsZrst_6763((*(*d)).sharedState, firstRst);
6730 {
6731 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k;
6732 k = (tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw)0;
6733 {
6734 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw v;
6735 NI res;
6736 v = (tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw)0;
6737 res = ((NI) 0);
6738 {
6739 while (1) {
6740 if (!(res <= ((NI) 25))) goto LA12;
6741 v = ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) (res));
6742 k = v;
6743 {
6744 tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw* item;
6745 tySequence__MnKKQ5PGyDp4x1lUEG41Ag* colontmp_;
6746 tyProc__2NUTrG5LP9b86R9b8Iu9a2aRQ T14_;
6747 NI i_2;
6748 NI L_2;
6749 NI T15_;
6750 item = (tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw*)0;
6751 colontmp_ = NIM_NIL;
6752 nimZeroMem((void*)(&T14_), sizeof(tyProc__2NUTrG5LP9b86R9b8Iu9a2aRQ));
6753 T14_.ClP_0 = ((TM__5fUAZGW8WPeit3fZaQyNXA_160) (cmp__docgen_5519)); T14_.ClE_0 = NIM_NIL;
6754 colontmp_ = sorted__docgen_5530((*(*d)).section[(k)- 0].secItems->data, ((*(*d)).section[(k)- 0].secItems ? (*(*d)).section[(k)- 0].secItems->Sup.len : 0), T14_, ((tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA) 1));
6755 i_2 = ((NI) 0);
6756 T15_ = (colontmp_ ? colontmp_->Sup.len : 0);
6757 L_2 = T15_;
6758 {
6759 while (1) {
6760 NimStringDesc* itemDesc;
6761 NimStringDesc* T18_;
6762 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* T19_;
6763 NimStringDesc* T20_;
6764 NimStringDesc* T21_;
6765 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* T22_;
6766 NimStringDesc* T23_;
6767 if (!(i_2 < L_2)) goto LA17;
6768 item = (&colontmp_->data[i_2]);
6769 itemDesc = NIM_NIL;
6770 renderItemPre__docgen_5501((*d), (*item).descRst, (&itemDesc));
6771 T18_ = NIM_NIL;
6772 T18_ = getConfigVar__options_4019((*(*d)).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_161), ((NimStringDesc*) NIM_NIL));
6773 T19_ = NIM_NIL;
6774 T19_ = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) newSeq((&NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_), 2);
6775 T20_ = NIM_NIL;
6776 T20_ = T19_->data[0]; T19_->data[0] = copyStringRC1(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_162));
6777 if (T20_) nimGCunrefNoCycle(T20_);
6778 T21_ = NIM_NIL;
6779 T21_ = T19_->data[1]; T19_->data[1] = copyStringRC1(itemDesc);
6780 if (T21_) nimGCunrefNoCycle(T21_);
6781 T22_ = NIM_NIL;
6782 T22_ = amp___docgen_5668((*item).substitutions, T19_);
6783 T23_ = NIM_NIL;
6784 T23_ = nsuFormatOpenArray(T18_, T22_->data, (T22_ ? T22_->Sup.len : 0));
6785 asgnRef((void**) (&(*(*d)).section[(k)- 0].finalMarkup), resizeString((*(*d)).section[(k)- 0].finalMarkup, (T23_ ? T23_->Sup.len : 0) + 0));
6786 appendString((*(*d)).section[(k)- 0].finalMarkup, T23_);
6787 itemDesc = ((NimStringDesc*) NIM_NIL);
6788 i_2 += ((NI) 1);
6789 } LA17: ;
6790 }
6791 }
6792 asgnRef((void**) (&(*(*d)).section[(k)- 0].secItems), (tySequence__MnKKQ5PGyDp4x1lUEG41Ag*) setLengthSeqV2(&((*(*d)).section[(k)- 0].secItems)->Sup, (&NTIseqLitemT__MnKKQ5PGyDp4x1lUEG41Ag_), ((NI) 0)));
6793 res += ((NI) 1);
6794 } LA12: ;
6795 }
6796 }
6797 }
6798 renderItemPre__docgen_5501((*d), (*(*d)).modDescPre, (&(*(*d)).modDescFinal));
6799 asgnRef((void**) (&(*(*d)).modDescPre), (tySequence__Wm9aGag2treFuYnXRdy8u9bA*) setLengthSeqV2(&((*(*d)).modDescPre)->Sup, (&NTIitempre__Wm9aGag2treFuYnXRdy8u9bA_), ((NI) 0)));
6800 T24_ = (NIM_BOOL)0;
6801 T24_ = (*(*d)).Sup.hasToc;
6802 if (T24_) goto LA25_;
6803 T24_ = (*(*(*d)).sharedState).hasToc;
6804 LA25_: ;
6805 (*(*d)).Sup.hasToc = T24_;
6806 {
6807 NI i_3;
6808 tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA entry;
6809 NI i_4;
6810 NI L_3;
6811 NI T27_;
6812 i_3 = (NI)0;
6813 nimZeroMem((void*)(&entry), sizeof(tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA));
6814 i_4 = ((NI) 0);
6815 T27_ = ((*(*d)).jEntriesPre ? (*(*d)).jEntriesPre->Sup.len : 0);
6816 L_3 = T27_;
6817 {
6818 while (1) {
6819 if (!(i_4 < L_3)) goto LA29;
6820 i_3 = i_4;
6821 entry.json = (*(*d)).jEntriesPre->data[i_4].json;
6822 entry.rst = (*(*d)).jEntriesPre->data[i_4].rst;
6823 entry.rstField = (*(*d)).jEntriesPre->data[i_4].rstField;
6824 {
6825 tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* resolved;
6826 NimStringDesc* str;
6827 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T34_;
6828 if (!!((entry.rst == ((tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*) NIM_NIL)))) goto LA32_;
6829 resolved = resolveSubs__packagesZdocutilsZrst_6766((*(*d)).sharedState, entry.rst);
6830 str = NIM_NIL;
6831 renderRstToOut__packagesZdocutilsZrstgen_299(&(*d)->Sup, resolved, (&str));
6832 T34_ = NIM_NIL;
6833 T34_ = percent___pureZjson_1790(str);
6834 X5BX5Deq___pureZjson_1923(entry.json, entry.rstField, T34_);
6835 add__pureZjson_222((*(*d)).jEntriesFinal, entry.json);
6836 asgnRef((void**) (&(*(*d)).jEntriesPre->data[i_3].rst), ((tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*) NIM_NIL));
6837 }
6838 LA32_: ;
6839 i_4 += ((NI) 1);
6840 } LA29: ;
6841 }
6842 }
6843 }
N_INLINE(NimStringDesc *,findNodeJs__nodejs_2)6844 static N_INLINE(NimStringDesc*, findNodeJs__nodejs_2)(void) {
6845 NimStringDesc* result;
6846 result = NIM_NIL;
6847 result = findExe__pureZos_644(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_169), NIM_TRUE, ExeExts__pureZos_643, 1);
6848 {
6849 if (!((result ? result->Sup.len : 0) == ((NI) 0))) goto LA3_;
6850 result = findExe__pureZos_644(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_170), NIM_TRUE, ExeExts__pureZos_643, 1);
6851 }
6852 LA3_: ;
6853 {
6854 tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw* T9_;
6855 NimStringDesc* T10_;
6856 if (!((result ? result->Sup.len : 0) == ((NI) 0))) goto LA7_;
6857 echoBinSafe(TM__5fUAZGW8WPeit3fZaQyNXA_171, 1);
6858 T9_ = NIM_NIL;
6859 T9_ = (tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw*) newObj((&NTIrefioerror__HMIVdYjdZYWskTmTQVo5BQ_), sizeof(tyObject_IOError__iLZrPn9anoh9ad1MmO0RczFw));
6860 (*T9_).Sup.Sup.Sup.m_type = (&NTIioerror__iLZrPn9anoh9ad1MmO0RczFw_);
6861 (*T9_).Sup.Sup.name = "IOError";
6862 T10_ = NIM_NIL;
6863 T10_ = rawNewString((result ? result->Sup.len : 0) + 26);
6864 appendString(T10_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_173));
6865 appendString(T10_, result);
6866 asgnRef((void**) (&(*T9_).Sup.Sup.message), T10_);
6867 asgnRef((void**) (&(*T9_).Sup.Sup.parent), ((Exception*) NIM_NIL));
6868 raiseExceptionEx((Exception*)T9_, "IOError", "findNodeJs", "nodejs.nim", 10);
6869 }
6870 LA7_: ;
6871 return result;
6872 }
N_NIMCALL(NimStringDesc *,prettyString__docgen_1001)6873 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, prettyString__docgen_1001)(tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ* a) {
6874 NimStringDesc* result;
6875 NimStringDesc* T1_;
6876 NimStringDesc* T2_;
6877 NimStringDesc* T3_;
6878 NimStringDesc* T4_;
6879 NimStringDesc* T5_;
6880 result = NIM_NIL;
6881 T1_ = NIM_NIL;
6882 T1_ = rawNewString(((*a).rdoccmd ? (*a).rdoccmd->Sup.len : 0) + 10);
6883 appendString(T1_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_177));
6884 appendString(T1_, (*a).rdoccmd);
6885 appendString(T1_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_125));
6886 result = resizeString(result, (T1_ ? T1_->Sup.len : 0) + 0);
6887 appendString(result, T1_);
6888 T2_ = NIM_NIL;
6889 T2_ = rawNewString(((*a).docCmd ? (*a).docCmd->Sup.len : 0) + 9);
6890 appendString(T2_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_178));
6891 appendString(T2_, (*a).docCmd);
6892 appendString(T2_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_125));
6893 result = resizeString(result, (T2_ ? T2_->Sup.len : 0) + 0);
6894 appendString(result, T2_);
6895 T3_ = NIM_NIL;
6896 T3_ = rawNewString(((*a).code ? (*a).code->Sup.len : 0) + 7);
6897 appendString(T3_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_179));
6898 appendString(T3_, (*a).code);
6899 appendString(T3_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_125));
6900 result = resizeString(result, (T3_ ? T3_->Sup.len : 0) + 0);
6901 appendString(result, T3_);
6902 T4_ = NIM_NIL;
6903 T5_ = NIM_NIL;
6904 T5_ = dollar___systemZdollars_3((*a).index);
6905 T4_ = rawNewString((T5_ ? T5_->Sup.len : 0) + 8);
6906 appendString(T4_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_180));
6907 appendString(T4_, T5_);
6908 appendString(T4_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_125));
6909 result = resizeString(result, (T4_ ? T4_->Sup.len : 0) + 0);
6910 appendString(result, T4_);
6911 return result;
6912 }
N_NIMCALL(void,runAllExamples__docgen_650)6913 N_LIB_PRIVATE N_NIMCALL(void, runAllExamples__docgen_650)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d) {
6914 NimStringDesc* outputDir;
6915 outputDir = exampleOutputDir__docgen_647(d);
6916 {
6917 NimStringDesc* _;
6918 tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ* group;
6919 NI L;
6920 _ = NIM_NIL;
6921 group = NIM_NIL;
6922 L = len__docgen_701((&(*d).exampleGroups));
6923 {
6924 NI h;
6925 if (!(((NI) 0) < (*d).exampleGroups.counter)) goto LA4_;
6926 h = (*d).exampleGroups.first;
6927 {
6928 while (1) {
6929 NI nxt;
6930 if (!(((NI) 0) <= h)) goto LA7;
6931 nxt = (*d).exampleGroups.data->data[h].Field1;
6932 {
6933 NIM_BOOL T10_;
6934 T10_ = (NIM_BOOL)0;
6935 T10_ = isFilled__pureZcollectionsZtables_31((*d).exampleGroups.data->data[h].Field0);
6936 if (!T10_) goto LA11_;
6937 _ = (*d).exampleGroups.data->data[h].Field2;
6938 group = (*d).exampleGroups.data->data[h].Field3;
6939 {
6940 NimStringDesc* outp;
6941 tyArray__Re75IspeoxXy2oCZHwcRrA T18_;
6942 tyTuple__7q7q3E6Oj24ZNVJb9aonhAg T19_;
6943 NimStringDesc* T20_;
6944 tyArray__24KAM9afIUgUaqBaEBB6r9bg T21_;
6945 NimStringDesc* cmd;
6946 tyArray__rmMMhDIqORJzUU5zqeitSQ T22_;
6947 NimStringDesc* T23_;
6948 {
6949 if (!eqStrings((*group).docCmd, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_19))) goto LA16_;
6950 goto LA13;
6951 }
6952 LA16_: ;
6953 nimZeroMem((void*)T18_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
6954 nimZeroMem((void*)(&T19_), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg));
6955 nossplitFile((*d).Sup.filename, (&T19_));
6956 T18_[0] = copyString(T19_.Field1);
6957 T18_[1] = dollar___systemZdollars_3((*group).index);
6958 T20_ = NIM_NIL;
6959 T20_ = nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_163), T18_, 2);
6960 outp = slash___pathutils_89(outputDir, T20_);
6961 nimZeroMem((void*)T21_, sizeof(tyArray__24KAM9afIUgUaqBaEBB6r9bg));
6962 T21_[0] = copyString((*d).Sup.filename);
6963 T21_[1] = copyString((*group).rdoccmd);
6964 T21_[2] = copyString((*group).code);
6965 asgnRef((void**) (&(*group).code), nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_164), T21_, 3));
6966 writeFile__systemZio_476(outp, (*group).code);
6967 nimZeroMem((void*)T22_, sizeof(tyArray__rmMMhDIqORJzUU5zqeitSQ));
6968 T22_[0] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_30));
6969 T23_ = NIM_NIL;
6970 T23_ = nosgetAppFilename();
6971 T22_[1] = nospquoteShell(T23_);
6972 T22_[2] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_33));
6973 T22_[3] = reprEnum((NI)(*(*d).conf).backend, (&NTItbackend__4OBsgZ9cscH2JLUE5Wcz01g_));
6974 T22_[4] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_134));
6975 T22_[5] = nospquoteShell((*(*d).conf).projectPath);
6976 T22_[6] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_31));
6977 T22_[7] = nospquoteShell((*(*d).conf).libpath);
6978 T22_[8] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_166));
6979 T22_[9] = nospquoteShell(outputDir);
6980 T22_[10] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_167));
6981 T22_[11] = nospquoteShell(outp);
6982 T22_[12] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_168));
6983 T22_[13] = copyString((*group).rdoccmd);
6984 T22_[14] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_32));
6985 T22_[15] = copyString((*group).docCmd);
6986 cmd = nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_165), T22_, 16);
6987 {
6988 NIM_BOOL T26_;
6989 NimStringDesc* T28_;
6990 T26_ = (NIM_BOOL)0;
6991 T26_ = ((*(*d).conf).backend == ((tyEnum_TBackend__4OBsgZ9cscH2JLUE5Wcz01g) 3));
6992 if (!(T26_)) goto LA27_;
6993 T28_ = NIM_NIL;
6994 T28_ = findNodeJs__nodejs_2();
6995 T26_ = ((T28_ ? T28_->Sup.len : 0) == 0);
6996 LA27_: ;
6997 if (!T26_) goto LA29_;
6998 }
6999 goto LA24_;
7000 LA29_: ;
7001 {
7002 NI T32_;
7003 T32_ = (NI)0;
7004 T32_ = nosexecShellCmd(cmd);
7005 if (!!((T32_ == ((NI) 0)))) goto LA33_;
7006 {
7007 NIM_BOOL T37_;
7008 T37_ = (NIM_BOOL)0;
7009 T37_ = isDefined__options_2279((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_174));
7010 if (!T37_) goto LA38_;
7011 {
7012 NimStringDesc* T44_;
7013 tyArray__24KAM9afIUgUaqBaEBB6r9bg T45_;
7014 NimStringDesc* T46_;
7015 if (!NIM_TRUE) goto LA42_;
7016 T44_ = NIM_NIL;
7017 nimZeroMem((void*)T45_, sizeof(tyArray__24KAM9afIUgUaqBaEBB6r9bg));
7018 T45_[0] = copyString(outp);
7019 T45_[1] = prettyString__docgen_1001((&(*group)));
7020 T45_[2] = copyString(cmd);
7021 T46_ = NIM_NIL;
7022 T46_ = nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_176), T45_, 3);
7023 T44_ = rawNewString((T46_ ? T46_->Sup.len : 0) + 29);
7024 appendString(T44_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_175));
7025 appendString(T44_, T46_);
7026 failedAssertImpl__systemZassertions_56(T44_);
7027 }
7028 LA42_: ;
7029 }
7030 goto LA35_;
7031 LA38_: ;
7032 {
7033 tyArray__24KAM9afIUgUaqBaEBB6r9bg T48_;
7034 NimStringDesc* T49_;
7035 nimZeroMem((void*)T48_, sizeof(tyArray__24KAM9afIUgUaqBaEBB6r9bg));
7036 T48_[0] = copyString(outp);
7037 T48_[1] = prettyString__docgen_1001((&(*group)));
7038 T48_[2] = copyString(cmd);
7039 T49_ = NIM_NIL;
7040 T49_ = nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_176), T48_, 3);
7041 quit__system_7174(T49_, ((NI) 1));
7042 }
7043 LA35_: ;
7044 }
7045 goto LA24_;
7046 LA33_: ;
7047 {
7048 NimStringDesc* argX60gensym110_;
7049 NimStringDesc* T51_;
7050 tyArray__nHXaesL0DJZHyVS07ARPRA T52_;
7051 NimStringDesc* T53_;
7052 T51_ = NIM_NIL;
7053 T51_ = msgKindToString__msgs_772(((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 68));
7054 nimZeroMem((void*)T52_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
7055 T53_ = NIM_NIL;
7056 T53_ = rawNewString((outp ? outp->Sup.len : 0) + 18);
7057 appendString(T53_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_181));
7058 appendString(T53_, outp);
7059 T52_[0] = T53_;
7060 argX60gensym110_ = nsuFormatOpenArray(T51_, T52_, 1);
7061 liMessage__msgs_1118((*d).conf, unknownLineInfo__lineinfos_280, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 68), argX60gensym110_, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 1), TM__5fUAZGW8WPeit3fZaQyNXA_182, NIM_TRUE);
7062 }
7063 LA24_: ;
7064 } LA13: ;
7065 }
7066 LA11_: ;
7067 h = nxt;
7068 } LA7: ;
7069 }
7070 }
7071 LA4_: ;
7072 }
7073 }
N_NIMCALL(NI,len__docgen_6543)7074 N_LIB_PRIVATE N_NIMCALL(NI, len__docgen_6543)(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw t) {
7075 NI result;
7076 result = (NI)0;
7077 result = t.counter;
7078 return result;
7079 }
N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ *,sorted__docgen_6731)7080 N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, sorted__docgen_6731)(NimStringDesc** a, NI aLen_0, tyProc__3pmh9bG9bLpdxUjFu9cDtbZaA cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order) {
7081 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* result;
7082 result = NIM_NIL;
7083 result = newSeq__systemZio_503(((NI) (aLen_0)));
7084 {
7085 NI i;
7086 NI colontmp_;
7087 NI res;
7088 i = (NI)0;
7089 colontmp_ = (NI)0;
7090 colontmp_ = (aLen_0-1);
7091 res = ((NI) 0);
7092 {
7093 while (1) {
7094 NimStringDesc* T4_;
7095 if (!(res <= colontmp_)) goto LA3;
7096 i = res;
7097 T4_ = NIM_NIL;
7098 T4_ = result->data[i]; result->data[i] = copyStringRC1(a[i]);
7099 if (T4_) nimGCunrefNoCycle(T4_);
7100 res += ((NI) 1);
7101 } LA3: ;
7102 }
7103 }
7104 sort__sem_1803(result->data, (result ? result->Sup.len : 0), cmp, order);
7105 return result;
7106 }
N_NIMCALL(tySequence__EhfJ5cVWpPFG1tw09ap9co5g **,X5BX5D___docgen_6817)7107 N_LIB_PRIVATE N_NIMCALL(tySequence__EhfJ5cVWpPFG1tw09ap9co5g**, X5BX5D___docgen_6817)(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw* t, NimStringDesc* key) {
7108 tySequence__EhfJ5cVWpPFG1tw09ap9co5g** result;
7109 NI hcX60gensym22_;
7110 NI indexX60gensym22_;
7111 result = (tySequence__EhfJ5cVWpPFG1tw09ap9co5g**)0;
7112 hcX60gensym22_ = (NI)0;
7113 indexX60gensym22_ = rawGet__docgen_3664((*t), key, (&hcX60gensym22_));
7114 {
7115 if (!(((NI) 0) <= indexX60gensym22_)) goto LA3_;
7116 result = (&(*t).data->data[indexX60gensym22_].Field2);
7117 }
7118 goto LA1_;
7119 LA3_: ;
7120 {
7121 raiseKeyError__msgs_300(key);
7122 }
7123 LA1_: ;
7124 return result;
7125 }
N_NIMCALL(void,mergeAlt__docgen_6908)7126 N_LIB_PRIVATE N_NIMCALL(void, mergeAlt__docgen_6908)(tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg* a, NI aLen_0, tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg* b, NI bLen_0, NI lo, NI m, NI hi, tyProc__2bxOhi2UzEVnSIccjRvxEA cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order) {
7127 NI j;
7128 NI bb;
7129 NI i;
7130 NI k;
7131 { {
7132 NI T3_;
7133 NI T4_;
7134 T3_ = (NI)0;
7135 T3_ = cmp.ClE_0? cmp.ClP_0(a[m], a[(NI)(m + ((NI) 1))], cmp.ClE_0):((TM__5fUAZGW8WPeit3fZaQyNXA_202)(cmp.ClP_0))(a[m], a[(NI)(m + ((NI) 1))]);
7136 T4_ = (NI)0;
7137 T4_ = star___pureZalgorithm_8(T3_, order);
7138 if (!(T4_ <= ((NI) 0))) goto LA5_;
7139 goto BeforeRet_;
7140 }
7141 LA5_: ;
7142 j = lo;
7143 bb = ((NI) 0);
7144 {
7145 while (1) {
7146 if (!(j <= m)) goto LA8;
7147 unsureAsgnRef((void**) (&b[bb].content), a[j].content);
7148 unsureAsgnRef((void**) (&b[bb].sortName), a[j].sortName);
7149 bb += ((NI) 1);
7150 j += ((NI) 1);
7151 } LA8: ;
7152 }
7153 i = ((NI) 0);
7154 k = lo;
7155 {
7156 while (1) {
7157 NIM_BOOL T11_;
7158 T11_ = (NIM_BOOL)0;
7159 T11_ = (k < j);
7160 if (!(T11_)) goto LA12_;
7161 T11_ = (j <= hi);
7162 LA12_: ;
7163 if (!T11_) goto LA10;
7164 {
7165 NI T15_;
7166 NI T16_;
7167 T15_ = (NI)0;
7168 T15_ = cmp.ClE_0? cmp.ClP_0(b[i], a[j], cmp.ClE_0):((TM__5fUAZGW8WPeit3fZaQyNXA_203)(cmp.ClP_0))(b[i], a[j]);
7169 T16_ = (NI)0;
7170 T16_ = star___pureZalgorithm_8(T15_, order);
7171 if (!(T16_ <= ((NI) 0))) goto LA17_;
7172 unsureAsgnRef((void**) (&a[k].content), b[i].content);
7173 unsureAsgnRef((void**) (&a[k].sortName), b[i].sortName);
7174 i += ((NI) 1);
7175 }
7176 goto LA13_;
7177 LA17_: ;
7178 {
7179 unsureAsgnRef((void**) (&a[k].content), a[j].content);
7180 unsureAsgnRef((void**) (&a[k].sortName), a[j].sortName);
7181 j += ((NI) 1);
7182 }
7183 LA13_: ;
7184 k += ((NI) 1);
7185 } LA10: ;
7186 }
7187 {
7188 while (1) {
7189 if (!(k < j)) goto LA21;
7190 unsureAsgnRef((void**) (&a[k].content), b[i].content);
7191 unsureAsgnRef((void**) (&a[k].sortName), b[i].sortName);
7192 k += ((NI) 1);
7193 i += ((NI) 1);
7194 } LA21: ;
7195 }
7196 }BeforeRet_: ;
7197 }
N_NIMCALL(void,sort__docgen_6890)7198 N_LIB_PRIVATE N_NIMCALL(void, sort__docgen_6890)(tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg* a, NI aLen_0, tyProc__2bxOhi2UzEVnSIccjRvxEA cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order) {
7199 NI n;
7200 tySequence__EhfJ5cVWpPFG1tw09ap9co5g* b;
7201 NI s;
7202 n = aLen_0;
7203 b = newSeq__docgen_3555(((NI) ((NI)(n / ((NI) 2)))));
7204 s = ((NI) 1);
7205 {
7206 while (1) {
7207 NI m;
7208 if (!(s < n)) goto LA2;
7209 m = (NI)((NI)(n - ((NI) 1)) - s);
7210 {
7211 while (1) {
7212 if (!(((NI) 0) <= m)) goto LA4;
7213 mergeAlt__docgen_6908(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);
7214 m -= (NI)(s * ((NI) 2));
7215 } LA4: ;
7216 }
7217 s = (NI)(s * ((NI) 2));
7218 } LA2: ;
7219 }
7220 }
N_NIMCALL(NI,cmp__docgen_6267)7221 N_LIB_PRIVATE N_NIMCALL(NI, cmp__docgen_6267)(tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg x, tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg y) {
7222 NI result;
7223 result = (NI)0;
7224 result = cmpDecimalsIgnoreCase__docgen_132(x.sortName, y.sortName);
7225 return result;
7226 }
N_NIMCALL(tySequence__EhfJ5cVWpPFG1tw09ap9co5g *,sorted__docgen_6996)7227 N_LIB_PRIVATE N_NIMCALL(tySequence__EhfJ5cVWpPFG1tw09ap9co5g*, sorted__docgen_6996)(tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg* a, NI aLen_0, tyProc__2bxOhi2UzEVnSIccjRvxEA cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order) {
7228 tySequence__EhfJ5cVWpPFG1tw09ap9co5g* result;
7229 result = NIM_NIL;
7230 result = newSeq__docgen_3555(((NI) (aLen_0)));
7231 {
7232 NI i;
7233 NI colontmp_;
7234 NI res;
7235 i = (NI)0;
7236 colontmp_ = (NI)0;
7237 colontmp_ = (aLen_0-1);
7238 res = ((NI) 0);
7239 {
7240 while (1) {
7241 NimStringDesc* T4_;
7242 NimStringDesc* T5_;
7243 if (!(res <= colontmp_)) goto LA3;
7244 i = res;
7245 T4_ = NIM_NIL;
7246 T4_ = result->data[i].content; result->data[i].content = copyStringRC1(a[i].content);
7247 if (T4_) nimGCunrefNoCycle(T4_);
7248 T5_ = NIM_NIL;
7249 T5_ = result->data[i].sortName; result->data[i].sortName = copyStringRC1(a[i].sortName);
7250 if (T5_) nimGCunrefNoCycle(T5_);
7251 res += ((NI) 1);
7252 } LA3: ;
7253 }
7254 }
7255 sort__docgen_6890(result->data, (result ? result->Sup.len : 0), cmp, order);
7256 return result;
7257 }
N_NIMCALL(void,genSection__docgen_6255)7258 N_LIB_PRIVATE N_NIMCALL(void, genSection__docgen_6255)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw kind, NIM_BOOL groupedToc) {
7259 NimStringDesc* title;
7260 NimStringDesc* T5_;
7261 tyArray__Q6RksR9bl1dCf8jl3HeN9bXg T6_;
7262 NimStringDesc* T43_;
7263 tyArray__Q6RksR9bl1dCf8jl3HeN9bXg T44_;
7264 { {
7265 if (!(((*d).section[(kind)- 0].finalMarkup ? (*d).section[(kind)- 0].finalMarkup->Sup.len : 0) == 0)) goto LA3_;
7266 goto BeforeRet_;
7267 }
7268 LA3_: ;
7269 title = copyString(sectionNames__docgen_6259[(kind)- 6]);
7270 T5_ = NIM_NIL;
7271 T5_ = getConfigVar__options_4019((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_196), ((NimStringDesc*) NIM_NIL));
7272 nimZeroMem((void*)T6_, sizeof(tyArray__Q6RksR9bl1dCf8jl3HeN9bXg));
7273 T6_[0] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_197));
7274 T6_[1] = dollar___systemZdollars_3(kind);
7275 T6_[2] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_198));
7276 T6_[3] = copyString(title);
7277 T6_[4] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_199));
7278 T6_[5] = dollar___systemZdollars_3((NI)(kind + ((NI) 50)));
7279 T6_[6] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_200));
7280 T6_[7] = copyString((*d).section[(kind)- 0].finalMarkup);
7281 asgnRef((void**) (&(*d).section[(kind)- 0].finalMarkup), nsuFormatOpenArray(T5_, T6_, 8));
7282 {
7283 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* overloadableNames;
7284 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* resultX60gensym375_;
7285 if (!groupedToc) goto LA9_;
7286 resultX60gensym375_ = NIM_NIL;
7287 {
7288 NimStringDesc** xX60gensym375_;
7289 tyObject_Table__aJYy01k1JDYeFrFCvIyOlw colontmp_;
7290 NI L;
7291 xX60gensym375_ = (NimStringDesc**)0;
7292 nimZeroMem((void*)(&colontmp_), sizeof(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw));
7293 colontmp_.data = (*d).tocTable[(kind)- 0].data;
7294 colontmp_.counter = (*d).tocTable[(kind)- 0].counter;
7295 L = len__docgen_6543(colontmp_);
7296 {
7297 NI h;
7298 NI colontmp__2;
7299 NI T13_;
7300 NI res;
7301 h = (NI)0;
7302 colontmp__2 = (NI)0;
7303 T13_ = ((colontmp_.data ? colontmp_.data->Sup.len : 0)-1);
7304 colontmp__2 = T13_;
7305 res = ((NI) 0);
7306 {
7307 while (1) {
7308 if (!(res <= colontmp__2)) goto LA15;
7309 h = res;
7310 {
7311 NIM_BOOL T18_;
7312 NI T21_;
7313 NimStringDesc* T22_;
7314 T18_ = (NIM_BOOL)0;
7315 T18_ = isFilled__pureZcollectionsZtables_31(colontmp_.data->data[h].Field0);
7316 if (!T18_) goto LA19_;
7317 xX60gensym375_ = (&colontmp_.data->data[h].Field1);
7318 resultX60gensym375_ = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) incrSeqV3((TGenericSeq*)(resultX60gensym375_), (&NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_));
7319 T21_ = resultX60gensym375_->Sup.len++;
7320 T22_ = NIM_NIL;
7321 T22_ = resultX60gensym375_->data[T21_]; resultX60gensym375_->data[T21_] = copyStringRC1((*xX60gensym375_));
7322 if (T22_) nimGCunrefNoCycle(T22_);
7323 }
7324 LA19_: ;
7325 res += ((NI) 1);
7326 } LA15: ;
7327 }
7328 }
7329 }
7330 overloadableNames = resultX60gensym375_;
7331 {
7332 NimStringDesc** plainName;
7333 tySequence__sM4lkSb7zS6F7OVMvW9cffQ* colontmp__3;
7334 tyProc__3pmh9bG9bLpdxUjFu9cDtbZaA T24_;
7335 NI i;
7336 NI L_2;
7337 NI T25_;
7338 plainName = (NimStringDesc**)0;
7339 colontmp__3 = NIM_NIL;
7340 nimZeroMem((void*)(&T24_), sizeof(tyProc__3pmh9bG9bLpdxUjFu9cDtbZaA));
7341 T24_.ClP_0 = ((TM__5fUAZGW8WPeit3fZaQyNXA_201) (cmpDecimalsIgnoreCase__docgen_132)); T24_.ClE_0 = NIM_NIL;
7342 colontmp__3 = sorted__docgen_6731(overloadableNames->data, (overloadableNames ? overloadableNames->Sup.len : 0), T24_, ((tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA) 1));
7343 i = ((NI) 0);
7344 T25_ = (colontmp__3 ? colontmp__3->Sup.len : 0);
7345 L_2 = T25_;
7346 {
7347 while (1) {
7348 tySequence__EhfJ5cVWpPFG1tw09ap9co5g* overloadChoices;
7349 tySequence__EhfJ5cVWpPFG1tw09ap9co5g** T28_;
7350 tyProc__2bxOhi2UzEVnSIccjRvxEA T29_;
7351 NimStringDesc* content;
7352 NimStringDesc* T34_;
7353 tyArray__meGd17iD6izZVY5NTv9bHUA T35_;
7354 NimStringDesc* T36_;
7355 if (!(i < L_2)) goto LA27;
7356 plainName = (&colontmp__3->data[i]);
7357 T28_ = (tySequence__EhfJ5cVWpPFG1tw09ap9co5g**)0;
7358 T28_ = X5BX5D___docgen_6817((&(*d).tocTable[(kind)- 0]), (*plainName));
7359 genericSeqAssign((&overloadChoices), (*T28_), (&NTIseqLtocitemT__EhfJ5cVWpPFG1tw09ap9co5g_));
7360 nimZeroMem((void*)(&T29_), sizeof(tyProc__2bxOhi2UzEVnSIccjRvxEA));
7361 T29_.ClP_0 = ((TM__5fUAZGW8WPeit3fZaQyNXA_204) (cmp__docgen_6267)); T29_.ClE_0 = NIM_NIL;
7362 sort__docgen_6890(overloadChoices->data, (overloadChoices ? overloadChoices->Sup.len : 0), T29_, ((tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA) 1));
7363 content = NIM_NIL;
7364 {
7365 tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg* item;
7366 NI i_2;
7367 NI L_3;
7368 NI T31_;
7369 item = (tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg*)0;
7370 i_2 = ((NI) 0);
7371 T31_ = (overloadChoices ? overloadChoices->Sup.len : 0);
7372 L_3 = T31_;
7373 {
7374 while (1) {
7375 if (!(i_2 < L_3)) goto LA33;
7376 item = (&overloadChoices->data[i_2]);
7377 content = resizeString(content, ((*item).content ? (*item).content->Sup.len : 0) + 0);
7378 appendString(content, (*item).content);
7379 i_2 += ((NI) 1);
7380 } LA33: ;
7381 }
7382 }
7383 T34_ = NIM_NIL;
7384 T34_ = getConfigVar__options_4019((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_205), ((NimStringDesc*) NIM_NIL));
7385 nimZeroMem((void*)T35_, sizeof(tyArray__meGd17iD6izZVY5NTv9bHUA));
7386 T35_[0] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_197));
7387 T35_[1] = dollar___systemZdollars_3(kind);
7388 T35_[2] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_198));
7389 T35_[3] = copyString(title);
7390 T35_[4] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_199));
7391 T35_[5] = dollar___systemZdollars_3((NI)(kind + ((NI) 50)));
7392 T35_[6] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_200));
7393 T35_[7] = copyString(content);
7394 T35_[8] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_206));
7395 T35_[9] = copyString((*plainName));
7396 T36_ = NIM_NIL;
7397 T36_ = nsuFormatOpenArray(T34_, T35_, 10);
7398 asgnRef((void**) (&(*d).toc2[(kind)- 0]), resizeString((*d).toc2[(kind)- 0], (T36_ ? T36_->Sup.len : 0) + 0));
7399 appendString((*d).toc2[(kind)- 0], T36_);
7400 i += ((NI) 1);
7401 } LA27: ;
7402 }
7403 }
7404 }
7405 goto LA7_;
7406 LA9_: ;
7407 {
7408 {
7409 tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg* item_2;
7410 tySequence__EhfJ5cVWpPFG1tw09ap9co5g* colontmp__4;
7411 tyProc__2bxOhi2UzEVnSIccjRvxEA T39_;
7412 NI i_3;
7413 NI L_4;
7414 NI T40_;
7415 item_2 = (tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg*)0;
7416 colontmp__4 = NIM_NIL;
7417 nimZeroMem((void*)(&T39_), sizeof(tyProc__2bxOhi2UzEVnSIccjRvxEA));
7418 T39_.ClP_0 = ((TM__5fUAZGW8WPeit3fZaQyNXA_207) (cmp__docgen_6267)); T39_.ClE_0 = NIM_NIL;
7419 colontmp__4 = sorted__docgen_6996((*d).tocSimple[(kind)- 0]->data, ((*d).tocSimple[(kind)- 0] ? (*d).tocSimple[(kind)- 0]->Sup.len : 0), T39_, ((tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA) 1));
7420 i_3 = ((NI) 0);
7421 T40_ = (colontmp__4 ? colontmp__4->Sup.len : 0);
7422 L_4 = T40_;
7423 {
7424 while (1) {
7425 if (!(i_3 < L_4)) goto LA42;
7426 item_2 = (&colontmp__4->data[i_3]);
7427 asgnRef((void**) (&(*d).toc2[(kind)- 0]), resizeString((*d).toc2[(kind)- 0], ((*item_2).content ? (*item_2).content->Sup.len : 0) + 0));
7428 appendString((*d).toc2[(kind)- 0], (*item_2).content);
7429 i_3 += ((NI) 1);
7430 } LA42: ;
7431 }
7432 }
7433 }
7434 LA7_: ;
7435 T43_ = NIM_NIL;
7436 T43_ = getConfigVar__options_4019((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_208), ((NimStringDesc*) NIM_NIL));
7437 nimZeroMem((void*)T44_, sizeof(tyArray__Q6RksR9bl1dCf8jl3HeN9bXg));
7438 T44_[0] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_197));
7439 T44_[1] = dollar___systemZdollars_3(kind);
7440 T44_[2] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_198));
7441 T44_[3] = copyString(title);
7442 T44_[4] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_199));
7443 T44_[5] = dollar___systemZdollars_3((NI)(kind + ((NI) 50)));
7444 T44_[6] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_200));
7445 T44_[7] = copyString((*d).toc2[(kind)- 0]);
7446 asgnRef((void**) (&(*d).toc[(kind)- 0]), nsuFormatOpenArray(T43_, T44_, 8));
7447 }BeforeRet_: ;
7448 }
N_NIMCALL(NimStringDesc *,dollar___docgen_7103)7449 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___docgen_7103)(NimStringDesc* x) {
7450 NimStringDesc* result;
7451 result = NIM_NIL;
7452 result = copyString(x);
7453 return result;
7454 }
N_NIMCALL(NimStringDesc *,relLink__docgen_7098)7455 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, relLink__docgen_7098)(NimStringDesc* outDir, NimStringDesc* destFile, NimStringDesc* linkto) {
7456 NimStringDesc* result;
7457 NimStringDesc* T1_;
7458 tyTuple__7q7q3E6Oj24ZNVJb9aonhAg T2_;
7459 NimStringDesc* T3_;
7460 result = NIM_NIL;
7461 T1_ = NIM_NIL;
7462 T1_ = slash___pathutils_89(outDir, linkto);
7463 nimZeroMem((void*)(&T2_), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg));
7464 splitFile__pathutils_26(destFile, (&T2_));
7465 T3_ = NIM_NIL;
7466 T3_ = relativeTo__pathutils_132(T1_, T2_.Field0, 47);
7467 result = dollar___docgen_7103(T3_);
7468 return result;
7469 }
N_NIMCALL(NimStringDesc *,genOutFile__docgen_7107)7470 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, genOutFile__docgen_7107)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, NIM_BOOL groupedToc) {
7471 NimStringDesc* result;
7472 NimStringDesc* code;
7473 NimStringDesc* content;
7474 NimStringDesc* title;
7475 NI j;
7476 NimStringDesc* toc;
7477 NimStringDesc* subtitle;
7478 NimStringDesc* groupsection;
7479 NimStringDesc* bodyname;
7480 NimStringDesc* seeSrc;
7481 NimStringDesc* T51_;
7482 tyArray__sNC09at9bGf9bERQNOmgMwXdQ T52_;
7483 result = NIM_NIL;
7484 code = NIM_NIL;
7485 content = NIM_NIL;
7486 title = ((NimStringDesc*) NIM_NIL);
7487 j = ((NI) 0);
7488 toc = ((NimStringDesc*) NIM_NIL);
7489 renderTocEntries__packagesZdocutilsZrstgen_8125(&d->Sup, (&j), ((NI) 1), (&toc));
7490 {
7491 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw i;
7492 i = (tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw)0;
7493 {
7494 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw v;
7495 NI res;
7496 v = (tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw)0;
7497 res = ((NI) 0);
7498 {
7499 while (1) {
7500 NIM_BOOL shouldSort;
7501 NIM_BOOL T5_;
7502 if (!(res <= ((NI) 25))) goto LA4;
7503 v = ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) (res));
7504 i = v;
7505 T5_ = (NIM_BOOL)0;
7506 T5_ = ((520192 &((NU32)1<<((NU)(i)&31U)))!=0);
7507 if (!(T5_)) goto LA6_;
7508 T5_ = groupedToc;
7509 LA6_: ;
7510 shouldSort = T5_;
7511 genSection__docgen_6255(d, i, shouldSort);
7512 toc = resizeString(toc, ((*d).toc[(i)- 0] ? (*d).toc[(i)- 0]->Sup.len : 0) + 0);
7513 appendString(toc, (*d).toc[(i)- 0]);
7514 res += ((NI) 1);
7515 } LA4: ;
7516 }
7517 }
7518 }
7519 {
7520 NIM_BOOL T9_;
7521 NimStringDesc* T13_;
7522 tyArray__Re75IspeoxXy2oCZHwcRrA T14_;
7523 T9_ = (NIM_BOOL)0;
7524 T9_ = !(((toc ? toc->Sup.len : 0) == 0));
7525 if (T9_) goto LA10_;
7526 T9_ = ((*d).Sup.target == ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA) 1));
7527 LA10_: ;
7528 if (!T9_) goto LA11_;
7529 T13_ = NIM_NIL;
7530 T13_ = getConfigVar__options_4019((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_209), ((NimStringDesc*) NIM_NIL));
7531 nimZeroMem((void*)T14_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
7532 T14_[0] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_200));
7533 T14_[1] = copyString(toc);
7534 toc = nsuFormatOpenArray(T13_, T14_, 2);
7535 }
7536 LA11_: ;
7537 {
7538 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw i_2;
7539 i_2 = (tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw)0;
7540 {
7541 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw v_2;
7542 NI res_2;
7543 v_2 = (tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw)0;
7544 res_2 = ((NI) 0);
7545 {
7546 while (1) {
7547 if (!(res_2 <= ((NI) 25))) goto LA18;
7548 v_2 = ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) (res_2));
7549 i_2 = v_2;
7550 code = resizeString(code, ((*d).section[(i_2)- 0].finalMarkup ? (*d).section[(i_2)- 0].finalMarkup->Sup.len : 0) + 0);
7551 appendString(code, (*d).section[(i_2)- 0].finalMarkup);
7552 res_2 += ((NI) 1);
7553 } LA18: ;
7554 }
7555 }
7556 }
7557 {
7558 NimStringDesc* external;
7559 NimStringDesc* T23_;
7560 NimStringDesc* T24_;
7561 if (!!((((*d).Sup.meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw) 1))- 0] ? (*d).Sup.meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw) 1))- 0]->Sup.len : 0) == ((NI) 0)))) goto LA21_;
7562 title = copyString((*d).Sup.meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw) 1))- 0]);
7563 T23_ = NIM_NIL;
7564 T23_ = presentationPath__docgen_193((*d).conf, (*d).Sup.filename);
7565 T24_ = NIM_NIL;
7566 T24_ = noschangeFileExt(T23_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_57));
7567 external = nativeToUnixPath__stdZprivateZglobs_50(T24_);
7568 setIndexTerm__packagesZdocutilsZrstgen_344(&d->Sup, external, ((NimStringDesc*) NIM_NIL), title, ((NimStringDesc*) NIM_NIL), ((NimStringDesc*) NIM_NIL));
7569 }
7570 goto LA19_;
7571 LA21_: ;
7572 {
7573 title = canonicalImport__options_4664((*d).conf, (*d).Sup.filename);
7574 }
7575 LA19_: ;
7576 title = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, title, ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
7577 subtitle = ((NimStringDesc*) NIM_NIL);
7578 {
7579 if (!!((((*d).Sup.meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw) 2))- 0] ? (*d).Sup.meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw) 2))- 0]->Sup.len : 0) == 0))) goto LA28_;
7580 {
7581 NIM_BOOL T32_;
7582 tyArray__nHXaesL0DJZHyVS07ARPRA T35_;
7583 T32_ = (NIM_BOOL)0;
7584 T32_ = isLatexCmd__docgen_345((*d).conf);
7585 if (!!(T32_)) goto LA33_;
7586 nimZeroMem((void*)T35_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
7587 T35_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, (*d).Sup.meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw) 2))- 0], ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
7588 nsuAddf((&subtitle), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_210), T35_, 1);
7589 }
7590 goto LA30_;
7591 LA33_: ;
7592 {
7593 tyArray__nHXaesL0DJZHyVS07ARPRA T37_;
7594 nimZeroMem((void*)T37_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
7595 T37_[0] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, (*d).Sup.meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw) 2))- 0], ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
7596 nsuAddf((&subtitle), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_211), T37_, 1);
7597 }
7598 LA30_: ;
7599 }
7600 LA28_: ;
7601 groupsection = getConfigVar__options_4019((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_212), ((NimStringDesc*) NIM_NIL));
7602 {
7603 NIM_BOOL T40_;
7604 NIM_BOOL T41_;
7605 NIM_BOOL T44_;
7606 T40_ = (NIM_BOOL)0;
7607 T41_ = (NIM_BOOL)0;
7608 T41_ = (*d).Sup.hasToc;
7609 if (!(T41_)) goto LA42_;
7610 T41_ = !((*d).isPureRst);
7611 LA42_: ;
7612 T40_ = T41_;
7613 if (!(T40_)) goto LA43_;
7614 T44_ = (NIM_BOOL)0;
7615 T44_ = isLatexCmd__docgen_345((*d).conf);
7616 T40_ = !(T44_);
7617 LA43_: ;
7618 if (!T40_) goto LA45_;
7619 groupsection = setLengthStr(groupsection, ((NI) 0));
7620 bodyname = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_213));
7621 }
7622 goto LA38_;
7623 LA45_: ;
7624 {
7625 if (!(*d).Sup.hasToc) goto LA48_;
7626 bodyname = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_214));
7627 }
7628 goto LA38_;
7629 LA48_: ;
7630 {
7631 bodyname = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_215));
7632 }
7633 LA38_: ;
7634 seeSrc = genSeeSrc__docgen_3434(d, (*d).Sup.filename, ((NI) 1));
7635 T51_ = NIM_NIL;
7636 T51_ = getConfigVar__options_4019((*d).conf, bodyname, ((NimStringDesc*) NIM_NIL));
7637 nimZeroMem((void*)T52_, sizeof(tyArray__sNC09at9bGf9bERQNOmgMwXdQ));
7638 T52_[0] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_216));
7639 T52_[1] = copyString(title);
7640 T52_[2] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_217));
7641 T52_[3] = copyString(subtitle);
7642 T52_[4] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_218));
7643 T52_[5] = copyString(toc);
7644 T52_[6] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_219));
7645 T52_[7] = copyString((*d).modDescFinal);
7646 T52_[8] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_220));
7647 T52_[9] = getDateStr__options_583();
7648 T52_[10] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_221));
7649 T52_[11] = getClockStr__options_591();
7650 T52_[12] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_200));
7651 T52_[13] = copyString(code);
7652 T52_[14] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_148));
7653 T52_[15] = copyString((*d).modDeprecationMsg);
7654 T52_[16] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_222));
7655 T52_[17] = relLink__docgen_7098((*(*d).conf).outDir, (*d).Sup.destFile, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_223));
7656 T52_[18] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_224));
7657 T52_[19] = copyString(groupsection);
7658 T52_[20] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_147));
7659 T52_[21] = copyString(seeSrc);
7660 content = nsuFormatOpenArray(T51_, T52_, 22);
7661 {
7662 NimStringDesc* T57_;
7663 tyArray__1XN7mEfyEE3SOJgMTajV2g T58_;
7664 if (!!((((*(*d).conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 4))&63U)))!=0))) goto LA55_;
7665 T57_ = NIM_NIL;
7666 T57_ = getConfigVar__options_4019((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_225), ((NimStringDesc*) NIM_NIL));
7667 nimZeroMem((void*)T58_, sizeof(tyArray__1XN7mEfyEE3SOJgMTajV2g));
7668 T58_[0] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_226));
7669 T58_[1] = relLink__docgen_7098((*(*d).conf).outDir, (*d).Sup.destFile, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_227));
7670 T58_[2] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_228));
7671 T58_[3] = relLink__docgen_7098((*(*d).conf).outDir, (*d).Sup.destFile, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_229));
7672 T58_[4] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_216));
7673 T58_[5] = copyString(title);
7674 T58_[6] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_217));
7675 T58_[7] = copyString(subtitle);
7676 T58_[8] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_218));
7677 T58_[9] = copyString(toc);
7678 T58_[10] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_219));
7679 T58_[11] = copyString((*d).modDescFinal);
7680 T58_[12] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_220));
7681 T58_[13] = getDateStr__options_583();
7682 T58_[14] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_221));
7683 T58_[15] = getClockStr__options_591();
7684 T58_[16] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_200));
7685 T58_[17] = copyString(content);
7686 T58_[18] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_230));
7687 T58_[19] = copyString((*d).Sup.meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw) 3))- 0]);
7688 T58_[20] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_231));
7689 T58_[21] = esc__packagesZdocutilsZrstgen_240((*d).Sup.target, (*d).Sup.meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw) 4))- 0], ((NI) -1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ) 0));
7690 T58_[22] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_232));
7691 T58_[23] = copyString((*d).analytics);
7692 T58_[24] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_148));
7693 T58_[25] = copyString((*d).modDeprecationMsg);
7694 code = nsuFormatOpenArray(T57_, T58_, 26);
7695 }
7696 goto LA53_;
7697 LA55_: ;
7698 {
7699 code = copyString(content);
7700 }
7701 LA53_: ;
7702 result = copyString(code);
7703 return result;
7704 }
N_NIMCALL(void,updateOutfile__docgen_7161)7705 N_LIB_PRIVATE N_NIMCALL(void, updateOutfile__docgen_7161)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, NimStringDesc* outfile) {
7706 {
7707 NIM_BOOL T3_;
7708 T3_ = (NIM_BOOL)0;
7709 T3_ = ((*d).module == ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL));
7710 if (T3_) goto LA4_;
7711 T3_ = (((*(*d).module).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 14))&63U)))!=0);
7712 LA4_: ;
7713 if (!T3_) goto LA5_;
7714 {
7715 NIM_BOOL T9_;
7716 T9_ = (NIM_BOOL)0;
7717 T9_ = isEmpty__options_4049((*(*d).conf).outFile);
7718 if (!T9_) goto LA10_;
7719 asgnRef((void**) (&(*(*d).conf).outFile), relativeTo__pathutils_132(outfile, (*(*d).conf).outDir, 47));
7720 {
7721 NIM_BOOL T14_;
7722 tyTuple__UV3llMMYFckfui8YMBuUZA T17_;
7723 NimStringDesc* T18_;
7724 T14_ = (NIM_BOOL)0;
7725 T14_ = nosisAbsolute((*(*d).conf).outFile);
7726 if (!T14_) goto LA15_;
7727 nimZeroMem((void*)(&T17_), sizeof(tyTuple__UV3llMMYFckfui8YMBuUZA));
7728 nossplitPath((*(*d).conf).outFile, (&T17_));
7729 T18_ = NIM_NIL;
7730 T18_ = (*(*d).conf).outFile; (*(*d).conf).outFile = copyStringRC1(T17_.Field1);
7731 if (T18_) nimGCunrefNoCycle(T18_);
7732 }
7733 LA15_: ;
7734 }
7735 LA10_: ;
7736 }
7737 LA5_: ;
7738 }
N_INLINE(void,pushSafePoint)7739 static N_INLINE(void, pushSafePoint)(TSafePoint* s) {
7740 (*s).prev = excHandler__system_2565;
7741 excHandler__system_2565 = s;
7742 }
N_INLINE(void,popSafePoint)7743 static N_INLINE(void, popSafePoint)(void) {
7744 excHandler__system_2565 = (*excHandler__system_2565).prev;
7745 }
N_INLINE(Exception *,nimBorrowCurrentException)7746 static N_INLINE(Exception*, nimBorrowCurrentException)(void) {
7747 Exception* result;
7748 result = NIM_NIL;
7749 result = currException__system_2566;
7750 return result;
7751 }
N_INLINE(void,popCurrentException)7752 static N_INLINE(void, popCurrentException)(void) {
7753 asgnRef((void**) (&currException__system_2566), (*currException__system_2566).up);
7754 }
N_NIMCALL(void,writeOutput__docgen_7175)7755 N_LIB_PRIVATE N_NIMCALL(void, writeOutput__docgen_7175)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, NIM_BOOL useWarning, NIM_BOOL groupedToc) {
7756 NimStringDesc* content;
7757 runAllExamples__docgen_650(d);
7758 content = genOutFile__docgen_7107(d, groupedToc);
7759 {
7760 if (!(((*(*d).conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 24))&63U)))!=0)) goto LA3_;
7761 write__systemZio_205(stdout, content);
7762 }
7763 goto LA1_;
7764 LA3_: ;
7765 {
7766 NimStringDesc* dir;
7767 tyTuple__7q7q3E6Oj24ZNVJb9aonhAg T6_;
7768 TSafePoint TM__5fUAZGW8WPeit3fZaQyNXA_233;
7769 nimZeroMem((void*)(&T6_), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg));
7770 splitFile__pathutils_26((*d).Sup.destFile, (&T6_));
7771 dir = T6_.Field0;
7772 noscreateDir(dir);
7773 updateOutfile__docgen_7161(d, (*d).Sup.destFile);
7774 pushSafePoint(&TM__5fUAZGW8WPeit3fZaQyNXA_233);
7775 TM__5fUAZGW8WPeit3fZaQyNXA_233.status = _setjmp(TM__5fUAZGW8WPeit3fZaQyNXA_233.context);
7776 if (TM__5fUAZGW8WPeit3fZaQyNXA_233.status == 0) {
7777 writeFile__systemZio_476((*d).Sup.destFile, content);
7778 popSafePoint();
7779 }
7780 else {
7781 popSafePoint();
7782 if (isObj(nimBorrowCurrentException()->Sup.m_type, (&NTIioerror__iLZrPn9anoh9ad1MmO0RczFw_))) {
7783 tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w T9_;
7784 TM__5fUAZGW8WPeit3fZaQyNXA_233.status = 0;
7785 T9_ = (tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w)0;
7786 {
7787 if (!useWarning) goto LA12_;
7788 T9_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 16);
7789 }
7790 goto LA10_;
7791 LA12_: ;
7792 {
7793 T9_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 4);
7794 }
7795 LA10_: ;
7796 liMessage__msgs_1118((*d).conf, unknownLineInfo__lineinfos_280, T9_, (*d).Sup.destFile, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 1), TM__5fUAZGW8WPeit3fZaQyNXA_234, NIM_FALSE);
7797 popCurrentException();
7798 }
7799 }
7800 if (TM__5fUAZGW8WPeit3fZaQyNXA_233.status != 0) reraiseException();
7801 {
7802 NimStringDesc* nimr;
7803 NimStringDesc* T19_;
7804 NimStringDesc* T20_;
7805 NimStringDesc* T21_;
7806 NimStringDesc* T22_;
7807 if (!!((*d).wroteSupportFiles)) goto LA17_;
7808 T19_ = NIM_NIL;
7809 T19_ = getPrefixDir__options_4061((*d).conf);
7810 nimr = dollar___options_4475(T19_);
7811 T20_ = NIM_NIL;
7812 T20_ = interp__nimpaths_25(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_235), nimr);
7813 T21_ = NIM_NIL;
7814 T21_ = dollar___options_4475((*(*d).conf).outDir);
7815 T22_ = NIM_NIL;
7816 T22_ = slash___pureZos_121(T21_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_236));
7817 noscopyFile(T20_, T22_, 2);
7818 {
7819 NimStringDesc* docHackJs2;
7820 NimStringDesc* T27_;
7821 NimStringDesc* T28_;
7822 NimStringDesc* T29_;
7823 NimStringDesc* T30_;
7824 if (!(((*(*d).conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 27))&63U)))!=0)) goto LA25_;
7825 T27_ = NIM_NIL;
7826 T27_ = nosgetAppFilename();
7827 docHackJs2 = getDocHacksJs__nimpaths_84(nimr, T27_, NIM_FALSE);
7828 T28_ = NIM_NIL;
7829 T28_ = dollar___options_4475((*(*d).conf).outDir);
7830 T29_ = NIM_NIL;
7831 T29_ = noslastPathPart(docHackJs2);
7832 T30_ = NIM_NIL;
7833 T30_ = slash___pureZos_121(T28_, T29_);
7834 noscopyFile(docHackJs2, T30_, 2);
7835 }
7836 LA25_: ;
7837 (*d).wroteSupportFiles = NIM_TRUE;
7838 }
7839 LA17_: ;
7840 }
7841 LA1_: ;
7842 }
N_NIMCALL(void,generateIndex__docgen_7153)7843 N_LIB_PRIVATE N_NIMCALL(void, generateIndex__docgen_7153)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d) {
7844 {
7845 NimStringDesc* dir;
7846 NimStringDesc* dest;
7847 NimStringDesc* T5_;
7848 NimStringDesc* T6_;
7849 if (!(((*(*d).conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 27))&63U)))!=0)) goto LA3_;
7850 dir = (*(*d).conf).outDir;
7851 noscreateDir(dir);
7852 T5_ = NIM_NIL;
7853 T5_ = presentationPath__docgen_193((*d).conf, (*d).Sup.filename);
7854 T6_ = NIM_NIL;
7855 T6_ = noschangeFileExt(T5_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_237));
7856 dest = slash___pathutils_89(dir, T6_);
7857 writeIndexFile__packagesZdocutilsZrstgen_193(&d->Sup, dest);
7858 }
7859 LA3_: ;
7860 }
N_NIMCALL(void,commandDoc__docgen_7243)7861 N_LIB_PRIVATE N_NIMCALL(void, commandDoc__docgen_7243)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {
7862 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ast;
7863 tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d;
7864 { handleDocOutputOptions__docgen_7237(conf);
7865 ast = parseFile__syntaxes_217((*conf).projectMainIdx, cache, conf);
7866 {
7867 if (!(ast == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL))) goto LA3_;
7868 goto BeforeRet_;
7869 }
7870 LA3_: ;
7871 d = newDocumentor__docgen_352((*conf).projectFull, cache, conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_57), ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL), NIM_FALSE);
7872 (*d).Sup.hasToc = NIM_TRUE;
7873 generateDoc__docgen_5366(d, ast, ast, ((tyEnum_DocFlags__n80LVfoJIDYz0UaY4RmOog) 0));
7874 finishGenerateDoc__docgen_5479(&d);
7875 writeOutput__docgen_7175(d, NIM_FALSE, NIM_FALSE);
7876 generateIndex__docgen_7153(d);
7877 }BeforeRet_: ;
7878 }
N_NIMCALL(void,add__docgen_5802)7879 N_LIB_PRIVATE N_NIMCALL(void, add__docgen_5802)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA j) {
7880 {
7881 NIM_BOOL T3_;
7882 NIM_BOOL T4_;
7883 NI T8_;
7884 NimStringDesc* T9_;
7885 T3_ = (NIM_BOOL)0;
7886 T4_ = (NIM_BOOL)0;
7887 T4_ = eqeq___pureZjson_2044(j.json, ((tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*) NIM_NIL));
7888 T3_ = !(T4_);
7889 if (T3_) goto LA5_;
7890 T3_ = !((j.rst == ((tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*) NIM_NIL)));
7891 LA5_: ;
7892 if (!T3_) goto LA6_;
7893 asgnRef((void**) (&(*d).jEntriesPre), (tySequence__3XglYimddjcRJOskKktewA*) incrSeqV3((TGenericSeq*)((*d).jEntriesPre), (&NTIseqLjsonitemT__3XglYimddjcRJOskKktewA_)));
7894 T8_ = (*d).jEntriesPre->Sup.len++;
7895 asgnRef((void**) (&(*d).jEntriesPre->data[T8_].json), j.json);
7896 asgnRef((void**) (&(*d).jEntriesPre->data[T8_].rst), j.rst);
7897 T9_ = NIM_NIL;
7898 T9_ = (*d).jEntriesPre->data[T8_].rstField; (*d).jEntriesPre->data[T8_].rstField = copyStringRC1(j.rstField);
7899 if (T9_) nimGCunrefNoCycle(T9_);
7900 }
7901 LA6_: ;
7902 }
N_NIMCALL(NI,len__docgen_5896)7903 N_LIB_PRIVATE N_NIMCALL(NI, len__docgen_5896)(tyObject_Table__Ji6x6JQ0gVMaFr8AIk18Ug t) {
7904 NI result;
7905 result = (NI)0;
7906 result = t.counter;
7907 return result;
7908 }
N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q *,percent___docgen_5843)7909 N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___docgen_5843)(tyObject_Table__Ji6x6JQ0gVMaFr8AIk18Ug table) {
7910 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* result;
7911 result = NIM_NIL;
7912 result = newJObject__pureZjson_92();
7913 {
7914 NimStringDesc* k;
7915 NimStringDesc* v;
7916 NI L;
7917 k = NIM_NIL;
7918 v = NIM_NIL;
7919 L = len__docgen_5896(table);
7920 {
7921 NI h;
7922 NI colontmp_;
7923 NI T3_;
7924 NI res;
7925 h = (NI)0;
7926 colontmp_ = (NI)0;
7927 T3_ = ((table.data ? table.data->Sup.len : 0)-1);
7928 colontmp_ = T3_;
7929 res = ((NI) 0);
7930 {
7931 while (1) {
7932 if (!(res <= colontmp_)) goto LA5;
7933 h = res;
7934 {
7935 NIM_BOOL T8_;
7936 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T11_;
7937 T8_ = (NIM_BOOL)0;
7938 T8_ = isFilled__pureZcollectionsZtables_31(table.data->data[h].Field0);
7939 if (!T8_) goto LA9_;
7940 k = table.data->data[h].Field1;
7941 v = table.data->data[h].Field2;
7942 T11_ = NIM_NIL;
7943 T11_ = percent___pureZjson_1790(v);
7944 X5BX5Deq___pureZjson_1923(result, k, T11_);
7945 }
7946 LA9_: ;
7947 res += ((NI) 1);
7948 } LA5: ;
7949 }
7950 }
7951 }
7952 return result;
7953 }
N_INLINE(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q *,X5BX5D___pureZjson_3043)7954 static N_INLINE(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, X5BX5D___pureZjson_3043)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* node, NimStringDesc* name) {
7955 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* result;
7956 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q** T1_;
7957 result = NIM_NIL;
7958 T1_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q**)0;
7959 T1_ = X5BX5D___pureZjson_2638((&(*node)._kind_6.fields), name);
7960 result = (*T1_);
7961 return result;
7962 }
N_NIMCALL(void,genJsonItem__docgen_4925)7963 N_LIB_PRIVATE N_NIMCALL(void, genJsonItem__docgen_4925)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* nameNode, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k, tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA* Result) {
7964 NimStringDesc* name;
7965 tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* comm;
7966 tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg r;
7967 tyArray__rhtWm6uYOU6da9bZDT6ryDA T6_;
7968 { unsureAsgnRef((void**)&(*Result).json, NIM_NIL);
7969 unsureAsgnRef((void**)&(*Result).rst, NIM_NIL);
7970 unsureAsgnRef((void**)&(*Result).rstField, NIM_NIL);
7971 {
7972 NIM_BOOL T3_;
7973 T3_ = (NIM_BOOL)0;
7974 T3_ = isVisible__docgen_3266(d, nameNode);
7975 if (!!(T3_)) goto LA4_;
7976 goto BeforeRet_;
7977 }
7978 LA4_: ;
7979 name = getName__docgen_3329(d, nameNode, ((NI) -1));
7980 comm = genRecComment__docgen_541(d, n);
7981 nimZeroMem((void*)(&r), sizeof(tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg));
7982 initTokRender__renderer_2127((&r), n, 14);
7983 nimZeroMem((void*)T6_, sizeof(tyArray__rhtWm6uYOU6da9bZDT6ryDA));
7984 T6_[0].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_138));
7985 T6_[0].Field1 = percent___pureZjson_1790(name);
7986 T6_[1].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_239));
7987 T6_[1].Field1 = percent___pureZjson_1790(reprEnum((NI)k, (&NTItsymkind__cNCW9acsSznmEccl1fgQwkw_)));
7988 T6_[2].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_135));
7989 T6_[2].Field1 = percent___pureZjson_1800(((NI) ((*n).info.line)));
7990 T6_[3].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_240));
7991 T6_[3].Field1 = percent___pureZjson_1800(((NI) ((*n).info.col)));
7992 unsureAsgnRef((void**) (&(*Result).json), percent___pureZjson_1819(T6_, 4));
7993 {
7994 if (!!((comm == ((tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*) NIM_NIL)))) goto LA9_;
7995 unsureAsgnRef((void**) (&(*Result).rst), comm);
7996 unsureAsgnRef((void**) (&(*Result).rstField), copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_241)));
7997 }
7998 LA9_: ;
7999 {
8000 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T15_;
8001 if (!(((NI) 0) < (r.buf ? r.buf->Sup.len : 0))) goto LA13_;
8002 T15_ = NIM_NIL;
8003 T15_ = percent___pureZjson_1790(r.buf);
8004 X5BX5Deq___pureZjson_1923((*Result).json, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_242), T15_);
8005 }
8006 LA13_: ;
8007 {
8008 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T20_;
8009 if (!((520192 &((NU32)1<<((NU)(k)&31U)))!=0)) goto LA18_;
8010 T20_ = NIM_NIL;
8011 T20_ = newJObject__pureZjson_92();
8012 X5BX5Deq___pureZjson_1923((*Result).json, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_243), T20_);
8013 {
8014 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T25_;
8015 NimStringDesc* T26_;
8016 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T27_;
8017 if (!!(((*(*(*n)._kind_6.sons->data[((NI) 3)])._kind_6.sons->data[((NI) 0)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1)))) goto LA23_;
8018 T25_ = NIM_NIL;
8019 T25_ = X5BX5D___pureZjson_3043((*Result).json, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_243));
8020 T26_ = NIM_NIL;
8021 T26_ = dollar___renderer_2106((*(*n)._kind_6.sons->data[((NI) 3)])._kind_6.sons->data[((NI) 0)]);
8022 T27_ = NIM_NIL;
8023 T27_ = percent___pureZjson_1790(T26_);
8024 X5BX5Deq___pureZjson_1923(T25_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_244), T27_);
8025 }
8026 LA23_: ;
8027 {
8028 NI T30_;
8029 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T33_;
8030 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T34_;
8031 T30_ = (NI)0;
8032 T30_ = len__ast_3198((*n)._kind_6.sons->data[((NI) 3)]);
8033 if (!(((NI) 1) < T30_)) goto LA31_;
8034 T33_ = NIM_NIL;
8035 T33_ = X5BX5D___pureZjson_3043((*Result).json, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_243));
8036 T34_ = NIM_NIL;
8037 T34_ = newJArray__pureZjson_123();
8038 X5BX5Deq___pureZjson_1923(T33_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_245), T34_);
8039 }
8040 LA31_: ;
8041 {
8042 NI paramIdx;
8043 NI colontmp_;
8044 NI i;
8045 paramIdx = (NI)0;
8046 colontmp_ = (NI)0;
8047 colontmp_ = len__ast_3198((*n)._kind_6.sons->data[((NI) 3)]);
8048 i = ((NI) 1);
8049 {
8050 while (1) {
8051 if (!(i < colontmp_)) goto LA37;
8052 paramIdx = i;
8053 {
8054 NI identIdx;
8055 NI colontmp__2;
8056 NI T39_;
8057 NI i_2;
8058 identIdx = (NI)0;
8059 colontmp__2 = (NI)0;
8060 T39_ = (NI)0;
8061 T39_ = len__ast_3198((*(*n)._kind_6.sons->data[((NI) 3)])._kind_6.sons->data[paramIdx]);
8062 colontmp__2 = (NI)(T39_ - ((NI) 2));
8063 i_2 = ((NI) 0);
8064 {
8065 while (1) {
8066 NimStringDesc* paramName;
8067 NimStringDesc* paramType;
8068 NI T42_;
8069 if (!(i_2 < colontmp__2)) goto LA41;
8070 identIdx = i_2;
8071 paramName = dollar___renderer_2106((*(*(*n)._kind_6.sons->data[((NI) 3)])._kind_6.sons->data[paramIdx])._kind_6.sons->data[identIdx]);
8072 T42_ = (NI)0;
8073 T42_ = len__ast_3198((*(*n)._kind_6.sons->data[((NI) 3)])._kind_6.sons->data[paramIdx]);
8074 paramType = dollar___renderer_2106((*(*(*n)._kind_6.sons->data[((NI) 3)])._kind_6.sons->data[paramIdx])._kind_6.sons->data[(NI)(T42_ - ((NI) 2))]);
8075 {
8076 NI T45_;
8077 NimStringDesc* paramDefault;
8078 NI T48_;
8079 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T49_;
8080 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T50_;
8081 tyArray__fG4HAsOMuyKnlovN4zCUaA T51_;
8082 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T52_;
8083 T45_ = (NI)0;
8084 T45_ = len__ast_3198((*(*n)._kind_6.sons->data[((NI) 3)])._kind_6.sons->data[paramIdx]);
8085 if (!!(((*(*(*(*n)._kind_6.sons->data[((NI) 3)])._kind_6.sons->data[paramIdx])._kind_6.sons->data[(NI)(T45_ - ((NI) 1))]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1)))) goto LA46_;
8086 T48_ = (NI)0;
8087 T48_ = len__ast_3198((*(*n)._kind_6.sons->data[((NI) 3)])._kind_6.sons->data[paramIdx]);
8088 paramDefault = dollar___renderer_2106((*(*(*n)._kind_6.sons->data[((NI) 3)])._kind_6.sons->data[paramIdx])._kind_6.sons->data[(NI)(T48_ - ((NI) 1))]);
8089 T49_ = NIM_NIL;
8090 T49_ = X5BX5D___pureZjson_3043((*Result).json, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_243));
8091 T50_ = NIM_NIL;
8092 T50_ = X5BX5D___pureZjson_3043(T49_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_245));
8093 nimZeroMem((void*)T51_, sizeof(tyArray__fG4HAsOMuyKnlovN4zCUaA));
8094 T51_[0].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_138));
8095 T51_[0].Field1 = percent___pureZjson_1790(paramName);
8096 T51_[1].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_239));
8097 T51_[1].Field1 = percent___pureZjson_1790(paramType);
8098 T51_[2].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_246));
8099 T51_[2].Field1 = percent___pureZjson_1790(paramDefault);
8100 T52_ = NIM_NIL;
8101 T52_ = percent___pureZjson_1819(T51_, 3);
8102 add__pureZjson_222(T50_, T52_);
8103 }
8104 goto LA43_;
8105 LA46_: ;
8106 {
8107 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T54_;
8108 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T55_;
8109 tyArray__rnBfBeuXQMeTae3dUyC1Bw T56_;
8110 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T57_;
8111 T54_ = NIM_NIL;
8112 T54_ = X5BX5D___pureZjson_3043((*Result).json, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_243));
8113 T55_ = NIM_NIL;
8114 T55_ = X5BX5D___pureZjson_3043(T54_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_245));
8115 nimZeroMem((void*)T56_, sizeof(tyArray__rnBfBeuXQMeTae3dUyC1Bw));
8116 T56_[0].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_138));
8117 T56_[0].Field1 = percent___pureZjson_1790(paramName);
8118 T56_[1].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_239));
8119 T56_[1].Field1 = percent___pureZjson_1790(paramType);
8120 T57_ = NIM_NIL;
8121 T57_ = percent___pureZjson_1819(T56_, 2);
8122 add__pureZjson_222(T55_, T57_);
8123 }
8124 LA43_: ;
8125 i_2 += ((NI) 1);
8126 } LA41: ;
8127 }
8128 }
8129 i += ((NI) 1);
8130 } LA37: ;
8131 }
8132 }
8133 {
8134 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T62_;
8135 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T63_;
8136 if (!!(((*(*n)._kind_6.sons->data[((NI) 4)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1)))) goto LA60_;
8137 T62_ = NIM_NIL;
8138 T62_ = X5BX5D___pureZjson_3043((*Result).json, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_243));
8139 T63_ = NIM_NIL;
8140 T63_ = newJArray__pureZjson_123();
8141 X5BX5Deq___pureZjson_1923(T62_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_247), T63_);
8142 {
8143 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* pragma;
8144 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* colontmp__3;
8145 pragma = NIM_NIL;
8146 colontmp__3 = NIM_NIL;
8147 colontmp__3 = (*n)._kind_6.sons->data[((NI) 4)];
8148 {
8149 NI i_3;
8150 NI colontmp__4;
8151 NI i_4;
8152 i_3 = (NI)0;
8153 colontmp__4 = (NI)0;
8154 colontmp__4 = safeLen__ast_3191(colontmp__3);
8155 i_4 = ((NI) 0);
8156 {
8157 while (1) {
8158 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T68_;
8159 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T69_;
8160 NimStringDesc* T70_;
8161 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T71_;
8162 if (!(i_4 < colontmp__4)) goto LA67;
8163 i_3 = i_4;
8164 pragma = (*colontmp__3)._kind_6.sons->data[i_3];
8165 T68_ = NIM_NIL;
8166 T68_ = X5BX5D___pureZjson_3043((*Result).json, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_243));
8167 T69_ = NIM_NIL;
8168 T69_ = X5BX5D___pureZjson_3043(T68_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_247));
8169 T70_ = NIM_NIL;
8170 T70_ = dollar___renderer_2106(pragma);
8171 T71_ = NIM_NIL;
8172 T71_ = percent___pureZjson_1790(T70_);
8173 add__pureZjson_222(T69_, T71_);
8174 i_4 += ((NI) 1);
8175 } LA67: ;
8176 }
8177 }
8178 }
8179 }
8180 LA60_: ;
8181 {
8182 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T76_;
8183 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T77_;
8184 if (!!(((*(*n)._kind_6.sons->data[((NI) 2)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1)))) goto LA74_;
8185 T76_ = NIM_NIL;
8186 T76_ = X5BX5D___pureZjson_3043((*Result).json, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_243));
8187 T77_ = NIM_NIL;
8188 T77_ = newJArray__pureZjson_123();
8189 X5BX5Deq___pureZjson_1923(T76_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_248), T77_);
8190 {
8191 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* genericParam;
8192 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* colontmp__5;
8193 genericParam = NIM_NIL;
8194 colontmp__5 = NIM_NIL;
8195 colontmp__5 = (*n)._kind_6.sons->data[((NI) 2)];
8196 {
8197 NI i_5;
8198 NI colontmp__6;
8199 NI i_6;
8200 i_5 = (NI)0;
8201 colontmp__6 = (NI)0;
8202 colontmp__6 = safeLen__ast_3191(colontmp__5);
8203 i_6 = ((NI) 0);
8204 {
8205 while (1) {
8206 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* param;
8207 tyArray__nFPyKpuH1zPi4VuXhWbFAg T82_;
8208 NimStringDesc* T83_;
8209 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T97_;
8210 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T98_;
8211 if (!(i_6 < colontmp__6)) goto LA81;
8212 i_5 = i_6;
8213 genericParam = (*colontmp__5)._kind_6.sons->data[i_5];
8214 nimZeroMem((void*)T82_, sizeof(tyArray__nFPyKpuH1zPi4VuXhWbFAg));
8215 T82_[0].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_138));
8216 T83_ = NIM_NIL;
8217 T83_ = dollar___renderer_2106(genericParam);
8218 T82_[0].Field1 = percent___pureZjson_1790(T83_);
8219 param = percent___pureZjson_1819(T82_, 1);
8220 {
8221 NI T86_;
8222 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T89_;
8223 T86_ = ((*(*(*genericParam)._kind_4.sym).typ).sons ? (*(*(*genericParam)._kind_4.sym).typ).sons->Sup.len : 0);
8224 if (!(((NI) 0) < T86_)) goto LA87_;
8225 T89_ = NIM_NIL;
8226 T89_ = newJArray__pureZjson_123();
8227 X5BX5Deq___pureZjson_1923(param, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_249), T89_);
8228 }
8229 LA87_: ;
8230 {
8231 tyObject_TType__facALICuu8zUj0hjvbTLFg** kind;
8232 tySequence__9aZVGG5Gtti9cC9bqRpXCtA3A* colontmp__7;
8233 NI i_7;
8234 NI L;
8235 NI T91_;
8236 kind = (tyObject_TType__facALICuu8zUj0hjvbTLFg**)0;
8237 colontmp__7 = NIM_NIL;
8238 colontmp__7 = (*(*(*genericParam)._kind_4.sym).typ).sons;
8239 i_7 = ((NI) 0);
8240 T91_ = (colontmp__7 ? colontmp__7->Sup.len : 0);
8241 L = T91_;
8242 {
8243 while (1) {
8244 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T94_;
8245 NimStringDesc* T95_;
8246 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T96_;
8247 if (!(i_7 < L)) goto LA93;
8248 kind = &colontmp__7->data[i_7];
8249 T94_ = NIM_NIL;
8250 T94_ = X5BX5D___pureZjson_3043(param, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_249));
8251 T95_ = NIM_NIL;
8252 T95_ = typeToString__types_50((*kind), ((tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw) 0));
8253 T96_ = NIM_NIL;
8254 T96_ = percent___pureZjson_1790(T95_);
8255 add__pureZjson_222(T94_, T96_);
8256 i_7 += ((NI) 1);
8257 } LA93: ;
8258 }
8259 }
8260 T97_ = NIM_NIL;
8261 T97_ = X5BX5D___pureZjson_3043((*Result).json, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_243));
8262 T98_ = NIM_NIL;
8263 T98_ = X5BX5D___pureZjson_3043(T97_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_248));
8264 add__pureZjson_222(T98_, param);
8265 i_6 += ((NI) 1);
8266 } LA81: ;
8267 }
8268 }
8269 }
8270 }
8271 LA74_: ;
8272 }
8273 LA18_: ;
8274 }BeforeRet_: ;
8275 }
N_NIMCALL(void,generateJson__docgen_5813)8276 N_LIB_PRIVATE N_NIMCALL(void, generateJson__docgen_5813)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NIM_BOOL includeComments) {
8277 switch ((*n).kind) {
8278 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 125):
8279 {
8280 {
8281 tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA T6_;
8282 tyObject_Table__Ji6x6JQ0gVMaFr8AIk18Ug T7_;
8283 if (!includeComments) goto LA4_;
8284 nimZeroMem((void*)(&T6_), sizeof(tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA));
8285 nimZeroMem((void*)(&T6_), sizeof(tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA));
8286 T6_.rst = genComment__docgen_508(d, n);
8287 T6_.rstField = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_238));
8288 nimZeroMem((void*)(&T7_), sizeof(tyObject_Table__Ji6x6JQ0gVMaFr8AIk18Ug));
8289 nimZeroMem((void*)(&T7_), sizeof(tyObject_Table__Ji6x6JQ0gVMaFr8AIk18Ug));
8290 T6_.json = percent___docgen_5843(T7_);
8291 add__docgen_5802(d, T6_);
8292 }
8293 goto LA2_;
8294 LA4_: ;
8295 {
8296 tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* T9_;
8297 T9_ = NIM_NIL;
8298 T9_ = genComment__docgen_508(d, n);
8299 add__docgen_106((&(*d).modDescPre), T9_);
8300 }
8301 LA2_: ;
8302 }
8303 break;
8304 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 79):
8305 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 159):
8306 {
8307 tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA T11_;
8308 documentRaises__docgen_5281((*d).cache, n);
8309 nimZeroMem((void*)(&T11_), sizeof(tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA));
8310 genJsonItem__docgen_4925(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 12), (&T11_));
8311 add__docgen_5802(d, T11_);
8312 }
8313 break;
8314 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 80):
8315 {
8316 tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA T13_;
8317 documentRaises__docgen_5281((*d).cache, n);
8318 nimZeroMem((void*)(&T13_), sizeof(tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA));
8319 genJsonItem__docgen_4925(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 14), (&T13_));
8320 add__docgen_5802(d, T13_);
8321 }
8322 break;
8323 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 84):
8324 {
8325 tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA T15_;
8326 documentRaises__docgen_5281((*d).cache, n);
8327 nimZeroMem((void*)(&T15_), sizeof(tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA));
8328 genJsonItem__docgen_4925(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15), (&T15_));
8329 add__docgen_5802(d, T15_);
8330 }
8331 break;
8332 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 82):
8333 {
8334 tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA T17_;
8335 nimZeroMem((void*)(&T17_), sizeof(tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA));
8336 genJsonItem__docgen_4925(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 17), (&T17_));
8337 add__docgen_5802(d, T17_);
8338 }
8339 break;
8340 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 83):
8341 {
8342 tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA T19_;
8343 nimZeroMem((void*)(&T19_), sizeof(tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA));
8344 genJsonItem__docgen_4925(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 18), (&T19_));
8345 add__docgen_5802(d, T19_);
8346 }
8347 break;
8348 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 81):
8349 {
8350 tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA T21_;
8351 documentRaises__docgen_5281((*d).cache, n);
8352 nimZeroMem((void*)(&T21_), sizeof(tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA));
8353 genJsonItem__docgen_4925(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 16), (&T21_));
8354 add__docgen_5802(d, T21_);
8355 }
8356 break;
8357 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 98):
8358 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 99):
8359 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 100):
8360 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 101):
8361 {
8362 {
8363 NI i;
8364 NI colontmp_;
8365 NI i_2;
8366 i = (NI)0;
8367 colontmp_ = (NI)0;
8368 colontmp_ = len__ast_3198(n);
8369 i_2 = ((NI) 0);
8370 {
8371 while (1) {
8372 if (!(i_2 < colontmp_)) goto LA25;
8373 i = i_2;
8374 {
8375 tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA T30_;
8376 if (!!(((*(*n)._kind_6.sons->data[i]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 125)))) goto LA28_;
8377 nimZeroMem((void*)(&T30_), sizeof(tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA));
8378 genJsonItem__docgen_4925(d, (*n)._kind_6.sons->data[i], (*(*n)._kind_6.sons->data[i])._kind_6.sons->data[((NI) 0)], (tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw)(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 7) + (NI)((*n).kind - ((NI) 98))), (&T30_));
8379 add__docgen_5802(d, T30_);
8380 }
8381 LA28_: ;
8382 i_2 += ((NI) 1);
8383 } LA25: ;
8384 }
8385 }
8386 }
8387 break;
8388 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115):
8389 {
8390 {
8391 NI i_3;
8392 NI colontmp__2;
8393 NI i_4;
8394 i_3 = (NI)0;
8395 colontmp__2 = (NI)0;
8396 colontmp__2 = len__ast_3198(n);
8397 i_4 = ((NI) 0);
8398 {
8399 while (1) {
8400 if (!(i_4 < colontmp__2)) goto LA34;
8401 i_3 = i_4;
8402 generateJson__docgen_5813(d, (*n)._kind_6.sons->data[i_3], includeComments);
8403 i_4 += ((NI) 1);
8404 } LA34: ;
8405 }
8406 }
8407 }
8408 break;
8409 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 93):
8410 {
8411 {
8412 NIM_BOOL T38_;
8413 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T41_;
8414 T38_ = (NIM_BOOL)0;
8415 T38_ = checkForFalse__docgen_5124((*(*n)._kind_6.sons->data[((NI) 0)])._kind_6.sons->data[((NI) 0)]);
8416 if (!!(T38_)) goto LA39_;
8417 T41_ = NIM_NIL;
8418 T41_ = lastSon__ast_4832((*n)._kind_6.sons->data[((NI) 0)]);
8419 generateJson__docgen_5813(d, T41_, includeComments);
8420 }
8421 LA39_: ;
8422 }
8423 break;
8424 default:
8425 {
8426 }
8427 break;
8428 }
8429 }
N_NIMCALL(void,writeOutputJson__docgen_7201)8430 N_LIB_PRIVATE N_NIMCALL(void, writeOutputJson__docgen_7201)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, NIM_BOOL useWarning) {
8431 NimStringDesc* modDesc;
8432 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* content;
8433 tyArray__rhtWm6uYOU6da9bZDT6ryDA T4_;
8434 NimStringDesc* T5_;
8435 runAllExamples__docgen_650(d);
8436 modDesc = NIM_NIL;
8437 {
8438 NIM_CHAR desc;
8439 NI i;
8440 NI L;
8441 desc = (NIM_CHAR)0;
8442 i = ((NI) 0);
8443 L = ((*d).modDescFinal ? (*d).modDescFinal->Sup.len : 0);
8444 {
8445 while (1) {
8446 if (!(i < L)) goto LA3;
8447 desc = (*d).modDescFinal->data[i];
8448 modDesc = addChar(modDesc, desc);
8449 i += ((NI) 1);
8450 } LA3: ;
8451 }
8452 }
8453 nimZeroMem((void*)T4_, sizeof(tyArray__rhtWm6uYOU6da9bZDT6ryDA));
8454 T4_[0].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_250));
8455 T4_[0].Field1 = percent___pureZjson_1790((*d).Sup.filename);
8456 T4_[1].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_251));
8457 T5_ = NIM_NIL;
8458 T5_ = getPackageName__options_4143((*d).conf, (*d).Sup.filename);
8459 T4_[1].Field1 = percent___pureZjson_1790(T5_);
8460 T4_[2].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_252));
8461 T4_[2].Field1 = percent___pureZjson_1790(modDesc);
8462 T4_[3].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_253));
8463 T4_[3].Field1 = (*d).jEntriesFinal;
8464 content = percent___pureZjson_1819(T4_, 4);
8465 {
8466 NimStringDesc* T10_;
8467 if (!(((*(*d).conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 24))&63U)))!=0)) goto LA8_;
8468 T10_ = NIM_NIL;
8469 T10_ = dollar___pureZjson_4465(content);
8470 write__systemZio_205(stdout, T10_);
8471 }
8472 goto LA6_;
8473 LA8_: ;
8474 {
8475 FILE* f;
8476 f = (FILE*)0;
8477 {
8478 NIM_BOOL T14_;
8479 NimStringDesc* T17_;
8480 T14_ = (NIM_BOOL)0;
8481 T14_ = open__systemZio_391(&f, (*d).Sup.destFile, ((tyEnum_FileMode__ZJfK20XeZ9bv2j1pZjw9aswg) 1), ((NI) -1));
8482 if (!T14_) goto LA15_;
8483 T17_ = NIM_NIL;
8484 T17_ = dollar___pureZjson_4465(content);
8485 write__systemZio_205(f, T17_);
8486 close__systemZio_218(f);
8487 updateOutfile__docgen_7161(d, (*d).Sup.destFile);
8488 }
8489 goto LA12_;
8490 LA15_: ;
8491 {
8492 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q T19_;
8493 NimStringDesc* T20_;
8494 T19_ = newLineInfo__msgs_398((*d).conf, (*d).Sup.filename, ((NI) -1), ((NI) -1));
8495 T20_ = NIM_NIL;
8496 T20_ = rawNewString(((*d).Sup.destFile ? (*d).Sup.destFile->Sup.len : 0) + 34);
8497 appendString(T20_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_254));
8498 appendString(T20_, (*d).Sup.destFile);
8499 appendString(T20_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_255));
8500 liMessage__msgs_1118((*d).conf, T19_, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 67), T20_, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__5fUAZGW8WPeit3fZaQyNXA_256, NIM_FALSE);
8501 }
8502 LA12_: ;
8503 }
8504 LA6_: ;
8505 }
N_NIMCALL(void,commandBuildIndex__docgen_7322)8506 N_LIB_PRIVATE N_NIMCALL(void, commandBuildIndex__docgen_7322)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* dir, NimStringDesc* outFile) {
8507 NimStringDesc* content;
8508 NimStringDesc* outFile_2;
8509 NimStringDesc* filename;
8510 NimStringDesc* code;
8511 NimStringDesc* T6_;
8512 tyArray__ebVs7LW9aC16IAZKgIOCAJQ T7_;
8513 TSafePoint TM__5fUAZGW8WPeit3fZaQyNXA_258;
8514 content = mergeIndexes__packagesZdocutilsZrstgen_7941(dir);
8515 outFile_2 = copyString(outFile);
8516 {
8517 NIM_BOOL T3_;
8518 T3_ = (NIM_BOOL)0;
8519 T3_ = isEmpty__options_4049(outFile_2);
8520 if (!T3_) goto LA4_;
8521 outFile_2 = noschangeFileExt(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_223), ((NimStringDesc*) NIM_NIL));
8522 }
8523 LA4_: ;
8524 filename = getOutFile__options_4028(conf, outFile_2, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_57));
8525 T6_ = NIM_NIL;
8526 T6_ = getConfigVar__options_4019(conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_225), ((NimStringDesc*) NIM_NIL));
8527 nimZeroMem((void*)T7_, sizeof(tyArray__ebVs7LW9aC16IAZKgIOCAJQ));
8528 T7_[0] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_226));
8529 T7_[1] = relLink__docgen_7098((*conf).outDir, filename, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_227));
8530 T7_[2] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_228));
8531 T7_[3] = relLink__docgen_7098((*conf).outDir, filename, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_229));
8532 T7_[4] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_216));
8533 T7_[5] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_257));
8534 T7_[6] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_217));
8535 T7_[7] = ((NimStringDesc*) NIM_NIL);
8536 T7_[8] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_218));
8537 T7_[9] = ((NimStringDesc*) NIM_NIL);
8538 T7_[10] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_219));
8539 T7_[11] = ((NimStringDesc*) NIM_NIL);
8540 T7_[12] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_220));
8541 T7_[13] = getDateStr__options_583();
8542 T7_[14] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_221));
8543 T7_[15] = getClockStr__options_591();
8544 T7_[16] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_200));
8545 T7_[17] = copyString(content);
8546 T7_[18] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_230));
8547 T7_[19] = ((NimStringDesc*) NIM_NIL);
8548 T7_[20] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_231));
8549 T7_[21] = ((NimStringDesc*) NIM_NIL);
8550 T7_[22] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_232));
8551 T7_[23] = ((NimStringDesc*) NIM_NIL);
8552 code = nsuFormatOpenArray(T6_, T7_, 24);
8553 pushSafePoint(&TM__5fUAZGW8WPeit3fZaQyNXA_258);
8554 TM__5fUAZGW8WPeit3fZaQyNXA_258.status = _setjmp(TM__5fUAZGW8WPeit3fZaQyNXA_258.context);
8555 if (TM__5fUAZGW8WPeit3fZaQyNXA_258.status == 0) {
8556 writeFile__systemZio_476(filename, code);
8557 popSafePoint();
8558 }
8559 else {
8560 popSafePoint();
8561 {
8562 TM__5fUAZGW8WPeit3fZaQyNXA_258.status = 0;
8563 liMessage__msgs_1118(conf, unknownLineInfo__lineinfos_280, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 4), filename, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 1), TM__5fUAZGW8WPeit3fZaQyNXA_259, NIM_FALSE);
8564 popCurrentException();
8565 }
8566 }
8567 if (TM__5fUAZGW8WPeit3fZaQyNXA_258.status != 0) reraiseException();
8568 }
N_INLINE(void,nimGCunrefRC1)8569 static N_INLINE(void, nimGCunrefRC1)(void* p) {
8570 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
8571 T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
8572 T1_ = usrToCell__system_5271(p);
8573 decRef__system_5316(T1_);
8574 }
N_NIMCALL(void,commandRstAux__docgen_7252)8575 N_LIB_PRIVATE N_NIMCALL(void, commandRstAux__docgen_7252)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename, NimStringDesc* outExt) {
8576 NimStringDesc* filen;
8577 tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d;
8578 tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* rst;
8579 NimStringDesc* T1_;
8580 tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA T2_;
8581 filen = nosaddFileExt(filename, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_260));
8582 d = newDocumentor__docgen_352(filen, cache, conf, outExt, ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL), NIM_TRUE);
8583 T1_ = NIM_NIL;
8584 T1_ = readFile__systemZio_471(filen);
8585 rst = parseRst__docgen_306(T1_, filen, ((NI) 1), ((NI) 0), conf, (*d).sharedState);
8586 if ((*d).modDescPre) { nimGCunrefRC1((*d).modDescPre); (*d).modDescPre = NIM_NIL; }
8587 (*d).modDescPre = (tySequence__Wm9aGag2treFuYnXRdy8u9bA*) newSeqRC1((&NTIitempre__Wm9aGag2treFuYnXRdy8u9bA_), 1);
8588 nimZeroMem((void*)(&T2_), sizeof(tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA));
8589 nimZeroMem((void*)(&T2_), sizeof(tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA));
8590 T2_.isRst = NIM_TRUE;
8591 T2_._isRst_1.rst = rst;
8592 genericShallowAssign((void*)(&(*d).modDescPre->data[0]), (void*)(&T2_), (&NTIitemfragment__1E61TU9aUfqHCQZV7JEfWuA_));
8593 finishGenerateDoc__docgen_5479(&d);
8594 writeOutput__docgen_7175(d, NIM_FALSE, NIM_FALSE);
8595 generateIndex__docgen_7153(d);
8596 }
N_NIMCALL(void,commandRst2Html__docgen_7273)8597 N_LIB_PRIVATE N_NIMCALL(void, commandRst2Html__docgen_7273)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {
8598 commandRstAux__docgen_7252(cache, conf, (*conf).projectFull, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_57));
8599 }
N_NIMCALL(void,commandRst2TeX__docgen_7276)8600 N_LIB_PRIVATE N_NIMCALL(void, commandRst2TeX__docgen_7276)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {
8601 commandRstAux__docgen_7252(cache, conf, (*conf).projectFull, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_261));
8602 }
N_NIMCALL(void,Marker_tyRef__SNRao7b4hOZKnbHC8HR0gg)8603 static N_NIMCALL(void, Marker_tyRef__SNRao7b4hOZKnbHC8HR0gg)(void* p, NI op) {
8604 tyObject_Env_docgendotnim_commandJson___jwayR6zaxkEYAMp3GS09bOA* a;
8605 a = (tyObject_Env_docgendotnim_commandJson___jwayR6zaxkEYAMp3GS09bOA*)p;
8606 nimGCvisit((void*)(*a).conf1, op);
8607 }
N_CLOSURE(void,colonanonymous___docgen_7288)8608 N_LIB_PRIVATE N_CLOSURE(void, colonanonymous___docgen_7288)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, NimStringDesc* filename, NimStringDesc* cmd, NI status, NimStringDesc* content, void* ClE_0) {
8609 tyObject_Env_docgendotnim_commandJson___jwayR6zaxkEYAMp3GS09bOA* colonenvP_;
8610 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q T1_;
8611 colonenvP_ = (tyObject_Env_docgendotnim_commandJson___jwayR6zaxkEYAMp3GS09bOA*) ClE_0;
8612 T1_ = newLineInfo__msgs_398((*colonenvP_).conf1, (*d).filename, ((NI) -1), ((NI) -1));
8613 liMessage__msgs_1118((*colonenvP_).conf1, T1_, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 67), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_263), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__5fUAZGW8WPeit3fZaQyNXA_264, NIM_FALSE);
8614 }
N_NIMCALL(void,commandJson__docgen_7279)8615 N_LIB_PRIVATE N_NIMCALL(void, commandJson__docgen_7279)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {
8616 tyObject_Env_docgendotnim_commandJson___jwayR6zaxkEYAMp3GS09bOA* colonenv_;
8617 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ast;
8618 tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d;
8619 tyProc__60GIQaCod4Z80PoIKw3WKQ T5_;
8620 tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* json;
8621 NimStringDesc* content;
8622 { colonenv_ = NIM_NIL;
8623 colonenv_ = (tyObject_Env_docgendotnim_commandJson___jwayR6zaxkEYAMp3GS09bOA*) newObj((&NTIrefobject__SNRao7b4hOZKnbHC8HR0gg_), sizeof(tyObject_Env_docgendotnim_commandJson___jwayR6zaxkEYAMp3GS09bOA));
8624 (*colonenv_).Sup.m_type = (&NTIobject__jwayR6zaxkEYAMp3GS09bOA_);
8625 asgnRef((void**) (&(*colonenv_).conf1), conf);
8626 ast = parseFile__syntaxes_217((*(*colonenv_).conf1).projectMainIdx, cache, (*colonenv_).conf1);
8627 {
8628 if (!(ast == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL))) goto LA3_;
8629 goto BeforeRet_;
8630 }
8631 LA3_: ;
8632 d = newDocumentor__docgen_352((*(*colonenv_).conf1).projectFull, cache, (*colonenv_).conf1, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_57), ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL), NIM_FALSE);
8633 nimZeroMem((void*)(&T5_), sizeof(tyProc__60GIQaCod4Z80PoIKw3WKQ));
8634 T5_.ClP_0 = colonanonymous___docgen_7288; T5_.ClE_0 = colonenv_;
8635 asgnRef((void**) (&(*d).Sup.onTestSnippet.ClE_0), T5_.ClE_0);
8636 (*d).Sup.onTestSnippet.ClP_0 = T5_.ClP_0;
8637 (*d).Sup.hasToc = NIM_TRUE;
8638 generateJson__docgen_5813(d, ast, NIM_TRUE);
8639 finishGenerateDoc__docgen_5479(&d);
8640 json = (*d).jEntriesFinal;
8641 content = pretty__pureZjson_4461(json, ((NI) 2));
8642 {
8643 if (!(((*(*d).conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 24))&63U)))!=0)) goto LA8_;
8644 write__systemZio_205(stdout, content);
8645 }
8646 goto LA6_;
8647 LA8_: ;
8648 {
8649 NimStringDesc* filename;
8650 TSafePoint TM__5fUAZGW8WPeit3fZaQyNXA_266;
8651 filename = getOutFile__options_4028((*colonenv_).conf1, (*(*colonenv_).conf1).projectName, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_265));
8652 pushSafePoint(&TM__5fUAZGW8WPeit3fZaQyNXA_266);
8653 TM__5fUAZGW8WPeit3fZaQyNXA_266.status = _setjmp(TM__5fUAZGW8WPeit3fZaQyNXA_266.context);
8654 if (TM__5fUAZGW8WPeit3fZaQyNXA_266.status == 0) {
8655 writeFile__systemZio_476(filename, content);
8656 popSafePoint();
8657 }
8658 else {
8659 popSafePoint();
8660 {
8661 TM__5fUAZGW8WPeit3fZaQyNXA_266.status = 0;
8662 liMessage__msgs_1118((*colonenv_).conf1, unknownLineInfo__lineinfos_280, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 4), filename, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 1), TM__5fUAZGW8WPeit3fZaQyNXA_267, NIM_FALSE);
8663 popCurrentException();
8664 }
8665 }
8666 if (TM__5fUAZGW8WPeit3fZaQyNXA_266.status != 0) reraiseException();
8667 }
8668 LA6_: ;
8669 }BeforeRet_: ;
8670 }
N_NIMCALL(void,Marker_tyRef__sHJ3bK9btAJ66R8tJi9bFYHg)8671 static N_NIMCALL(void, Marker_tyRef__sHJ3bK9btAJ66R8tJi9bFYHg)(void* p, NI op) {
8672 tyObject_Env_docgendotnim_commandTags___pwUZDPkEs6xKitbL0Cjk9cQ* a;
8673 a = (tyObject_Env_docgendotnim_commandTags___pwUZDPkEs6xKitbL0Cjk9cQ*)p;
8674 nimGCvisit((void*)(*a).conf1, op);
8675 }
N_CLOSURE(void,colonanonymous___docgen_7310)8676 N_LIB_PRIVATE N_CLOSURE(void, colonanonymous___docgen_7310)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, NimStringDesc* filename, NimStringDesc* cmd, NI status, NimStringDesc* content, void* ClE_0) {
8677 tyObject_Env_docgendotnim_commandTags___pwUZDPkEs6xKitbL0Cjk9cQ* colonenvP_;
8678 tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q T1_;
8679 colonenvP_ = (tyObject_Env_docgendotnim_commandTags___pwUZDPkEs6xKitbL0Cjk9cQ*) ClE_0;
8680 T1_ = newLineInfo__msgs_398((*colonenvP_).conf1, (*d).filename, ((NI) -1), ((NI) -1));
8681 liMessage__msgs_1118((*colonenvP_).conf1, T1_, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 67), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_263), ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 0), TM__5fUAZGW8WPeit3fZaQyNXA_269, NIM_FALSE);
8682 }
N_NIMCALL(NimStringDesc *,genTagsItem__docgen_6196)8683 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, genTagsItem__docgen_6196)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* nameNode, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k) {
8684 NimStringDesc* result;
8685 NimStringDesc* T1_;
8686 NimStringDesc* T2_;
8687 result = NIM_NIL;
8688 T1_ = NIM_NIL;
8689 T2_ = NIM_NIL;
8690 T2_ = getName__docgen_3329(d, nameNode, ((NI) -1));
8691 T1_ = rawNewString((T2_ ? T2_->Sup.len : 0) + 1);
8692 appendString(T1_, T2_);
8693 appendString(T1_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_125));
8694 result = T1_;
8695 return result;
8696 }
N_NIMCALL(void,generateTags__docgen_6202)8697 N_LIB_PRIVATE N_NIMCALL(void, generateTags__docgen_6202)(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NimStringDesc** r) {
8698 switch ((*n).kind) {
8699 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 125):
8700 {
8701 {
8702 NimStringDesc* T4_;
8703 NIM_BOOL T5_;
8704 NimStringDesc* stripped;
8705 NimStringDesc* T8_;
8706 NimStringDesc* T9_;
8707 T4_ = NIM_NIL;
8708 T4_ = comment__ast_993(n);
8709 T5_ = (NIM_BOOL)0;
8710 T5_ = nsuStartsWith(T4_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_70));
8711 if (!T5_) goto LA6_;
8712 T8_ = NIM_NIL;
8713 T8_ = comment__ast_993(n);
8714 T9_ = NIM_NIL;
8715 T9_ = substr__system_7756(T8_, ((NI) 2));
8716 stripped = nsuStrip(T9_, NIM_TRUE, NIM_TRUE, TM__5fUAZGW8WPeit3fZaQyNXA_98);
8717 unsureAsgnRef((void**) (&(*r)), resizeString((*r), (stripped ? stripped->Sup.len : 0) + 0));
8718 appendString((*r), stripped);
8719 }
8720 LA6_: ;
8721 }
8722 break;
8723 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 79):
8724 {
8725 NimStringDesc* T11_;
8726 documentRaises__docgen_5281((*d).cache, n);
8727 T11_ = NIM_NIL;
8728 T11_ = genTagsItem__docgen_6196(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 12));
8729 unsureAsgnRef((void**) (&(*r)), resizeString((*r), (T11_ ? T11_->Sup.len : 0) + 0));
8730 appendString((*r), T11_);
8731 }
8732 break;
8733 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 159):
8734 {
8735 NimStringDesc* T13_;
8736 documentRaises__docgen_5281((*d).cache, n);
8737 T13_ = NIM_NIL;
8738 T13_ = genTagsItem__docgen_6196(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 13));
8739 unsureAsgnRef((void**) (&(*r)), resizeString((*r), (T13_ ? T13_->Sup.len : 0) + 0));
8740 appendString((*r), T13_);
8741 }
8742 break;
8743 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 80):
8744 {
8745 NimStringDesc* T15_;
8746 documentRaises__docgen_5281((*d).cache, n);
8747 T15_ = NIM_NIL;
8748 T15_ = genTagsItem__docgen_6196(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 14));
8749 unsureAsgnRef((void**) (&(*r)), resizeString((*r), (T15_ ? T15_->Sup.len : 0) + 0));
8750 appendString((*r), T15_);
8751 }
8752 break;
8753 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 84):
8754 {
8755 NimStringDesc* T17_;
8756 documentRaises__docgen_5281((*d).cache, n);
8757 T17_ = NIM_NIL;
8758 T17_ = genTagsItem__docgen_6196(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
8759 unsureAsgnRef((void**) (&(*r)), resizeString((*r), (T17_ ? T17_->Sup.len : 0) + 0));
8760 appendString((*r), T17_);
8761 }
8762 break;
8763 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 82):
8764 {
8765 NimStringDesc* T19_;
8766 T19_ = NIM_NIL;
8767 T19_ = genTagsItem__docgen_6196(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 17));
8768 unsureAsgnRef((void**) (&(*r)), resizeString((*r), (T19_ ? T19_->Sup.len : 0) + 0));
8769 appendString((*r), T19_);
8770 }
8771 break;
8772 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 83):
8773 {
8774 NimStringDesc* T21_;
8775 T21_ = NIM_NIL;
8776 T21_ = genTagsItem__docgen_6196(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 18));
8777 unsureAsgnRef((void**) (&(*r)), resizeString((*r), (T21_ ? T21_->Sup.len : 0) + 0));
8778 appendString((*r), T21_);
8779 }
8780 break;
8781 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 81):
8782 {
8783 NimStringDesc* T23_;
8784 documentRaises__docgen_5281((*d).cache, n);
8785 T23_ = NIM_NIL;
8786 T23_ = genTagsItem__docgen_6196(d, n, (*n)._kind_6.sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 16));
8787 unsureAsgnRef((void**) (&(*r)), resizeString((*r), (T23_ ? T23_->Sup.len : 0) + 0));
8788 appendString((*r), T23_);
8789 }
8790 break;
8791 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 98):
8792 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 99):
8793 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 100):
8794 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 101):
8795 {
8796 {
8797 NI i;
8798 NI colontmp_;
8799 NI i_2;
8800 i = (NI)0;
8801 colontmp_ = (NI)0;
8802 colontmp_ = len__ast_3198(n);
8803 i_2 = ((NI) 0);
8804 {
8805 while (1) {
8806 if (!(i_2 < colontmp_)) goto LA27;
8807 i = i_2;
8808 {
8809 NimStringDesc* T32_;
8810 if (!!(((*(*n)._kind_6.sons->data[i]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 125)))) goto LA30_;
8811 T32_ = NIM_NIL;
8812 T32_ = genTagsItem__docgen_6196(d, (*n)._kind_6.sons->data[i], (*(*n)._kind_6.sons->data[i])._kind_6.sons->data[((NI) 0)], (tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw)(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 7) + (NI)((*n).kind - ((NI) 98))));
8813 unsureAsgnRef((void**) (&(*r)), resizeString((*r), (T32_ ? T32_->Sup.len : 0) + 0));
8814 appendString((*r), T32_);
8815 }
8816 LA30_: ;
8817 i_2 += ((NI) 1);
8818 } LA27: ;
8819 }
8820 }
8821 }
8822 break;
8823 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115):
8824 {
8825 {
8826 NI i_3;
8827 NI colontmp__2;
8828 NI i_4;
8829 i_3 = (NI)0;
8830 colontmp__2 = (NI)0;
8831 colontmp__2 = len__ast_3198(n);
8832 i_4 = ((NI) 0);
8833 {
8834 while (1) {
8835 if (!(i_4 < colontmp__2)) goto LA36;
8836 i_3 = i_4;
8837 generateTags__docgen_6202(d, (*n)._kind_6.sons->data[i_3], r);
8838 i_4 += ((NI) 1);
8839 } LA36: ;
8840 }
8841 }
8842 }
8843 break;
8844 case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 93):
8845 {
8846 {
8847 NIM_BOOL T40_;
8848 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T43_;
8849 T40_ = (NIM_BOOL)0;
8850 T40_ = checkForFalse__docgen_5124((*(*n)._kind_6.sons->data[((NI) 0)])._kind_6.sons->data[((NI) 0)]);
8851 if (!!(T40_)) goto LA41_;
8852 T43_ = NIM_NIL;
8853 T43_ = lastSon__ast_4832((*n)._kind_6.sons->data[((NI) 0)]);
8854 generateTags__docgen_6202(d, T43_, r);
8855 }
8856 LA41_: ;
8857 }
8858 break;
8859 default:
8860 {
8861 }
8862 break;
8863 }
8864 }
N_NIMCALL(void,commandTags__docgen_7301)8865 N_LIB_PRIVATE N_NIMCALL(void, commandTags__docgen_7301)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {
8866 tyObject_Env_docgendotnim_commandTags___pwUZDPkEs6xKitbL0Cjk9cQ* colonenv_;
8867 tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ast;
8868 tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA* d;
8869 tyProc__60GIQaCod4Z80PoIKw3WKQ T5_;
8870 NimStringDesc* content;
8871 { colonenv_ = NIM_NIL;
8872 colonenv_ = (tyObject_Env_docgendotnim_commandTags___pwUZDPkEs6xKitbL0Cjk9cQ*) newObj((&NTIrefobject__sHJ3bK9btAJ66R8tJi9bFYHg_), sizeof(tyObject_Env_docgendotnim_commandTags___pwUZDPkEs6xKitbL0Cjk9cQ));
8873 (*colonenv_).Sup.m_type = (&NTIobject__pwUZDPkEs6xKitbL0Cjk9cQ_);
8874 asgnRef((void**) (&(*colonenv_).conf1), conf);
8875 ast = parseFile__syntaxes_217((*(*colonenv_).conf1).projectMainIdx, cache, (*colonenv_).conf1);
8876 {
8877 if (!(ast == ((tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*) NIM_NIL))) goto LA3_;
8878 goto BeforeRet_;
8879 }
8880 LA3_: ;
8881 d = newDocumentor__docgen_352((*(*colonenv_).conf1).projectFull, cache, (*colonenv_).conf1, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_57), ((tyObject_TSym__nnJKJFyjDGi5mnv8jwfTGQ*) NIM_NIL), NIM_FALSE);
8882 nimZeroMem((void*)(&T5_), sizeof(tyProc__60GIQaCod4Z80PoIKw3WKQ));
8883 T5_.ClP_0 = colonanonymous___docgen_7310; T5_.ClE_0 = colonenv_;
8884 asgnRef((void**) (&(*d).Sup.onTestSnippet.ClE_0), T5_.ClE_0);
8885 (*d).Sup.onTestSnippet.ClP_0 = T5_.ClP_0;
8886 (*d).Sup.hasToc = NIM_TRUE;
8887 content = ((NimStringDesc*) NIM_NIL);
8888 generateTags__docgen_6202(d, ast, (&content));
8889 {
8890 if (!(((*(*d).conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 24))&63U)))!=0)) goto LA8_;
8891 write__systemZio_205(stdout, content);
8892 }
8893 goto LA6_;
8894 LA8_: ;
8895 {
8896 NimStringDesc* filename;
8897 TSafePoint TM__5fUAZGW8WPeit3fZaQyNXA_271;
8898 filename = getOutFile__options_4028((*colonenv_).conf1, (*(*colonenv_).conf1).projectName, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_270));
8899 pushSafePoint(&TM__5fUAZGW8WPeit3fZaQyNXA_271);
8900 TM__5fUAZGW8WPeit3fZaQyNXA_271.status = _setjmp(TM__5fUAZGW8WPeit3fZaQyNXA_271.context);
8901 if (TM__5fUAZGW8WPeit3fZaQyNXA_271.status == 0) {
8902 writeFile__systemZio_476(filename, content);
8903 popSafePoint();
8904 }
8905 else {
8906 popSafePoint();
8907 {
8908 TM__5fUAZGW8WPeit3fZaQyNXA_271.status = 0;
8909 liMessage__msgs_1118((*colonenv_).conf1, unknownLineInfo__lineinfos_280, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 4), filename, ((tyEnum_TErrorHandling__q4fXoCN3Xdcm6SS9cUkWkWw) 1), TM__5fUAZGW8WPeit3fZaQyNXA_272, NIM_FALSE);
8910 popCurrentException();
8911 }
8912 }
8913 if (TM__5fUAZGW8WPeit3fZaQyNXA_271.status != 0) reraiseException();
8914 }
8915 LA6_: ;
8916 }BeforeRet_: ;
8917 }
N_NIMCALL(void,compiler_docgenDatInit000)8918 N_LIB_PRIVATE N_NIMCALL(void, compiler_docgenDatInit000)(void) {
8919 static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_2_2[2];
8920 static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_3_24[24];
8921 static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_4_2[2];
8922 static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_5_3[3];
8923 static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_6_2[2];
8924 static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_7_2[2];
8925 static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_8_3[3];
8926 static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_9_3[3];
8927 static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_10_4[4];
8928 static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_11_4[4];
8929 static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_12_4[4];
8930 static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_18_3[3];
8931 static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_39_3[3];
8932 static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_262_2[2];
8933 static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_268_2[2];
8934 static TNimNode TM__5fUAZGW8WPeit3fZaQyNXA_0[81];
8935 NTIobject__bjZ39beKZKuX6eBUmfaMw0A_.size = sizeof(tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A);
8936 NTIobject__bjZ39beKZKuX6eBUmfaMw0A_.align = NIM_ALIGNOF(tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A);
8937 NTIobject__bjZ39beKZKuX6eBUmfaMw0A_.kind = 17;
8938 NTIobject__bjZ39beKZKuX6eBUmfaMw0A_.base = (&NTIrootobj__ytyiCJqK439aF9cIibuRVpAg_);
8939 TM__5fUAZGW8WPeit3fZaQyNXA_2_2[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[1];
8940 TM__5fUAZGW8WPeit3fZaQyNXA_0[1].kind = 1;
8941 TM__5fUAZGW8WPeit3fZaQyNXA_0[1].offset = offsetof(tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A, colonstate_);
8942 TM__5fUAZGW8WPeit3fZaQyNXA_0[1].typ = (&NTIint__xHTZrq9aYs6boc9bCba0JbpQ_);
8943 TM__5fUAZGW8WPeit3fZaQyNXA_0[1].name = ":state";
8944 TM__5fUAZGW8WPeit3fZaQyNXA_2_2[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[2];
8945 TM__5fUAZGW8WPeit3fZaQyNXA_0[2].kind = 1;
8946 TM__5fUAZGW8WPeit3fZaQyNXA_0[2].offset = offsetof(tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A, conf1);
8947 TM__5fUAZGW8WPeit3fZaQyNXA_0[2].typ = (&NTIconfigref__a8lycfSA25OQltN3OMeBsA_);
8948 TM__5fUAZGW8WPeit3fZaQyNXA_0[2].name = "conf1";
8949 TM__5fUAZGW8WPeit3fZaQyNXA_0[0].len = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[0].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[0].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_2_2[0];
8950 NTIobject__bjZ39beKZKuX6eBUmfaMw0A_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[0];
8951 NTIrefobject__V3MI5pMOk7mgnWO9c9b9czAZQ_.size = sizeof(tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A*);
8952 NTIrefobject__V3MI5pMOk7mgnWO9c9b9czAZQ_.align = NIM_ALIGNOF(tyObject_Env_docgendotnim_newDocumentor___bjZ39beKZKuX6eBUmfaMw0A*);
8953 NTIrefobject__V3MI5pMOk7mgnWO9c9b9czAZQ_.kind = 22;
8954 NTIrefobject__V3MI5pMOk7mgnWO9c9b9czAZQ_.base = (&NTIobject__bjZ39beKZKuX6eBUmfaMw0A_);
8955 NTIrefobject__V3MI5pMOk7mgnWO9c9b9czAZQ_.marker = Marker_tyRef__V3MI5pMOk7mgnWO9c9b9czAZQ;
8956 NTItdocumentor__0qk3QCyMUTRYfKiuiIvI9cA_.size = sizeof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA);
8957 NTItdocumentor__0qk3QCyMUTRYfKiuiIvI9cA_.align = NIM_ALIGNOF(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA);
8958 NTItdocumentor__0qk3QCyMUTRYfKiuiIvI9cA_.kind = 17;
8959 NTItdocumentor__0qk3QCyMUTRYfKiuiIvI9cA_.base = (&NTIrstgenerator__3jlDCj6GoMg9aZfxlJYSfkA_);
8960 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[4];
8961 NTIitemfragment__1E61TU9aUfqHCQZV7JEfWuA_.size = sizeof(tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA);
8962 NTIitemfragment__1E61TU9aUfqHCQZV7JEfWuA_.align = NIM_ALIGNOF(tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA);
8963 NTIitemfragment__1E61TU9aUfqHCQZV7JEfWuA_.kind = 18;
8964 NTIitemfragment__1E61TU9aUfqHCQZV7JEfWuA_.base = 0;
8965 TM__5fUAZGW8WPeit3fZaQyNXA_0[5].kind = 3;
8966 TM__5fUAZGW8WPeit3fZaQyNXA_0[5].offset = offsetof(tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA, isRst);
8967 TM__5fUAZGW8WPeit3fZaQyNXA_0[5].typ = (&NTIbool__VaVACK0bpYmqIQ0mKcHfQQ_);
8968 TM__5fUAZGW8WPeit3fZaQyNXA_0[5].name = "isRst";
8969 TM__5fUAZGW8WPeit3fZaQyNXA_0[5].sons = &NimDT___1E61TU9aUfqHCQZV7JEfWuA_isRst[0];
8970 TM__5fUAZGW8WPeit3fZaQyNXA_0[5].len = 2;
8971 TM__5fUAZGW8WPeit3fZaQyNXA_0[6].kind = 1;
8972 TM__5fUAZGW8WPeit3fZaQyNXA_0[6].offset = offsetof(tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA, _isRst_1.rst);
8973 TM__5fUAZGW8WPeit3fZaQyNXA_0[6].typ = (&NTIprstnode__atGg6Dddbb7ASNaCLVdS9aA_);
8974 TM__5fUAZGW8WPeit3fZaQyNXA_0[6].name = "rst";
8975 NimDT___1E61TU9aUfqHCQZV7JEfWuA_isRst[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[6];
8976 TM__5fUAZGW8WPeit3fZaQyNXA_0[7].kind = 1;
8977 TM__5fUAZGW8WPeit3fZaQyNXA_0[7].offset = offsetof(tyObject_ItemFragment__1E61TU9aUfqHCQZV7JEfWuA, _isRst_2.str);
8978 TM__5fUAZGW8WPeit3fZaQyNXA_0[7].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
8979 TM__5fUAZGW8WPeit3fZaQyNXA_0[7].name = "str";
8980 NimDT___1E61TU9aUfqHCQZV7JEfWuA_isRst[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[7];
8981 NTIitemfragment__1E61TU9aUfqHCQZV7JEfWuA_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[5];
8982 NTIitempre__Wm9aGag2treFuYnXRdy8u9bA_.size = sizeof(tySequence__Wm9aGag2treFuYnXRdy8u9bA*);
8983 NTIitempre__Wm9aGag2treFuYnXRdy8u9bA_.align = NIM_ALIGNOF(tySequence__Wm9aGag2treFuYnXRdy8u9bA*);
8984 NTIitempre__Wm9aGag2treFuYnXRdy8u9bA_.kind = 24;
8985 NTIitempre__Wm9aGag2treFuYnXRdy8u9bA_.base = (&NTIitemfragment__1E61TU9aUfqHCQZV7JEfWuA_);
8986 NTIitempre__Wm9aGag2treFuYnXRdy8u9bA_.marker = Marker_tySequence__Wm9aGag2treFuYnXRdy8u9bA;
8987 TM__5fUAZGW8WPeit3fZaQyNXA_0[4].kind = 1;
8988 TM__5fUAZGW8WPeit3fZaQyNXA_0[4].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, modDescPre);
8989 TM__5fUAZGW8WPeit3fZaQyNXA_0[4].typ = (&NTIitempre__Wm9aGag2treFuYnXRdy8u9bA_);
8990 TM__5fUAZGW8WPeit3fZaQyNXA_0[4].name = "modDescPre";
8991 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[8];
8992 TM__5fUAZGW8WPeit3fZaQyNXA_0[8].kind = 1;
8993 TM__5fUAZGW8WPeit3fZaQyNXA_0[8].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, modDescFinal);
8994 TM__5fUAZGW8WPeit3fZaQyNXA_0[8].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
8995 TM__5fUAZGW8WPeit3fZaQyNXA_0[8].name = "modDescFinal";
8996 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[2] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[9];
8997 TM__5fUAZGW8WPeit3fZaQyNXA_0[9].kind = 1;
8998 TM__5fUAZGW8WPeit3fZaQyNXA_0[9].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, module);
8999 TM__5fUAZGW8WPeit3fZaQyNXA_0[9].typ = (&NTIpsym__dG2QVH5Z69aMUY38zTqWxaA_);
9000 TM__5fUAZGW8WPeit3fZaQyNXA_0[9].name = "module";
9001 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[3] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[10];
9002 TM__5fUAZGW8WPeit3fZaQyNXA_0[10].kind = 1;
9003 TM__5fUAZGW8WPeit3fZaQyNXA_0[10].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, modDeprecationMsg);
9004 TM__5fUAZGW8WPeit3fZaQyNXA_0[10].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
9005 TM__5fUAZGW8WPeit3fZaQyNXA_0[10].name = "modDeprecationMsg";
9006 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[4] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[11];
9007 NTImodsection__ymlGBP1WaJhPNoGyL0oQ9cg_.size = sizeof(tyObject_ModSection__ymlGBP1WaJhPNoGyL0oQ9cg);
9008 NTImodsection__ymlGBP1WaJhPNoGyL0oQ9cg_.align = NIM_ALIGNOF(tyObject_ModSection__ymlGBP1WaJhPNoGyL0oQ9cg);
9009 NTImodsection__ymlGBP1WaJhPNoGyL0oQ9cg_.kind = 18;
9010 NTImodsection__ymlGBP1WaJhPNoGyL0oQ9cg_.base = 0;
9011 TM__5fUAZGW8WPeit3fZaQyNXA_4_2[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[13];
9012 NTIitem__H9bFFvU3st4d7H9cwvzvRVyw_.size = sizeof(tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw);
9013 NTIitem__H9bFFvU3st4d7H9cwvzvRVyw_.align = NIM_ALIGNOF(tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw);
9014 NTIitem__H9bFFvU3st4d7H9cwvzvRVyw_.kind = 18;
9015 NTIitem__H9bFFvU3st4d7H9cwvzvRVyw_.base = 0;
9016 TM__5fUAZGW8WPeit3fZaQyNXA_5_3[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[15];
9017 TM__5fUAZGW8WPeit3fZaQyNXA_0[15].kind = 1;
9018 TM__5fUAZGW8WPeit3fZaQyNXA_0[15].offset = offsetof(tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw, descRst);
9019 TM__5fUAZGW8WPeit3fZaQyNXA_0[15].typ = (&NTIitempre__Wm9aGag2treFuYnXRdy8u9bA_);
9020 TM__5fUAZGW8WPeit3fZaQyNXA_0[15].name = "descRst";
9021 TM__5fUAZGW8WPeit3fZaQyNXA_5_3[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[16];
9022 TM__5fUAZGW8WPeit3fZaQyNXA_0[16].kind = 1;
9023 TM__5fUAZGW8WPeit3fZaQyNXA_0[16].offset = offsetof(tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw, substitutions);
9024 TM__5fUAZGW8WPeit3fZaQyNXA_0[16].typ = (&NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_);
9025 TM__5fUAZGW8WPeit3fZaQyNXA_0[16].name = "substitutions";
9026 TM__5fUAZGW8WPeit3fZaQyNXA_5_3[2] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[17];
9027 TM__5fUAZGW8WPeit3fZaQyNXA_0[17].kind = 1;
9028 TM__5fUAZGW8WPeit3fZaQyNXA_0[17].offset = offsetof(tyObject_Item__H9bFFvU3st4d7H9cwvzvRVyw, sortName);
9029 TM__5fUAZGW8WPeit3fZaQyNXA_0[17].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
9030 TM__5fUAZGW8WPeit3fZaQyNXA_0[17].name = "sortName";
9031 TM__5fUAZGW8WPeit3fZaQyNXA_0[14].len = 3; TM__5fUAZGW8WPeit3fZaQyNXA_0[14].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[14].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_5_3[0];
9032 NTIitem__H9bFFvU3st4d7H9cwvzvRVyw_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[14];
9033 NTIseqLitemT__MnKKQ5PGyDp4x1lUEG41Ag_.size = sizeof(tySequence__MnKKQ5PGyDp4x1lUEG41Ag*);
9034 NTIseqLitemT__MnKKQ5PGyDp4x1lUEG41Ag_.align = NIM_ALIGNOF(tySequence__MnKKQ5PGyDp4x1lUEG41Ag*);
9035 NTIseqLitemT__MnKKQ5PGyDp4x1lUEG41Ag_.kind = 24;
9036 NTIseqLitemT__MnKKQ5PGyDp4x1lUEG41Ag_.base = (&NTIitem__H9bFFvU3st4d7H9cwvzvRVyw_);
9037 NTIseqLitemT__MnKKQ5PGyDp4x1lUEG41Ag_.marker = Marker_tySequence__MnKKQ5PGyDp4x1lUEG41Ag;
9038 TM__5fUAZGW8WPeit3fZaQyNXA_0[13].kind = 1;
9039 TM__5fUAZGW8WPeit3fZaQyNXA_0[13].offset = offsetof(tyObject_ModSection__ymlGBP1WaJhPNoGyL0oQ9cg, secItems);
9040 TM__5fUAZGW8WPeit3fZaQyNXA_0[13].typ = (&NTIseqLitemT__MnKKQ5PGyDp4x1lUEG41Ag_);
9041 TM__5fUAZGW8WPeit3fZaQyNXA_0[13].name = "secItems";
9042 TM__5fUAZGW8WPeit3fZaQyNXA_4_2[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[18];
9043 TM__5fUAZGW8WPeit3fZaQyNXA_0[18].kind = 1;
9044 TM__5fUAZGW8WPeit3fZaQyNXA_0[18].offset = offsetof(tyObject_ModSection__ymlGBP1WaJhPNoGyL0oQ9cg, finalMarkup);
9045 TM__5fUAZGW8WPeit3fZaQyNXA_0[18].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
9046 TM__5fUAZGW8WPeit3fZaQyNXA_0[18].name = "finalMarkup";
9047 TM__5fUAZGW8WPeit3fZaQyNXA_0[12].len = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[12].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[12].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_4_2[0];
9048 NTImodsection__ymlGBP1WaJhPNoGyL0oQ9cg_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[12];
9049 NTImodsections__cd2h1ZVkPYGBDd9bnwwQT9aw_.size = sizeof(tyArray__cd2h1ZVkPYGBDd9bnwwQT9aw);
9050 NTImodsections__cd2h1ZVkPYGBDd9bnwwQT9aw_.align = NIM_ALIGNOF(tyArray__cd2h1ZVkPYGBDd9bnwwQT9aw);
9051 NTImodsections__cd2h1ZVkPYGBDd9bnwwQT9aw_.kind = 16;
9052 NTImodsections__cd2h1ZVkPYGBDd9bnwwQT9aw_.base = (&NTImodsection__ymlGBP1WaJhPNoGyL0oQ9cg_);
9053 TM__5fUAZGW8WPeit3fZaQyNXA_0[11].kind = 1;
9054 TM__5fUAZGW8WPeit3fZaQyNXA_0[11].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, section);
9055 TM__5fUAZGW8WPeit3fZaQyNXA_0[11].typ = (&NTImodsections__cd2h1ZVkPYGBDd9bnwwQT9aw_);
9056 TM__5fUAZGW8WPeit3fZaQyNXA_0[11].name = "section";
9057 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[5] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[19];
9058 NTItocitem__jc5WxywzGPY8oy0aHNYXIg_.size = sizeof(tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg);
9059 NTItocitem__jc5WxywzGPY8oy0aHNYXIg_.align = NIM_ALIGNOF(tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg);
9060 NTItocitem__jc5WxywzGPY8oy0aHNYXIg_.kind = 18;
9061 NTItocitem__jc5WxywzGPY8oy0aHNYXIg_.base = 0;
9062 TM__5fUAZGW8WPeit3fZaQyNXA_6_2[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[21];
9063 TM__5fUAZGW8WPeit3fZaQyNXA_0[21].kind = 1;
9064 TM__5fUAZGW8WPeit3fZaQyNXA_0[21].offset = offsetof(tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg, content);
9065 TM__5fUAZGW8WPeit3fZaQyNXA_0[21].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
9066 TM__5fUAZGW8WPeit3fZaQyNXA_0[21].name = "content";
9067 TM__5fUAZGW8WPeit3fZaQyNXA_6_2[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[22];
9068 TM__5fUAZGW8WPeit3fZaQyNXA_0[22].kind = 1;
9069 TM__5fUAZGW8WPeit3fZaQyNXA_0[22].offset = offsetof(tyObject_TocItem__jc5WxywzGPY8oy0aHNYXIg, sortName);
9070 TM__5fUAZGW8WPeit3fZaQyNXA_0[22].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
9071 TM__5fUAZGW8WPeit3fZaQyNXA_0[22].name = "sortName";
9072 TM__5fUAZGW8WPeit3fZaQyNXA_0[20].len = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[20].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[20].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_6_2[0];
9073 NTItocitem__jc5WxywzGPY8oy0aHNYXIg_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[20];
9074 NTIseqLtocitemT__EhfJ5cVWpPFG1tw09ap9co5g_.size = sizeof(tySequence__EhfJ5cVWpPFG1tw09ap9co5g*);
9075 NTIseqLtocitemT__EhfJ5cVWpPFG1tw09ap9co5g_.align = NIM_ALIGNOF(tySequence__EhfJ5cVWpPFG1tw09ap9co5g*);
9076 NTIseqLtocitemT__EhfJ5cVWpPFG1tw09ap9co5g_.kind = 24;
9077 NTIseqLtocitemT__EhfJ5cVWpPFG1tw09ap9co5g_.base = (&NTItocitem__jc5WxywzGPY8oy0aHNYXIg_);
9078 NTIseqLtocitemT__EhfJ5cVWpPFG1tw09ap9co5g_.marker = Marker_tySequence__EhfJ5cVWpPFG1tw09ap9co5g;
9079 NTIarrayLtsymkind_seqLtocitemTT__tMCB8YK27zH5LQDqBAX6og_.size = sizeof(tyArray__tMCB8YK27zH5LQDqBAX6og);
9080 NTIarrayLtsymkind_seqLtocitemTT__tMCB8YK27zH5LQDqBAX6og_.align = NIM_ALIGNOF(tyArray__tMCB8YK27zH5LQDqBAX6og);
9081 NTIarrayLtsymkind_seqLtocitemTT__tMCB8YK27zH5LQDqBAX6og_.kind = 16;
9082 NTIarrayLtsymkind_seqLtocitemTT__tMCB8YK27zH5LQDqBAX6og_.base = (&NTIseqLtocitemT__EhfJ5cVWpPFG1tw09ap9co5g_);
9083 TM__5fUAZGW8WPeit3fZaQyNXA_0[19].kind = 1;
9084 TM__5fUAZGW8WPeit3fZaQyNXA_0[19].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, tocSimple);
9085 TM__5fUAZGW8WPeit3fZaQyNXA_0[19].typ = (&NTIarrayLtsymkind_seqLtocitemTT__tMCB8YK27zH5LQDqBAX6og_);
9086 TM__5fUAZGW8WPeit3fZaQyNXA_0[19].name = "tocSimple";
9087 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[6] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[23];
9088 NTItable__aJYy01k1JDYeFrFCvIyOlw_.size = sizeof(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw);
9089 NTItable__aJYy01k1JDYeFrFCvIyOlw_.align = NIM_ALIGNOF(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw);
9090 NTItable__aJYy01k1JDYeFrFCvIyOlw_.kind = 18;
9091 NTItable__aJYy01k1JDYeFrFCvIyOlw_.base = 0;
9092 TM__5fUAZGW8WPeit3fZaQyNXA_7_2[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[25];
9093 NTIkeyvaluepair__PU7VbX9aRt6UwxX09bATz09bg_.size = sizeof(tyTuple__PU7VbX9aRt6UwxX09bATz09bg);
9094 NTIkeyvaluepair__PU7VbX9aRt6UwxX09bATz09bg_.align = NIM_ALIGNOF(tyTuple__PU7VbX9aRt6UwxX09bATz09bg);
9095 NTIkeyvaluepair__PU7VbX9aRt6UwxX09bATz09bg_.kind = 18;
9096 NTIkeyvaluepair__PU7VbX9aRt6UwxX09bATz09bg_.base = 0;
9097 TM__5fUAZGW8WPeit3fZaQyNXA_8_3[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[27];
9098 TM__5fUAZGW8WPeit3fZaQyNXA_0[27].kind = 1;
9099 TM__5fUAZGW8WPeit3fZaQyNXA_0[27].offset = offsetof(tyTuple__PU7VbX9aRt6UwxX09bATz09bg, Field0);
9100 TM__5fUAZGW8WPeit3fZaQyNXA_0[27].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
9101 TM__5fUAZGW8WPeit3fZaQyNXA_0[27].name = "Field0";
9102 TM__5fUAZGW8WPeit3fZaQyNXA_8_3[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[28];
9103 TM__5fUAZGW8WPeit3fZaQyNXA_0[28].kind = 1;
9104 TM__5fUAZGW8WPeit3fZaQyNXA_0[28].offset = offsetof(tyTuple__PU7VbX9aRt6UwxX09bATz09bg, Field1);
9105 TM__5fUAZGW8WPeit3fZaQyNXA_0[28].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
9106 TM__5fUAZGW8WPeit3fZaQyNXA_0[28].name = "Field1";
9107 TM__5fUAZGW8WPeit3fZaQyNXA_8_3[2] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[29];
9108 TM__5fUAZGW8WPeit3fZaQyNXA_0[29].kind = 1;
9109 TM__5fUAZGW8WPeit3fZaQyNXA_0[29].offset = offsetof(tyTuple__PU7VbX9aRt6UwxX09bATz09bg, Field2);
9110 TM__5fUAZGW8WPeit3fZaQyNXA_0[29].typ = (&NTIseqLtocitemT__EhfJ5cVWpPFG1tw09ap9co5g_);
9111 TM__5fUAZGW8WPeit3fZaQyNXA_0[29].name = "Field2";
9112 TM__5fUAZGW8WPeit3fZaQyNXA_0[26].len = 3; TM__5fUAZGW8WPeit3fZaQyNXA_0[26].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[26].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_8_3[0];
9113 NTIkeyvaluepair__PU7VbX9aRt6UwxX09bATz09bg_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[26];
9114 NTIkeyvaluepairseq__hi4XF2kW6f9aL7Qx8ito3Rw_.size = sizeof(tySequence__hi4XF2kW6f9aL7Qx8ito3Rw*);
9115 NTIkeyvaluepairseq__hi4XF2kW6f9aL7Qx8ito3Rw_.align = NIM_ALIGNOF(tySequence__hi4XF2kW6f9aL7Qx8ito3Rw*);
9116 NTIkeyvaluepairseq__hi4XF2kW6f9aL7Qx8ito3Rw_.kind = 24;
9117 NTIkeyvaluepairseq__hi4XF2kW6f9aL7Qx8ito3Rw_.base = (&NTIkeyvaluepair__PU7VbX9aRt6UwxX09bATz09bg_);
9118 NTIkeyvaluepairseq__hi4XF2kW6f9aL7Qx8ito3Rw_.marker = Marker_tySequence__hi4XF2kW6f9aL7Qx8ito3Rw;
9119 TM__5fUAZGW8WPeit3fZaQyNXA_0[25].kind = 1;
9120 TM__5fUAZGW8WPeit3fZaQyNXA_0[25].offset = offsetof(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw, data);
9121 TM__5fUAZGW8WPeit3fZaQyNXA_0[25].typ = (&NTIkeyvaluepairseq__hi4XF2kW6f9aL7Qx8ito3Rw_);
9122 TM__5fUAZGW8WPeit3fZaQyNXA_0[25].name = "data";
9123 TM__5fUAZGW8WPeit3fZaQyNXA_7_2[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[30];
9124 TM__5fUAZGW8WPeit3fZaQyNXA_0[30].kind = 1;
9125 TM__5fUAZGW8WPeit3fZaQyNXA_0[30].offset = offsetof(tyObject_Table__aJYy01k1JDYeFrFCvIyOlw, counter);
9126 TM__5fUAZGW8WPeit3fZaQyNXA_0[30].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
9127 TM__5fUAZGW8WPeit3fZaQyNXA_0[30].name = "counter";
9128 TM__5fUAZGW8WPeit3fZaQyNXA_0[24].len = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[24].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[24].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_7_2[0];
9129 NTItable__aJYy01k1JDYeFrFCvIyOlw_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[24];
9130 NTIarrayLtsymkind_tableLsystemOstring_seqLtocitemTTT__faQGT6VwCYDqb60ONtMk0A_.size = sizeof(tyArray__faQGT6VwCYDqb60ONtMk0A);
9131 NTIarrayLtsymkind_tableLsystemOstring_seqLtocitemTTT__faQGT6VwCYDqb60ONtMk0A_.align = NIM_ALIGNOF(tyArray__faQGT6VwCYDqb60ONtMk0A);
9132 NTIarrayLtsymkind_tableLsystemOstring_seqLtocitemTTT__faQGT6VwCYDqb60ONtMk0A_.kind = 16;
9133 NTIarrayLtsymkind_tableLsystemOstring_seqLtocitemTTT__faQGT6VwCYDqb60ONtMk0A_.base = (&NTItable__aJYy01k1JDYeFrFCvIyOlw_);
9134 TM__5fUAZGW8WPeit3fZaQyNXA_0[23].kind = 1;
9135 TM__5fUAZGW8WPeit3fZaQyNXA_0[23].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, tocTable);
9136 TM__5fUAZGW8WPeit3fZaQyNXA_0[23].typ = (&NTIarrayLtsymkind_tableLsystemOstring_seqLtocitemTTT__faQGT6VwCYDqb60ONtMk0A_);
9137 TM__5fUAZGW8WPeit3fZaQyNXA_0[23].name = "tocTable";
9138 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[7] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[31];
9139 NTItocsectionsfinal__z9aXHFNOFP0NmKT9am1vQt9bg_.size = sizeof(tyArray__z9aXHFNOFP0NmKT9am1vQt9bg);
9140 NTItocsectionsfinal__z9aXHFNOFP0NmKT9am1vQt9bg_.align = NIM_ALIGNOF(tyArray__z9aXHFNOFP0NmKT9am1vQt9bg);
9141 NTItocsectionsfinal__z9aXHFNOFP0NmKT9am1vQt9bg_.kind = 16;
9142 NTItocsectionsfinal__z9aXHFNOFP0NmKT9am1vQt9bg_.base = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
9143 TM__5fUAZGW8WPeit3fZaQyNXA_0[31].kind = 1;
9144 TM__5fUAZGW8WPeit3fZaQyNXA_0[31].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, toc2);
9145 TM__5fUAZGW8WPeit3fZaQyNXA_0[31].typ = (&NTItocsectionsfinal__z9aXHFNOFP0NmKT9am1vQt9bg_);
9146 TM__5fUAZGW8WPeit3fZaQyNXA_0[31].name = "toc2";
9147 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[8] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[32];
9148 TM__5fUAZGW8WPeit3fZaQyNXA_0[32].kind = 1;
9149 TM__5fUAZGW8WPeit3fZaQyNXA_0[32].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, toc);
9150 TM__5fUAZGW8WPeit3fZaQyNXA_0[32].typ = (&NTItocsectionsfinal__z9aXHFNOFP0NmKT9am1vQt9bg_);
9151 TM__5fUAZGW8WPeit3fZaQyNXA_0[32].name = "toc";
9152 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[9] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[33];
9153 TM__5fUAZGW8WPeit3fZaQyNXA_0[33].kind = 1;
9154 TM__5fUAZGW8WPeit3fZaQyNXA_0[33].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, indexValFilename);
9155 TM__5fUAZGW8WPeit3fZaQyNXA_0[33].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
9156 TM__5fUAZGW8WPeit3fZaQyNXA_0[33].name = "indexValFilename";
9157 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[10] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[34];
9158 TM__5fUAZGW8WPeit3fZaQyNXA_0[34].kind = 1;
9159 TM__5fUAZGW8WPeit3fZaQyNXA_0[34].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, analytics);
9160 TM__5fUAZGW8WPeit3fZaQyNXA_0[34].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
9161 TM__5fUAZGW8WPeit3fZaQyNXA_0[34].name = "analytics";
9162 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[11] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[35];
9163 TM__5fUAZGW8WPeit3fZaQyNXA_0[35].kind = 1;
9164 TM__5fUAZGW8WPeit3fZaQyNXA_0[35].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, seenSymbols);
9165 TM__5fUAZGW8WPeit3fZaQyNXA_0[35].typ = (&NTIstringtableref__n9cmoMXcDs47wYDFGEXuCfw_);
9166 TM__5fUAZGW8WPeit3fZaQyNXA_0[35].name = "seenSymbols";
9167 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[12] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[36];
9168 NTIjsonitem__HvwlrcjKsbWUCdHjiBcfWA_.size = sizeof(tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA);
9169 NTIjsonitem__HvwlrcjKsbWUCdHjiBcfWA_.align = NIM_ALIGNOF(tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA);
9170 NTIjsonitem__HvwlrcjKsbWUCdHjiBcfWA_.kind = 18;
9171 NTIjsonitem__HvwlrcjKsbWUCdHjiBcfWA_.base = 0;
9172 TM__5fUAZGW8WPeit3fZaQyNXA_9_3[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[38];
9173 TM__5fUAZGW8WPeit3fZaQyNXA_0[38].kind = 1;
9174 TM__5fUAZGW8WPeit3fZaQyNXA_0[38].offset = offsetof(tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA, json);
9175 TM__5fUAZGW8WPeit3fZaQyNXA_0[38].typ = (&NTIjsonnode__zfzzuQ8txrdZAYK0WGWpHg_);
9176 TM__5fUAZGW8WPeit3fZaQyNXA_0[38].name = "json";
9177 TM__5fUAZGW8WPeit3fZaQyNXA_9_3[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[39];
9178 TM__5fUAZGW8WPeit3fZaQyNXA_0[39].kind = 1;
9179 TM__5fUAZGW8WPeit3fZaQyNXA_0[39].offset = offsetof(tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA, rst);
9180 TM__5fUAZGW8WPeit3fZaQyNXA_0[39].typ = (&NTIprstnode__atGg6Dddbb7ASNaCLVdS9aA_);
9181 TM__5fUAZGW8WPeit3fZaQyNXA_0[39].name = "rst";
9182 TM__5fUAZGW8WPeit3fZaQyNXA_9_3[2] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[40];
9183 TM__5fUAZGW8WPeit3fZaQyNXA_0[40].kind = 1;
9184 TM__5fUAZGW8WPeit3fZaQyNXA_0[40].offset = offsetof(tyObject_JsonItem__HvwlrcjKsbWUCdHjiBcfWA, rstField);
9185 TM__5fUAZGW8WPeit3fZaQyNXA_0[40].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
9186 TM__5fUAZGW8WPeit3fZaQyNXA_0[40].name = "rstField";
9187 TM__5fUAZGW8WPeit3fZaQyNXA_0[37].len = 3; TM__5fUAZGW8WPeit3fZaQyNXA_0[37].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[37].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_9_3[0];
9188 NTIjsonitem__HvwlrcjKsbWUCdHjiBcfWA_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[37];
9189 NTIseqLjsonitemT__3XglYimddjcRJOskKktewA_.size = sizeof(tySequence__3XglYimddjcRJOskKktewA*);
9190 NTIseqLjsonitemT__3XglYimddjcRJOskKktewA_.align = NIM_ALIGNOF(tySequence__3XglYimddjcRJOskKktewA*);
9191 NTIseqLjsonitemT__3XglYimddjcRJOskKktewA_.kind = 24;
9192 NTIseqLjsonitemT__3XglYimddjcRJOskKktewA_.base = (&NTIjsonitem__HvwlrcjKsbWUCdHjiBcfWA_);
9193 NTIseqLjsonitemT__3XglYimddjcRJOskKktewA_.marker = Marker_tySequence__3XglYimddjcRJOskKktewA;
9194 TM__5fUAZGW8WPeit3fZaQyNXA_0[36].kind = 1;
9195 TM__5fUAZGW8WPeit3fZaQyNXA_0[36].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, jEntriesPre);
9196 TM__5fUAZGW8WPeit3fZaQyNXA_0[36].typ = (&NTIseqLjsonitemT__3XglYimddjcRJOskKktewA_);
9197 TM__5fUAZGW8WPeit3fZaQyNXA_0[36].name = "jEntriesPre";
9198 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[13] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[41];
9199 TM__5fUAZGW8WPeit3fZaQyNXA_0[41].kind = 1;
9200 TM__5fUAZGW8WPeit3fZaQyNXA_0[41].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, jEntriesFinal);
9201 TM__5fUAZGW8WPeit3fZaQyNXA_0[41].typ = (&NTIjsonnode__zfzzuQ8txrdZAYK0WGWpHg_);
9202 TM__5fUAZGW8WPeit3fZaQyNXA_0[41].name = "jEntriesFinal";
9203 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[14] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[42];
9204 TM__5fUAZGW8WPeit3fZaQyNXA_0[42].kind = 1;
9205 TM__5fUAZGW8WPeit3fZaQyNXA_0[42].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, types);
9206 TM__5fUAZGW8WPeit3fZaQyNXA_0[42].typ = (&NTItstrtable__f07aOS3dr28kGa5wcE29aFA_);
9207 TM__5fUAZGW8WPeit3fZaQyNXA_0[42].name = "types";
9208 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[15] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[43];
9209 TM__5fUAZGW8WPeit3fZaQyNXA_0[43].kind = 1;
9210 TM__5fUAZGW8WPeit3fZaQyNXA_0[43].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, sharedState);
9211 TM__5fUAZGW8WPeit3fZaQyNXA_0[43].typ = (&NTIprstsharedstate__YXv0Ic1rfmWevYoin4lGYw_);
9212 TM__5fUAZGW8WPeit3fZaQyNXA_0[43].name = "sharedState";
9213 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[16] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[44];
9214 TM__5fUAZGW8WPeit3fZaQyNXA_0[44].kind = 1;
9215 TM__5fUAZGW8WPeit3fZaQyNXA_0[44].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, isPureRst);
9216 TM__5fUAZGW8WPeit3fZaQyNXA_0[44].typ = (&NTIbool__VaVACK0bpYmqIQ0mKcHfQQ_);
9217 TM__5fUAZGW8WPeit3fZaQyNXA_0[44].name = "isPureRst";
9218 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[17] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[45];
9219 TM__5fUAZGW8WPeit3fZaQyNXA_0[45].kind = 1;
9220 TM__5fUAZGW8WPeit3fZaQyNXA_0[45].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, conf);
9221 TM__5fUAZGW8WPeit3fZaQyNXA_0[45].typ = (&NTIconfigref__a8lycfSA25OQltN3OMeBsA_);
9222 TM__5fUAZGW8WPeit3fZaQyNXA_0[45].name = "conf";
9223 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[18] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[46];
9224 TM__5fUAZGW8WPeit3fZaQyNXA_0[46].kind = 1;
9225 TM__5fUAZGW8WPeit3fZaQyNXA_0[46].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, cache);
9226 TM__5fUAZGW8WPeit3fZaQyNXA_0[46].typ = (&NTIidentcache__lnkYNZP9asc88UfiEGjLrbA_);
9227 TM__5fUAZGW8WPeit3fZaQyNXA_0[46].name = "cache";
9228 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[19] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[47];
9229 TM__5fUAZGW8WPeit3fZaQyNXA_0[47].kind = 1;
9230 TM__5fUAZGW8WPeit3fZaQyNXA_0[47].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, exampleCounter);
9231 TM__5fUAZGW8WPeit3fZaQyNXA_0[47].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
9232 TM__5fUAZGW8WPeit3fZaQyNXA_0[47].name = "exampleCounter";
9233 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[20] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[48];
9234 TM__5fUAZGW8WPeit3fZaQyNXA_0[48].kind = 1;
9235 TM__5fUAZGW8WPeit3fZaQyNXA_0[48].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, emitted);
9236 TM__5fUAZGW8WPeit3fZaQyNXA_0[48].typ = (&NTIpackedset__IhxwDBRi51nGrosBGFKcsA_);
9237 TM__5fUAZGW8WPeit3fZaQyNXA_0[48].name = "emitted";
9238 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[21] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[49];
9239 TM__5fUAZGW8WPeit3fZaQyNXA_0[49].kind = 1;
9240 TM__5fUAZGW8WPeit3fZaQyNXA_0[49].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, thisDir);
9241 TM__5fUAZGW8WPeit3fZaQyNXA_0[49].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
9242 TM__5fUAZGW8WPeit3fZaQyNXA_0[49].name = "thisDir";
9243 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[22] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[50];
9244 NTIorderedtable__82OdS5RTON4FvDz04E3cFw_.size = sizeof(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw);
9245 NTIorderedtable__82OdS5RTON4FvDz04E3cFw_.align = NIM_ALIGNOF(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw);
9246 NTIorderedtable__82OdS5RTON4FvDz04E3cFw_.kind = 18;
9247 NTIorderedtable__82OdS5RTON4FvDz04E3cFw_.base = 0;
9248 TM__5fUAZGW8WPeit3fZaQyNXA_10_4[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[52];
9249 NTIorderedkeyvaluepair__FK7aTjjzjZq5t6qUNlGUDA_.size = sizeof(tyTuple__FK7aTjjzjZq5t6qUNlGUDA);
9250 NTIorderedkeyvaluepair__FK7aTjjzjZq5t6qUNlGUDA_.align = NIM_ALIGNOF(tyTuple__FK7aTjjzjZq5t6qUNlGUDA);
9251 NTIorderedkeyvaluepair__FK7aTjjzjZq5t6qUNlGUDA_.kind = 18;
9252 NTIorderedkeyvaluepair__FK7aTjjzjZq5t6qUNlGUDA_.base = 0;
9253 TM__5fUAZGW8WPeit3fZaQyNXA_11_4[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[54];
9254 TM__5fUAZGW8WPeit3fZaQyNXA_0[54].kind = 1;
9255 TM__5fUAZGW8WPeit3fZaQyNXA_0[54].offset = offsetof(tyTuple__FK7aTjjzjZq5t6qUNlGUDA, Field0);
9256 TM__5fUAZGW8WPeit3fZaQyNXA_0[54].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
9257 TM__5fUAZGW8WPeit3fZaQyNXA_0[54].name = "Field0";
9258 TM__5fUAZGW8WPeit3fZaQyNXA_11_4[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[55];
9259 TM__5fUAZGW8WPeit3fZaQyNXA_0[55].kind = 1;
9260 TM__5fUAZGW8WPeit3fZaQyNXA_0[55].offset = offsetof(tyTuple__FK7aTjjzjZq5t6qUNlGUDA, Field1);
9261 TM__5fUAZGW8WPeit3fZaQyNXA_0[55].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
9262 TM__5fUAZGW8WPeit3fZaQyNXA_0[55].name = "Field1";
9263 TM__5fUAZGW8WPeit3fZaQyNXA_11_4[2] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[56];
9264 TM__5fUAZGW8WPeit3fZaQyNXA_0[56].kind = 1;
9265 TM__5fUAZGW8WPeit3fZaQyNXA_0[56].offset = offsetof(tyTuple__FK7aTjjzjZq5t6qUNlGUDA, Field2);
9266 TM__5fUAZGW8WPeit3fZaQyNXA_0[56].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
9267 TM__5fUAZGW8WPeit3fZaQyNXA_0[56].name = "Field2";
9268 TM__5fUAZGW8WPeit3fZaQyNXA_11_4[3] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[57];
9269 NTIexamplegroup58objecttype__fmIjjJC59a002tPvpD7yKSQ_.size = sizeof(tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ);
9270 NTIexamplegroup58objecttype__fmIjjJC59a002tPvpD7yKSQ_.align = NIM_ALIGNOF(tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ);
9271 NTIexamplegroup58objecttype__fmIjjJC59a002tPvpD7yKSQ_.kind = 18;
9272 NTIexamplegroup58objecttype__fmIjjJC59a002tPvpD7yKSQ_.base = 0;
9273 TM__5fUAZGW8WPeit3fZaQyNXA_12_4[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[59];
9274 TM__5fUAZGW8WPeit3fZaQyNXA_0[59].kind = 1;
9275 TM__5fUAZGW8WPeit3fZaQyNXA_0[59].offset = offsetof(tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ, rdoccmd);
9276 TM__5fUAZGW8WPeit3fZaQyNXA_0[59].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
9277 TM__5fUAZGW8WPeit3fZaQyNXA_0[59].name = "rdoccmd";
9278 TM__5fUAZGW8WPeit3fZaQyNXA_12_4[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[60];
9279 TM__5fUAZGW8WPeit3fZaQyNXA_0[60].kind = 1;
9280 TM__5fUAZGW8WPeit3fZaQyNXA_0[60].offset = offsetof(tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ, docCmd);
9281 TM__5fUAZGW8WPeit3fZaQyNXA_0[60].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
9282 TM__5fUAZGW8WPeit3fZaQyNXA_0[60].name = "docCmd";
9283 TM__5fUAZGW8WPeit3fZaQyNXA_12_4[2] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[61];
9284 TM__5fUAZGW8WPeit3fZaQyNXA_0[61].kind = 1;
9285 TM__5fUAZGW8WPeit3fZaQyNXA_0[61].offset = offsetof(tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ, code);
9286 TM__5fUAZGW8WPeit3fZaQyNXA_0[61].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
9287 TM__5fUAZGW8WPeit3fZaQyNXA_0[61].name = "code";
9288 TM__5fUAZGW8WPeit3fZaQyNXA_12_4[3] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[62];
9289 TM__5fUAZGW8WPeit3fZaQyNXA_0[62].kind = 1;
9290 TM__5fUAZGW8WPeit3fZaQyNXA_0[62].offset = offsetof(tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ, index);
9291 TM__5fUAZGW8WPeit3fZaQyNXA_0[62].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
9292 TM__5fUAZGW8WPeit3fZaQyNXA_0[62].name = "index";
9293 TM__5fUAZGW8WPeit3fZaQyNXA_0[58].len = 4; TM__5fUAZGW8WPeit3fZaQyNXA_0[58].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[58].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_12_4[0];
9294 NTIexamplegroup58objecttype__fmIjjJC59a002tPvpD7yKSQ_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[58];
9295 NTIexamplegroup__12SjKZyLpJKBYPLZVcoGLA_.size = sizeof(tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ*);
9296 NTIexamplegroup__12SjKZyLpJKBYPLZVcoGLA_.align = NIM_ALIGNOF(tyObject_ExampleGroupcolonObjectType___fmIjjJC59a002tPvpD7yKSQ*);
9297 NTIexamplegroup__12SjKZyLpJKBYPLZVcoGLA_.kind = 22;
9298 NTIexamplegroup__12SjKZyLpJKBYPLZVcoGLA_.base = (&NTIexamplegroup58objecttype__fmIjjJC59a002tPvpD7yKSQ_);
9299 NTIexamplegroup__12SjKZyLpJKBYPLZVcoGLA_.marker = Marker_tyRef__12SjKZyLpJKBYPLZVcoGLA;
9300 TM__5fUAZGW8WPeit3fZaQyNXA_0[57].kind = 1;
9301 TM__5fUAZGW8WPeit3fZaQyNXA_0[57].offset = offsetof(tyTuple__FK7aTjjzjZq5t6qUNlGUDA, Field3);
9302 TM__5fUAZGW8WPeit3fZaQyNXA_0[57].typ = (&NTIexamplegroup__12SjKZyLpJKBYPLZVcoGLA_);
9303 TM__5fUAZGW8WPeit3fZaQyNXA_0[57].name = "Field3";
9304 TM__5fUAZGW8WPeit3fZaQyNXA_0[53].len = 4; TM__5fUAZGW8WPeit3fZaQyNXA_0[53].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[53].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_11_4[0];
9305 NTIorderedkeyvaluepair__FK7aTjjzjZq5t6qUNlGUDA_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[53];
9306 NTIorderedkeyvaluepairseq__n1XPc9anZlEQHQuS14lnGwg_.size = sizeof(tySequence__n1XPc9anZlEQHQuS14lnGwg*);
9307 NTIorderedkeyvaluepairseq__n1XPc9anZlEQHQuS14lnGwg_.align = NIM_ALIGNOF(tySequence__n1XPc9anZlEQHQuS14lnGwg*);
9308 NTIorderedkeyvaluepairseq__n1XPc9anZlEQHQuS14lnGwg_.kind = 24;
9309 NTIorderedkeyvaluepairseq__n1XPc9anZlEQHQuS14lnGwg_.base = (&NTIorderedkeyvaluepair__FK7aTjjzjZq5t6qUNlGUDA_);
9310 NTIorderedkeyvaluepairseq__n1XPc9anZlEQHQuS14lnGwg_.marker = Marker_tySequence__n1XPc9anZlEQHQuS14lnGwg;
9311 TM__5fUAZGW8WPeit3fZaQyNXA_0[52].kind = 1;
9312 TM__5fUAZGW8WPeit3fZaQyNXA_0[52].offset = offsetof(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw, data);
9313 TM__5fUAZGW8WPeit3fZaQyNXA_0[52].typ = (&NTIorderedkeyvaluepairseq__n1XPc9anZlEQHQuS14lnGwg_);
9314 TM__5fUAZGW8WPeit3fZaQyNXA_0[52].name = "data";
9315 TM__5fUAZGW8WPeit3fZaQyNXA_10_4[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[63];
9316 TM__5fUAZGW8WPeit3fZaQyNXA_0[63].kind = 1;
9317 TM__5fUAZGW8WPeit3fZaQyNXA_0[63].offset = offsetof(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw, counter);
9318 TM__5fUAZGW8WPeit3fZaQyNXA_0[63].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
9319 TM__5fUAZGW8WPeit3fZaQyNXA_0[63].name = "counter";
9320 TM__5fUAZGW8WPeit3fZaQyNXA_10_4[2] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[64];
9321 TM__5fUAZGW8WPeit3fZaQyNXA_0[64].kind = 1;
9322 TM__5fUAZGW8WPeit3fZaQyNXA_0[64].offset = offsetof(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw, first);
9323 TM__5fUAZGW8WPeit3fZaQyNXA_0[64].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
9324 TM__5fUAZGW8WPeit3fZaQyNXA_0[64].name = "first";
9325 TM__5fUAZGW8WPeit3fZaQyNXA_10_4[3] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[65];
9326 TM__5fUAZGW8WPeit3fZaQyNXA_0[65].kind = 1;
9327 TM__5fUAZGW8WPeit3fZaQyNXA_0[65].offset = offsetof(tyObject_OrderedTable__82OdS5RTON4FvDz04E3cFw, last);
9328 TM__5fUAZGW8WPeit3fZaQyNXA_0[65].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
9329 TM__5fUAZGW8WPeit3fZaQyNXA_0[65].name = "last";
9330 TM__5fUAZGW8WPeit3fZaQyNXA_0[51].len = 4; TM__5fUAZGW8WPeit3fZaQyNXA_0[51].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[51].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_10_4[0];
9331 NTIorderedtable__82OdS5RTON4FvDz04E3cFw_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[51];
9332 TM__5fUAZGW8WPeit3fZaQyNXA_0[50].kind = 1;
9333 TM__5fUAZGW8WPeit3fZaQyNXA_0[50].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, exampleGroups);
9334 TM__5fUAZGW8WPeit3fZaQyNXA_0[50].typ = (&NTIorderedtable__82OdS5RTON4FvDz04E3cFw_);
9335 TM__5fUAZGW8WPeit3fZaQyNXA_0[50].name = "exampleGroups";
9336 TM__5fUAZGW8WPeit3fZaQyNXA_3_24[23] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[66];
9337 TM__5fUAZGW8WPeit3fZaQyNXA_0[66].kind = 1;
9338 TM__5fUAZGW8WPeit3fZaQyNXA_0[66].offset = offsetof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA, wroteSupportFiles);
9339 TM__5fUAZGW8WPeit3fZaQyNXA_0[66].typ = (&NTIbool__VaVACK0bpYmqIQ0mKcHfQQ_);
9340 TM__5fUAZGW8WPeit3fZaQyNXA_0[66].name = "wroteSupportFiles";
9341 TM__5fUAZGW8WPeit3fZaQyNXA_0[3].len = 24; TM__5fUAZGW8WPeit3fZaQyNXA_0[3].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[3].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_3_24[0];
9342 NTItdocumentor__0qk3QCyMUTRYfKiuiIvI9cA_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[3];
9343 NTIpdoc__8sQPpcTOmswNE6K009bf9bnw_.size = sizeof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA*);
9344 NTIpdoc__8sQPpcTOmswNE6K009bf9bnw_.align = NIM_ALIGNOF(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA*);
9345 NTIpdoc__8sQPpcTOmswNE6K009bf9bnw_.kind = 22;
9346 NTIpdoc__8sQPpcTOmswNE6K009bf9bnw_.base = (&NTItdocumentor__0qk3QCyMUTRYfKiuiIvI9cA_);
9347 NTIpdoc__8sQPpcTOmswNE6K009bf9bnw_.marker = Marker_tyRef__8sQPpcTOmswNE6K009bf9bnw;
9348 NTIobject__c5Z3Q14p7y8mNzZfaVB9b1A_.size = sizeof(tyObject_Env_docgendotnim_colonanonymous___c5Z3Q14p7y8mNzZfaVB9b1A);
9349 NTIobject__c5Z3Q14p7y8mNzZfaVB9b1A_.align = NIM_ALIGNOF(tyObject_Env_docgendotnim_colonanonymous___c5Z3Q14p7y8mNzZfaVB9b1A);
9350 NTIobject__c5Z3Q14p7y8mNzZfaVB9b1A_.kind = 17;
9351 NTIobject__c5Z3Q14p7y8mNzZfaVB9b1A_.base = (&NTIrootobj__ytyiCJqK439aF9cIibuRVpAg_);
9352 TM__5fUAZGW8WPeit3fZaQyNXA_18_3[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[68];
9353 TM__5fUAZGW8WPeit3fZaQyNXA_0[68].kind = 1;
9354 TM__5fUAZGW8WPeit3fZaQyNXA_0[68].offset = offsetof(tyObject_Env_docgendotnim_colonanonymous___c5Z3Q14p7y8mNzZfaVB9b1A, colonstate_);
9355 TM__5fUAZGW8WPeit3fZaQyNXA_0[68].typ = (&NTIint__xHTZrq9aYs6boc9bCba0JbpQ_);
9356 TM__5fUAZGW8WPeit3fZaQyNXA_0[68].name = ":state";
9357 TM__5fUAZGW8WPeit3fZaQyNXA_18_3[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[69];
9358 NTIptrtdocumentor__rFcS9b9avKcUgS1A9cH0Nfykw_.size = sizeof(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA*);
9359 NTIptrtdocumentor__rFcS9b9avKcUgS1A9cH0Nfykw_.align = NIM_ALIGNOF(tyObject_TDocumentor__0qk3QCyMUTRYfKiuiIvI9cA*);
9360 NTIptrtdocumentor__rFcS9b9avKcUgS1A9cH0Nfykw_.kind = 21;
9361 NTIptrtdocumentor__rFcS9b9avKcUgS1A9cH0Nfykw_.base = (&NTItdocumentor__0qk3QCyMUTRYfKiuiIvI9cA_);
9362 NTIptrtdocumentor__rFcS9b9avKcUgS1A9cH0Nfykw_.flags = 3;
9363 TM__5fUAZGW8WPeit3fZaQyNXA_0[69].kind = 1;
9364 TM__5fUAZGW8WPeit3fZaQyNXA_0[69].offset = offsetof(tyObject_Env_docgendotnim_colonanonymous___c5Z3Q14p7y8mNzZfaVB9b1A, d1);
9365 TM__5fUAZGW8WPeit3fZaQyNXA_0[69].typ = (&NTIptrtdocumentor__rFcS9b9avKcUgS1A9cH0Nfykw_);
9366 TM__5fUAZGW8WPeit3fZaQyNXA_0[69].name = "d1";
9367 TM__5fUAZGW8WPeit3fZaQyNXA_18_3[2] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[70];
9368 TM__5fUAZGW8WPeit3fZaQyNXA_0[70].kind = 1;
9369 TM__5fUAZGW8WPeit3fZaQyNXA_0[70].offset = offsetof(tyObject_Env_docgendotnim_colonanonymous___c5Z3Q14p7y8mNzZfaVB9b1A, outp2);
9370 TM__5fUAZGW8WPeit3fZaQyNXA_0[70].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
9371 TM__5fUAZGW8WPeit3fZaQyNXA_0[70].name = "outp2";
9372 TM__5fUAZGW8WPeit3fZaQyNXA_0[67].len = 3; TM__5fUAZGW8WPeit3fZaQyNXA_0[67].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[67].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_18_3[0];
9373 NTIobject__c5Z3Q14p7y8mNzZfaVB9b1A_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[67];
9374 NTIrefobject__vLZiljicyk62OxuIdb6tJQ_.size = sizeof(tyObject_Env_docgendotnim_colonanonymous___c5Z3Q14p7y8mNzZfaVB9b1A*);
9375 NTIrefobject__vLZiljicyk62OxuIdb6tJQ_.align = NIM_ALIGNOF(tyObject_Env_docgendotnim_colonanonymous___c5Z3Q14p7y8mNzZfaVB9b1A*);
9376 NTIrefobject__vLZiljicyk62OxuIdb6tJQ_.kind = 22;
9377 NTIrefobject__vLZiljicyk62OxuIdb6tJQ_.base = (&NTIobject__c5Z3Q14p7y8mNzZfaVB9b1A_);
9378 NTIrefobject__vLZiljicyk62OxuIdb6tJQ_.marker = Marker_tyRef__vLZiljicyk62OxuIdb6tJQ;
9379 NTIobject__CvM9bpa9bcUSX0YhTrauQ9bEg_.size = sizeof(tyObject_Env_docgendotnim_presentationPath___CvM9bpa9bcUSX0YhTrauQ9bEg);
9380 NTIobject__CvM9bpa9bcUSX0YhTrauQ9bEg_.align = NIM_ALIGNOF(tyObject_Env_docgendotnim_presentationPath___CvM9bpa9bcUSX0YhTrauQ9bEg);
9381 NTIobject__CvM9bpa9bcUSX0YhTrauQ9bEg_.kind = 17;
9382 NTIobject__CvM9bpa9bcUSX0YhTrauQ9bEg_.base = (&NTIrootobj__ytyiCJqK439aF9cIibuRVpAg_);
9383 TM__5fUAZGW8WPeit3fZaQyNXA_39_3[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[72];
9384 TM__5fUAZGW8WPeit3fZaQyNXA_0[72].kind = 1;
9385 TM__5fUAZGW8WPeit3fZaQyNXA_0[72].offset = offsetof(tyObject_Env_docgendotnim_presentationPath___CvM9bpa9bcUSX0YhTrauQ9bEg, colonstate_);
9386 TM__5fUAZGW8WPeit3fZaQyNXA_0[72].typ = (&NTIint__xHTZrq9aYs6boc9bCba0JbpQ_);
9387 TM__5fUAZGW8WPeit3fZaQyNXA_0[72].name = ":state";
9388 TM__5fUAZGW8WPeit3fZaQyNXA_39_3[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[73];
9389 TM__5fUAZGW8WPeit3fZaQyNXA_0[73].kind = 1;
9390 TM__5fUAZGW8WPeit3fZaQyNXA_0[73].offset = offsetof(tyObject_Env_docgendotnim_presentationPath___CvM9bpa9bcUSX0YhTrauQ9bEg, conf1);
9391 TM__5fUAZGW8WPeit3fZaQyNXA_0[73].typ = (&NTIconfigref__a8lycfSA25OQltN3OMeBsA_);
9392 TM__5fUAZGW8WPeit3fZaQyNXA_0[73].name = "conf1";
9393 TM__5fUAZGW8WPeit3fZaQyNXA_39_3[2] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[74];
9394 TM__5fUAZGW8WPeit3fZaQyNXA_0[74].kind = 1;
9395 TM__5fUAZGW8WPeit3fZaQyNXA_0[74].offset = offsetof(tyObject_Env_docgendotnim_presentationPath___CvM9bpa9bcUSX0YhTrauQ9bEg, file22);
9396 TM__5fUAZGW8WPeit3fZaQyNXA_0[74].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
9397 TM__5fUAZGW8WPeit3fZaQyNXA_0[74].name = "file22";
9398 TM__5fUAZGW8WPeit3fZaQyNXA_0[71].len = 3; TM__5fUAZGW8WPeit3fZaQyNXA_0[71].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[71].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_39_3[0];
9399 NTIobject__CvM9bpa9bcUSX0YhTrauQ9bEg_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[71];
9400 NTIrefobject__c2g79crEiD9bqYYWD2mguKAA_.size = sizeof(tyObject_Env_docgendotnim_presentationPath___CvM9bpa9bcUSX0YhTrauQ9bEg*);
9401 NTIrefobject__c2g79crEiD9bqYYWD2mguKAA_.align = NIM_ALIGNOF(tyObject_Env_docgendotnim_presentationPath___CvM9bpa9bcUSX0YhTrauQ9bEg*);
9402 NTIrefobject__c2g79crEiD9bqYYWD2mguKAA_.kind = 22;
9403 NTIrefobject__c2g79crEiD9bqYYWD2mguKAA_.base = (&NTIobject__CvM9bpa9bcUSX0YhTrauQ9bEg_);
9404 NTIrefobject__c2g79crEiD9bqYYWD2mguKAA_.marker = Marker_tyRef__c2g79crEiD9bqYYWD2mguKAA;
9405 NTIobject__jwayR6zaxkEYAMp3GS09bOA_.size = sizeof(tyObject_Env_docgendotnim_commandJson___jwayR6zaxkEYAMp3GS09bOA);
9406 NTIobject__jwayR6zaxkEYAMp3GS09bOA_.align = NIM_ALIGNOF(tyObject_Env_docgendotnim_commandJson___jwayR6zaxkEYAMp3GS09bOA);
9407 NTIobject__jwayR6zaxkEYAMp3GS09bOA_.kind = 17;
9408 NTIobject__jwayR6zaxkEYAMp3GS09bOA_.base = (&NTIrootobj__ytyiCJqK439aF9cIibuRVpAg_);
9409 TM__5fUAZGW8WPeit3fZaQyNXA_262_2[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[76];
9410 TM__5fUAZGW8WPeit3fZaQyNXA_0[76].kind = 1;
9411 TM__5fUAZGW8WPeit3fZaQyNXA_0[76].offset = offsetof(tyObject_Env_docgendotnim_commandJson___jwayR6zaxkEYAMp3GS09bOA, colonstate_);
9412 TM__5fUAZGW8WPeit3fZaQyNXA_0[76].typ = (&NTIint__xHTZrq9aYs6boc9bCba0JbpQ_);
9413 TM__5fUAZGW8WPeit3fZaQyNXA_0[76].name = ":state";
9414 TM__5fUAZGW8WPeit3fZaQyNXA_262_2[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[77];
9415 TM__5fUAZGW8WPeit3fZaQyNXA_0[77].kind = 1;
9416 TM__5fUAZGW8WPeit3fZaQyNXA_0[77].offset = offsetof(tyObject_Env_docgendotnim_commandJson___jwayR6zaxkEYAMp3GS09bOA, conf1);
9417 TM__5fUAZGW8WPeit3fZaQyNXA_0[77].typ = (&NTIconfigref__a8lycfSA25OQltN3OMeBsA_);
9418 TM__5fUAZGW8WPeit3fZaQyNXA_0[77].name = "conf1";
9419 TM__5fUAZGW8WPeit3fZaQyNXA_0[75].len = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[75].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[75].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_262_2[0];
9420 NTIobject__jwayR6zaxkEYAMp3GS09bOA_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[75];
9421 NTIrefobject__SNRao7b4hOZKnbHC8HR0gg_.size = sizeof(tyObject_Env_docgendotnim_commandJson___jwayR6zaxkEYAMp3GS09bOA*);
9422 NTIrefobject__SNRao7b4hOZKnbHC8HR0gg_.align = NIM_ALIGNOF(tyObject_Env_docgendotnim_commandJson___jwayR6zaxkEYAMp3GS09bOA*);
9423 NTIrefobject__SNRao7b4hOZKnbHC8HR0gg_.kind = 22;
9424 NTIrefobject__SNRao7b4hOZKnbHC8HR0gg_.base = (&NTIobject__jwayR6zaxkEYAMp3GS09bOA_);
9425 NTIrefobject__SNRao7b4hOZKnbHC8HR0gg_.marker = Marker_tyRef__SNRao7b4hOZKnbHC8HR0gg;
9426 NTIobject__pwUZDPkEs6xKitbL0Cjk9cQ_.size = sizeof(tyObject_Env_docgendotnim_commandTags___pwUZDPkEs6xKitbL0Cjk9cQ);
9427 NTIobject__pwUZDPkEs6xKitbL0Cjk9cQ_.align = NIM_ALIGNOF(tyObject_Env_docgendotnim_commandTags___pwUZDPkEs6xKitbL0Cjk9cQ);
9428 NTIobject__pwUZDPkEs6xKitbL0Cjk9cQ_.kind = 17;
9429 NTIobject__pwUZDPkEs6xKitbL0Cjk9cQ_.base = (&NTIrootobj__ytyiCJqK439aF9cIibuRVpAg_);
9430 TM__5fUAZGW8WPeit3fZaQyNXA_268_2[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[79];
9431 TM__5fUAZGW8WPeit3fZaQyNXA_0[79].kind = 1;
9432 TM__5fUAZGW8WPeit3fZaQyNXA_0[79].offset = offsetof(tyObject_Env_docgendotnim_commandTags___pwUZDPkEs6xKitbL0Cjk9cQ, colonstate_);
9433 TM__5fUAZGW8WPeit3fZaQyNXA_0[79].typ = (&NTIint__xHTZrq9aYs6boc9bCba0JbpQ_);
9434 TM__5fUAZGW8WPeit3fZaQyNXA_0[79].name = ":state";
9435 TM__5fUAZGW8WPeit3fZaQyNXA_268_2[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[80];
9436 TM__5fUAZGW8WPeit3fZaQyNXA_0[80].kind = 1;
9437 TM__5fUAZGW8WPeit3fZaQyNXA_0[80].offset = offsetof(tyObject_Env_docgendotnim_commandTags___pwUZDPkEs6xKitbL0Cjk9cQ, conf1);
9438 TM__5fUAZGW8WPeit3fZaQyNXA_0[80].typ = (&NTIconfigref__a8lycfSA25OQltN3OMeBsA_);
9439 TM__5fUAZGW8WPeit3fZaQyNXA_0[80].name = "conf1";
9440 TM__5fUAZGW8WPeit3fZaQyNXA_0[78].len = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[78].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[78].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_268_2[0];
9441 NTIobject__pwUZDPkEs6xKitbL0Cjk9cQ_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[78];
9442 NTIrefobject__sHJ3bK9btAJ66R8tJi9bFYHg_.size = sizeof(tyObject_Env_docgendotnim_commandTags___pwUZDPkEs6xKitbL0Cjk9cQ*);
9443 NTIrefobject__sHJ3bK9btAJ66R8tJi9bFYHg_.align = NIM_ALIGNOF(tyObject_Env_docgendotnim_commandTags___pwUZDPkEs6xKitbL0Cjk9cQ*);
9444 NTIrefobject__sHJ3bK9btAJ66R8tJi9bFYHg_.kind = 22;
9445 NTIrefobject__sHJ3bK9btAJ66R8tJi9bFYHg_.base = (&NTIobject__pwUZDPkEs6xKitbL0Cjk9cQ_);
9446 NTIrefobject__sHJ3bK9btAJ66R8tJi9bFYHg_.marker = Marker_tyRef__sHJ3bK9btAJ66R8tJi9bFYHg;
9447 }
9448
9449