/* Generated by Nim Compiler v1.0.4 */
/*   (c) 2019 Andreas Rumpf */
/* The generated code is subject to the original license. */
#define NIM_INTBITS 64

#include "nimbase.h"
#include <string.h>
#include <stdio.h>
#undef LANGUAGE_C
#undef MIPSEB
#undef MIPSEL
#undef PPC
#undef R3000
#undef R4000
#undef i386
#undef linux
#undef mips
#undef near
#undef far
#undef powerpc
#undef unix
#define nimfr_(x, y)
#define nimln_(x, y)
typedef struct tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw;
typedef struct tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw;
typedef struct tyObject_Target__9abOl5DLX8suLujOaHSvGzw tyObject_Target__9abOl5DLX8suLujOaHSvGzw;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg;
typedef struct tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A;
typedef struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q;
typedef struct tySequence__tNFrR3kRuS1FSwuiLGoSSA tySequence__tNFrR3kRuS1FSwuiLGoSSA;
typedef struct tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA;
typedef struct tySequence__7lEisrXlQEzwtUKW5pzRCw tySequence__7lEisrXlQEzwtUKW5pzRCw;
typedef struct tySequence__Zi9cGbCWofbtABoHJ5RbLNQ tySequence__Zi9cGbCWofbtABoHJ5RbLNQ;
typedef struct tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg;
typedef struct tySequence__4eRCaZmrYLLw2k30GPTiMw tySequence__4eRCaZmrYLLw2k30GPTiMw;
typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
typedef struct tySequence__pK3qSsBZwdXd6qyUMkd5Jw tySequence__pK3qSsBZwdXd6qyUMkd5Jw;
typedef struct tyObject_SuggestcolonObjectType___bkMuTTb2G70XfpzAiyNrnQ tyObject_SuggestcolonObjectType___bkMuTTb2G70XfpzAiyNrnQ;
typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g;
typedef struct TNimType TNimType;
typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w;
typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ;
typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA;
typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg;
typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ;
typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg;
typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw;
typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA;
typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw;
typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw;
typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg;
typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg;
typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg;
typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ;
typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg;
typedef struct tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw;
typedef struct tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ;
typedef struct tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw;
typedef struct RootObj RootObj;
typedef struct TNimNode TNimNode;
typedef struct tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg;
typedef struct tySequence__b7kA8pLABz0wMAUNGYo6Wg tySequence__b7kA8pLABz0wMAUNGYo6Wg;
typedef struct tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ;
typedef struct tySequence__pUxI6Ljo6IKKHXKOZkQ7Og tySequence__pUxI6Ljo6IKKHXKOZkQ7Og;
typedef struct tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA;
typedef struct tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q;
typedef struct tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA;
typedef struct tySequence__DfgJFJEYoj4YBAHLZPl5lQ tySequence__DfgJFJEYoj4YBAHLZPl5lQ;
typedef struct tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg;
typedef struct tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ;
typedef struct tySequence__9brg1xNurxcus33lU4IE1Dw tySequence__9brg1xNurxcus33lU4IE1Dw;
typedef struct tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA;
typedef struct tySequence__xv3aaFd3JCw8NbmALHiezQ tySequence__xv3aaFd3JCw8NbmALHiezQ;
typedef struct tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg;
typedef struct tySequence__MlAD6nAPq9bHKla9cWiIZP0g tySequence__MlAD6nAPq9bHKla9cWiIZP0g;
typedef struct tySequence__oLpBKXzW3hF9aCVMo5EymfQ tySequence__oLpBKXzW3hF9aCVMo5EymfQ;
typedef struct tyTuple__7q7q3E6Oj24ZNVJb9aonhAg tyTuple__7q7q3E6Oj24ZNVJb9aonhAg;
typedef struct tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ;
typedef struct tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w;
typedef struct tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ;
typedef struct tyObject_RstNode__CjRS2xrmuD58kdGedE3yyg tyObject_RstNode__CjRS2xrmuD58kdGedE3yyg;
typedef struct tyObject_Env_docgendotnim___T7vYRLVTgrddhYR9aLyhV0Q tyObject_Env_docgendotnim___T7vYRLVTgrddhYR9aLyhV0Q;
typedef struct tySequence__sawZST1Esj3o7EY9ayWwGPw tySequence__sawZST1Esj3o7EY9ayWwGPw;
typedef struct tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA;
typedef struct tySequence__Ef05srmQTDulnBdXR4Ja6Q tySequence__Ef05srmQTDulnBdXR4Ja6Q;
typedef struct tySequence__DXS6mEo7PVUFJkirsQ9bNQA tySequence__DXS6mEo7PVUFJkirsQ9bNQA;
typedef struct tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA;
typedef struct tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA;
typedef struct tySequence__MvZmat48bhe9b6x9aUD58D5Q tySequence__MvZmat48bhe9b6x9aUD58D5Q;
typedef struct tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg;
typedef struct tySequence__0W45b4tBLx0JWnu0NjAmVQ tySequence__0W45b4tBLx0JWnu0NjAmVQ;
typedef struct tyTuple__jq7X5k7hWG0tdTZTDkiyGQ tyTuple__jq7X5k7hWG0tdTZTDkiyGQ;
typedef struct tySequence__WwUFq9cJ2xKRlsAWVEHyPRg tySequence__WwUFq9cJ2xKRlsAWVEHyPRg;
typedef struct tyObject_Env_docgendotnim___xN9cREz0iq0MoIaUpinYZsA tyObject_Env_docgendotnim___xN9cREz0iq0MoIaUpinYZsA;
typedef struct tyObject_Env_docgendotnim___yJXhn2SjBH08xgHtN2nkPQ tyObject_Env_docgendotnim___yJXhn2SjBH08xgHtN2nkPQ;
typedef struct tyTuple__z822nu9bFF1AlQnLrHjdwpA tyTuple__z822nu9bFF1AlQnLrHjdwpA;
typedef struct tyTuple__xYhUhS7X82rKTqbT9bRfCnw tyTuple__xYhUhS7X82rKTqbT9bRfCnw;
typedef struct tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw;
typedef struct tyTuple__QeWl6B6ffS4pU6WWrtcrDw tyTuple__QeWl6B6ffS4pU6WWrtcrDw;
typedef struct tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg;
typedef struct tyObject_TocEntry__z7kal23LlR1mL50YJIPMCw tyObject_TocEntry__z7kal23LlR1mL50YJIPMCw;
typedef struct tyTuple__sr3s7uVHpu9cEbbDnCSg8yQ tyTuple__sr3s7uVHpu9cEbbDnCSg8yQ;
typedef struct tyTuple__sPaDkVPSC0MkcoXCxPH9ccA tyTuple__sPaDkVPSC0MkcoXCxPH9ccA;
typedef struct tyTuple__awOivLjlO76sGdHY7nQUjQ tyTuple__awOivLjlO76sGdHY7nQUjQ;
typedef struct tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA;
typedef struct tyTuple__zwpS6d6iewrdlBSTNFoyVA tyTuple__zwpS6d6iewrdlBSTNFoyVA;
typedef struct tyObject_TRenderTok__FnEE3o2nWtqdjoC0wa2wgA tyObject_TRenderTok__FnEE3o2nWtqdjoC0wa2wgA;
typedef NU8 tyEnum_TSystemCPU__XYDt7D1G3qcClFyZy1Ky9ag;
typedef NU8 tyEnum_TSystemOS__s7Mlr1t66SUqP6BKJMXLaQ;
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct tyObject_Target__9abOl5DLX8suLujOaHSvGzw {
tyEnum_TSystemCPU__XYDt7D1G3qcClFyZy1Ky9ag targetCPU;
tyEnum_TSystemCPU__XYDt7D1G3qcClFyZy1Ky9ag hostCPU;
tyEnum_TSystemOS__s7Mlr1t66SUqP6BKJMXLaQ targetOS;
tyEnum_TSystemOS__s7Mlr1t66SUqP6BKJMXLaQ hostOS;
NI intSize;
NI floatSize;
NI ptrSize;
NimStringDesc* tnl;
};
typedef NU32 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg;
typedef NU64 tySet_tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw;
struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q {
NU16 line;
NI16 col;
NI32 fileIndex;
};
typedef NU8 tySet_tyEnum_TErrorOutput__fBf8Teueoz9aAkO5cXaxrpA;
struct tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA {
tySequence__7lEisrXlQEzwtUKW5pzRCw* data;
NI counter;
};
struct tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A {
tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q trackPos;
NIM_BOOL trackPosAttached;
tySet_tyEnum_TErrorOutput__fBf8Teueoz9aAkO5cXaxrpA errorOutputs;
tySequence__tNFrR3kRuS1FSwuiLGoSSA* msgContext;
tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q lastError;
tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA filenameToIndexTbl;
tySequence__Zi9cGbCWofbtABoHJ5RbLNQ* fileInfos;
NI32 systemFileIdx;
};
typedef NU8 tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw;
typedef NU8 tyEnum_TGCMode__tkz389aDYNd8ykeZszCuBSw;
typedef NU8 tyEnum_SymbolFilesOption__gBES9bqm1ru9ape8SeMRAFgQ;
struct tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg {
tySequence__4eRCaZmrYLLw2k30GPTiMw* data;
NI counter;
};
typedef NU16 tySet_tyEnum_Feature__01UoAKYz1MxZiuG1X2VhNQ;
typedef NU8 tySet_tyEnum_LegacyFeature__hGCD9aOrxPvpXn4Ne6W6OVA;
typedef NU8 tyEnum_IdeCmd__1Ced39bl5eePmZ1PKMPXigQ;
typedef NU8 tyEnum_TSystemCC__1eWBJUonHMOnlBwsOvpFmA;
typedef NU64 tySet_tyEnum_TMsgKind__aF3wrShfYWgzGfsrtvM3hQ;
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (tyObject_SuggestcolonObjectType___bkMuTTb2G70XfpzAiyNrnQ* result, void* ClE_0);
void* ClE_0;
} tyProc__QYEVXrYc9beQ379crS3rzqRA;
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (NimStringDesc* output, void* ClE_0);
void* ClE_0;
} tyProc__Q1W5D85O9cNu3iq9cZ9alS9aWA;
typedef NU8 tyEnum_Severity__x5BWBPGAbIH9clm5pmNp5DA;
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NimStringDesc* msg, tyEnum_Severity__x5BWBPGAbIH9clm5pmNp5DA severity, void* ClE_0);
void* ClE_0;
} tyProc__22mgIiTBBoqNe1T0FSw9ahQ;
struct tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw {
tyObject_Target__9abOl5DLX8suLujOaHSvGzw target;
NI linesCompiled;
tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options;
tySet_tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw globalOptions;
tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* macrosToExpand;
tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A m;
NI evalTemplateCounter;
NI evalMacroCounter;
NI8 exitcode;
tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw cmd;
tyEnum_TGCMode__tkz389aDYNd8ykeZszCuBSw selectedGC;
NI verbosity;
NI numberOfProcessors;
NimStringDesc* evalExpr;
NF lastCmdTime;
tyEnum_SymbolFilesOption__gBES9bqm1ru9ape8SeMRAFgQ symbolFiles;
tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg cppDefines;
NimStringDesc* headerFile;
tySet_tyEnum_Feature__01UoAKYz1MxZiuG1X2VhNQ features;
tySet_tyEnum_LegacyFeature__hGCD9aOrxPvpXn4Ne6W6OVA legacyFeatures;
NimStringDesc* arguments;
tyEnum_IdeCmd__1Ced39bl5eePmZ1PKMPXigQ ideCmd;
NIM_BOOL oldNewlines;
tyEnum_TSystemCC__1eWBJUonHMOnlBwsOvpFmA cCompiler;
tySet_tyEnum_TMsgKind__aF3wrShfYWgzGfsrtvM3hQ enableNotes;
tySet_tyEnum_TMsgKind__aF3wrShfYWgzGfsrtvM3hQ disableNotes;
tySet_tyEnum_TMsgKind__aF3wrShfYWgzGfsrtvM3hQ foreignPackageNotes;
tySet_tyEnum_TMsgKind__aF3wrShfYWgzGfsrtvM3hQ notes;
tySet_tyEnum_TMsgKind__aF3wrShfYWgzGfsrtvM3hQ mainPackageNotes;
NI mainPackageId;
NI errorCounter;
NI hintCounter;
NI warnCounter;
NI errorMax;
tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* configVars;
tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* symbols;
tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* packageCache;
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* searchPaths;
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* lazyPaths;
NimStringDesc* outFile;
NimStringDesc* outDir;
NimStringDesc* prefixDir;
NimStringDesc* libpath;
NimStringDesc* nimcacheDir;
tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* dllOverrides;
tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* moduleOverrides;
NimStringDesc* projectName;
NimStringDesc* projectPath;
NimStringDesc* projectFull;
NIM_BOOL projectIsStdin;
NI32 projectMainIdx;
NimStringDesc* command;
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* commandArgs;
NimStringDesc* commandLine;
NIM_BOOL keepComments;
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* implicitImports;
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* implicitIncludes;
NimStringDesc* docSeeSrcUrl;
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cIncludes;
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cLibs;
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cLinkedLibs;
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* externalToLink;
NimStringDesc* linkOptionsCmd;
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* compileOptionsCmd;
NimStringDesc* linkOptions;
NimStringDesc* compileOptions;
NimStringDesc* cCompilerPath;
tySequence__pK3qSsBZwdXd6qyUMkd5Jw* toCompile;
tyProc__QYEVXrYc9beQ379crS3rzqRA suggestionResultHook;
NI suggestVersion;
NI suggestMaxResults;
tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q lastLineInfo;
tyProc__Q1W5D85O9cNu3iq9cZ9alS9aWA writelnHook;
tyProc__22mgIiTBBoqNe1T0FSw9ahQ structuredErrorHook;
NimStringDesc* cppCustomNamespace;
};
typedef NU8 tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw;
struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {
NI refcount;
TNimType* typ;
};
struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {
void* bottom;
};
struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {
NI len;
NI cap;
tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
};
typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SiRwrEKZdLgxqz9a9aoVBglg[512];
typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24];
typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32];
typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24];
typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256];
struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {
tyArray__lh2A89ahMmYg9bCmpVaplLbA data;
};
typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2];
struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {
tyArray__0aOLqZchNi8nWtMTi8ND8w link;
NI key;
NI upperBound;
NI level;
};
struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg {
tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0;
NI Field1;
};
typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30];
struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {
NI len;
tyArray__LzOv2eCDGiceMKQstCLmhw chunks;
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next;
};
struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {
NI minLargeObj;
NI maxLargeObj;
tyArray__SiRwrEKZdLgxqz9a9aoVBglg freeSmallChunks;
NU32 flBitmap;
tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
NI currMem;
NI maxMem;
NI freeMem;
NI occ;
NI lastSize;
tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
NIM_BOOL locked;
NIM_BOOL blockChunkSizeIncrease;
NI nextChunkSize;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
};
struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {
NI stackScans;
NI cycleCollections;
NI maxThreshold;
NI maxStackSize;
NI maxStackCells;
NI cycleTableSize;
NI64 maxPause;
};
struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {
NI counter;
NI max;
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
};
struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {
tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
NI cycleThreshold;
NI zctThreshold;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
NI recGcLock;
tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
NI gcThreadId;
};
typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
struct TNimType {
NI size;
tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
TNimType* base;
TNimNode* node;
void* finalizer;
tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
};
struct RootObj {
TNimType* m_type;
};
struct tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw {
  RootObj Sup;
NI colonstate_;
tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf1;
};
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {
tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
typedef NU8 tyEnum_OutputTarget__lDlBg9cTod71s9abpUj82lsw;
typedef NU8 tySet_tyEnum_RstParseOption__fiZmsylYkyh6nEciRZcPsw;
typedef struct {
N_NIMCALL_PTR(NimStringDesc*, ClP_0) (NimStringDesc* filename, void* ClE_0);
void* ClE_0;
} tyProc__lRW9cfxqfm1ql4gkxfLReYg;
typedef NU8 tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ;
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (NimStringDesc* filename, NI line, NI col, tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ msgKind, NimStringDesc* arg, void* ClE_0);
void* ClE_0;
} tyProc__r4CIWZzpiVlkxuVaaDT8Lw;
typedef NimStringDesc* tyArray__C9cQfUOxfT2Mk6yT19cPu9aIA[5];
struct tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ {
tySequence__pUxI6Ljo6IKKHXKOZkQ7Og* data;
NI counter;
};
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* d, NimStringDesc* filename, NimStringDesc* cmd, NI status, NimStringDesc* content, void* ClE_0);
void* ClE_0;
} tyProc__t9cP9cH9bP2v9cQZNd2RjMTNLg;
struct tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg {
  RootObj Sup;
tyEnum_OutputTarget__lDlBg9cTod71s9abpUj82lsw target;
tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* config;
NI splitAfter;
NI listingCounter;
tySequence__b7kA8pLABz0wMAUNGYo6Wg* tocPart;
NIM_BOOL hasToc;
NimStringDesc* theIndex;
tySet_tyEnum_RstParseOption__fiZmsylYkyh6nEciRZcPsw options;
tyProc__lRW9cfxqfm1ql4gkxfLReYg findFile;
tyProc__r4CIWZzpiVlkxuVaaDT8Lw msgHandler;
NimStringDesc* filename;
tyArray__C9cQfUOxfT2Mk6yT19cPu9aIA meta;
NimStringDesc* currentSection;
tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ seenIndexTerms;
NI id;
tyProc__t9cP9cH9bP2v9cQZNd2RjMTNLg onTestSnippet;
};
typedef tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* tyArray__bQohEW4Jw1ENvElOMs9bxmQ[26];
struct tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA {
NI counter;
tySequence__DfgJFJEYoj4YBAHLZPl5lQ* data;
};
typedef NI tyArray__emiAJ8okywrJw7ZHLzlXbQ[34];
struct tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg {
NI elems;
NI counter;
NI max;
tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ* head;
tySequence__9brg1xNurxcus33lU4IE1Dw* data;
tyArray__emiAJ8okywrJw7ZHLzlXbQ a;
};
struct tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ {
  tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg Sup;
tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* modDesc;
tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* modDeprecationMsg;
tyArray__bQohEW4Jw1ENvElOMs9bxmQ toc;
tyArray__bQohEW4Jw1ENvElOMs9bxmQ section;
NimStringDesc* indexValFilename;
NimStringDesc* analytics;
tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* seenSymbols;
tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* jArray;
tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA types;
NIM_BOOL isPureRst;
tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf;
tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache;
NI exampleCounter;
tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg emitted;
NimStringDesc* destFile;
NimStringDesc* thisDir;
NimStringDesc* examples;
};
typedef tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* tyArray__o8KQyTFgNQGvsJZYtdEsgA[8192];
struct tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw {
tyArray__o8KQyTFgNQGvsJZYtdEsgA buckets;
NI wordCounter;
tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* idAnon;
tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* idDelegator;
tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* emptyIdent;
};
typedef NU8 tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w;
typedef NimStringDesc* tyArray__nHXaesL0DJZHyVS07ARPRA[1];
typedef NU8 tyEnum_StringTableMode__G9c4wVDFIzf0xHmQvxso9a9cQ;
struct tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg {
  RootObj Sup;
NI counter;
tySequence__xv3aaFd3JCw8NbmALHiezQ* data;
tyEnum_StringTableMode__G9c4wVDFIzf0xHmQvxso9a9cQ mode;
};
typedef NU8 tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg;
struct tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg {
tySequence__MlAD6nAPq9bHKla9cWiIZP0g* data;
NI counter;
NI first;
NI last;
};
struct tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q {
tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg kind;
union{
struct {NimStringDesc* str;
};
struct {NI64 num;
};
struct {NF fnum;
};
struct {NIM_BOOL bval;
};
struct {tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg fields;
};
struct {tySequence__oLpBKXzW3hF9aCVMo5EymfQ* elems;
};
};
};
struct tyTuple__7q7q3E6Oj24ZNVJb9aonhAg {
NimStringDesc* Field0;
NimStringDesc* Field1;
NimStringDesc* Field2;
};
typedef NU32 tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg;
typedef NU8 tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw;
struct tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw {
tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typ;
tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info;
tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg flags;
tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind;
union{
struct {NI64 intVal;
};
struct {NF floatVal;
};
struct {NimStringDesc* strVal;
};
struct {tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* sym;
};
struct {tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* ident;
};
struct {tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* sons;
};
};
NimStringDesc* comment;
};
typedef NU16 tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw;
typedef NU8 tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw[21];
struct tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA {
  RootObj Sup;
tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* left;
tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* right;
NI L;
NimStringDesc* data;
};
typedef NimStringDesc* tyArray__Re75IspeoxXy2oCZHwcRrA[2];
typedef tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* tyArray__mrugoXXRZUEeG9bEXo9auBKw[2];
typedef tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* tyArray__qTjAvTvKF9anytN1At69aJMQ[1];
struct tyObject_Env_docgendotnim___T7vYRLVTgrddhYR9aLyhV0Q {
  RootObj Sup;
NI colonstate_;
tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf1;
};
typedef NU8 tyEnum_RstNodeKind__Q1jM9a8f0MKlvbLZpipB3qg;
struct tyObject_RstNode__CjRS2xrmuD58kdGedE3yyg {
tyEnum_RstNodeKind__Q1jM9a8f0MKlvbLZpipB3qg kind;
NimStringDesc* text;
NI level;
tySequence__sawZST1Esj3o7EY9ayWwGPw* sons;
};
struct tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA {
  RootObj Sup;
NI id;
};
typedef NU8 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw;
typedef NU16 tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg;
typedef NU64 tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw;
typedef NU8 tyEnum_TLocKind__O7PRFZKuiBBWbku09cayVBg;
typedef NU8 tyEnum_TStorageLoc__JK9cKMX3XnqHaUky9b6gkGEw;
typedef NU16 tySet_tyEnum_TLocFlag__o2bqJgR4ceIupnUSpxiudA;
struct tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA {
tyEnum_TLocKind__O7PRFZKuiBBWbku09cayVBg k;
tyEnum_TStorageLoc__JK9cKMX3XnqHaUky9b6gkGEw storage;
tySet_tyEnum_TLocFlag__o2bqJgR4ceIupnUSpxiudA flags;
tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* lode;
tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* r;
};
struct tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w {
  tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA Sup;
tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw kind;
union{
struct {tySequence__Ef05srmQTDulnBdXR4Ja6Q* typeInstCache;
};
struct {tySequence__DXS6mEo7PVUFJkirsQ9bNQA* procInstCache;
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* gcUnsafetyReason;
tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* transformedBody;
};
struct {tySequence__DXS6mEo7PVUFJkirsQ9bNQA* usedGenerics;
tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tab;
};
struct {tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* guard;
NI bitsize;
};
};
tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg magic;
tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typ;
tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* name;
tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info;
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* owner;
tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw flags;
tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ast;
tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options;
NI position;
NI offset;
tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA loc;
tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA* annex;
tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* constraint;
};
typedef NU8 tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag;
typedef NU8 tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA;
typedef NU64 tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw;
typedef tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* tyArray__PsPyPA45AAjHu4uDGHNjTg[4];
struct tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ {
  tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA Sup;
tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag kind;
tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA callConv;
tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw flags;
tySequence__Ef05srmQTDulnBdXR4Ja6Q* sons;
tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n;
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* owner;
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* sym;
tyArray__PsPyPA45AAjHu4uDGHNjTg attachedOps;
tySequence__MvZmat48bhe9b6x9aUD58D5Q* methods;
NI64 size;
NI16 align;
NI16 paddingAtEnd;
NI16 lockLevel;
tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA loc;
tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typeInst;
NI uniqueId;
};
typedef NU8 tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw;
typedef NimStringDesc* tyArray__p8A0M9cPpD6FjwfsCYXLQtA[275];
typedef NU8 tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw;
typedef NU8 tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw;
struct tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA {
  tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA Sup;
NimStringDesc* s;
tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* next;
NI h;
};
typedef NU8 tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA;
typedef tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* tyArray__cypz0nHJsd9cnKgpO7fP5hQ[1];
typedef tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* tyArray__AB6yfoUgfWM2NtGe9bzkCmw[2];
typedef tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* tyArray__jlWPjgtbdjE069arIWHC9c9bg[1];
typedef NU8 tySet_tyEnum_TRenderFlag__wrPgUo1ExBlHvFnXN2nSHw;
typedef tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* tyArray__JiWwrsTRC6xqNlGcBthSVA[1];
struct tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg {
NI indent;
NI lineLen;
NI pos;
NI idx;
tySequence__0W45b4tBLx0JWnu0NjAmVQ* tokens;
NimStringDesc* buf;
NI pendingNL;
NI pendingWhitespace;
tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* comStack;
tySet_tyEnum_TRenderFlag__wrPgUo1ExBlHvFnXN2nSHw flags;
NIM_BOOL inGenericParams;
NIM_BOOL checkAnon;
NI inPragma;
NI32 fid;
tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config;
};
typedef tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* tyArray__wqYjTJU9ab2ZgEFMaQc3vNA[3];
typedef NU8 tySet_tyChar__nmiMWKVIe46vacnhAFrQvw[32];
typedef NimStringDesc* tyArray__haiLFy0nBviVTKFGuwztzQ[5];
typedef tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* tyArray__duFhZXIIlrbrM62cWjNekg[5];
typedef NimStringDesc* tyArray__jcN9bpO9aCR09cTLP9bY4PaJVQ[11];
typedef tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* tyArray__ovcl1w9aI1ZmKzg6fGNtM9bQ[11];
typedef NimStringDesc* tyArray__meGd17iD6izZVY5NTv9bHUA[10];
typedef tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* tyArray__tdtuX1UXre569aXskGxbPKw[10];
typedef NimStringDesc* tyArray__29by1HzZaB30irI9cPdBy9cNw[14];
typedef NimStringDesc* tyArray__sMpvt1sOxOJ3LFGulnbeMQ[4];
typedef tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* tyArray__f7nG5LD47BH5K9c6mASit3g[4];
typedef NU8 tyEnum_MetaEnum__HD14RiMbGt9aRJpE4GI3T9cg;
typedef NimStringDesc* tyArray__DLxB9cOndPvLDyky9bY9ccM3g[7];
typedef tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* tyArray__YcHYlgE5mhtkt9a3rnoucVg[7];
struct tyTuple__jq7X5k7hWG0tdTZTDkiyGQ {
NimStringDesc* Field0;
tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* Field1;
};
typedef tyTuple__jq7X5k7hWG0tdTZTDkiyGQ tyArray__nFPyKpuH1zPi4VuXhWbFAg[1];
typedef tyTuple__jq7X5k7hWG0tdTZTDkiyGQ tyArray__rhtWm6uYOU6da9bZDT6ryDA[4];
typedef NU8 tyEnum_FileMode__ZJfK20XeZ9bv2j1pZjw9aswg;
struct tyObject_Env_docgendotnim___xN9cREz0iq0MoIaUpinYZsA {
  RootObj Sup;
NI colonstate_;
tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf1;
};
struct tyObject_Env_docgendotnim___yJXhn2SjBH08xgHtN2nkPQ {
  RootObj Sup;
NI colonstate_;
tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf1;
};
typedef NimStringDesc* tyArray__17w6ns39bmjfAZ429aQpCFUA[9];
typedef tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* tyArray__Eng719aVJBoE9cgJDyPOaffg[9];
struct tyTuple__z822nu9bFF1AlQnLrHjdwpA {
tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q Field0;
NimStringDesc* Field1;
};
struct tyTuple__xYhUhS7X82rKTqbT9bRfCnw {
NI Field0;
NimStringDesc* Field1;
NI32 Field2;
};
struct tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw {
NimStringDesc* fullPath;
NimStringDesc* projPath;
NimStringDesc* shortName;
tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* quotedName;
tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* quotedFullName;
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* lines;
NimStringDesc* dirtyFile;
NimStringDesc* hash;
NIM_BOOL dirty;
};
struct tyTuple__QeWl6B6ffS4pU6WWrtcrDw {
NI Field0;
NimStringDesc* Field1;
};
typedef NU8 tySet_tyEnum_CfileFlag__Vl9c9ayddDuXiWtnWTsEYGsA;
struct tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg {
NimStringDesc* nimname;
NimStringDesc* cname;
NimStringDesc* obj;
tySet_tyEnum_CfileFlag__Vl9c9ayddDuXiWtnWTsEYGsA flags;
};
struct tyObject_TocEntry__z7kal23LlR1mL50YJIPMCw {
tyObject_RstNode__CjRS2xrmuD58kdGedE3yyg* n;
NimStringDesc* refname;
NimStringDesc* header;
};
struct tyTuple__sr3s7uVHpu9cEbbDnCSg8yQ {
NI Field0;
NimStringDesc* Field1;
NI Field2;
};
struct tyTuple__sPaDkVPSC0MkcoXCxPH9ccA {
NimStringDesc* Field0;
NimStringDesc* Field1;
NIM_BOOL Field2;
};
struct tyTuple__awOivLjlO76sGdHY7nQUjQ {
NI Field0;
NI Field1;
NimStringDesc* Field2;
tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* Field3;
};
struct tyTuple__zwpS6d6iewrdlBSTNFoyVA {
NI Field0;
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* Field1;
};
struct tyObject_TRenderTok__FnEE3o2nWtqdjoC0wa2wgA {
tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA kind;
NI16 length;
tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* sym;
};
struct tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ {
  TGenericSeq Sup;
  tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* data[SEQ_DECL_SIZE];
};
struct tySequence__WwUFq9cJ2xKRlsAWVEHyPRg {
  TGenericSeq Sup;
  tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* data[SEQ_DECL_SIZE];
};
struct tySequence__tNFrR3kRuS1FSwuiLGoSSA {
  TGenericSeq Sup;
  tyTuple__z822nu9bFF1AlQnLrHjdwpA data[SEQ_DECL_SIZE];
};
struct tySequence__7lEisrXlQEzwtUKW5pzRCw {
  TGenericSeq Sup;
  tyTuple__xYhUhS7X82rKTqbT9bRfCnw data[SEQ_DECL_SIZE];
};
struct tySequence__Zi9cGbCWofbtABoHJ5RbLNQ {
  TGenericSeq Sup;
  tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw data[SEQ_DECL_SIZE];
};
struct tySequence__4eRCaZmrYLLw2k30GPTiMw {
  TGenericSeq Sup;
  tyTuple__QeWl6B6ffS4pU6WWrtcrDw data[SEQ_DECL_SIZE];
};
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ {
  TGenericSeq Sup;
  NimStringDesc* data[SEQ_DECL_SIZE];
};
struct tySequence__pK3qSsBZwdXd6qyUMkd5Jw {
  TGenericSeq Sup;
  tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg data[SEQ_DECL_SIZE];
};
struct tySequence__b7kA8pLABz0wMAUNGYo6Wg {
  TGenericSeq Sup;
  tyObject_TocEntry__z7kal23LlR1mL50YJIPMCw data[SEQ_DECL_SIZE];
};
struct tySequence__pUxI6Ljo6IKKHXKOZkQ7Og {
  TGenericSeq Sup;
  tyTuple__sr3s7uVHpu9cEbbDnCSg8yQ data[SEQ_DECL_SIZE];
};
struct tySequence__DfgJFJEYoj4YBAHLZPl5lQ {
  TGenericSeq Sup;
  tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* data[SEQ_DECL_SIZE];
};
struct tySequence__9brg1xNurxcus33lU4IE1Dw {
  TGenericSeq Sup;
  tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ* data[SEQ_DECL_SIZE];
};
struct tySequence__xv3aaFd3JCw8NbmALHiezQ {
  TGenericSeq Sup;
  tyTuple__sPaDkVPSC0MkcoXCxPH9ccA data[SEQ_DECL_SIZE];
};
struct tySequence__MlAD6nAPq9bHKla9cWiIZP0g {
  TGenericSeq Sup;
  tyTuple__awOivLjlO76sGdHY7nQUjQ data[SEQ_DECL_SIZE];
};
struct tySequence__oLpBKXzW3hF9aCVMo5EymfQ {
  TGenericSeq Sup;
  tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* data[SEQ_DECL_SIZE];
};
struct tySequence__sawZST1Esj3o7EY9ayWwGPw {
  TGenericSeq Sup;
  tyObject_RstNode__CjRS2xrmuD58kdGedE3yyg* data[SEQ_DECL_SIZE];
};
struct tySequence__Ef05srmQTDulnBdXR4Ja6Q {
  TGenericSeq Sup;
  tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* data[SEQ_DECL_SIZE];
};
struct tySequence__DXS6mEo7PVUFJkirsQ9bNQA {
  TGenericSeq Sup;
  tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA* data[SEQ_DECL_SIZE];
};
struct tySequence__MvZmat48bhe9b6x9aUD58D5Q {
  TGenericSeq Sup;
  tyTuple__zwpS6d6iewrdlBSTNFoyVA data[SEQ_DECL_SIZE];
};
struct tySequence__0W45b4tBLx0JWnu0NjAmVQ {
  TGenericSeq Sup;
  tyObject_TRenderTok__FnEE3o2nWtqdjoC0wa2wgA data[SEQ_DECL_SIZE];
};
N_LIB_PRIVATE N_NIMCALL(void, handleDocOutputOptions__XbQ9cZpzVfEPm68TZ4kxJow)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, slash___QVqo5OOQAdrjFqBsPctklw)(NimStringDesc* base, NimStringDesc* f);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, parseFile__HSBHiITVPKlv327uAC12yw)(NI32 fileIdx, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config);
N_LIB_PRIVATE N_NIMCALL(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ*, newDocumentor__zcomu9bLnkDXHD9ce5rwT1lw)(NimStringDesc* filename, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* outExt);
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
static N_NIMCALL(void, Marker_tyRef__MOKapgGVbqFH8suCJ8g2zw)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
static N_NIMCALL(void, Marker_tyRef__ZoZ1pRtzmEiOBBpTrqMZHA)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void, initRstGenerator__BWbIBXSMTyNrKpXn9cX42Ow)(tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* g, tyEnum_OutputTarget__lDlBg9cTod71s9abpUj82lsw target, tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* config, NimStringDesc* filename, tySet_tyEnum_RstParseOption__fiZmsylYkyh6nEciRZcPsw options, tyProc__lRW9cfxqfm1ql4gkxfLReYg findFile, tyProc__r4CIWZzpiVlkxuVaaDT8Lw msgHandler);
N_LIB_PRIVATE N_CLOSURE(NimStringDesc*, docgenFindFile__PNlV3wEQMM2i4c9af9bEJXYg)(NimStringDesc* sX60gensym697347_, void* ClE_0);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, findFile__Jsd6LfkMRIXL9b0vzcHVYOA)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* f, NIM_BOOL suppressStdlib);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, slash___gEyhbzZ1UcxyenWRLJRXNQ)(NimStringDesc* head, NimStringDesc* tail);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosgetCurrentDir)(void);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nosexistsFile)(NimStringDesc* filename);
static N_INLINE(void, nimZeroMem)(void* p, NI size);
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
N_LIB_PRIVATE N_CLOSURE(void, compilerMsgHandler__kJXyqE0NzC23UsQ9c2Rz9ckA)(NimStringDesc* filenameX60gensym697341_, NI lineX60gensym697342_, NI colX60gensym697343_, tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ msgKindX60gensym697344_, NimStringDesc* argX60gensym697345_, void* ClE_0);
N_LIB_PRIVATE N_NIMCALL(void, globalError__mMj7lrOf3zBP9bl69amiKu5g_2)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w msg, NimStringDesc* arg);
static N_INLINE(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q, newLineInfo__q6yS31W9c9bTxOv5YvOB1n7gmsgs)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename, NI line, NI col);
N_LIB_PRIVATE N_NIMCALL(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q, newLineInfo__NPagzbOMpGo9aqJmfnDrITg)(NI32 fileInfoIdx, NI line, NI col);
N_LIB_PRIVATE N_NIMCALL(NI32, fileInfoIdx__3HRSVgYDcnQTolSZGx1zjA)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nsthasKey)(tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* t, NimStringDesc* key);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuFormatOpenArray)(NimStringDesc* formatstr, NimStringDesc** a, NI aLen_0);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getOrDefault__2a0cbxcfpWcXtK45m9bR5Kg)(tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* t, NimStringDesc* key, NimStringDesc* default_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg*, nstnewStringTable)(tyEnum_StringTableMode__G9c4wVDFIzf0xHmQvxso9a9cQ mode);
N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, newJArray__nXwnFPu9beTnGPwglrr7ztA_3)(void);
N_LIB_PRIVATE N_NIMCALL(void, initStrTable__2n9b6ELeZfbbP5wqNYm7VyA)(tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA* x);
N_LIB_PRIVATE N_CLOSURE(void, colonanonymous___lXH9a1Nl9bSM9anPrDuOOjsjg)(tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* gen, NimStringDesc* filename, NimStringDesc* cmd, NI status, NimStringDesc* content, void* ClE_0);
N_NIMCALL(void, chckObj)(TNimType* obj, TNimType* subclass);
N_NIMCALL(void, genericAssign)(void* dest, void* src, TNimType* mt);
static N_INLINE(NI, addInt)(NI a, NI b);
N_NOINLINE(void, raiseOverflow)(void);
N_LIB_PRIVATE N_NIMCALL(void, nossplitFile)(NimStringDesc* path, tyTuple__7q7q3E6Oj24ZNVJb9aonhAg* Result);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, slash___0U8YTiSB6NvFwgvyimFN2Q)(NimStringDesc* base, NimStringDesc* f);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getNimcacheDir__oltK69akg0xLqkR2ITKbomg_2)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size);
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nosisAbsolute)(NimStringDesc* path);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_LIB_PRIVATE N_NIMCALL(void, noscreateDir)(NimStringDesc* dir);
N_LIB_PRIVATE N_NIMCALL(void, splitFile__z7B4FbwzX3Y0L1EA2lLGXw)(NimStringDesc* x, tyTuple__7q7q3E6Oj24ZNVJb9aonhAg* Result);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuReplaceStr)(NimStringDesc* s, NimStringDesc* sub, NimStringDesc* by);
N_LIB_PRIVATE N_NIMCALL(void, writeFile__D6Pj9c29aCLEJP9beOWa08HYA)(NimStringDesc* filename, NimStringDesc* content);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nsuStartsWith)(NimStringDesc* s, NimStringDesc* prefix);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosgetAppFilename)(void);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, substr__iGg0RIKceRvsmvq8FUHOEw)(NimStringDesc* s, NI first);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuFormatSingleElem)(NimStringDesc* formatstr, NimStringDesc* a);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nospquoteShell)(NimStringDesc* s);
N_LIB_PRIVATE N_NIMCALL(void, rawMessage__h30HgTFwbGq0PsyHmRqZ8g)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w msg, NimStringDesc* arg);
N_LIB_PRIVATE N_NIMCALL(NI, nosexecShellCmd)(NimStringDesc* command);
N_LIB_PRIVATE N_NIMCALL(void, initIntSet__n8oDZMn19bEdodSnrBQB9a1Q)(tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg* Result);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getOutFile2__ssBmHr9b6LDWo9ar7lHLFTpw)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename, NimStringDesc* ext, NimStringDesc* dir, NIM_BOOL guessTarget);
static N_INLINE(NIM_BOOL, isEmpty__ZNWb41IwBSHCUIjlqlGoxgpathutils)(NimStringDesc* x);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, noschangeFileExt)(NimStringDesc* filename, NimStringDesc* ext);
static N_INLINE(NIM_BOOL, isEmpty__bFmAIl9aL9a1UuSf9ckLiDlVwpathutils)(NimStringDesc* x);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, absOutFile__ea9bsNo9cwchKzwCi7UjcP7g)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getOutFile__wyg2NQihYStyX9aXfJMkKlg)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename, NimStringDesc* ext);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, relativeTo__zjjWvxBunys9bbBJHoqyLyQ)(NimStringDesc* fullPath, NimStringDesc* baseFilename, NIM_CHAR sep);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
N_LIB_PRIVATE N_NIMCALL(void, generateDoc__3TtMsGQfsjgm9bmrWllS1pQ)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* orig);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, findPragma__0mDn9a9aralwZhM9cLc7HEF9aA)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw which);
N_LIB_PRIVATE N_NIMCALL(void, add__IM4kcMNkkOLJtqdEqSxR8A)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** a, tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* b);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, genDeprecationMsg__CsFui9bBKN4zbV9c9cdppnsLA)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
static N_INLINE(NI, safeLen__P89cqdlERShb9alU3iC0yj8w_2ast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
static N_INLINE(NI, len__P89cqdlERShb9alU3iC0yj8wast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_NOINLINE(void, raiseFieldError)(NimStringDesc* f);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, ropeFormatNamedVars__C7idxrvpR7GOGT9c4FWXrBQ)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* frmt, NimStringDesc** varnames, NI varnamesLen_0, tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** varvalues, NI varvaluesLen_0);
N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
N_LIB_PRIVATE N_NIMCALL(void, add__yG4AKzsBRS1W4MANDlXQeg)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** a, NimStringDesc* b);
N_NIMCALL(NI, mulInt)(NI a, NI b);
static N_INLINE(NI, subInt)(NI a, NI b);
N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
N_LIB_PRIVATE N_NIMCALL(NI, getVarIdx__MkK6vdaNQ6XNXG2RGNC9a9aw)(NimStringDesc** varnames, NI varnamesLen_0, NimStringDesc* id);
N_LIB_PRIVATE N_NIMCALL(NI, nsuCmpIgnoreStyle)(NimStringDesc* a, NimStringDesc* b);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, substr__2yh9cer0ymNRHlOOg8P7IuA)(NimStringDesc* s, NI first, NI last);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getConfigVar__nT6pi8CimjduqrsM6Cc8mQ)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* key, NimStringDesc* default_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___UQrwMIIitnm9cEflSXdCkPg)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___A9aKFJUF6ZjJQfrcPHJigOQ)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, rope__yShmEg9cffWxI7s5XzEKBow)(NimStringDesc* s);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, escape__MqjZ9c9b479ayFgA5h9aAscAFA)(NimStringDesc* s);
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, genComment__1NsSIzkKMtq49acu82VJUxg)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(void, renderRstToOut__9bVWgX0SWmhEi3eHlrcMD8g)(tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* d, tyObject_RstNode__CjRS2xrmuD58kdGedE3yyg* n, NimStringDesc** result);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode__CjRS2xrmuD58kdGedE3yyg*, parseRst__U0R9a9aB9ccn8lJ7U1XqFb10Q)(NimStringDesc* text, NimStringDesc* filename, NI line, NI column, NIM_BOOL* hasToc, tySet_tyEnum_RstParseOption__fiZmsylYkyh6nEciRZcPsw rstOptions, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
static N_NIMCALL(void, Marker_tyRef__LZFYbsjUDupKrnbLTlxlLg)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode__CjRS2xrmuD58kdGedE3yyg*, rstParse__PR9aZp38SP2QYTt9bJrB8ROw)(NimStringDesc* text, NimStringDesc* filename, NI line, NI column, NIM_BOOL* hasToc, tySet_tyEnum_RstParseOption__fiZmsylYkyh6nEciRZcPsw options, tyProc__lRW9cfxqfm1ql4gkxfLReYg findFile, tyProc__r4CIWZzpiVlkxuVaaDT8Lw msgHandler);
N_LIB_PRIVATE N_CLOSURE(NimStringDesc*, docgenFindFile__2ZYq8yCEPmKYmPER6rohxA)(NimStringDesc* sX60gensym697241_, void* ClE_0);
N_LIB_PRIVATE N_CLOSURE(void, compilerMsgHandler__1daY3RWh4iADuUWbuu9bgcw)(NimStringDesc* filenameX60gensym697235_, NI lineX60gensym697236_, NI colX60gensym697237_, tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ msgKindX60gensym697238_, NimStringDesc* argX60gensym697239_, void* ClE_0);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toFullPath__VW1RaR1l9c9bPnJxr1KuvIrg)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NI32 fileIdx);
static N_INLINE(NI, toLinenumber__6D4Rmpw7LpcRI1j7CMqEsAmsgs)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
static N_INLINE(NI, toColumn__6D4Rmpw7LpcRI1j7CMqEsA_2msgs)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
N_LIB_PRIVATE N_NIMCALL(void, documentRaises__hkgQwVnJ9aLSGn9aEOV0GSag)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, documentEffect__pcvClInajR04YlyHZGrbzA)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x, tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw effectType, NI idx);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, effectSpec__bT2fsf3zXYRpjYdeea19aAA)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw effectType);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newNodeI__UY1ElYk2XqXDzuz9cGLG1Kw)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NI children);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, typeToString__QlvraUan7WbHowhAbvDvdA)(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typ, tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw prefer);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newIdentNode__KZLyxk08RZ9cnzbQfphbJPQ)(tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* ident, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
N_LIB_PRIVATE N_NIMCALL(tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA*, getIdent__9coBOmdXN09be4rJvXK6fQGQ)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* ic, NimStringDesc* identifier);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newNode__duw0Uu9cIFXmCAaunQWIP0g)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* sons, tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typ);
N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, documentWriteEffect__IPIc9bSzbkNTXg0Vxi6qL3A)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw flag, NimStringDesc* pragmaName);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newNodeI__vokyXY9cZDshCSxFKChhG9bg)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
N_LIB_PRIVATE N_NIMCALL(void, add__P8dDSotTW25BkfbyspojGg)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* father, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* son);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, documentNewEffect__iKOR2aWWACOqq4zd7hmg7w)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(void, genItem__URT9bPNauhD0BURJFfjsh9cQ)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* nameNode, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isVisible__2S18TVv8561n8da19ah7VxQ)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, containsOrIncl__VFt0uM7bgfJ5age9alOsU9cg)(tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg* s, NI key);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getName__X4ox39cm9bzH8GS36cF3gOsQ)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NI splitAfter);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, esc__Tgq9c7oEp9c4LGF7SoXGTh8w)(tyEnum_OutputTarget__lDlBg9cTod71s9abpUj82lsw target, NimStringDesc* s, NI splitAfter);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, renderDefinitionName__l9ckhTtdY2uD8Mjq9cwreZDA)(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* s, NIM_BOOL noQuotes);
N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getPlainDocstring__w0RLWJSCLHZKQXisk15Reg)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, genRecComment__CsFui9bBKN4zbV9c9cdppnsLA_2)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, genRecCommentAux__CsFui9bBKN4zbV9c9cdppnsLA_3)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(void, getAllRunnableExamples__KTaDQnNH9ae4Bf008FpUeJw)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** dest);
N_LIB_PRIVATE N_NIMCALL(void, getAllRunnableExamplesRec__AWbd5fyCfaHrdBqMuwLj0w)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* orig, tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** dest);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isRunnableExamples__CZaoTkWCFI9acor4BmYF3Yw_3)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, lastSon__UPSW0jLTX5qJL51YMUAHgw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(void, prepareExamples__LEMttt9bIUgMkSiiWAy2utA)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newTree__FpOm4fidh9bWdkMa1BMRJkQ)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw** children, NI childrenLen_0);
static N_INLINE(NimStringDesc*, toFileLineCol__WM0LdwjY884aJ9cup7BS2vwmsgs)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toMsgFilename__eX9aCxa5NfPq9alDDS1zYbvw)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NI32 info);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___RkX9btpg5sQIaP8yYXB6tbA)(NU64 x);
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, newStrNode__zLcHGdlEbBYFtoCoan9agkg)(tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind, NimStringDesc* strVal);
N_LIB_PRIVATE N_NIMCALL(void, testExample__P9asSgxAI8Ru9cKnAyMhigQQ)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ex);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosextractFilename)(NimStringDesc* path);
N_LIB_PRIVATE N_NIMCALL(void, renderModule__PMQ9adArlSkkG8lng7soccA)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NimStringDesc* infile, NimStringDesc* outfile, tySet_tyEnum_TRenderFlag__wrPgUo1ExBlHvFnXN2nSHw renderFlags, NI32 fid, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___8ehuHmXS8omgqFrdYMsPBg)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___2Opo6JkHmCRmDA87qcGfvg)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(void, nodeToHighlightedHtml__MJcQaUOmoJidpolnPcz9aSQ)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** result, tySet_tyEnum_TRenderFlag__wrPgUo1ExBlHvFnXN2nSHw renderFlags, tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* procLink);
N_LIB_PRIVATE N_NIMCALL(void, initTokRender__fvDS5PTYUI6zuDDOhODswg)(tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg* r, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tySet_tyEnum_TRenderFlag__wrPgUo1ExBlHvFnXN2nSHw renderFlags);
N_LIB_PRIVATE N_NIMCALL(void, getNextTok__m1ACJrEREN0hUkBdjmLoaQ)(tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg* r, tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA* kind, NimStringDesc** literal);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___C7jQ1fH79bR8HRQrbJjFKDg)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___2eu2gmgXiDUZkBgTVqD7pg)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___cCI1wZSoDB14achJW7ZFSQ)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___dkLAWa1dMAcGEAyfUZ59bRA)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___DuvwOyJJ9b2gpVM9cV7DCFSQ)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___4MBgNtJLOyqbjfGytl2OTw)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___336bx9aXX7GZckfWQE5Jy3g)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___IbsmsXdtDOH7pLpzh9cmAOA)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___9cGelOO9b6sliTnobJf6XAsg)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___aNorSJCSJyyDo7w0s6eynA)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___BYRFs7dwiqyMIzbsx9cDq8Q)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___TavFv5xK0dxxJCk9b4v34zg)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___9aAWQyBOqadJYgBT29bzliAw)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___zpFS2Xy9cmoAoqCFSUQj1gg)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, getTokSym__c63Q9b9bWYYRP36QgDsG9cNDQ)(tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg* r);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___Nz9cwOtMmcX2gklRogKhyEA)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___YGYo0XYmypYw3N26AYh7ug)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, belongsToPackage__cNpgS79aRW1W4TDXo9chSDaA)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* module);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, externalDep__P9b6ldiOs1C1cjAHSU4Jlpg)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* module);
static N_INLINE(NI, chckRange)(NI i, NI a, NI b);
N_NOINLINE(void, raiseRangeError)(NI64 val);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___e8Z4ajz6IErIB0a6mpq4Wg)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___eqn09cqDPu9csxGUOSa2untg)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___rZ5o6ziDKz4d3bfaN54Dgg)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___YGa4o1aenD9cjoU03CAgtqQ)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___b2PLtFwpZkVmYhHWvW4i1Q)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___ctY4Nx9aQFC9bl9c2wbRLoFYA)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isCallable__SUIy9a9bqpDkoM66A6tppSaA)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuStrip)(NimStringDesc* s, NIM_BOOL leading, NIM_BOOL trailing, tySet_tyChar__nmiMWKVIe46vacnhAFrQvw chars);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, renderPlainSymbolName__0mm4u02iK86TVZPOApjzQA)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, complexName__9cXtMWiiMWGlqAPzr9aEWCzQ)(tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NimStringDesc* baseName);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, renderParamTypes__le9bedpmveKS6qhiVCc9c7cg)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NimStringDesc* sep);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, encodeUrl__hfOKCSlSHEBA7MAnVFj2bA)(NimStringDesc* s, NIM_BOOL usePlus);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, rope__KOisMGxcPhz6CcSmxgwEQQ)(NI64 i);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, newUniquePlainSymbol__SMnsxF7PtS1Zx9aDjvvC7rw)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, NimStringDesc* original);
N_LIB_PRIVATE N_NIMCALL(void, nstPut)(tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* t, NimStringDesc* key, NimStringDesc* val);
static N_INLINE(NI, modInt)(NI a, NI b);
N_NOINLINE(void, raiseDivByZero)(void);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___QXMcmOst45ThYFLo9cOKDiQ)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___CtS8L8cOLTsSuQ10mtHsvw)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, attachToType__2z9at9cKP7a6GoM6O9ba1zd7g)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, whichType__P6VVhFoRXYNTxCtafqu9bmg)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, strTableContains__qQqj4cZyGcSQKBqbLx4Alg)(tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA t, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* n);
N_LIB_PRIVATE N_NIMCALL(void, setIndexTerm__59a2OAWg9c9azGlf9aSfMJTaLA)(tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* d, NimStringDesc* htmlFile, NimStringDesc* id, NimStringDesc* term, NimStringDesc* linkTitle, NimStringDesc* linkDesc);
static N_INLINE(void, appendChar)(NimStringDesc* dest, NIM_CHAR c);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, docstringSummary__kPnzAIKnun4jRp3dcGAV8Q)(NimStringDesc* rstText);
N_LIB_PRIVATE N_NIMCALL(NI, nsuFindChar)(NimStringDesc* s, NIM_CHAR sub, NI start, NI last);
N_LIB_PRIVATE N_NIMCALL(void, nsuDelete)(NimStringDesc** s, NI first, NI last);
N_LIB_PRIVATE N_NIMCALL(NI, nsuFindCharSet)(NimStringDesc* s, tySet_tyChar__nmiMWKVIe46vacnhAFrQvw chars, NI start, NI last);
N_LIB_PRIVATE N_NIMCALL(void, strTableAdd__tyTgUybFIoow4CX2l5beug)(tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA* t, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* n);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, checkForFalse__SUIy9a9bqpDkoM66A6tppSaA_2)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
N_LIB_PRIVATE N_NIMCALL(void, traceDeps__Eq9c0D6KgDDYSrjqwmAUuRg)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* it);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___xsFAphqq4CRpmuZ79bXVLrA)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(void, exportSym__qYoJMTaZpxeCNRoEoCKzkw)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* s);
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, originatingModule__lIu8wX6Beq6dBJgESOFFjg_2)(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* s);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___SSpcZv60d0mAp5H4Mb5hpg)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(void, writeOutput__7W8HhP9cLoIdLMqjvSJvHmg)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, NIM_BOOL useWarning);
N_LIB_PRIVATE N_NIMCALL(void, runAllExamples__6UjzL2rSgVAuceHWxn9c01Q)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isDefined__jkXTnxDf8MX1Pmks3s0XxA)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* symbol);
N_LIB_PRIVATE N_NIMCALL(void, quit__q8QKbUwWyOe9b9a1QNJQr71A)(NimStringDesc* errormsg, NI errorcode) __attribute__((noreturn));
N_LIB_PRIVATE N_NIMCALL(void, rawMessage__PYBO4jCiD1pa1t49bOFOKuw)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w msg, NimStringDesc** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(void, nosremoveFile)(NimStringDesc* file);
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, genOutFile__XEn2EmHlFqD5MwQODOyxEw)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d);
N_LIB_PRIVATE N_NIMCALL(void, renderTocEntries__lXmEBiWEMeUQB9cTe0c6XoQ)(tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* d, NI* j, NI lvl, NimStringDesc** result);
N_LIB_PRIVATE N_NIMCALL(void, genSection__CN7Mvy33ScwwVir5nDIGqg)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw kind);
N_NOINLINE(void, raiseIndexError3)(NI i, NI a, NI b);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getDateStr__ye3QcrLEUbQh0AniHZYCHg_2)(void);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getClockStr__ye3QcrLEUbQh0AniHZYCHg_3)(void);
N_LIB_PRIVATE N_NIMCALL(void, writeRope__FwuzOBq6SLlanVUstm8q9cA)(FILE* f, tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* r);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, writeRope__LLRRC42xWBSkxzV9bsPu7lA)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* head, NimStringDesc* filename);
N_LIB_PRIVATE N_NIMCALL(void, generateIndex__6UjzL2rSgVAuceHWxn9c01Q_2)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d);
N_LIB_PRIVATE N_NIMCALL(void, writeIndexFile__XQaohh8v9brpMTzazPqfP6g)(tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* g, NimStringDesc* outfile);
N_LIB_PRIVATE N_NIMCALL(void, add__3iwzPz66TEml47u8LtfIQg)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* j);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___ufBNJwWgb20cY5Bv3NMT7A)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* a, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* b);
N_LIB_PRIVATE N_NIMCALL(void, add__8FFZVkexaQ73y9aREGlrY9bQ)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* father, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* child);
N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___HoVDUa0lAOcINNYBrrSTiA)(tyTuple__jq7X5k7hWG0tdTZTDkiyGQ* keyVals, NI keyValsLen_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___19ag6cl4fMjxytc9arHmLIbw_2)(NimStringDesc* s);
N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, genJsonItem__6Yvyha9boYC58GWZQItGmBg)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* nameNode, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___mZ66tEveFIQokq3arf8Klw)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* r);
N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ);
N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, percent___NSr46Qz23yGk4m9csPSbQBQ)(NI n);
static N_INLINE(void, X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* obj, NimStringDesc* key, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* val);
N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___vlnBr1uIbtu0ntnZh6Askg)(tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg* t, NimStringDesc* key, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* val);
N_LIB_PRIVATE N_NIMCALL(void, generateJson__aCcnJCcOFu8Y1ZdiDOUa6Q)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NIM_BOOL includeComments);
static N_INLINE(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, pop__9c4Y4hTtvRqjj2EC8KP9aqDAsystem)(tySequence__WwUFq9cJ2xKRlsAWVEHyPRg** s);
N_NIMCALL(TGenericSeq*, setLengthSeqV2)(TGenericSeq* s, TNimType* typ, NI newLen);
N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
N_NIMCALL(TGenericSeq*, incrSeqV3)(TGenericSeq* s, TNimType* typ);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getPackageName__ez7MSoVdvcTOZlBJgbu5Sg)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* path);
N_LIB_PRIVATE N_NIMCALL(void, write__PArlm09bKklm2BLsCg6YtaA)(FILE* f, NimStringDesc* s);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___79aIqF5QC8ZRJgu2hlv9bdjw)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* node);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, open__gq12VLhVO0NBzUTnGgz4nw)(FILE** f, NimStringDesc* filename, tyEnum_FileMode__ZJfK20XeZ9bv2j1pZjw9aswg mode, NI bufSize);
N_LIB_PRIVATE N_NIMCALL(void, close__fU6ZlJAtQ9bre04EDZLdGsA_3)(FILE* f);
N_LIB_PRIVATE N_NIMCALL(void, localError__mMj7lrOf3zBP9bl69amiKu5g_3)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w msg, NimStringDesc* arg);
N_LIB_PRIVATE N_NIMCALL(void, commandRstAux__Zb29b9be2mdWzzb1jYhPz69aw)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename, NimStringDesc* outExt);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosaddFileExt)(NimStringDesc* filename, NimStringDesc* ext);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, readFile__4PGnM9bWmsH0Nu7dnr3XzgA)(NimStringDesc* filename);
N_NIMCALL(NimStringDesc*, rawNewString)(NI cap);
static N_NIMCALL(void, Marker_tyRef__ug9bE29amkMIdZAZIoDc6xYQ)(void* p, NI op);
N_LIB_PRIVATE N_CLOSURE(void, colonanonymous___NJYVUpR9a7Uo3C43qWu19cUg)(tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* d, NimStringDesc* filename, NimStringDesc* cmd, NI status, NimStringDesc* content, void* ClE_0);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, pretty__6ucoq7dFiVhOGmHlWNWbTg)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* node, NI indent);
static N_NIMCALL(void, Marker_tyRef__2CsejZOdUvB66maKwKMhXw)(void* p, NI op);
N_LIB_PRIVATE N_CLOSURE(void, colonanonymous___NJYVUpR9a7Uo3C43qWu19cUg_2)(tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* d, NimStringDesc* filename, NimStringDesc* cmd, NI status, NimStringDesc* content, void* ClE_0);
N_LIB_PRIVATE N_NIMCALL(void, generateTags__MfiAsDFdBFUXqSzZDl4T9bg)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** r);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, genTagsItem__tmOrGY09ab3EZGuwH5pi26w)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* nameNode, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, mergeIndexes__gnBYZcMG5WPYB3f83P6f9ag)(NimStringDesc* dir);
extern tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
extern TNimType NTI__ytyiCJqK439aF9cIibuRVpAg_;
TNimType NTI__788TS19aIcHv9b9aA3bG9bzTIw_;
extern TNimType NTI__xHTZrq9aYs6boc9bCba0JbpQ_;
extern TNimType NTI__a8lycfSA25OQltN3OMeBsA_;
TNimType NTI__MOKapgGVbqFH8suCJ8g2zw_;
extern TNimType NTI__yF9cB1II0vYb2F0YKmIiArg_;
TNimType NTI__aItnR9bvqDIftcasLwUztVQ_;
extern TNimType NTI__4hi0XQqK9aLiPuWT9acsXm9aQ_;
TNimType NTI__bQohEW4Jw1ENvElOMs9bxmQ_;
extern TNimType NTI__77mFvmsOLKik79ci2hXkHEg_;
extern TNimType NTI__n9cmoMXcDs47wYDFGEXuCfw_;
extern TNimType NTI__zfzzuQ8txrdZAYK0WGWpHg_;
extern TNimType NTI__f07aOS3dr28kGa5wcE29aFA_;
extern TNimType NTI__VaVACK0bpYmqIQ0mKcHfQQ_;
extern TNimType NTI__lnkYNZP9asc88UfiEGjLrbA_;
extern TNimType NTI__rR5Bzr1D5krxoo1NcNyeMA_;
extern TNimType NTI__PQrmFm4BXFkFSVOUl1ojSg_;
TNimType NTI__ZoZ1pRtzmEiOBBpTrqMZHA_;
TNimType NTI__T7vYRLVTgrddhYR9aLyhV0Q_;
TNimType NTI__LZFYbsjUDupKrnbLTlxlLg_;
extern TNimType NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_;
extern TNimType NTI__cNCW9acsSznmEccl1fgQwkw_;
extern TNimType NTI__WwUFq9cJ2xKRlsAWVEHyPRg_;
TNimType NTI__xN9cREz0iq0MoIaUpinYZsA_;
TNimType NTI__ug9bE29amkMIdZAZIoDc6xYQ_;
TNimType NTI__yJXhn2SjBH08xgHtN2nkPQ_;
TNimType NTI__2CsejZOdUvB66maKwKMhXw_;
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_4, "doc.googleAnalytics", 19);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_5, "<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.getElementsByTag"
"Name(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);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_6, "doc.googleAnalytics", 19);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_8, "_snippet_", 9);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_9, ".nim", 4);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_10, "import \"$1\"\012", 12);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_11, "\\", 1);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_12, "/", 1);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_13, "nim ", 4);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_14, "executing of external program failed: ", 38);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_15, "htmldocs", 8);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_16, "html", 4);
static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__5fUAZGW8WPeit3fZaQyNXA_17 = {
0xec, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_18, "\'sons\' is not accessible using discriminant \'kind\' of type \'TNo"
"de\'", 66);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_22, "$", 1);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_31, "Invalid format string; too many $s: ", 36);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_35, "unknown substition variable: ", 29);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_38, "expected closing \'}\'", 20);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_43, "doc.deprecationmsg", 18);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_45, "label", 5);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_46, "message", 7);
NIM_CONST tyArray__Re75IspeoxXy2oCZHwcRrA TM__5fUAZGW8WPeit3fZaQyNXA_44 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_45),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_46)}
;
static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__5fUAZGW8WPeit3fZaQyNXA_47 = {
0x00, 0x00, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_48, "\'strVal\' is not accessible using discriminant \'kind\' of type \'T"
"Node\'", 68);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_49, "docgen.nim(632, 14) `false` ", 28);
static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__5fUAZGW8WPeit3fZaQyNXA_51 = {
0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_52, "\'sym\' is not accessible using discriminant \'kind\' of type \'TNod"
"e\'", 65);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_53, "ref ", 4);
extern NIM_CONST tyArray__p8A0M9cPpD6FjwfsCYXLQtA specialWords__jS3I1dUcvbZAEuApBSUHng;
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_56, "writes", 6);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_57, "new", 3);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_58, "escapes", 7);
static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__5fUAZGW8WPeit3fZaQyNXA_59 = {
0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_60, "\'ident\' is not accessible using discriminant \'kind\' of type \'TN"
"ode\'", 67);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_61, "`", 1);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_63, "##", 2);
static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__5fUAZGW8WPeit3fZaQyNXA_65 = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04,
0x00, 0x06, 0x00, 0x00, 0xc0, 0x00, 0x08, 0x40,
0x20, 0x60, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_67, "(", 1);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_68, ", ", 2);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_70, ")", 1);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_71, "autogenerated by docgen from ", 29);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_73, "runnableExamples", 16);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_75, "_examples", 9);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_76, "import r\"", 9);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_77, "\"\012", 2);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_78, "Examples:", 9);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_80, "doc.listing_start", 17);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_81, "langNim", 7);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_82, "\012", 1);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_87, "doc.listing_end", 15);
static NIM_CONST tySet_tyChar__nmiMWKVIe46vacnhAFrQvw TM__5fUAZGW8WPeit3fZaQyNXA_90 = {
0x00, 0x3e, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_91, ".m", 2);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_92, ".e", 2);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_93, ".i", 2);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_94, ".t", 2);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_95, ".c", 2);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_96, ",", 1);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_97, "_", 1);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_99, "doc.item.seesrc", 15);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_100, "git.url", 7);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_102, "devel", 5);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_103, "version-$1-$2", 13);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_104, "git.commit", 10);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_105, "git.devel", 9);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_107, "path", 4);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_108, "line", 4);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_109, "url", 3);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_110, "commit", 6);
NIM_CONST tyArray__haiLFy0nBviVTKFGuwztzQ TM__5fUAZGW8WPeit3fZaQyNXA_106 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_107),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_108),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_109),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_110),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_102)}
;
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_111, "doc.item", 8);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_113, "name", 4);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_114, "header", 6);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_115, "desc", 4);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_116, "itemID", 6);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_117, "header_plain", 12);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_118, "itemSym", 7);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_119, "itemSymOrID", 11);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_120, "itemSymEnc", 10);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_121, "itemSymOrIDEnc", 14);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_122, "seeSrc", 6);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_123, "deprecationMsg", 14);
NIM_CONST tyArray__jcN9bpO9aCR09cTLP9bY4PaJVQ TM__5fUAZGW8WPeit3fZaQyNXA_112 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_113),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_114),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_115),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_116),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_117),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_118),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_119),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_120),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_121),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_122),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_123)}
;
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_126, "docgen.nim(602, 9) `rstText.len < 2 or (rstText[0] == \'#\' and r"
"stText[1] == \'#\')` ", 82);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_128, "\342\200\246", 3);
static NIM_CONST tySet_tyChar__nmiMWKVIe46vacnhAFrQvw TM__5fUAZGW8WPeit3fZaQyNXA_129 = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x00, 0x04,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_132, "doc.item.toc", 12);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_134, "attype", 6);
NIM_CONST tyArray__meGd17iD6izZVY5NTv9bHUA TM__5fUAZGW8WPeit3fZaQyNXA_133 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_113),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_114),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_115),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_116),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_117),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_118),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_119),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_120),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_121),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_134)}
;
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_135, ": ", 2);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_140, "false", 5);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_144, "_examples.nim", 13);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_145, "js", 2);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_146, "cpp", 3);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_147, "objc", 4);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_148, "c", 1);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_149, " ", 1);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_150, " --warning[UnusedImport]:off --path:", 36);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_151, " --nimcache:", 12);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_152, " -r ", 4);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_153, "[Examples] failed: see ", 23);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_154, "runnableExamples: ", 18);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_155, "Imports", 7);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_156, "Types", 5);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_157, "Vars", 4);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_158, "Lets", 4);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_159, "Consts", 6);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_160, "Procs", 5);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_161, "Funcs", 5);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_162, "Methods", 7);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_163, "Iterators", 9);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_164, "Converters", 10);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_165, "Macros", 6);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_166, "Templates", 9);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_167, "Exports", 7);
NIM_CONST tyArray__29by1HzZaB30irI9cPdBy9cNw sectionNames__9bFbR0UW0hviZzxnBeyotPA = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_155),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_156),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_157),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_158),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_159),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_157),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_160),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_161),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_162),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_163),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_164),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_165),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_166),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_167)}
;
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_168, "doc.section", 11);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_170, "sectionid", 9);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_171, "sectionTitle", 12);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_172, "sectionTitleID", 14);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_173, "content", 7);
NIM_CONST tyArray__sMpvt1sOxOJ3LFGulnbeMQ TM__5fUAZGW8WPeit3fZaQyNXA_169 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_170),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_171),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_172),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_173)}
;
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_175, "doc.section.toc", 15);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_178, "doc.toc", 7);
NIM_CONST tyArray__nHXaesL0DJZHyVS07ARPRA TM__5fUAZGW8WPeit3fZaQyNXA_179 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_173)}
;
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_181, "doc.body_toc_group", 18);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_182, "doc.body_toc", 12);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_183, "doc.body_no_toc", 15);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_185, "title", 5);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_186, "tableofcontents", 15);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_187, "moduledesc", 10);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_188, "date", 4);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_189, "time", 4);
NIM_CONST tyArray__DLxB9cOndPvLDyky9bY9ccM3g TM__5fUAZGW8WPeit3fZaQyNXA_184 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_185),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_186),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_187),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_188),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_189),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_173),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_123)}
;
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_190, "doc.file", 8);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_192, "author", 6);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_193, "version", 7);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_194, "analytics", 9);
NIM_CONST tyArray__meGd17iD6izZVY5NTv9bHUA TM__5fUAZGW8WPeit3fZaQyNXA_191 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_185),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_186),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_187),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_188),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_189),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_173),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_192),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_193),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_194),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_123)}
;
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_195, ".idx", 4);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_196, "comment", 7);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_197, "type", 4);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_198, "col", 3);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_199, "json.nim(358, 9) `obj.kind == JObject` ", 39);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_200, "\'fields\' is not accessible using discriminant \'kind\' of type \'J"
"sonNodeObj\'", 74);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_201, "description", 11);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_202, "code", 4);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_208, "ropes.nim(177, 16) `it.right != nil` ", 37);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_209, "ropes.nim(180, 15) `it != nil` ", 31);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_211, "iterators.nim(207, 11) `len(a) == L` the length of the string c"
"hanged while iterating over it", 93);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_212, "orig", 4);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_213, "nimble", 6);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_214, "moduleDescription", 17);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_215, "entries", 7);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_216, "unable to open file \"", 21);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_217, "\" for writing", 13);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_218, "txt", 3);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_219, "tex", 3);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_221, "the \':test:\' attribute is not supported by this backend", 55);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_222, "json", 4);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_228, "tags", 4);
NIM_CONST tyArray__17w6ns39bmjfAZ429aQpCFUA TM__5fUAZGW8WPeit3fZaQyNXA_229 = {((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_185),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_186),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_187),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_188),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_189),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_173),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_192),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_193),
((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_194)}
;
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_230, "Index", 5);
STRING_LITERAL(TM__5fUAZGW8WPeit3fZaQyNXA_231, "theindex", 8);
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {	(*c).refcount = (NI)((NU64)((*c).refcount) + (NU64)(((NI) 8)));
}
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) {	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result;
	result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
	result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) ((NI)((NU64)(((NI) (ptrdiff_t) (usr))) - (NU64)(((NI) 16)))));
	return result;
}
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {	addZCT__Y66tOYFjgwJ0k4aLz4bc0Q((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), c);
}
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {	(*c).refcount = (NI)((NU64)((*c).refcount) - (NU64)(((NI) 8)));
	{
		if (!((NU64)((*c).refcount) < (NU64)(((NI) 8)))) goto LA3_;
		rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system(c);
	}
	LA3_: ;
}
static N_INLINE(void, asgnRef)(void** dest, void* src) {	{
		tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
		if (!!((src == NIM_NIL))) goto LA3_;
		T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
		T5_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src);
		incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T5_);
	}
	LA3_: ;
	{
		tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
		if (!!(((*dest) == NIM_NIL))) goto LA8_;
		T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
		T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest));
		decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T10_);
	}
	LA8_: ;
	(*dest) = src;
}
N_LIB_PRIVATE N_NIMCALL(void, handleDocOutputOptions__XbQ9cZpzVfEPm68TZ4kxJow)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {	{
		if (!(((*conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 33))&63U)))!=0)) goto LA3_;
		asgnRef((void**) (&(*conf).outDir), slash___QVqo5OOQAdrjFqBsPctklw((*conf).outDir, (*conf).outFile));
	}
	LA3_: ;
}
static N_NIMCALL(void, Marker_tyRef__MOKapgGVbqFH8suCJ8g2zw)(void* p, NI op) {
	tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw* a;
	a = (tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw*)p;
	nimGCvisit((void*)(*a).conf1, op);
}
static N_NIMCALL(void, Marker_tyRef__ZoZ1pRtzmEiOBBpTrqMZHA)(void* p, NI op) {
	tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* a;
	NI T1_;
	NI T2_;
	NI T3_;
	NI T4_;
	a = (tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ*)p;
	nimGCvisit((void*)(*a).Sup.config, op);
	nimGCvisit((void*)(*a).Sup.tocPart, op);
	nimGCvisit((void*)(*a).Sup.theIndex, op);
	nimGCvisit((void*)(*a).Sup.findFile.ClE_0, op);
	nimGCvisit((void*)(*a).Sup.msgHandler.ClE_0, op);
	nimGCvisit((void*)(*a).Sup.filename, op);
	T1_ = (NI)0;
	for (T1_ = 0; T1_ < 5; T1_++) {
	nimGCvisit((void*)(*a).Sup.meta[T1_], op);
	}
	nimGCvisit((void*)(*a).Sup.currentSection, op);
	nimGCvisit((void*)(*a).Sup.seenIndexTerms.data, op);
	nimGCvisit((void*)(*a).Sup.onTestSnippet.ClE_0, op);
	nimGCvisit((void*)(*a).modDesc, op);
	nimGCvisit((void*)(*a).modDeprecationMsg, op);
	T2_ = (NI)0;
	for (T2_ = 0; T2_ < 26; T2_++) {
	nimGCvisit((void*)(*a).toc[T2_], op);
	}
	T3_ = (NI)0;
	for (T3_ = 0; T3_ < 26; T3_++) {
	nimGCvisit((void*)(*a).section[T3_], op);
	}
	nimGCvisit((void*)(*a).indexValFilename, op);
	nimGCvisit((void*)(*a).analytics, op);
	nimGCvisit((void*)(*a).seenSymbols, op);
	nimGCvisit((void*)(*a).jArray, op);
	nimGCvisit((void*)(*a).types.data, op);
	nimGCvisit((void*)(*a).conf, op);
	nimGCvisit((void*)(*a).cache, op);
	nimGCvisit((void*)(*a).emitted.head, op);
	nimGCvisit((void*)(*a).emitted.data, op);
	T4_ = (NI)0;
	nimGCvisit((void*)(*a).destFile, op);
	nimGCvisit((void*)(*a).thisDir, op);
	nimGCvisit((void*)(*a).examples, op);
}
N_LIB_PRIVATE N_CLOSURE(NimStringDesc*, docgenFindFile__PNlV3wEQMM2i4c9af9bEJXYg)(NimStringDesc* sX60gensym697347_, void* ClE_0) {	NimStringDesc* result;
	tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw* colonenvP_;
	result = (NimStringDesc*)0;
	colonenvP_ = (tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw*) ClE_0;
	result = findFile__Jsd6LfkMRIXL9b0vzcHVYOA((*colonenvP_).conf1, sX60gensym697347_, NIM_FALSE);
	{
		NimStringDesc* T5_;
		if (!((result ? result->Sup.len : 0) == ((NI) 0))) goto LA3_;
		T5_ = (NimStringDesc*)0;
		T5_ = nosgetCurrentDir();
		result = slash___gEyhbzZ1UcxyenWRLJRXNQ(T5_, sX60gensym697347_);
		{
			NIM_BOOL T8_;
			T8_ = (NIM_BOOL)0;
			T8_ = nosexistsFile(result);
			if (!!(T8_)) goto LA9_;
			result = ((NimStringDesc*) NIM_NIL);
		}
		LA9_: ;
	}
	LA3_: ;
	return result;
}
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) {	void* T1_;
	T1_ = (void*)0;
	T1_ = memset(a, v, ((size_t) (size)));
}
static N_INLINE(void, nimZeroMem)(void* p, NI size) {	nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size);
}
static N_INLINE(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q, newLineInfo__q6yS31W9c9bTxOv5YvOB1n7gmsgs)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename, NI line, NI col) {	tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q result;
	NI32 T1_;
	nimZeroMem((void*)(&result), sizeof(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q));
	T1_ = (NI32)0;
	T1_ = fileInfoIdx__3HRSVgYDcnQTolSZGx1zjA(conf, filename);
	result = newLineInfo__NPagzbOMpGo9aqJmfnDrITg(T1_, line, col);
	return result;
}
N_LIB_PRIVATE N_CLOSURE(void, compilerMsgHandler__kJXyqE0NzC23UsQ9c2Rz9ckA)(NimStringDesc* filenameX60gensym697341_, NI lineX60gensym697342_, NI colX60gensym697343_, tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ msgKindX60gensym697344_, NimStringDesc* argX60gensym697345_, void* ClE_0) {	tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw* colonenvP_;
	tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w kX60gensym697346_;
	tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q T11_;
	colonenvP_ = (tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw*) ClE_0;
	kX60gensym697346_ = (tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w)0;
	switch (msgKindX60gensym697344_) {
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 0):
	{
		kX60gensym697346_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 3);
	}
	break;
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 1):
	{
		kX60gensym697346_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 4);
	}
	break;
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 2):
	{
		kX60gensym697346_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 5);
	}
	break;
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 3):
	{
		kX60gensym697346_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 7);
	}
	break;
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 4):
	{
		kX60gensym697346_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 6);
	}
	break;
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 5):
	{
		kX60gensym697346_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 8);
	}
	break;
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 6):
	{
		kX60gensym697346_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 19);
	}
	break;
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 7):
	{
		kX60gensym697346_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 20);
	}
	break;
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 8):
	{
		kX60gensym697346_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 21);
	}
	break;
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 9):
	{
		kX60gensym697346_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 22);
	}
	break;
	}
	T11_ = newLineInfo__q6yS31W9c9bTxOv5YvOB1n7gmsgs((*colonenvP_).conf1, filenameX60gensym697341_, lineX60gensym697342_, colX60gensym697343_);
	globalError__mMj7lrOf3zBP9bl69amiKu5g_2((*colonenvP_).conf1, T11_, kX60gensym697346_, argX60gensym697345_);
}
static N_INLINE(NI, addInt)(NI a, NI b) {	NI result;
{	result = (NI)0;
	result = (NI)((NU64)(a) + (NU64)(b));
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (((NI) 0) <= (NI)(result ^ a));
		if (T3_) goto LA4_;
		T3_ = (((NI) 0) <= (NI)(result ^ b));
		LA4_: ;
		if (!T3_) goto LA5_;
		goto BeforeRet_;
	}
	LA5_: ;
	raiseOverflow();
	}BeforeRet_: ;
	return result;
}
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) {	void* T1_;
	T1_ = (void*)0;
	T1_ = memcpy(dest, source, ((size_t) (size)));
}
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size) {	nimCopyMem(dest, source, size);
}
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {	{
		if (!!((src == NIM_NIL))) goto LA3_;
		copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
		(*dest).Sup.len += (*src).Sup.len;
	}
	LA3_: ;
}
N_LIB_PRIVATE N_CLOSURE(void, colonanonymous___lXH9a1Nl9bSM9anPrDuOOjsjg)(tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* gen, NimStringDesc* filename, NimStringDesc* cmd, NI status, NimStringDesc* content, void* ClE_0) {	tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw* colonenvP_;
	tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ d;
	NimStringDesc* outp;
	tyTuple__7q7q3E6Oj24ZNVJb9aonhAg T16_;
	NimStringDesc* importStmt;
	NimStringDesc* T23_;
	NimStringDesc* c;
	NimStringDesc* c2;
	NimStringDesc* T33_;
	colonenvP_ = (tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw*) ClE_0;
	nimZeroMem((void*)(&d), sizeof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ));
	d.Sup.Sup.m_type = (&NTI__aItnR9bvqDIftcasLwUztVQ_);
	chckObj((*gen).Sup.m_type, (&NTI__aItnR9bvqDIftcasLwUztVQ_));
	genericAssign((void*)(&d), (void*)(&(*(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ*) ((&(*gen))))), (&NTI__aItnR9bvqDIftcasLwUztVQ_));
	outp = (NimStringDesc*)0;
	{
		NI TM__5fUAZGW8WPeit3fZaQyNXA_7;
		NimStringDesc* nameOnly;
		tyTuple__7q7q3E6Oj24ZNVJb9aonhAg T5_;
		NimStringDesc* T6_;
		NimStringDesc* T7_;
		NimStringDesc* T8_;
		NimStringDesc* T9_;
		if (!((filename ? filename->Sup.len : 0) == ((NI) 0))) goto LA3_;
		TM__5fUAZGW8WPeit3fZaQyNXA_7 = addInt(d.Sup.id, ((NI) 1));
		d.Sup.id = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_7);
		nimZeroMem((void*)(&T5_), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg));
		nossplitFile(d.Sup.filename, (&T5_));
		nameOnly = T5_.Field1;
		T6_ = (NimStringDesc*)0;
		T6_ = getNimcacheDir__oltK69akg0xLqkR2ITKbomg_2((*colonenvP_).conf1);
		T7_ = (NimStringDesc*)0;
		T7_ = slash___0U8YTiSB6NvFwgvyimFN2Q(T6_, nameOnly);
		T8_ = (NimStringDesc*)0;
		T9_ = (NimStringDesc*)0;
		T9_ = nimIntToStr(d.Sup.id);
		T8_ = rawNewString((nameOnly ? nameOnly->Sup.len : 0) + (T9_ ? T9_->Sup.len : 0) + 13);
appendString(T8_, nameOnly);
appendString(T8_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_8));
appendString(T8_, T9_);
appendString(T8_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_9));
		outp = slash___QVqo5OOQAdrjFqBsPctklw(T7_, T8_);
	}
	goto LA1_;
	LA3_: ;
	{
		NIM_BOOL T11_;
		T11_ = (NIM_BOOL)0;
		T11_ = nosisAbsolute(filename);
		if (!T11_) goto LA12_;
		outp = copyString(filename);
	}
	goto LA1_;
	LA12_: ;
	{
		NimStringDesc* nameOnly_2;
		tyTuple__7q7q3E6Oj24ZNVJb9aonhAg T15_;
		nimZeroMem((void*)(&T15_), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg));
		nossplitFile(d.Sup.filename, (&T15_));
		nameOnly_2 = T15_.Field1;
		outp = slash___QVqo5OOQAdrjFqBsPctklw(nameOnly_2, filename);
	}
	LA1_: ;
	nimZeroMem((void*)(&T16_), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg));
	splitFile__z7B4FbwzX3Y0L1EA2lLGXw(outp, (&T16_));
	noscreateDir(T16_.Field0);
	{
		if (!d.isPureRst) goto LA19_;
		importStmt = ((NimStringDesc*) NIM_NIL);
	}
	goto LA17_;
	LA19_: ;
	{
		tyArray__nHXaesL0DJZHyVS07ARPRA T22_;
		nimZeroMem((void*)T22_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
		T22_[0] = nsuReplaceStr(d.Sup.filename, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_11), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_12));
		importStmt = nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_10), T22_, 1);
	}
	LA17_: ;
	T23_ = (NimStringDesc*)0;
	T23_ = rawNewString((importStmt ? importStmt->Sup.len : 0) + (content ? content->Sup.len : 0) + 0);
appendString(T23_, importStmt);
appendString(T23_, content);
	writeFile__D6Pj9c29aCLEJP9beOWa08HYA(outp, T23_);
	{
		NIM_BOOL T26_;
		NimStringDesc* T29_;
		NimStringDesc* T30_;
		NimStringDesc* T31_;
		T26_ = (NIM_BOOL)0;
		T26_ = nsuStartsWith(cmd, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_13));
		if (!T26_) goto LA27_;
		T29_ = (NimStringDesc*)0;
		T30_ = (NimStringDesc*)0;
		T30_ = nosgetAppFilename();
		T31_ = (NimStringDesc*)0;
		T31_ = substr__iGg0RIKceRvsmvq8FUHOEw(cmd, ((NI) 3));
		T29_ = rawNewString((T30_ ? T30_->Sup.len : 0) + (T31_ ? T31_->Sup.len : 0) + 0);
appendString(T29_, T30_);
appendString(T29_, T31_);
		c = T29_;
	}
	goto LA24_;
	LA27_: ;
	{
		c = cmd;
	}
	LA24_: ;
	T33_ = (NimStringDesc*)0;
	T33_ = nospquoteShell(outp);
	c2 = nsuFormatSingleElem(c, T33_);
	rawMessage__h30HgTFwbGq0PsyHmRqZ8g((*colonenvP_).conf1, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 61), c2);
	{
		NI T36_;
		NimStringDesc* T39_;
		T36_ = (NI)0;
		T36_ = nosexecShellCmd(c2);
		if (!!((T36_ == status))) goto LA37_;
		T39_ = (NimStringDesc*)0;
		T39_ = rawNewString((c2 ? c2->Sup.len : 0) + 38);
appendString(T39_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_14));
appendString(T39_, c2);
		rawMessage__h30HgTFwbGq0PsyHmRqZ8g((*colonenvP_).conf1, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 9), T39_);
	}
	LA37_: ;
}
static N_INLINE(NIM_BOOL, isEmpty__ZNWb41IwBSHCUIjlqlGoxgpathutils)(NimStringDesc* x) {	NIM_BOOL result;
	result = (NIM_BOOL)0;
	result = ((x ? x->Sup.len : 0) == ((NI) 0));
	return result;
}
static N_INLINE(NIM_BOOL, isEmpty__bFmAIl9aL9a1UuSf9ckLiDlVwpathutils)(NimStringDesc* x) {	NIM_BOOL result;
	result = (NIM_BOOL)0;
	result = ((x ? x->Sup.len : 0) == ((NI) 0));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getOutFile2__ssBmHr9b6LDWo9ar7lHLFTpw)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename, NimStringDesc* ext, NimStringDesc* dir, NIM_BOOL guessTarget) {	NimStringDesc* result;
	result = (NimStringDesc*)0;
	{
		NimStringDesc* d;
		NimStringDesc* T11_;
		if (!(((*conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 33))&63U)))!=0)) goto LA3_;
		{
			NIM_BOOL T7_;
			T7_ = (NIM_BOOL)0;
			T7_ = isEmpty__ZNWb41IwBSHCUIjlqlGoxgpathutils((*conf).outDir);
			if (!T7_) goto LA8_;
			d = slash___0U8YTiSB6NvFwgvyimFN2Q((*conf).projectPath, dir);
		}
		goto LA5_;
		LA8_: ;
		{
			d = (*conf).outDir;
		}
		LA5_: ;
		noscreateDir(d);
		T11_ = (NimStringDesc*)0;
		T11_ = noschangeFileExt(filename, ext);
		result = slash___QVqo5OOQAdrjFqBsPctklw(d, T11_);
	}
	goto LA1_;
	LA3_: ;
	{
		NimStringDesc* d_2;
		NimStringDesc* T21_;
		if (!guessTarget) goto LA13_;
		{
			NIM_BOOL T17_;
			T17_ = (NIM_BOOL)0;
			T17_ = isEmpty__ZNWb41IwBSHCUIjlqlGoxgpathutils((*conf).outDir);
			if (!!(T17_)) goto LA18_;
			d_2 = (*conf).outDir;
		}
		goto LA15_;
		LA18_: ;
		{
			d_2 = (*conf).projectPath;
		}
		LA15_: ;
		noscreateDir(d_2);
		T21_ = (NimStringDesc*)0;
		T21_ = noschangeFileExt(filename, ext);
		result = slash___QVqo5OOQAdrjFqBsPctklw(d_2, T21_);
	}
	goto LA1_;
	LA13_: ;
	{
		NIM_BOOL T23_;
		T23_ = (NIM_BOOL)0;
		T23_ = isEmpty__bFmAIl9aL9a1UuSf9ckLiDlVwpathutils((*conf).outFile);
		if (!!(T23_)) goto LA24_;
		result = absOutFile__ea9bsNo9cwchKzwCi7UjcP7g(conf);
	}
	goto LA1_;
	LA24_: ;
	{
		result = getOutFile__wyg2NQihYStyX9aXfJMkKlg(conf, filename, ext);
	}
	LA1_: ;
	return result;
}
static N_INLINE(void, nimGCunrefNoCycle)(void* p) {	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
	T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
	T1_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(p);
	decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T1_);
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ*, newDocumentor__zcomu9bLnkDXHD9ce5rwT1lw)(NimStringDesc* filename, tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* outExt) {	tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* result;
	tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw* colonenv_;
	tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* T1_;
	tyEnum_OutputTarget__lDlBg9cTod71s9abpUj82lsw T2_;
	tyProc__lRW9cfxqfm1ql4gkxfLReYg T8_;
	tyProc__r4CIWZzpiVlkxuVaaDT8Lw T9_;
	tyProc__t9cP9cH9bP2v9cQZNd2RjMTNLg T17_;
	NimStringDesc* T18_;
	tyTuple__7q7q3E6Oj24ZNVJb9aonhAg T19_;
	NimStringDesc* T20_;
	result = (tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ*)0;
	colonenv_ = (tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw*)0;
	colonenv_ = (tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw*) newObj((&NTI__MOKapgGVbqFH8suCJ8g2zw_), sizeof(tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw));
	(*colonenv_).Sup.m_type = (&NTI__788TS19aIcHv9b9aA3bG9bzTIw_);
	asgnRef((void**) (&(*colonenv_).conf1), conf);
	result = (tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ*) newObj((&NTI__ZoZ1pRtzmEiOBBpTrqMZHA_), sizeof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ));
	(*result).Sup.Sup.m_type = (&NTI__aItnR9bvqDIftcasLwUztVQ_);
	asgnRef((void**) (&(*result).conf), (*colonenv_).conf1);
	asgnRef((void**) (&(*result).cache), cache);
	T1_ = (tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg*)0;
	T1_ = &result->Sup;
	T2_ = (tyEnum_OutputTarget__lDlBg9cTod71s9abpUj82lsw)0;
	{
		if (!!(((*(*colonenv_).conf1).cmd == ((tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw) 17)))) goto LA5_;
		T2_ = ((tyEnum_OutputTarget__lDlBg9cTod71s9abpUj82lsw) 0);
	}
	goto LA3_;
	LA5_: ;
	{
		T2_ = ((tyEnum_OutputTarget__lDlBg9cTod71s9abpUj82lsw) 1);
	}
	LA3_: ;
	nimZeroMem((void*)(&T8_), sizeof(tyProc__lRW9cfxqfm1ql4gkxfLReYg));
	T8_.ClP_0 = docgenFindFile__PNlV3wEQMM2i4c9af9bEJXYg; T8_.ClE_0 = colonenv_;
	nimZeroMem((void*)(&T9_), sizeof(tyProc__r4CIWZzpiVlkxuVaaDT8Lw));
	T9_.ClP_0 = compilerMsgHandler__kJXyqE0NzC23UsQ9c2Rz9ckA; T9_.ClE_0 = colonenv_;
	initRstGenerator__BWbIBXSMTyNrKpXn9cX42Ow(T1_, T2_, (*(*colonenv_).conf1).configVars, filename, 12, T8_, T9_);
	{
		NIM_BOOL T12_;
		tyArray__nHXaesL0DJZHyVS07ARPRA T15_;
		T12_ = (NIM_BOOL)0;
		T12_ = nsthasKey((*(*colonenv_).conf1).configVars, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_4));
		if (!T12_) goto LA13_;
		nimZeroMem((void*)T15_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
		T15_[0] = getOrDefault__2a0cbxcfpWcXtK45m9bR5Kg((*(*colonenv_).conf1).configVars, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_6), ((NimStringDesc*) NIM_NIL));
		asgnRef((void**) (&(*result).analytics), nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_5), T15_, 1));
	}
	goto LA10_;
	LA13_: ;
	{
		asgnRef((void**) (&(*result).analytics), ((NimStringDesc*) NIM_NIL));
	}
	LA10_: ;
	asgnRef((void**) (&(*result).seenSymbols), nstnewStringTable(((tyEnum_StringTableMode__G9c4wVDFIzf0xHmQvxso9a9cQ) 1)));
	(*result).Sup.id = ((NI) 100);
	asgnRef((void**) (&(*result).jArray), newJArray__nXwnFPu9beTnGPwglrr7ztA_3());
	initStrTable__2n9b6ELeZfbbP5wqNYm7VyA((&(*result).types));
	nimZeroMem((void*)(&T17_), sizeof(tyProc__t9cP9cH9bP2v9cQZNd2RjMTNLg));
	T17_.ClP_0 = colonanonymous___lXH9a1Nl9bSM9anPrDuOOjsjg; T17_.ClE_0 = colonenv_;
	asgnRef((void**) (&(*result).Sup.onTestSnippet.ClE_0), T17_.ClE_0);
	(*result).Sup.onTestSnippet.ClP_0 = T17_.ClP_0;
	initIntSet__n8oDZMn19bEdodSnrBQB9a1Q((&(*result).emitted));
	T18_ = (NimStringDesc*)0;
	T18_ = relativeTo__zjjWvxBunys9bbBJHoqyLyQ(filename, (*(*colonenv_).conf1).projectPath, 47);
	asgnRef((void**) (&(*result).destFile), getOutFile2__ssBmHr9b6LDWo9ar7lHLFTpw((*colonenv_).conf1, T18_, outExt, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_15), NIM_FALSE));
	nimZeroMem((void*)(&T19_), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg));
	splitFile__z7B4FbwzX3Y0L1EA2lLGXw((*result).destFile, (&T19_));
	T20_ = (NimStringDesc*)0;
	T20_ = (*result).thisDir; (*result).thisDir = copyStringRC1(T19_.Field0);
	if (T20_) nimGCunrefNoCycle(T20_);
	return result;
}
static N_INLINE(NI, len__P89cqdlERShb9alU3iC0yj8wast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	NI result;
	NI T1_;
	result = (NI)0;
	if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
	T1_ = ((*n).sons ? (*n).sons->Sup.len : 0);
	result = T1_;
	return result;
}
static N_INLINE(NI, safeLen__P89cqdlERShb9alU3iC0yj8w_2ast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	NI result;
	result = (NI)0;
	{
		if (!((*n).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 0) && (*n).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 23))) goto LA3_;
		result = ((NI) 0);
	}
	goto LA1_;
	LA3_: ;
	{
		result = len__P89cqdlERShb9alU3iC0yj8wast(n);
	}
	LA1_: ;
	return result;
}
static N_INLINE(NI, subInt)(NI a, NI b) {	NI result;
{	result = (NI)0;
	result = (NI)((NU64)(a) - (NU64)(b));
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (((NI) 0) <= (NI)(result ^ a));
		if (T3_) goto LA4_;
		T3_ = (((NI) 0) <= (NI)(result ^ (NI)((NU64) ~(b))));
		LA4_: ;
		if (!T3_) goto LA5_;
		goto BeforeRet_;
	}
	LA5_: ;
	raiseOverflow();
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, getVarIdx__MkK6vdaNQ6XNXG2RGNC9a9aw)(NimStringDesc** varnames, NI varnamesLen_0, NimStringDesc* id) {	NI result;
{	result = (NI)0;
	{
		NI i;
		NI colontmp_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = (varnamesLen_0-1);
		res = ((NI) 0);
		{
			while (1) {
				NI TM__5fUAZGW8WPeit3fZaQyNXA_34;
				if (!(res <= colontmp_)) goto LA3;
				i = res;
				{
					NI T6_;
					if ((NU)(i) >= (NU)(varnamesLen_0)) raiseIndexError2(i,varnamesLen_0-1);
					T6_ = (NI)0;
					T6_ = nsuCmpIgnoreStyle(varnames[i], id);
					if (!(T6_ == ((NI) 0))) goto LA7_;
					result = i;
					goto BeforeRet_;
				}
				LA7_: ;
				TM__5fUAZGW8WPeit3fZaQyNXA_34 = addInt(res, ((NI) 1));
				res = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_34);
			} LA3: ;
		}
	}
	result = ((NI) -1);
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, ropeFormatNamedVars__C7idxrvpR7GOGT9c4FWXrBQ)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* frmt, NimStringDesc** varnames, NI varnamesLen_0, tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** varvalues, NI varvaluesLen_0) {	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* result;
	NI i;
	NI L;
	NI num;
	result = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
	i = ((NI) 0);
	L = (frmt ? frmt->Sup.len : 0);
	result = NIM_NIL;
	num = ((NI) 0);
	{
		while (1) {
			NI start;
			if (!(i < L)) goto LA2;
			{
				NI TM__5fUAZGW8WPeit3fZaQyNXA_19;
				if ((NU)(i) >= (NU)(frmt ? frmt->Sup.len : 0)) raiseIndexError2(i,(frmt ? frmt->Sup.len : 0)-1);
				if (!((NU8)(frmt->data[i]) == (NU8)(36))) goto LA5_;
				TM__5fUAZGW8WPeit3fZaQyNXA_19 = addInt(i, ((NI) 1));
				i = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_19);
				if ((NU)(i) >= (NU)(frmt ? frmt->Sup.len : 0)) raiseIndexError2(i,(frmt ? frmt->Sup.len : 0)-1);
				switch (((NU8)(frmt->data[i]))) {
				case 35:
				{
					NI TM__5fUAZGW8WPeit3fZaQyNXA_20;
					NI TM__5fUAZGW8WPeit3fZaQyNXA_21;
					if ((NU)(num) >= (NU)(varvaluesLen_0)) raiseIndexError2(num,varvaluesLen_0-1);
					add__IM4kcMNkkOLJtqdEqSxR8A(&result, varvalues[num]);
					TM__5fUAZGW8WPeit3fZaQyNXA_20 = addInt(num, ((NI) 1));
					num = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_20);
					TM__5fUAZGW8WPeit3fZaQyNXA_21 = addInt(i, ((NI) 1));
					i = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_21);
				}
				break;
				case 36:
				{
					NI TM__5fUAZGW8WPeit3fZaQyNXA_23;
					add__yG4AKzsBRS1W4MANDlXQeg(&result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_22));
					TM__5fUAZGW8WPeit3fZaQyNXA_23 = addInt(i, ((NI) 1));
					i = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_23);
				}
				break;
				case 48 ... 57:
				{
					NI j;
					NI TM__5fUAZGW8WPeit3fZaQyNXA_32;
					j = ((NI) 0);
					{
						while (1) {
							NI TM__5fUAZGW8WPeit3fZaQyNXA_24;
							NI TM__5fUAZGW8WPeit3fZaQyNXA_25;
							NI TM__5fUAZGW8WPeit3fZaQyNXA_26;
							NI TM__5fUAZGW8WPeit3fZaQyNXA_27;
							TM__5fUAZGW8WPeit3fZaQyNXA_24 = mulInt(j, ((NI) 10));
							if ((NU)(i) >= (NU)(frmt ? frmt->Sup.len : 0)) raiseIndexError2(i,(frmt ? frmt->Sup.len : 0)-1);
							TM__5fUAZGW8WPeit3fZaQyNXA_25 = addInt((NI)(TM__5fUAZGW8WPeit3fZaQyNXA_24), ((NU8)(frmt->data[i])));
							TM__5fUAZGW8WPeit3fZaQyNXA_26 = subInt((NI)(TM__5fUAZGW8WPeit3fZaQyNXA_25), ((NI) 48));
							j = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_26);
							TM__5fUAZGW8WPeit3fZaQyNXA_27 = addInt(i, ((NI) 1));
							i = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_27);
							{
								NIM_BOOL T14_;
								NI TM__5fUAZGW8WPeit3fZaQyNXA_28;
								NI TM__5fUAZGW8WPeit3fZaQyNXA_29;
								T14_ = (NIM_BOOL)0;
								TM__5fUAZGW8WPeit3fZaQyNXA_28 = addInt(L, ((NI) 0));
								TM__5fUAZGW8WPeit3fZaQyNXA_29 = subInt((NI)(TM__5fUAZGW8WPeit3fZaQyNXA_28), ((NI) 1));
								T14_ = ((NI)(TM__5fUAZGW8WPeit3fZaQyNXA_29) < i);
								if (T14_) goto LA15_;
								if ((NU)(i) >= (NU)(frmt ? frmt->Sup.len : 0)) raiseIndexError2(i,(frmt ? frmt->Sup.len : 0)-1);
								T14_ = !((((NU8)(frmt->data[i])) >= ((NU8)(48)) && ((NU8)(frmt->data[i])) <= ((NU8)(57))));
								LA15_: ;
								if (!T14_) goto LA16_;
								goto LA10;
							}
							LA16_: ;
						}
					} LA10: ;
					{
						NI TM__5fUAZGW8WPeit3fZaQyNXA_30;
						NimStringDesc* T22_;
						TM__5fUAZGW8WPeit3fZaQyNXA_30 = addInt((varvaluesLen_0-1), ((NI) 1));
						if (!((NI)(TM__5fUAZGW8WPeit3fZaQyNXA_30) < j)) goto LA20_;
						T22_ = (NimStringDesc*)0;
						T22_ = rawNewString((frmt ? frmt->Sup.len : 0) + 36);
appendString(T22_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_31));
appendString(T22_, frmt);
						rawMessage__h30HgTFwbGq0PsyHmRqZ8g(conf, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 9), T22_);
					}
					LA20_: ;
					num = j;
					TM__5fUAZGW8WPeit3fZaQyNXA_32 = subInt(j, ((NI) 1));
					if ((NU)((NI)(TM__5fUAZGW8WPeit3fZaQyNXA_32)) >= (NU)(varvaluesLen_0)) raiseIndexError2((NI)(TM__5fUAZGW8WPeit3fZaQyNXA_32),varvaluesLen_0-1);
					add__IM4kcMNkkOLJtqdEqSxR8A(&result, varvalues[(NI)(TM__5fUAZGW8WPeit3fZaQyNXA_32)]);
				}
				break;
				case 65 ... 90:
				case 97 ... 122:
				case 128 ... 255:
				{
					NimStringDesc* id;
					NI idx;
					id = ((NimStringDesc*) NIM_NIL);
					{
						while (1) {
							NI TM__5fUAZGW8WPeit3fZaQyNXA_33;
							if ((NU)(i) >= (NU)(frmt ? frmt->Sup.len : 0)) raiseIndexError2(i,(frmt ? frmt->Sup.len : 0)-1);
							id = addChar(id, frmt->data[i]);
							TM__5fUAZGW8WPeit3fZaQyNXA_33 = addInt(i, ((NI) 1));
							i = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_33);
							{
								if ((NU)(i) >= (NU)(frmt ? frmt->Sup.len : 0)) raiseIndexError2(i,(frmt ? frmt->Sup.len : 0)-1);
								if (!!((((NU8)(frmt->data[i])) >= ((NU8)(65)) && ((NU8)(frmt->data[i])) <= ((NU8)(90)) || ((NU8)(frmt->data[i])) == ((NU8)(95)) || ((NU8)(frmt->data[i])) >= ((NU8)(97)) && ((NU8)(frmt->data[i])) <= ((NU8)(122)) || ((NU8)(frmt->data[i])) >= ((NU8)(128)) && ((NU8)(frmt->data[i])) <= ((NU8)(255))))) goto LA28_;
								goto LA24;
							}
							LA28_: ;
						}
					} LA24: ;
					idx = getVarIdx__MkK6vdaNQ6XNXG2RGNC9a9aw(varnames, varnamesLen_0, id);
					{
						if (!(((NI) 0) <= idx)) goto LA32_;
						if ((NU)(idx) >= (NU)(varvaluesLen_0)) raiseIndexError2(idx,varvaluesLen_0-1);
						add__IM4kcMNkkOLJtqdEqSxR8A(&result, varvalues[idx]);
					}
					goto LA30_;
					LA32_: ;
					{
						NimStringDesc* T35_;
						T35_ = (NimStringDesc*)0;
						T35_ = rawNewString((id ? id->Sup.len : 0) + 29);
appendString(T35_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_35));
appendString(T35_, id);
						rawMessage__h30HgTFwbGq0PsyHmRqZ8g(conf, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 9), T35_);
					}
					LA30_: ;
				}
				break;
				case 123:
				{
					NimStringDesc* id_2;
					NI TM__5fUAZGW8WPeit3fZaQyNXA_36;
					NI idx_2;
					id_2 = ((NimStringDesc*) NIM_NIL);
					TM__5fUAZGW8WPeit3fZaQyNXA_36 = addInt(i, ((NI) 1));
					i = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_36);
					{
						while (1) {
							NIM_BOOL T39_;
							NI TM__5fUAZGW8WPeit3fZaQyNXA_37;
							T39_ = (NIM_BOOL)0;
							T39_ = (i < (frmt ? frmt->Sup.len : 0));
							if (!(T39_)) goto LA40_;
							if ((NU)(i) >= (NU)(frmt ? frmt->Sup.len : 0)) raiseIndexError2(i,(frmt ? frmt->Sup.len : 0)-1);
							T39_ = !(((NU8)(frmt->data[i]) == (NU8)(125)));
							LA40_: ;
							if (!T39_) goto LA38;
							if ((NU)(i) >= (NU)(frmt ? frmt->Sup.len : 0)) raiseIndexError2(i,(frmt ? frmt->Sup.len : 0)-1);
							id_2 = addChar(id_2, frmt->data[i]);
							TM__5fUAZGW8WPeit3fZaQyNXA_37 = addInt(i, ((NI) 1));
							i = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_37);
						} LA38: ;
					}
					{
						if (!((frmt ? frmt->Sup.len : 0) <= i)) goto LA43_;
						rawMessage__h30HgTFwbGq0PsyHmRqZ8g(conf, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 9), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_38));
					}
					goto LA41_;
					LA43_: ;
					{
						NI TM__5fUAZGW8WPeit3fZaQyNXA_39;
						TM__5fUAZGW8WPeit3fZaQyNXA_39 = addInt(i, ((NI) 1));
						i = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_39);
					}
					LA41_: ;
					idx_2 = getVarIdx__MkK6vdaNQ6XNXG2RGNC9a9aw(varnames, varnamesLen_0, id_2);
					{
						if (!(((NI) 0) <= idx_2)) goto LA48_;
						if ((NU)(idx_2) >= (NU)(varvaluesLen_0)) raiseIndexError2(idx_2,varvaluesLen_0-1);
						add__IM4kcMNkkOLJtqdEqSxR8A(&result, varvalues[idx_2]);
					}
					goto LA46_;
					LA48_: ;
					{
						NimStringDesc* T51_;
						T51_ = (NimStringDesc*)0;
						T51_ = rawNewString((id_2 ? id_2->Sup.len : 0) + 29);
appendString(T51_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_35));
appendString(T51_, id_2);
						rawMessage__h30HgTFwbGq0PsyHmRqZ8g(conf, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 9), T51_);
					}
					LA46_: ;
				}
				break;
				default:
				{
					add__yG4AKzsBRS1W4MANDlXQeg(&result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_22));
				}
				break;
				}
			}
			LA5_: ;
			start = i;
			{
				while (1) {
					if (!(i < L)) goto LA54;
					{
						NI TM__5fUAZGW8WPeit3fZaQyNXA_40;
						if ((NU)(i) >= (NU)(frmt ? frmt->Sup.len : 0)) raiseIndexError2(i,(frmt ? frmt->Sup.len : 0)-1);
						if (!!(((NU8)(frmt->data[i]) == (NU8)(36)))) goto LA57_;
						TM__5fUAZGW8WPeit3fZaQyNXA_40 = addInt(i, ((NI) 1));
						i = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_40);
					}
					goto LA55_;
					LA57_: ;
					{
						goto LA53;
					}
					LA55_: ;
				} LA54: ;
			} LA53: ;
			{
				NI TM__5fUAZGW8WPeit3fZaQyNXA_41;
				NI TM__5fUAZGW8WPeit3fZaQyNXA_42;
				NimStringDesc* T64_;
				TM__5fUAZGW8WPeit3fZaQyNXA_41 = subInt(i, ((NI) 1));
				if (!(start <= (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_41))) goto LA62_;
				TM__5fUAZGW8WPeit3fZaQyNXA_42 = subInt(i, ((NI) 1));
				T64_ = (NimStringDesc*)0;
				T64_ = substr__2yh9cer0ymNRHlOOg8P7IuA(frmt, start, (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_42));
				add__yG4AKzsBRS1W4MANDlXQeg(&result, T64_);
			}
			LA62_: ;
		} LA2: ;
	}
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, genDeprecationMsg__CsFui9bBKN4zbV9c9cdppnsLA)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* result;
	NI T5_;
{	result = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
	{
		if (!(n == NIM_NIL)) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	T5_ = (NI)0;
	T5_ = safeLen__P89cqdlERShb9alU3iC0yj8w_2ast(n);
	switch (T5_) {
	case ((NI) 0):
	{
		NimStringDesc* T7_;
		tyArray__mrugoXXRZUEeG9bEXo9auBKw T8_;
		tyArray__qTjAvTvKF9anytN1At69aJMQ T9_;
		T7_ = (NimStringDesc*)0;
		T7_ = getConfigVar__nT6pi8CimjduqrsM6Cc8mQ((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_43), ((NimStringDesc*) NIM_NIL));
		nimZeroMem((void*)T8_, sizeof(tyArray__mrugoXXRZUEeG9bEXo9auBKw));
		nimZeroMem((void*)T9_, sizeof(tyArray__qTjAvTvKF9anytN1At69aJMQ));
		T8_[0] = percent___UQrwMIIitnm9cEflSXdCkPg(T9_, 0);
		T8_[1] = NIM_NIL;
		result = ropeFormatNamedVars__C7idxrvpR7GOGT9c4FWXrBQ((*d).conf, T7_, TM__5fUAZGW8WPeit3fZaQyNXA_44, 2, T8_, 2);
	}
	break;
	case ((NI) 2):
	{
		{
			NimStringDesc* T15_;
			tyArray__mrugoXXRZUEeG9bEXo9auBKw T16_;
			tyArray__qTjAvTvKF9anytN1At69aJMQ T17_;
			NimStringDesc* T18_;
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 1)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			if (!((*(*n).sons->data[((NI) 1)]).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20) && (*(*n).sons->data[((NI) 1)]).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 22))) goto LA13_;
			T15_ = (NimStringDesc*)0;
			T15_ = getConfigVar__nT6pi8CimjduqrsM6Cc8mQ((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_43), ((NimStringDesc*) NIM_NIL));
			nimZeroMem((void*)T16_, sizeof(tyArray__mrugoXXRZUEeG9bEXo9auBKw));
			nimZeroMem((void*)T17_, sizeof(tyArray__qTjAvTvKF9anytN1At69aJMQ));
			T16_[0] = percent___A9aKFJUF6ZjJQfrcPHJigOQ(T17_, 0);
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 1)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_47[(NU)((*(*n).sons->data[((NI) 1)]).kind)>>3] &(1U<<((NU)((*(*n).sons->data[((NI) 1)]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_48));
			T18_ = (NimStringDesc*)0;
			T18_ = escape__MqjZ9c9b479ayFgA5h9aAscAFA((*(*n).sons->data[((NI) 1)]).strVal);
			T16_[1] = rope__yShmEg9cffWxI7s5XzEKBow(T18_);
			result = ropeFormatNamedVars__C7idxrvpR7GOGT9c4FWXrBQ((*d).conf, T15_, TM__5fUAZGW8WPeit3fZaQyNXA_44, 2, T16_, 2);
		}
		LA13_: ;
	}
	break;
	default:
	{
		{
			if (!NIM_TRUE) goto LA22_;
			failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_49));
		}
		LA22_: ;
	}
	break;
	}
	}BeforeRet_: ;
	return result;
}
static N_NIMCALL(void, Marker_tyRef__LZFYbsjUDupKrnbLTlxlLg)(void* p, NI op) {
	tyObject_Env_docgendotnim___T7vYRLVTgrddhYR9aLyhV0Q* a;
	a = (tyObject_Env_docgendotnim___T7vYRLVTgrddhYR9aLyhV0Q*)p;
	nimGCvisit((void*)(*a).conf1, op);
}
N_LIB_PRIVATE N_CLOSURE(NimStringDesc*, docgenFindFile__2ZYq8yCEPmKYmPER6rohxA)(NimStringDesc* sX60gensym697241_, void* ClE_0) {	NimStringDesc* result;
	tyObject_Env_docgendotnim___T7vYRLVTgrddhYR9aLyhV0Q* colonenvP_;
	result = (NimStringDesc*)0;
	colonenvP_ = (tyObject_Env_docgendotnim___T7vYRLVTgrddhYR9aLyhV0Q*) ClE_0;
	result = findFile__Jsd6LfkMRIXL9b0vzcHVYOA((*colonenvP_).conf1, sX60gensym697241_, NIM_FALSE);
	{
		NimStringDesc* T5_;
		if (!((result ? result->Sup.len : 0) == ((NI) 0))) goto LA3_;
		T5_ = (NimStringDesc*)0;
		T5_ = nosgetCurrentDir();
		result = slash___gEyhbzZ1UcxyenWRLJRXNQ(T5_, sX60gensym697241_);
		{
			NIM_BOOL T8_;
			T8_ = (NIM_BOOL)0;
			T8_ = nosexistsFile(result);
			if (!!(T8_)) goto LA9_;
			result = ((NimStringDesc*) NIM_NIL);
		}
		LA9_: ;
	}
	LA3_: ;
	return result;
}
N_LIB_PRIVATE N_CLOSURE(void, compilerMsgHandler__1daY3RWh4iADuUWbuu9bgcw)(NimStringDesc* filenameX60gensym697235_, NI lineX60gensym697236_, NI colX60gensym697237_, tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ msgKindX60gensym697238_, NimStringDesc* argX60gensym697239_, void* ClE_0) {	tyObject_Env_docgendotnim___T7vYRLVTgrddhYR9aLyhV0Q* colonenvP_;
	tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w kX60gensym697240_;
	tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q T11_;
	colonenvP_ = (tyObject_Env_docgendotnim___T7vYRLVTgrddhYR9aLyhV0Q*) ClE_0;
	kX60gensym697240_ = (tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w)0;
	switch (msgKindX60gensym697238_) {
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 0):
	{
		kX60gensym697240_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 3);
	}
	break;
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 1):
	{
		kX60gensym697240_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 4);
	}
	break;
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 2):
	{
		kX60gensym697240_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 5);
	}
	break;
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 3):
	{
		kX60gensym697240_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 7);
	}
	break;
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 4):
	{
		kX60gensym697240_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 6);
	}
	break;
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 5):
	{
		kX60gensym697240_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 8);
	}
	break;
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 6):
	{
		kX60gensym697240_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 19);
	}
	break;
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 7):
	{
		kX60gensym697240_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 20);
	}
	break;
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 8):
	{
		kX60gensym697240_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 21);
	}
	break;
	case ((tyEnum_MsgKind__iviJnHlj9acPYlnNRbd9bhkQ) 9):
	{
		kX60gensym697240_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 22);
	}
	break;
	}
	T11_ = newLineInfo__q6yS31W9c9bTxOv5YvOB1n7gmsgs((*colonenvP_).conf1, filenameX60gensym697235_, lineX60gensym697236_, colX60gensym697237_);
	globalError__mMj7lrOf3zBP9bl69amiKu5g_2((*colonenvP_).conf1, T11_, kX60gensym697240_, argX60gensym697239_);
}
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode__CjRS2xrmuD58kdGedE3yyg*, parseRst__U0R9a9aB9ccn8lJ7U1XqFb10Q)(NimStringDesc* text, NimStringDesc* filename, NI line, NI column, NIM_BOOL* hasToc, tySet_tyEnum_RstParseOption__fiZmsylYkyh6nEciRZcPsw rstOptions, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {	tyObject_RstNode__CjRS2xrmuD58kdGedE3yyg* result;
	tyObject_Env_docgendotnim___T7vYRLVTgrddhYR9aLyhV0Q* colonenv_;
	tyProc__lRW9cfxqfm1ql4gkxfLReYg T1_;
	tyProc__r4CIWZzpiVlkxuVaaDT8Lw T2_;
	result = (tyObject_RstNode__CjRS2xrmuD58kdGedE3yyg*)0;
	colonenv_ = (tyObject_Env_docgendotnim___T7vYRLVTgrddhYR9aLyhV0Q*)0;
	colonenv_ = (tyObject_Env_docgendotnim___T7vYRLVTgrddhYR9aLyhV0Q*) newObj((&NTI__LZFYbsjUDupKrnbLTlxlLg_), sizeof(tyObject_Env_docgendotnim___T7vYRLVTgrddhYR9aLyhV0Q));
	(*colonenv_).Sup.m_type = (&NTI__T7vYRLVTgrddhYR9aLyhV0Q_);
	asgnRef((void**) (&(*colonenv_).conf1), conf);
	nimZeroMem((void*)(&T1_), sizeof(tyProc__lRW9cfxqfm1ql4gkxfLReYg));
	T1_.ClP_0 = docgenFindFile__2ZYq8yCEPmKYmPER6rohxA; T1_.ClE_0 = colonenv_;
	nimZeroMem((void*)(&T2_), sizeof(tyProc__r4CIWZzpiVlkxuVaaDT8Lw));
	T2_.ClP_0 = compilerMsgHandler__1daY3RWh4iADuUWbuu9bgcw; T2_.ClE_0 = colonenv_;
	result = rstParse__PR9aZp38SP2QYTt9bJrB8ROw(text, filename, line, column, hasToc, rstOptions, T1_, T2_);
	return result;
}
static N_INLINE(NI, toLinenumber__6D4Rmpw7LpcRI1j7CMqEsAmsgs)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {	NI result;
	result = (NI)0;
	result = ((NI) (info.line));
	return result;
}
static N_INLINE(NI, toColumn__6D4Rmpw7LpcRI1j7CMqEsA_2msgs)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {	NI result;
	result = (NI)0;
	result = ((NI) (info.col));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, genComment__1NsSIzkKMtq49acu82VJUxg)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	NimStringDesc* result;
	NIM_BOOL dummyHasToc;
	result = (NimStringDesc*)0;
	result = ((NimStringDesc*) NIM_NIL);
	dummyHasToc = (NIM_BOOL)0;
	{
		tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* T5_;
		NimStringDesc* T6_;
		NI T7_;
		NI T8_;
		tyObject_RstNode__CjRS2xrmuD58kdGedE3yyg* T9_;
		if (!(((NI) 0) < ((*n).comment ? (*n).comment->Sup.len : 0))) goto LA3_;
		T5_ = (tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg*)0;
		T5_ = &d->Sup;
		T6_ = (NimStringDesc*)0;
		T6_ = toFullPath__VW1RaR1l9c9bPnJxr1KuvIrg((*d).conf, (*n).info.fileIndex);
		T7_ = (NI)0;
		T7_ = toLinenumber__6D4Rmpw7LpcRI1j7CMqEsAmsgs((*n).info);
		T8_ = (NI)0;
		T8_ = toColumn__6D4Rmpw7LpcRI1j7CMqEsA_2msgs((*n).info);
		T9_ = (tyObject_RstNode__CjRS2xrmuD58kdGedE3yyg*)0;
		T9_ = parseRst__U0R9a9aB9ccn8lJ7U1XqFb10Q((*n).comment, T6_, T7_, T8_, (&dummyHasToc), (*d).Sup.options, (*d).conf);
		renderRstToOut__9bVWgX0SWmhEi3eHlrcMD8g(T5_, T9_, (&result));
	}
	LA3_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, documentEffect__pcvClInajR04YlyHZGrbzA)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x, tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw effectType, NI idx) {	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* spec;
{	result = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
	spec = effectSpec__bT2fsf3zXYRpjYdeea19aAA(x, effectType);
	{
		tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* s;
		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* actual;
		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* real;
		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* effects;
		NI T10_;
		tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* T20_;
		tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* T21_;
		if (!(spec == 0)) goto LA3_;
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*(*n).sons->data[((NI) 0)]).kind)>>3] &(1U<<((NU)((*(*n).sons->data[((NI) 0)]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
		s = (*(*n).sons->data[((NI) 0)]).sym;
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*(*(*s).typ).n).kind)>>3] &(1U<<((NU)((*(*(*s).typ).n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*(*(*s).typ).n).sons ? (*(*(*s).typ).n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*(*(*s).typ).n).sons ? (*(*(*s).typ).n).sons->Sup.len : 0)-1);
		actual = (*(*(*s).typ).n).sons->data[((NI) 0)];
		{
			NI T7_;
			T7_ = (NI)0;
			T7_ = len__P89cqdlERShb9alU3iC0yj8wast(actual);
			if (!!((T7_ == ((NI) 5)))) goto LA8_;
			goto BeforeRet_;
		}
		LA8_: ;
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*actual).kind)>>3] &(1U<<((NU)((*actual).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(idx) >= (NU)((*actual).sons ? (*actual).sons->Sup.len : 0)) raiseIndexError2(idx,((*actual).sons ? (*actual).sons->Sup.len : 0)-1);
		real = (*actual).sons->data[idx];
		T10_ = (NI)0;
		T10_ = len__P89cqdlERShb9alU3iC0yj8wast(real);
		effects = newNodeI__UY1ElYk2XqXDzuz9cGLG1Kw(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 41), (*n).info, T10_);
		{
			NI i;
			NI colontmp_;
			NI i_2;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(real);
			i_2 = ((NI) 0);
			{
				while (1) {
					NimStringDesc* t;
					tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* T19_;
					NI TM__5fUAZGW8WPeit3fZaQyNXA_54;
					if (!(i_2 < colontmp_)) goto LA13;
					i = i_2;
					if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*real).kind)>>3] &(1U<<((NU)((*real).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
					if ((NU)(i) >= (NU)((*real).sons ? (*real).sons->Sup.len : 0)) raiseIndexError2(i,((*real).sons ? (*real).sons->Sup.len : 0)-1);
					t = typeToString__QlvraUan7WbHowhAbvDvdA((*(*real).sons->data[i]).typ, ((tyEnum_TPreferedDesc__tnd4qt9c4xddV8oKV5zyusw) 0));
					{
						NIM_BOOL T16_;
						T16_ = (NIM_BOOL)0;
						T16_ = nsuStartsWith(t, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_53));
						if (!T16_) goto LA17_;
						t = substr__iGg0RIKceRvsmvq8FUHOEw(t, ((NI) 4));
					}
					LA17_: ;
					if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*effects).kind)>>3] &(1U<<((NU)((*effects).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
					if ((NU)(i) >= (NU)((*effects).sons ? (*effects).sons->Sup.len : 0)) raiseIndexError2(i,((*effects).sons ? (*effects).sons->Sup.len : 0)-1);
					T19_ = (tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA*)0;
					T19_ = getIdent__9coBOmdXN09be4rJvXK6fQGQ(cache, t);
					asgnRef((void**) (&(*effects).sons->data[i]), newIdentNode__KZLyxk08RZ9cnzbQfphbJPQ(T19_, (*n).info));
					if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*effects).kind)>>3] &(1U<<((NU)((*effects).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
					if ((NU)(i) >= (NU)((*effects).sons ? (*effects).sons->Sup.len : 0)) raiseIndexError2(i,((*effects).sons ? (*effects).sons->Sup.len : 0)-1);
					if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*real).kind)>>3] &(1U<<((NU)((*real).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
					if ((NU)(i) >= (NU)((*real).sons ? (*real).sons->Sup.len : 0)) raiseIndexError2(i,((*real).sons ? (*real).sons->Sup.len : 0)-1);
					asgnRef((void**) (&(*(*effects).sons->data[i]).typ), (*(*real).sons->data[i]).typ);
					TM__5fUAZGW8WPeit3fZaQyNXA_54 = addInt(i_2, ((NI) 1));
					i_2 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_54);
				} LA13: ;
			}
		}
		T20_ = (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*)0;
		T20_ = (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*) newSeq((&NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_), 2);
		T21_ = (tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA*)0;
		T21_ = getIdent__9coBOmdXN09be4rJvXK6fQGQ(cache, specialWords__jS3I1dUcvbZAEuApBSUHng[(effectType)- 0]);
		asgnRef((void**) (&T20_->data[0]), newIdentNode__KZLyxk08RZ9cnzbQfphbJPQ(T21_, (*n).info));
		asgnRef((void**) (&T20_->data[1]), effects);
		result = newNode__duw0Uu9cIFXmCAaunQWIP0g(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 34), (*n).info, T20_, NIM_NIL);
	}
	LA3_: ;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, documentWriteEffect__IPIc9bSzbkNTXg0Vxi6qL3A)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw flag, NimStringDesc* pragmaName) {	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
	tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* s;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* params;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* effects;
	result = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
	if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
	if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
	if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*(*n).sons->data[((NI) 0)]).kind)>>3] &(1U<<((NU)((*(*n).sons->data[((NI) 0)]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
	s = (*(*n).sons->data[((NI) 0)]).sym;
	params = (*(*s).typ).n;
	effects = newNodeI__vokyXY9cZDshCSxFKChhG9bg(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 41), (*n).info);
	{
		NI i;
		NI colontmp_;
		NI i_2;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(params);
		i_2 = ((NI) 1);
		{
			while (1) {
				NI TM__5fUAZGW8WPeit3fZaQyNXA_55;
				if (!(i_2 < colontmp_)) goto LA3;
				i = i_2;
				{
					NIM_BOOL T6_;
					T6_ = (NIM_BOOL)0;
					if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*params).kind)>>3] &(1U<<((NU)((*params).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
					if ((NU)(i) >= (NU)((*params).sons ? (*params).sons->Sup.len : 0)) raiseIndexError2(i,((*params).sons ? (*params).sons->Sup.len : 0)-1);
					T6_ = ((*(*params).sons->data[i]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
					if (!(T6_)) goto LA7_;
					if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*params).kind)>>3] &(1U<<((NU)((*params).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
					if ((NU)(i) >= (NU)((*params).sons ? (*params).sons->Sup.len : 0)) raiseIndexError2(i,((*params).sons ? (*params).sons->Sup.len : 0)-1);
					if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*(*params).sons->data[i]).kind)>>3] &(1U<<((NU)((*(*params).sons->data[i]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
					T6_ = (((*(*(*params).sons->data[i]).sym).flags &((NU64)1<<((NU)(flag)&63U)))!=0);
					LA7_: ;
					if (!T6_) goto LA8_;
					if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*params).kind)>>3] &(1U<<((NU)((*params).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
					if ((NU)(i) >= (NU)((*params).sons ? (*params).sons->Sup.len : 0)) raiseIndexError2(i,((*params).sons ? (*params).sons->Sup.len : 0)-1);
					add__P8dDSotTW25BkfbyspojGg(effects, (*params).sons->data[i]);
				}
				LA8_: ;
				TM__5fUAZGW8WPeit3fZaQyNXA_55 = addInt(i_2, ((NI) 1));
				i_2 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_55);
			} LA3: ;
		}
	}
	{
		NI T12_;
		tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* T15_;
		tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* T16_;
		T12_ = (NI)0;
		T12_ = len__P89cqdlERShb9alU3iC0yj8wast(effects);
		if (!(((NI) 0) < T12_)) goto LA13_;
		T15_ = (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*)0;
		T15_ = (tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ*) newSeq((&NTI__ehmV9bTklH2Gt9cXHV9c0HLeQ_), 2);
		T16_ = (tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA*)0;
		T16_ = getIdent__9coBOmdXN09be4rJvXK6fQGQ(cache, pragmaName);
		asgnRef((void**) (&T15_->data[0]), newIdentNode__KZLyxk08RZ9cnzbQfphbJPQ(T16_, (*n).info));
		asgnRef((void**) (&T15_->data[1]), effects);
		result = newNode__duw0Uu9cIFXmCAaunQWIP0g(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 34), (*n).info, T15_, NIM_NIL);
	}
	LA13_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, documentNewEffect__iKOR2aWWACOqq4zd7hmg7w)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
	tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* s;
	result = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
	if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
	if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
	if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*(*n).sons->data[((NI) 0)]).kind)>>3] &(1U<<((NU)((*(*n).sons->data[((NI) 0)]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
	s = (*(*n).sons->data[((NI) 0)]).sym;
	{
		tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* T5_;
		if (!(((*(*s).typ).flags &((NU64)1<<((NU)(((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 3))&63U)))!=0)) goto LA3_;
		T5_ = (tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA*)0;
		T5_ = getIdent__9coBOmdXN09be4rJvXK6fQGQ(cache, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_57));
		result = newIdentNode__KZLyxk08RZ9cnzbQfphbJPQ(T5_, (*n).info);
	}
	LA3_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, documentRaises__hkgQwVnJ9aLSGn9aEOV0GSag)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* pragmas;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p1;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p2;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p3;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p4;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* p5;
{	{
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		if (!!(((*(*n).sons->data[((NI) 0)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3)))) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
	if ((NU)(((NI) 4)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 4),((*n).sons ? (*n).sons->Sup.len : 0)-1);
	pragmas = (*n).sons->data[((NI) 4)];
	p1 = documentEffect__pcvClInajR04YlyHZGrbzA(cache, n, pragmas, ((tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw) 162), ((NI) 0));
	p2 = documentEffect__pcvClInajR04YlyHZGrbzA(cache, n, pragmas, ((tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw) 167), ((NI) 3));
	p3 = documentWriteEffect__IPIc9bSzbkNTXg0Vxi6qL3A(cache, n, ((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 28), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_56));
	p4 = documentNewEffect__iKOR2aWWACOqq4zd7hmg7w(cache, n);
	p5 = documentWriteEffect__IPIc9bSzbkNTXg0Vxi6qL3A(cache, n, ((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 18), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_58));
	{
		NIM_BOOL T7_;
		NIM_BOOL T8_;
		NIM_BOOL T9_;
		NIM_BOOL T10_;
		T7_ = (NIM_BOOL)0;
		T8_ = (NIM_BOOL)0;
		T9_ = (NIM_BOOL)0;
		T10_ = (NIM_BOOL)0;
		T10_ = !((p1 == NIM_NIL));
		if (T10_) goto LA11_;
		T10_ = !((p2 == NIM_NIL));
		LA11_: ;
		T9_ = T10_;
		if (T9_) goto LA12_;
		T9_ = !((p3 == NIM_NIL));
		LA12_: ;
		T8_ = T9_;
		if (T8_) goto LA13_;
		T8_ = !((p4 == NIM_NIL));
		LA13_: ;
		T7_ = T8_;
		if (T7_) goto LA14_;
		T7_ = !((p5 == NIM_NIL));
		LA14_: ;
		if (!T7_) goto LA15_;
		{
			if (!((*pragmas).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1))) goto LA19_;
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 4)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 4),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			asgnRef((void**) (&(*n).sons->data[((NI) 4)]), newNodeI__vokyXY9cZDshCSxFKChhG9bg(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 90), (*n).info));
		}
		LA19_: ;
		{
			if (!!((p1 == NIM_NIL))) goto LA23_;
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 4)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 4),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			add__P8dDSotTW25BkfbyspojGg((*n).sons->data[((NI) 4)], p1);
		}
		LA23_: ;
		{
			if (!!((p2 == NIM_NIL))) goto LA27_;
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 4)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 4),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			add__P8dDSotTW25BkfbyspojGg((*n).sons->data[((NI) 4)], p2);
		}
		LA27_: ;
		{
			if (!!((p3 == NIM_NIL))) goto LA31_;
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 4)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 4),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			add__P8dDSotTW25BkfbyspojGg((*n).sons->data[((NI) 4)], p3);
		}
		LA31_: ;
		{
			if (!!((p4 == NIM_NIL))) goto LA35_;
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 4)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 4),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			add__P8dDSotTW25BkfbyspojGg((*n).sons->data[((NI) 4)], p4);
		}
		LA35_: ;
		{
			if (!!((p5 == NIM_NIL))) goto LA39_;
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 4)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 4),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			add__P8dDSotTW25BkfbyspojGg((*n).sons->data[((NI) 4)], p5);
		}
		LA39_: ;
	}
	LA15_: ;
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isVisible__2S18TVv8561n8da19ah7VxQ)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	NIM_BOOL result;
	result = (NIM_BOOL)0;
	result = NIM_FALSE;
	{
		if (!((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 31))) goto LA3_;
		{
			NIM_BOOL T7_;
			NI T8_;
			tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* v;
			NIM_BOOL T12_;
			T7_ = (NIM_BOOL)0;
			T8_ = (NI)0;
			T8_ = len__P89cqdlERShb9alU3iC0yj8wast(n);
			T7_ = (T8_ == ((NI) 2));
			if (!(T7_)) goto LA9_;
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			T7_ = ((*(*n).sons->data[((NI) 0)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2));
			LA9_: ;
			if (!T7_) goto LA10_;
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_59[(NU)((*(*n).sons->data[((NI) 0)]).kind)>>3] &(1U<<((NU)((*(*n).sons->data[((NI) 0)]).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_60));
			v = (*(*n).sons->data[((NI) 0)]).ident;
			T12_ = (NIM_BOOL)0;
			T12_ = ((*v).Sup.id == ((NI) 72));
			if (T12_) goto LA13_;
			T12_ = ((*v).Sup.id == ((NI) 73));
			LA13_: ;
			result = T12_;
		}
		LA10_: ;
	}
	goto LA1_;
	LA3_: ;
	{
		if (!((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3))) goto LA15_;
		{
			if (!(((*(*d).conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 34))&63U)))!=0)) goto LA19_;
			if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
			result = ((20 & (*(*n).sym).flags) == 0);
		}
		goto LA17_;
		LA19_: ;
		{
			if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
			result = ((22 & (*(*n).sym).flags) == 2);
		}
		LA17_: ;
		{
			NIM_BOOL T24_;
			T24_ = (NIM_BOOL)0;
			T24_ = result;
			if (!(T24_)) goto LA25_;
			if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
			T24_ = containsOrIncl__VFt0uM7bgfJ5age9alOsU9cg((&(*d).emitted), (*(*n).sym).Sup.id);
			LA25_: ;
			if (!T24_) goto LA26_;
			result = NIM_FALSE;
		}
		LA26_: ;
	}
	goto LA1_;
	LA15_: ;
	{
		if (!((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 43))) goto LA29_;
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		result = isVisible__2S18TVv8561n8da19ah7VxQ(d, (*n).sons->data[((NI) 0)]);
	}
	goto LA1_;
	LA29_: ;
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getName__X4ox39cm9bzH8GS36cF3gOsQ)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NI splitAfter) {	NimStringDesc* result;
	result = (NimStringDesc*)0;
	switch ((*n).kind) {
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 31):
	{
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 1)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		result = getName__X4ox39cm9bzH8GS36cF3gOsQ(d, (*n).sons->data[((NI) 1)], splitAfter);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 43):
	{
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		result = getName__X4ox39cm9bzH8GS36cF3gOsQ(d, (*n).sons->data[((NI) 0)], splitAfter);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3):
	{
		NimStringDesc* T4_;
		if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
		T4_ = (NimStringDesc*)0;
		T4_ = renderDefinitionName__l9ckhTtdY2uD8Mjq9cwreZDA((*n).sym, NIM_FALSE);
		result = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, T4_, splitAfter);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2):
	{
		if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_59[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_60));
		result = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, (*(*n).ident).s, splitAfter);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 53):
	{
		NimStringDesc* T11_;
		result = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_61), ((NI) -1));
		{
			NI i;
			NI colontmp_;
			NI i_2;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(n);
			i_2 = ((NI) 0);
			{
				while (1) {
					NimStringDesc* T10_;
					NI TM__5fUAZGW8WPeit3fZaQyNXA_62;
					if (!(i_2 < colontmp_)) goto LA9;
					i = i_2;
					if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
					if ((NU)(i) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i,((*n).sons ? (*n).sons->Sup.len : 0)-1);
					T10_ = (NimStringDesc*)0;
					T10_ = getName__X4ox39cm9bzH8GS36cF3gOsQ(d, (*n).sons->data[i], splitAfter);
					result = resizeString(result, (T10_ ? T10_->Sup.len : 0) + 0);
appendString(result, T10_);
					TM__5fUAZGW8WPeit3fZaQyNXA_62 = addInt(i_2, ((NI) 1));
					i_2 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_62);
				} LA9: ;
			}
		}
		T11_ = (NimStringDesc*)0;
		T11_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_61), ((NI) -1));
		result = resizeString(result, (T11_ ? T11_->Sup.len : 0) + 0);
appendString(result, T11_);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 57):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 56):
	{
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		result = getName__X4ox39cm9bzH8GS36cF3gOsQ(d, (*n).sons->data[((NI) 0)], splitAfter);
	}
	break;
	default:
	{
		result = ((NimStringDesc*) NIM_NIL);
	}
	break;
	}
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getPlainDocstring__w0RLWJSCLHZKQXisk15Reg)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	NimStringDesc* result;
{	result = (NimStringDesc*)0;
	result = ((NimStringDesc*) NIM_NIL);
	{
		if (!(n == NIM_NIL)) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		NIM_BOOL T7_;
		T7_ = (NIM_BOOL)0;
		T7_ = nsuStartsWith((*n).comment, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_63));
		if (!T7_) goto LA8_;
		result = copyString((*n).comment);
	}
	LA8_: ;
	{
		if (!((result ? result->Sup.len : 0) < ((NI) 1))) goto LA12_;
		{
			NI i;
			NI colontmp_;
			NI i_2;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = safeLen__P89cqdlERShb9alU3iC0yj8w_2ast(n);
			i_2 = ((NI) 0);
			{
				while (1) {
					NI TM__5fUAZGW8WPeit3fZaQyNXA_64;
					if (!(i_2 < colontmp_)) goto LA16;
					i = i_2;
					if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
					if ((NU)(i) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i,((*n).sons ? (*n).sons->Sup.len : 0)-1);
					result = getPlainDocstring__w0RLWJSCLHZKQXisk15Reg((*n).sons->data[i]);
					{
						if (!(((NI) 0) < (result ? result->Sup.len : 0))) goto LA19_;
						goto BeforeRet_;
					}
					LA19_: ;
					TM__5fUAZGW8WPeit3fZaQyNXA_64 = addInt(i_2, ((NI) 1));
					i_2 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_64);
				} LA16: ;
			}
		}
	}
	LA12_: ;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, genRecCommentAux__CsFui9bBKN4zbV9c9cdppnsLA_3)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* result;
	NimStringDesc* T5_;
{	result = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
	{
		if (!(n == NIM_NIL)) goto LA3_;
		result = NIM_NIL;
		goto BeforeRet_;
	}
	LA3_: ;
	T5_ = (NimStringDesc*)0;
	T5_ = genComment__1NsSIzkKMtq49acu82VJUxg(d, n);
	result = rope__yShmEg9cffWxI7s5XzEKBow(T5_);
	{
		if (!(result == NIM_NIL)) goto LA8_;
		{
			if (!((TM__5fUAZGW8WPeit3fZaQyNXA_65[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) goto LA12_;
			{
				NI i;
				NI colontmp_;
				NI i_2;
				i = (NI)0;
				colontmp_ = (NI)0;
				colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(n);
				i_2 = ((NI) 0);
				{
					while (1) {
						NI TM__5fUAZGW8WPeit3fZaQyNXA_66;
						if (!(i_2 < colontmp_)) goto LA16;
						i = i_2;
						if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
						if ((NU)(i) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i,((*n).sons ? (*n).sons->Sup.len : 0)-1);
						result = genRecCommentAux__CsFui9bBKN4zbV9c9cdppnsLA_3(d, (*n).sons->data[i]);
						{
							if (!!((result == NIM_NIL))) goto LA19_;
							goto BeforeRet_;
						}
						LA19_: ;
						TM__5fUAZGW8WPeit3fZaQyNXA_66 = addInt(i_2, ((NI) 1));
						i_2 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_66);
					} LA16: ;
				}
			}
		}
		LA12_: ;
	}
	goto LA6_;
	LA8_: ;
	{
		asgnRef((void**) (&(*n).comment), ((NimStringDesc*) NIM_NIL));
	}
	LA6_: ;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, genRecComment__CsFui9bBKN4zbV9c9cdppnsLA_2)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* result;
	NimStringDesc* T5_;
{	result = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
	{
		if (!(n == NIM_NIL)) goto LA3_;
		result = NIM_NIL;
		goto BeforeRet_;
	}
	LA3_: ;
	T5_ = (NimStringDesc*)0;
	T5_ = genComment__1NsSIzkKMtq49acu82VJUxg(d, n);
	result = rope__yShmEg9cffWxI7s5XzEKBow(T5_);
	{
		if (!(result == NIM_NIL)) goto LA8_;
		{
			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 LA12_;
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 6)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 6),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			result = genRecCommentAux__CsFui9bBKN4zbV9c9cdppnsLA_3(d, (*n).sons->data[((NI) 6)]);
		}
		goto LA10_;
		LA12_: ;
		{
			result = genRecCommentAux__CsFui9bBKN4zbV9c9cdppnsLA_3(d, n);
		}
		LA10_: ;
	}
	LA8_: ;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NimStringDesc*, toFileLineCol__WM0LdwjY884aJ9cup7BS2vwmsgs)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {	NimStringDesc* result;
	NimStringDesc* T1_;
	NimStringDesc* T2_;
	NimStringDesc* T3_;
	NI TM__5fUAZGW8WPeit3fZaQyNXA_69;
	NimStringDesc* T4_;
	result = (NimStringDesc*)0;
	T1_ = (NimStringDesc*)0;
	T2_ = (NimStringDesc*)0;
	T2_ = toMsgFilename__eX9aCxa5NfPq9alDDS1zYbvw(conf, info.fileIndex);
	T3_ = (NimStringDesc*)0;
	T3_ = dollar___RkX9btpg5sQIaP8yYXB6tbA(((NU64) (info.line)));
	TM__5fUAZGW8WPeit3fZaQyNXA_69 = addInt(info.col, ((NI16) 1));
	if (TM__5fUAZGW8WPeit3fZaQyNXA_69 < -32768 || TM__5fUAZGW8WPeit3fZaQyNXA_69 > 32767) raiseOverflow();
	T4_ = (NimStringDesc*)0;
	T4_ = nimIntToStr(((NI) ((NI16)(TM__5fUAZGW8WPeit3fZaQyNXA_69))));
	T1_ = rawNewString((T2_ ? T2_->Sup.len : 0) + (T3_ ? T3_->Sup.len : 0) + (T4_ ? T4_->Sup.len : 0) + 4);
appendString(T1_, T2_);
appendString(T1_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_67));
appendString(T1_, T3_);
appendString(T1_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_68));
appendString(T1_, T4_);
appendString(T1_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_70));
	result = T1_;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, testExample__P9asSgxAI8Ru9cKnAyMhigQQ)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ex) {	NimStringDesc* outputDir;
	NimStringDesc* T5_;
	NI TM__5fUAZGW8WPeit3fZaQyNXA_74;
	NimStringDesc* outp;
	NimStringDesc* T6_;
	NimStringDesc* T7_;
	NimStringDesc* T8_;
	NimStringDesc* T9_;
	NimStringDesc* T10_;
{	{
		if (!(((NI) 0) < (*(*d).conf).errorCounter)) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	T5_ = (NimStringDesc*)0;
	T5_ = getNimcacheDir__oltK69akg0xLqkR2ITKbomg_2((*d).conf);
	outputDir = slash___0U8YTiSB6NvFwgvyimFN2Q(T5_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_73));
	noscreateDir(outputDir);
	TM__5fUAZGW8WPeit3fZaQyNXA_74 = addInt((*d).exampleCounter, ((NI) 1));
	(*d).exampleCounter = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_74);
	T6_ = (NimStringDesc*)0;
	T7_ = (NimStringDesc*)0;
	T7_ = noschangeFileExt((*d).Sup.filename, ((NimStringDesc*) NIM_NIL));
	T8_ = (NimStringDesc*)0;
	T8_ = nimIntToStr((*d).exampleCounter);
	T6_ = rawNewString((T7_ ? T7_->Sup.len : 0) + (T8_ ? T8_->Sup.len : 0) + 13);
appendString(T6_, T7_);
appendString(T6_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_75));
appendString(T6_, T8_);
appendString(T6_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_9));
	T9_ = (NimStringDesc*)0;
	T9_ = nosextractFilename(T6_);
	outp = slash___QVqo5OOQAdrjFqBsPctklw(outputDir, T9_);
	renderModule__PMQ9adArlSkkG8lng7soccA(ex, (*d).Sup.filename, outp, 0, ((NI32) -1), (*d).conf);
	T10_ = (NimStringDesc*)0;
	T10_ = rawNewString((outp ? outp->Sup.len : 0) + 11);
appendString(T10_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_76));
appendString(T10_, outp);
appendString(T10_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_77));
	asgnRef((void**) (&(*d).examples), resizeString((*d).examples, (T10_ ? T10_->Sup.len : 0) + 0));
appendString((*d).examples, T10_);
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, prepareExamples__LEMttt9bIUgMkSiiWAy2utA)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* docComment;
	tyArray__cypz0nHJsd9cnKgpO7fP5hQ T1_;
	NimStringDesc* loc;
	NimStringDesc* T2_;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* runnableExamples;
	tyArray__AB6yfoUgfWM2NtGe9bzkCmw T3_;
	tyArray__jlWPjgtbdjE069arIWHC9c9bg T4_;
	nimZeroMem((void*)T1_, sizeof(tyArray__cypz0nHJsd9cnKgpO7fP5hQ));
	docComment = newTree__FpOm4fidh9bWdkMa1BMRJkQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 125), T1_, 0);
	loc = toFileLineCol__WM0LdwjY884aJ9cup7BS2vwmsgs((*d).conf, (*n).info);
	T2_ = (NimStringDesc*)0;
	T2_ = rawNewString((loc ? loc->Sup.len : 0) + 29);
appendString(T2_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_71));
appendString(T2_, loc);
	asgnRef((void**) (&(*docComment).comment), T2_);
	nimZeroMem((void*)T3_, sizeof(tyArray__AB6yfoUgfWM2NtGe9bzkCmw));
	T3_[0] = docComment;
	nimZeroMem((void*)T4_, sizeof(tyArray__jlWPjgtbdjE069arIWHC9c9bg));
	T4_[0] = newStrNode__zLcHGdlEbBYFtoCoan9agkg(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20), (*d).Sup.filename);
	T3_[1] = newTree__FpOm4fidh9bWdkMa1BMRJkQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 116), T4_, 1);
	runnableExamples = newTree__FpOm4fidh9bWdkMa1BMRJkQ(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115), T3_, 2);
	(*runnableExamples).info = (*n).info;
	{
		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a;
		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* colontmp_;
		a = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
		colontmp_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
		colontmp_ = lastSon__UPSW0jLTX5qJL51YMUAHgw(n);
		{
			NI i;
			NI colontmp__2;
			NI i_2;
			i = (NI)0;
			colontmp__2 = (NI)0;
			colontmp__2 = safeLen__P89cqdlERShb9alU3iC0yj8w_2ast(colontmp_);
			i_2 = ((NI) 0);
			{
				while (1) {
					NI TM__5fUAZGW8WPeit3fZaQyNXA_72;
					if (!(i_2 < colontmp__2)) goto LA8;
					i = i_2;
					if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*colontmp_).kind)>>3] &(1U<<((NU)((*colontmp_).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
					if ((NU)(i) >= (NU)((*colontmp_).sons ? (*colontmp_).sons->Sup.len : 0)) raiseIndexError2(i,((*colontmp_).sons ? (*colontmp_).sons->Sup.len : 0)-1);
					a = (*colontmp_).sons->data[i];
					add__P8dDSotTW25BkfbyspojGg(runnableExamples, a);
					TM__5fUAZGW8WPeit3fZaQyNXA_72 = addInt(i_2, ((NI) 1));
					i_2 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_72);
				} LA8: ;
			}
		}
	}
	testExample__P9asSgxAI8Ru9cKnAyMhigQQ(d, runnableExamples);
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, belongsToPackage__cNpgS79aRW1W4TDXo9chSDaA)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* module) {	NIM_BOOL result;
	NIM_BOOL T1_;
	NIM_BOOL T2_;
	result = (NIM_BOOL)0;
	T1_ = (NIM_BOOL)0;
	T2_ = (NIM_BOOL)0;
	T2_ = ((*module).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6));
	if (!(T2_)) goto LA3_;
	T2_ = !(((*module).owner == NIM_NIL));
	LA3_: ;
	T1_ = T2_;
	if (!(T1_)) goto LA4_;
	T1_ = ((*(*module).owner).Sup.id == (*conf).mainPackageId);
	LA4_: ;
	result = T1_;
	return result;
}
static N_INLINE(NI, chckRange)(NI i, NI a, NI b) {	NI result;
{	result = (NI)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (a <= i);
		if (!(T3_)) goto LA4_;
		T3_ = (i <= b);
		LA4_: ;
		if (!T3_) goto LA5_;
		result = i;
		goto BeforeRet_;
	}
	goto LA1_;
	LA5_: ;
	{
		raiseRangeError(((NI64) (i)));
	}
	LA1_: ;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, externalDep__P9b6ldiOs1C1cjAHSU4Jlpg)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* module) {	NimStringDesc* result;
	result = (NimStringDesc*)0;
	{
		NimStringDesc* full;
		NimStringDesc* tmp;
		NimStringDesc* T5_;
		if (!(((*(*d).conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 33))&63U)))!=0)) goto LA3_;
		full = toFullPath__VW1RaR1l9c9bPnJxr1KuvIrg((*d).conf, ((NI32)chckRange((*module).position, ((NI32) (-2147483647 -1)), ((NI32) 2147483647))));
		T5_ = (NimStringDesc*)0;
		T5_ = relativeTo__zjjWvxBunys9bbBJHoqyLyQ(full, (*(*d).conf).projectPath, 47);
		tmp = getOutFile2__ssBmHr9b6LDWo9ar7lHLFTpw((*d).conf, T5_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_16), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_15), !((((*module).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 13))&63U)))!=0)));
		result = relativeTo__zjjWvxBunys9bbBJHoqyLyQ(tmp, (*d).thisDir, 47);
	}
	goto LA1_;
	LA3_: ;
	{
		NimStringDesc* T7_;
		T7_ = (NimStringDesc*)0;
		T7_ = toFullPath__VW1RaR1l9c9bPnJxr1KuvIrg((*d).conf, ((NI32)chckRange((*module).position, ((NI32) (-2147483647 -1)), ((NI32) 2147483647))));
		result = nosextractFilename(T7_);
	}
	LA1_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, nodeToHighlightedHtml__MJcQaUOmoJidpolnPcz9aSQ)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** result, tySet_tyEnum_TRenderFlag__wrPgUo1ExBlHvFnXN2nSHw renderFlags, tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* procLink) {	tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg r;
	NimStringDesc* literal;
	tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA kind;
	NI tokenPos;
	NI procTokenPos;
	nimZeroMem((void*)(&r), sizeof(tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg));
	literal = ((NimStringDesc*) NIM_NIL);
	initTokRender__fvDS5PTYUI6zuDDOhODswg((&r), n, renderFlags);
	kind = ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 1);
	tokenPos = ((NI) 0);
	procTokenPos = ((NI) 0);
	{
		while (1) {
			NI TM__5fUAZGW8WPeit3fZaQyNXA_84;
			getNextTok__m1ACJrEREN0hUkBdjmLoaQ((&r), (&kind), (&literal));
			TM__5fUAZGW8WPeit3fZaQyNXA_84 = addInt(tokenPos, ((NI) 1));
			tokenPos = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_84);
			switch (kind) {
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 1):
			{
				goto LA1;
			}
			break;
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 110):
			{
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T9_;
					NimStringDesc* T10_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T11_;
					if (!!(((*(*d).conf).cmd == ((tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw) 17)))) goto LA7_;
					nimZeroMem((void*)T9_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T10_ = (NimStringDesc*)0;
					T10_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T9_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T10_);
					T11_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T11_ = percent___C7jQ1fH79bR8HRQrbJjFKDg(T9_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T11_);
				}
				goto LA5_;
				LA7_: ;
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T13_;
					NimStringDesc* T14_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T15_;
					nimZeroMem((void*)T13_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T14_ = (NimStringDesc*)0;
					T14_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T13_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T14_);
					T15_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T15_ = percent___2eu2gmgXiDUZkBgTVqD7pg(T13_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T15_);
				}
				LA5_: ;
			}
			break;
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 3) ... ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 68):
			{
				{
					if (!(kind == ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 51) || kind == ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 41) || kind == ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 38) || kind == ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 40) || kind == ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 59) || kind == ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 30) || kind == ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 15))) goto LA19_;
					procTokenPos = tokenPos;
				}
				LA19_: ;
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T25_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T26_;
					if (!!(((*(*d).conf).cmd == ((tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw) 17)))) goto LA23_;
					nimZeroMem((void*)T25_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T25_[0] = rope__yShmEg9cffWxI7s5XzEKBow(literal);
					T26_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T26_ = percent___cCI1wZSoDB14achJW7ZFSQ(T25_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T26_);
				}
				goto LA21_;
				LA23_: ;
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T28_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T29_;
					nimZeroMem((void*)T28_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T28_[0] = rope__yShmEg9cffWxI7s5XzEKBow(literal);
					T29_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T29_ = percent___dkLAWa1dMAcGEAyfUZ59bRA(T28_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T29_);
				}
				LA21_: ;
			}
			break;
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 109):
			{
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T35_;
					NimStringDesc* T36_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T37_;
					if (!!(((*(*d).conf).cmd == ((tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw) 17)))) goto LA33_;
					nimZeroMem((void*)T35_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T36_ = (NimStringDesc*)0;
					T36_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T35_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T36_);
					T37_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T37_ = percent___DuvwOyJJ9b2gpVM9cV7DCFSQ(T35_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T37_);
				}
				goto LA31_;
				LA33_: ;
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T39_;
					NimStringDesc* T40_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T41_;
					nimZeroMem((void*)T39_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T40_ = (NimStringDesc*)0;
					T40_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T39_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T40_);
					T41_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T41_ = percent___4MBgNtJLOyqbjfGytl2OTw(T39_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T41_);
				}
				LA31_: ;
			}
			break;
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 83) ... ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 85):
			{
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T47_;
					NimStringDesc* T48_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T49_;
					if (!!(((*(*d).conf).cmd == ((tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw) 17)))) goto LA45_;
					nimZeroMem((void*)T47_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T48_ = (NimStringDesc*)0;
					T48_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T47_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T48_);
					T49_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T49_ = percent___336bx9aXX7GZckfWQE5Jy3g(T47_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T49_);
				}
				goto LA43_;
				LA45_: ;
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T51_;
					NimStringDesc* T52_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T53_;
					nimZeroMem((void*)T51_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T52_ = (NimStringDesc*)0;
					T52_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T51_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T52_);
					T53_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T53_ = percent___IbsmsXdtDOH7pLpzh9cmAOA(T51_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T53_);
				}
				LA43_: ;
			}
			break;
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 88):
			{
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T59_;
					NimStringDesc* T60_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T61_;
					if (!!(((*(*d).conf).cmd == ((tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw) 17)))) goto LA57_;
					nimZeroMem((void*)T59_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T60_ = (NimStringDesc*)0;
					T60_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T59_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T60_);
					T61_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T61_ = percent___9cGelOO9b6sliTnobJf6XAsg(T59_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T61_);
				}
				goto LA55_;
				LA57_: ;
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T63_;
					NimStringDesc* T64_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T65_;
					nimZeroMem((void*)T63_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T64_ = (NimStringDesc*)0;
					T64_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T63_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T64_);
					T65_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T65_ = percent___aNorSJCSJyyDo7w0s6eynA(T63_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T65_);
				}
				LA55_: ;
			}
			break;
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 69) ... ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 78):
			{
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T71_;
					NimStringDesc* T72_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T73_;
					if (!!(((*(*d).conf).cmd == ((tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw) 17)))) goto LA69_;
					nimZeroMem((void*)T71_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T72_ = (NimStringDesc*)0;
					T72_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T71_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T72_);
					T73_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T73_ = percent___BYRFs7dwiqyMIzbsx9cDq8Q(T71_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T73_);
				}
				goto LA67_;
				LA69_: ;
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T75_;
					NimStringDesc* T76_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T77_;
					nimZeroMem((void*)T75_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T76_ = (NimStringDesc*)0;
					T76_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T75_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T76_);
					T77_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T77_ = percent___TavFv5xK0dxxJCk9b4v34zg(T75_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T77_);
				}
				LA67_: ;
			}
			break;
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 79) ... ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 82):
			{
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T83_;
					NimStringDesc* T84_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T85_;
					if (!!(((*(*d).conf).cmd == ((tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw) 17)))) goto LA81_;
					nimZeroMem((void*)T83_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T84_ = (NimStringDesc*)0;
					T84_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T83_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T84_);
					T85_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T85_ = percent___9aAWQyBOqadJYgBT29bzliAw(T83_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T85_);
				}
				goto LA79_;
				LA81_: ;
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T87_;
					NimStringDesc* T88_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T89_;
					nimZeroMem((void*)T87_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T88_ = (NimStringDesc*)0;
					T88_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T87_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T88_);
					T89_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T89_ = percent___zpFS2Xy9cmoAoqCFSUQj1gg(T87_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T89_);
				}
				LA79_: ;
			}
			break;
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 2):
			{
				tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* s;
				s = getTokSym__c63Q9b9bWYYRP36QgDsG9cNDQ((&r));
				{
					NIM_BOOL T93_;
					NI TM__5fUAZGW8WPeit3fZaQyNXA_85;
					T93_ = (NIM_BOOL)0;
					TM__5fUAZGW8WPeit3fZaQyNXA_85 = subInt(tokenPos, ((NI) 2));
					T93_ = (procTokenPos == (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_85));
					if (!(T93_)) goto LA94_;
					T93_ = !((procLink == NIM_NIL));
					LA94_: ;
					if (!T93_) goto LA95_;
					{
						tyArray__mrugoXXRZUEeG9bEXo9auBKw T101_;
						NimStringDesc* T102_;
						tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T103_;
						if (!!(((*(*d).conf).cmd == ((tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw) 17)))) goto LA99_;
						nimZeroMem((void*)T101_, sizeof(tyArray__mrugoXXRZUEeG9bEXo9auBKw));
						T102_ = (NimStringDesc*)0;
						T102_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
						T101_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T102_);
						T101_[1] = procLink;
						T103_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
						T103_ = percent___Nz9cwOtMmcX2gklRogKhyEA(T101_, 2);
						add__IM4kcMNkkOLJtqdEqSxR8A(result, T103_);
					}
					goto LA97_;
					LA99_: ;
					{
						tyArray__mrugoXXRZUEeG9bEXo9auBKw T105_;
						NimStringDesc* T106_;
						tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T107_;
						nimZeroMem((void*)T105_, sizeof(tyArray__mrugoXXRZUEeG9bEXo9auBKw));
						T106_ = (NimStringDesc*)0;
						T106_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
						T105_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T106_);
						T105_[1] = procLink;
						T107_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
						T107_ = percent___YGYo0XYmypYw3N26AYh7ug(T105_, 2);
						add__IM4kcMNkkOLJtqdEqSxR8A(result, T107_);
					}
					LA97_: ;
				}
				goto LA91_;
				LA95_: ;
				{
					NIM_BOOL T109_;
					NIM_BOOL T110_;
					NIM_BOOL T111_;
					NIM_BOOL T112_;
					NIM_BOOL T113_;
					NimStringDesc* external;
					tyArray__wqYjTJU9ab2ZgEFMaQc3vNA T121_;
					NimStringDesc* T122_;
					NimStringDesc* T123_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T124_;
					T109_ = (NIM_BOOL)0;
					T110_ = (NIM_BOOL)0;
					T111_ = (NIM_BOOL)0;
					T112_ = (NIM_BOOL)0;
					T113_ = (NIM_BOOL)0;
					T113_ = !((s == NIM_NIL));
					if (!(T113_)) goto LA114_;
					T113_ = ((1920 &(1U<<((NU)((*s).kind)&31U)))!=0);
					LA114_: ;
					T112_ = T113_;
					if (!(T112_)) goto LA115_;
					T112_ = (((*s).flags &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 1))&63U)))!=0);
					LA115_: ;
					T111_ = T112_;
					if (!(T111_)) goto LA116_;
					T111_ = !(((*s).owner == NIM_NIL));
					LA116_: ;
					T110_ = T111_;
					if (!(T110_)) goto LA117_;
					T110_ = belongsToPackage__cNpgS79aRW1W4TDXo9chSDaA((*d).conf, (*s).owner);
					LA117_: ;
					T109_ = T110_;
					if (!(T109_)) goto LA118_;
					T109_ = ((*d).Sup.target == ((tyEnum_OutputTarget__lDlBg9cTod71s9abpUj82lsw) 0));
					LA118_: ;
					if (!T109_) goto LA119_;
					external = externalDep__P9b6ldiOs1C1cjAHSU4Jlpg(d, (*s).owner);
					nimZeroMem((void*)T121_, sizeof(tyArray__wqYjTJU9ab2ZgEFMaQc3vNA));
					T122_ = (NimStringDesc*)0;
					T122_ = noschangeFileExt(external, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_16));
					T121_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T122_);
					T121_[1] = rope__yShmEg9cffWxI7s5XzEKBow(literal);
					T123_ = (NimStringDesc*)0;
					T123_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T121_[2] = rope__yShmEg9cffWxI7s5XzEKBow(T123_);
					T124_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T124_ = percent___e8Z4ajz6IErIB0a6mpq4Wg(T121_, 3);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T124_);
				}
				goto LA91_;
				LA119_: ;
				{
					{
						tyArray__JiWwrsTRC6xqNlGcBthSVA T130_;
						NimStringDesc* T131_;
						tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T132_;
						if (!!(((*(*d).conf).cmd == ((tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw) 17)))) goto LA128_;
						nimZeroMem((void*)T130_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
						T131_ = (NimStringDesc*)0;
						T131_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
						T130_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T131_);
						T132_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
						T132_ = percent___eqn09cqDPu9csxGUOSa2untg(T130_, 1);
						add__IM4kcMNkkOLJtqdEqSxR8A(result, T132_);
					}
					goto LA126_;
					LA128_: ;
					{
						tyArray__JiWwrsTRC6xqNlGcBthSVA T134_;
						NimStringDesc* T135_;
						tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T136_;
						nimZeroMem((void*)T134_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
						T135_ = (NimStringDesc*)0;
						T135_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
						T134_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T135_);
						T136_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
						T136_ = percent___YGYo0XYmypYw3N26AYh7ug(T134_, 1);
						add__IM4kcMNkkOLJtqdEqSxR8A(result, T136_);
					}
					LA126_: ;
				}
				LA91_: ;
			}
			break;
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 112):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 0):
			{
				add__yG4AKzsBRS1W4MANDlXQeg(result, literal);
			}
			break;
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 97):
			{
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T143_;
					NimStringDesc* T144_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T145_;
					if (!!(((*(*d).conf).cmd == ((tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw) 17)))) goto LA141_;
					nimZeroMem((void*)T143_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T144_ = (NimStringDesc*)0;
					T144_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T143_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T144_);
					T145_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T145_ = percent___rZ5o6ziDKz4d3bfaN54Dgg(T143_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T145_);
				}
				goto LA139_;
				LA141_: ;
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T147_;
					NimStringDesc* T148_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T149_;
					nimZeroMem((void*)T147_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T148_ = (NimStringDesc*)0;
					T148_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T147_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T148_);
					T149_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T149_ = percent___YGa4o1aenD9cjoU03CAgtqQ(T147_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T149_);
				}
				LA139_: ;
			}
			break;
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 98):
			{
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T155_;
					NimStringDesc* T156_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T157_;
					if (!!(((*(*d).conf).cmd == ((tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw) 17)))) goto LA153_;
					nimZeroMem((void*)T155_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T156_ = (NimStringDesc*)0;
					T156_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T155_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T156_);
					T157_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T157_ = percent___b2PLtFwpZkVmYhHWvW4i1Q(T155_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T157_);
				}
				goto LA151_;
				LA153_: ;
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T159_;
					NimStringDesc* T160_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T161_;
					nimZeroMem((void*)T159_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T160_ = (NimStringDesc*)0;
					T160_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T159_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T160_);
					T161_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T161_ = percent___YGa4o1aenD9cjoU03CAgtqQ(T159_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T161_);
				}
				LA151_: ;
			}
			break;
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 89):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 90):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 91):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 92):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 93):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 94):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 95):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 96):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 99):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 100):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 101):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 102):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 103):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 105):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 106):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 107):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 111):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 104):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 86):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 87):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 113):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 114):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 115):
			case ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 108):
			{
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T167_;
					NimStringDesc* T168_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T169_;
					if (!!(((*(*d).conf).cmd == ((tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw) 17)))) goto LA165_;
					nimZeroMem((void*)T167_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T168_ = (NimStringDesc*)0;
					T168_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T167_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T168_);
					T169_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T169_ = percent___ctY4Nx9aQFC9bl9c2wbRLoFYA(T167_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T169_);
				}
				goto LA163_;
				LA165_: ;
				{
					tyArray__JiWwrsTRC6xqNlGcBthSVA T171_;
					NimStringDesc* T172_;
					tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T173_;
					nimZeroMem((void*)T171_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
					T172_ = (NimStringDesc*)0;
					T172_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, literal, ((NI) -1));
					T171_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T172_);
					T173_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
					T173_ = percent___YGa4o1aenD9cjoU03CAgtqQ(T171_, 1);
					add__IM4kcMNkkOLJtqdEqSxR8A(result, T173_);
				}
				LA163_: ;
			}
			break;
			}
		}
	} LA1: ;
}
N_LIB_PRIVATE N_NIMCALL(void, getAllRunnableExamplesRec__AWbd5fyCfaHrdBqMuwLj0w)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* orig, tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** dest) {{	{
		if (!!(((*n).info.fileIndex == (*orig).info.fileIndex))) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	switch ((*n).kind) {
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 26) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 32):
	{
		{
			NIM_BOOL T8_;
			NIM_BOOL T9_;
			NI T11_;
			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T13_;
			NI TM__5fUAZGW8WPeit3fZaQyNXA_79;
			NimStringDesc* id;
			NimStringDesc* T25_;
			tyArray__Re75IspeoxXy2oCZHwcRrA T26_;
			NimStringDesc* T27_;
			NI i;
			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* body;
			NimStringDesc* T46_;
			NimStringDesc* T47_;
			T8_ = (NIM_BOOL)0;
			T9_ = (NIM_BOOL)0;
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			T9_ = isRunnableExamples__CZaoTkWCFI9acor4BmYF3Yw_3((*n).sons->data[((NI) 0)]);
			if (!(T9_)) goto LA10_;
			T11_ = (NI)0;
			T11_ = len__P89cqdlERShb9alU3iC0yj8wast(n);
			T9_ = (((NI) 2) <= T11_);
			LA10_: ;
			T8_ = T9_;
			if (!(T8_)) goto LA12_;
			T13_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
			T13_ = lastSon__UPSW0jLTX5qJL51YMUAHgw(n);
			T8_ = ((*T13_).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115));
			LA12_: ;
			if (!T8_) goto LA14_;
			prepareExamples__LEMttt9bIUgMkSiiWAy2utA(d, n);
			{
				tyArray__JiWwrsTRC6xqNlGcBthSVA T20_;
				tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T21_;
				if (!!(((*(*d).conf).cmd == ((tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw) 17)))) goto LA18_;
				nimZeroMem((void*)T20_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
				T20_[0] = rope__yShmEg9cffWxI7s5XzEKBow(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_78));
				T21_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
				T21_ = percent___8ehuHmXS8omgqFrdYMsPBg(T20_, 1);
				add__IM4kcMNkkOLJtqdEqSxR8A(dest, T21_);
			}
			goto LA16_;
			LA18_: ;
			{
				tyArray__JiWwrsTRC6xqNlGcBthSVA T23_;
				tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T24_;
				nimZeroMem((void*)T23_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
				T23_[0] = rope__yShmEg9cffWxI7s5XzEKBow(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_78));
				T24_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
				T24_ = percent___2Opo6JkHmCRmDA87qcGfvg(T23_, 1);
				add__IM4kcMNkkOLJtqdEqSxR8A(dest, T24_);
			}
			LA16_: ;
			TM__5fUAZGW8WPeit3fZaQyNXA_79 = addInt((*d).Sup.listingCounter, ((NI) 1));
			(*d).Sup.listingCounter = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_79);
			id = nimIntToStr((*d).Sup.listingCounter);
			T25_ = (NimStringDesc*)0;
			T25_ = getOrDefault__2a0cbxcfpWcXtK45m9bR5Kg((*d).Sup.config, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_80), ((NimStringDesc*) NIM_NIL));
			nimZeroMem((void*)T26_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
			T26_[0] = copyString(id);
			T26_[1] = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_81));
			T27_ = (NimStringDesc*)0;
			T27_ = nsuFormatOpenArray(T25_, T26_, 2);
			add__yG4AKzsBRS1W4MANDlXQeg(dest, T27_);
			i = ((NI) 0);
			body = lastSon__UPSW0jLTX5qJL51YMUAHgw(n);
			{
				NIM_BOOL T30_;
				NIM_BOOL T31_;
				NI T32_;
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T35_;
				T30_ = (NIM_BOOL)0;
				T31_ = (NIM_BOOL)0;
				T32_ = (NI)0;
				T32_ = len__P89cqdlERShb9alU3iC0yj8wast(body);
				T31_ = (T32_ == ((NI) 1));
				if (!(T31_)) goto LA33_;
				T31_ = ((*body).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115));
				LA33_: ;
				T30_ = T31_;
				if (!(T30_)) goto LA34_;
				T35_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
				T35_ = lastSon__UPSW0jLTX5qJL51YMUAHgw(body);
				T30_ = ((*T35_).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115));
				LA34_: ;
				if (!T30_) goto LA36_;
				body = lastSon__UPSW0jLTX5qJL51YMUAHgw(body);
			}
			LA36_: ;
			{
				tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* b;
				b = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
				{
					NI i_2;
					NI colontmp_;
					NI i_3;
					i_2 = (NI)0;
					colontmp_ = (NI)0;
					colontmp_ = safeLen__P89cqdlERShb9alU3iC0yj8w_2ast(body);
					i_3 = ((NI) 0);
					{
						while (1) {
							NI TM__5fUAZGW8WPeit3fZaQyNXA_83;
							NI TM__5fUAZGW8WPeit3fZaQyNXA_86;
							if (!(i_3 < colontmp_)) goto LA41;
							i_2 = i_3;
							if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*body).kind)>>3] &(1U<<((NU)((*body).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
							if ((NU)(i_2) >= (NU)((*body).sons ? (*body).sons->Sup.len : 0)) raiseIndexError2(i_2,((*body).sons ? (*body).sons->Sup.len : 0)-1);
							b = (*body).sons->data[i_2];
							{
								if (!(((NI) 0) < i)) goto LA44_;
								add__yG4AKzsBRS1W4MANDlXQeg(dest, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_82));
							}
							LA44_: ;
							TM__5fUAZGW8WPeit3fZaQyNXA_83 = addInt(i, ((NI) 1));
							i = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_83);
							nodeToHighlightedHtml__MJcQaUOmoJidpolnPcz9aSQ(d, b, dest, 0, NIM_NIL);
							TM__5fUAZGW8WPeit3fZaQyNXA_86 = addInt(i_3, ((NI) 1));
							i_3 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_86);
						} LA41: ;
					}
				}
			}
			T46_ = (NimStringDesc*)0;
			T46_ = getOrDefault__2a0cbxcfpWcXtK45m9bR5Kg((*d).Sup.config, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_87), ((NimStringDesc*) NIM_NIL));
			T47_ = (NimStringDesc*)0;
			T47_ = nsuFormatSingleElem(T46_, id);
			add__yG4AKzsBRS1W4MANDlXQeg(dest, T47_);
		}
		LA14_: ;
	}
	break;
	default:
	{
	}
	break;
	}
	{
		NI i_4;
		NI colontmp__2;
		NI i_5;
		i_4 = (NI)0;
		colontmp__2 = (NI)0;
		colontmp__2 = safeLen__P89cqdlERShb9alU3iC0yj8w_2ast(n);
		i_5 = ((NI) 0);
		{
			while (1) {
				NI TM__5fUAZGW8WPeit3fZaQyNXA_88;
				if (!(i_5 < colontmp__2)) goto LA51;
				i_4 = i_5;
				if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
				if ((NU)(i_4) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i_4,((*n).sons ? (*n).sons->Sup.len : 0)-1);
				getAllRunnableExamplesRec__AWbd5fyCfaHrdBqMuwLj0w(d, (*n).sons->data[i_4], orig, dest);
				TM__5fUAZGW8WPeit3fZaQyNXA_88 = addInt(i_5, ((NI) 1));
				i_5 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_88);
			} LA51: ;
		}
	}
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, getAllRunnableExamples__KTaDQnNH9ae4Bf008FpUeJw)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** dest) {	getAllRunnableExamplesRec__AWbd5fyCfaHrdBqMuwLj0w(d, n, n, dest);
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isCallable__SUIy9a9bqpDkoM66A6tppSaA)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	NIM_BOOL result;
	result = (NIM_BOOL)0;
	switch ((*n).kind) {
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 79):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 80):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 84):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 82):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 83):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 81):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 159):
	{
		result = NIM_TRUE;
	}
	break;
	default:
	{
		result = NIM_FALSE;
	}
	break;
	}
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, complexName__9cXtMWiiMWGlqAPzr9aEWCzQ)(tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NimStringDesc* baseName) {	NimStringDesc* result;
	result = (NimStringDesc*)0;
	result = copyString(baseName);
	switch (k) {
	case ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 12):
	case ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 13):
	{
	}
	break;
	case ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 17):
	{
		result = resizeString(result, 2);
appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_91));
	}
	break;
	case ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 14):
	{
		result = resizeString(result, 2);
appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_92));
	}
	break;
	case ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15):
	{
		result = resizeString(result, 2);
appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_93));
	}
	break;
	case ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 18):
	{
		result = resizeString(result, 2);
appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_94));
	}
	break;
	case ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 16):
	{
		result = resizeString(result, 2);
appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_95));
	}
	break;
	default:
	{
	}
	break;
	}
	{
		NIM_BOOL T10_;
		NI T11_;
		NimStringDesc* params;
		T10_ = (NIM_BOOL)0;
		T11_ = (NI)0;
		T11_ = len__P89cqdlERShb9alU3iC0yj8wast(n);
		T10_ = (((NI) 3) < T11_);
		if (!(T10_)) goto LA12_;
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 3)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 3),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T10_ = ((*(*n).sons->data[((NI) 3)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 76));
		LA12_: ;
		if (!T10_) goto LA13_;
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 3)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 3),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		params = renderParamTypes__le9bedpmveKS6qhiVCc9c7cg((*n).sons->data[((NI) 3)], ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_96));
		{
			if (!(((NI) 0) < (params ? params->Sup.len : 0))) goto LA17_;
			result = resizeString(result, 1);
appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_96));
			result = resizeString(result, (params ? params->Sup.len : 0) + 0);
appendString(result, params);
		}
		LA17_: ;
	}
	LA13_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, newUniquePlainSymbol__SMnsxF7PtS1Zx9aDjvvC7rw)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, NimStringDesc* original) {	NimStringDesc* result;
	NI count;
{	result = (NimStringDesc*)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = nsthasKey((*d).seenSymbols, original);
		if (!!(T3_)) goto LA4_;
		result = copyString(original);
		nstPut((*d).seenSymbols, original, ((NimStringDesc*) NIM_NIL));
		goto BeforeRet_;
	}
	LA4_: ;
	count = ((NI) 2);
	{
		while (1) {
			NimStringDesc* T8_;
			NimStringDesc* T9_;
			NI TM__5fUAZGW8WPeit3fZaQyNXA_98;
			T8_ = (NimStringDesc*)0;
			T9_ = (NimStringDesc*)0;
			T9_ = nimIntToStr(count);
			T8_ = rawNewString((original ? original->Sup.len : 0) + (T9_ ? T9_->Sup.len : 0) + 1);
appendString(T8_, original);
appendString(T8_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_97));
appendString(T8_, T9_);
			result = T8_;
			{
				NIM_BOOL T12_;
				T12_ = (NIM_BOOL)0;
				T12_ = nsthasKey((*d).seenSymbols, result);
				if (!!(T12_)) goto LA13_;
				nstPut((*d).seenSymbols, result, ((NimStringDesc*) NIM_NIL));
				goto LA6;
			}
			LA13_: ;
			TM__5fUAZGW8WPeit3fZaQyNXA_98 = addInt(count, ((NI) 1));
			count = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_98);
		}
	} LA6: ;
	}BeforeRet_: ;
	return result;
}
static N_INLINE(NI, modInt)(NI a, NI b) {	NI result;
{	result = (NI)0;
	{
		if (!(b == ((NI) 0))) goto LA3_;
		raiseDivByZero();
	}
	LA3_: ;
	result = (NI)(a % b);
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, whichType__P6VVhFoRXYNTxCtafqu9bmg)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* result;
{	result = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
	{
		if (!((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3))) goto LA3_;
		{
			NIM_BOOL T7_;
			if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
			T7_ = (NIM_BOOL)0;
			T7_ = strTableContains__qQqj4cZyGcSQKBqbLx4Alg((*d).types, (*n).sym);
			if (!T7_) goto LA8_;
			if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
			result = (*n).sym;
		}
		LA8_: ;
	}
	goto LA1_;
	LA3_: ;
	{
		{
			NI i;
			NI colontmp_;
			NI i_2;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = safeLen__P89cqdlERShb9alU3iC0yj8w_2ast(n);
			i_2 = ((NI) 0);
			{
				while (1) {
					tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* x;
					NI TM__5fUAZGW8WPeit3fZaQyNXA_124;
					if (!(i_2 < colontmp_)) goto LA13;
					i = i_2;
					if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
					if ((NU)(i) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i,((*n).sons ? (*n).sons->Sup.len : 0)-1);
					x = whichType__P6VVhFoRXYNTxCtafqu9bmg(d, (*n).sons->data[i]);
					{
						if (!!((x == NIM_NIL))) goto LA16_;
						result = x;
						goto BeforeRet_;
					}
					LA16_: ;
					TM__5fUAZGW8WPeit3fZaQyNXA_124 = addInt(i_2, ((NI) 1));
					i_2 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_124);
				} LA13: ;
			}
		}
	}
	LA1_: ;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, attachToType__2z9at9cKP7a6GoM6O9ba1zd7g)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* p) {	tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* result;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* params;
{	result = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
	if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*(*p).ast).kind)>>3] &(1U<<((NU)((*(*p).ast).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
	if ((NU)(((NI) 3)) >= (NU)((*(*p).ast).sons ? (*(*p).ast).sons->Sup.len : 0)) raiseIndexError2(((NI) 3),((*(*p).ast).sons ? (*(*p).ast).sons->Sup.len : 0)-1);
	params = (*(*p).ast).sons->data[((NI) 3)];
	{
		NI T3_;
		T3_ = (NI)0;
		T3_ = len__P89cqdlERShb9alU3iC0yj8wast(params);
		if (!(((NI) 1) < T3_)) goto LA4_;
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*params).kind)>>3] &(1U<<((NU)((*params).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 1)) >= (NU)((*params).sons ? (*params).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*params).sons ? (*params).sons->Sup.len : 0)-1);
		result = whichType__P6VVhFoRXYNTxCtafqu9bmg(d, (*params).sons->data[((NI) 1)]);
		{
			if (!!((result == NIM_NIL))) goto LA8_;
			goto BeforeRet_;
		}
		LA8_: ;
	}
	LA4_: ;
	{
		NI T12_;
		T12_ = (NI)0;
		T12_ = len__P89cqdlERShb9alU3iC0yj8wast(params);
		if (!(((NI) 0) < T12_)) goto LA13_;
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*params).kind)>>3] &(1U<<((NU)((*params).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*params).sons ? (*params).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*params).sons ? (*params).sons->Sup.len : 0)-1);
		result = whichType__P6VVhFoRXYNTxCtafqu9bmg(d, (*params).sons->data[((NI) 0)]);
		{
			if (!!((result == NIM_NIL))) goto LA17_;
			goto BeforeRet_;
		}
		LA17_: ;
	}
	LA13_: ;
	{
		NI i;
		NI colontmp_;
		NI i_2;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(params);
		i_2 = ((NI) 2);
		{
			while (1) {
				NI TM__5fUAZGW8WPeit3fZaQyNXA_125;
				if (!(i_2 < colontmp_)) goto LA21;
				i = i_2;
				if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*params).kind)>>3] &(1U<<((NU)((*params).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
				if ((NU)(i) >= (NU)((*params).sons ? (*params).sons->Sup.len : 0)) raiseIndexError2(i,((*params).sons ? (*params).sons->Sup.len : 0)-1);
				result = whichType__P6VVhFoRXYNTxCtafqu9bmg(d, (*params).sons->data[i]);
				{
					if (!!((result == NIM_NIL))) goto LA24_;
					goto BeforeRet_;
				}
				LA24_: ;
				TM__5fUAZGW8WPeit3fZaQyNXA_125 = addInt(i_2, ((NI) 1));
				i_2 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_125);
			} LA21: ;
		}
	}
	}BeforeRet_: ;
	return result;
}
static N_INLINE(void, appendChar)(NimStringDesc* dest, NIM_CHAR c) {	(*dest).data[(*dest).Sup.len] = c;
	(*dest).data[(NI)((*dest).Sup.len + ((NI) 1))] = 0;
	(*dest).Sup.len += ((NI) 1);
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, docstringSummary__kPnzAIKnun4jRp3dcGAV8Q)(NimStringDesc* rstText) {	NimStringDesc* result;
	NimStringDesc* T9_;
	NI pos;
	NI last;
	NI TM__5fUAZGW8WPeit3fZaQyNXA_130;
{	result = (NimStringDesc*)0;
	{
		NIM_BOOL T3_;
		NIM_BOOL T5_;
		T3_ = (NIM_BOOL)0;
		T3_ = ((rstText ? rstText->Sup.len : 0) < ((NI) 2));
		if (T3_) goto LA4_;
		T5_ = (NIM_BOOL)0;
		if ((NU)(((NI) 0)) >= (NU)(rstText ? rstText->Sup.len : 0)) raiseIndexError2(((NI) 0),(rstText ? rstText->Sup.len : 0)-1);
		T5_ = ((NU8)(rstText->data[((NI) 0)]) == (NU8)(35));
		if (!(T5_)) goto LA6_;
		if ((NU)(((NI) 1)) >= (NU)(rstText ? rstText->Sup.len : 0)) raiseIndexError2(((NI) 1),(rstText ? rstText->Sup.len : 0)-1);
		T5_ = ((NU8)(rstText->data[((NI) 1)]) == (NU8)(35));
		LA6_: ;
		T3_ = T5_;
		LA4_: ;
		if (!!(T3_)) goto LA7_;
		failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_126));
	}
	LA7_: ;
	T9_ = (NimStringDesc*)0;
	T9_ = substr__iGg0RIKceRvsmvq8FUHOEw(rstText, ((NI) 2));
	result = nsuStrip(T9_, NIM_TRUE, NIM_TRUE, TM__5fUAZGW8WPeit3fZaQyNXA_90);
	pos = nsuFindChar(result, 10, ((NI) 0), ((NI) 0));
	{
		NI TM__5fUAZGW8WPeit3fZaQyNXA_127;
		if (!(((NI) 0) < pos)) goto LA12_;
		TM__5fUAZGW8WPeit3fZaQyNXA_127 = subInt((result ? result->Sup.len : 0), ((NI) 1));
		nsuDelete((&result), pos, (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_127));
		result = resizeString(result, 3);
appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_128));
	}
	LA12_: ;
	{
		if (!(pos < ((NI) 100))) goto LA16_;
		goto BeforeRet_;
	}
	LA16_: ;
	pos = nsuFindCharSet(result, TM__5fUAZGW8WPeit3fZaQyNXA_129, ((NI) 0), ((NI) 0));
	TM__5fUAZGW8WPeit3fZaQyNXA_130 = subInt((result ? result->Sup.len : 0), ((NI) 1));
	last = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_130);
	{
		NIM_BOOL T20_;
		T20_ = (NIM_BOOL)0;
		T20_ = (((NI) 0) < pos);
		if (!(T20_)) goto LA21_;
		T20_ = (pos < last);
		LA21_: ;
		if (!T20_) goto LA22_;
		nsuDelete((&result), pos, last);
		result = resizeString(result, 3);
appendString(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_128));
	}
	LA22_: ;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, genItem__URT9bPNauhD0BURJFfjsh9cQ)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* nameNode, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k) {	NimStringDesc* name;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* nameRope;
	NimStringDesc* plainDocstring;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* result;
	NimStringDesc* literal;
	NimStringDesc* plainName;
	tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA kind;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* comm;
	tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg r;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* pragmaNode;
	NI TM__5fUAZGW8WPeit3fZaQyNXA_89;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* plainNameRope;
	NimStringDesc* T18_;
	NimStringDesc* T19_;
	NimStringDesc* cleanPlainSymbol;
	NimStringDesc* complexSymbol;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* plainSymbolRope;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* plainSymbolEncRope;
	NimStringDesc* T20_;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* itemIDRope;
	NimStringDesc* symbolOrId;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* symbolOrIdRope;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* symbolOrIdEncRope;
	NimStringDesc* T21_;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* deprecationMsgRope;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* seeSrcRope;
	NimStringDesc* docItemSeeSrc;
	NimStringDesc* T51_;
	tyArray__ovcl1w9aI1ZmKzg6fGNtM9bQ T52_;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T53_;
	NimStringDesc* external;
	NimStringDesc* T54_;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* attype;
	NimStringDesc* T87_;
	tyArray__tdtuX1UXre569aXskGxbPKw T88_;
	NimStringDesc* T89_;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T90_;
	NimStringDesc* linkTitle;
	NimStringDesc* T91_;
	NimStringDesc* T92_;
	NimStringDesc* T93_;
	tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* T104_;
	NimStringDesc* T105_;
	NimStringDesc* T106_;
{	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = isVisible__2S18TVv8561n8da19ah7VxQ(d, nameNode);
		if (!!(T3_)) goto LA4_;
		goto BeforeRet_;
	}
	LA4_: ;
	name = getName__X4ox39cm9bzH8GS36cF3gOsQ(d, nameNode, ((NI) -1));
	nameRope = rope__yShmEg9cffWxI7s5XzEKBow(name);
	plainDocstring = getPlainDocstring__w0RLWJSCLHZKQXisk15Reg(n);
	result = NIM_NIL;
	literal = ((NimStringDesc*) NIM_NIL);
	plainName = ((NimStringDesc*) NIM_NIL);
	kind = ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 1);
	comm = genRecComment__CsFui9bBKN4zbV9c9cdppnsLA_2(d, n);
	getAllRunnableExamples__KTaDQnNH9ae4Bf008FpUeJw(d, n, &comm);
	nimZeroMem((void*)(&r), sizeof(tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg));
	initTokRender__fvDS5PTYUI6zuDDOhODswg((&r), n, 94);
	{
		while (1) {
			getNextTok__m1ACJrEREN0hUkBdjmLoaQ((&r), (&kind), (&literal));
			{
				if (!(kind == ((tyEnum_TTokType__vw8YkgaVtNadqP8v5OpXKA) 1))) goto LA10_;
				goto LA6;
			}
			LA10_: ;
			plainName = resizeString(plainName, (literal ? literal->Sup.len : 0) + 0);
appendString(plainName, literal);
		}
	} LA6: ;
	pragmaNode = NIM_NIL;
	{
		NIM_BOOL T14_;
		T14_ = (NIM_BOOL)0;
		T14_ = isCallable__SUIy9a9bqpDkoM66A6tppSaA(n);
		if (!(T14_)) goto LA15_;
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 4)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 4),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T14_ = !(((*(*n).sons->data[((NI) 4)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 1)));
		LA15_: ;
		if (!T14_) goto LA16_;
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 4)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 4),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		pragmaNode = findPragma__0mDn9a9aralwZhM9cLc7HEF9aA((*n).sons->data[((NI) 4)], ((tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw) 129));
	}
	LA16_: ;
	TM__5fUAZGW8WPeit3fZaQyNXA_89 = addInt((*d).Sup.id, ((NI) 1));
	(*d).Sup.id = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_89);
	T18_ = (NimStringDesc*)0;
	T18_ = nsuStrip(plainName, NIM_TRUE, NIM_TRUE, TM__5fUAZGW8WPeit3fZaQyNXA_90);
	T19_ = (NimStringDesc*)0;
	T19_ = escape__MqjZ9c9b479ayFgA5h9aAscAFA(T18_);
	plainNameRope = rope__yShmEg9cffWxI7s5XzEKBow(T19_);
	cleanPlainSymbol = renderPlainSymbolName__0mm4u02iK86TVZPOApjzQA(nameNode);
	complexSymbol = complexName__9cXtMWiiMWGlqAPzr9aEWCzQ(k, n, cleanPlainSymbol);
	plainSymbolRope = rope__yShmEg9cffWxI7s5XzEKBow(cleanPlainSymbol);
	T20_ = (NimStringDesc*)0;
	T20_ = encodeUrl__hfOKCSlSHEBA7MAnVFj2bA(cleanPlainSymbol, NIM_TRUE);
	plainSymbolEncRope = rope__yShmEg9cffWxI7s5XzEKBow(T20_);
	itemIDRope = rope__KOisMGxcPhz6CcSmxgwEQQ(((NI64) ((*d).Sup.id)));
	symbolOrId = newUniquePlainSymbol__SMnsxF7PtS1Zx9aDjvvC7rw(d, complexSymbol);
	symbolOrIdRope = rope__yShmEg9cffWxI7s5XzEKBow(symbolOrId);
	T21_ = (NimStringDesc*)0;
	T21_ = encodeUrl__hfOKCSlSHEBA7MAnVFj2bA(symbolOrId, NIM_TRUE);
	symbolOrIdEncRope = rope__yShmEg9cffWxI7s5XzEKBow(T21_);
	deprecationMsgRope = genDeprecationMsg__CsFui9bBKN4zbV9c9cdppnsLA(d, pragmaNode);
	nodeToHighlightedHtml__MJcQaUOmoJidpolnPcz9aSQ(d, n, &result, 142, symbolOrIdEncRope);
	seeSrcRope = NIM_NIL;
	docItemSeeSrc = getConfigVar__nT6pi8CimjduqrsM6Cc8mQ((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_99), ((NimStringDesc*) NIM_NIL));
	{
		NimStringDesc* path;
		NimStringDesc* T26_;
		NimStringDesc* T27_;
		NimStringDesc* gitUrl;
		if (!(((NI) 0) < (docItemSeeSrc ? docItemSeeSrc->Sup.len : 0))) goto LA24_;
		T26_ = (NimStringDesc*)0;
		T26_ = toFullPath__VW1RaR1l9c9bPnJxr1KuvIrg((*d).conf, (*n).info.fileIndex);
		T27_ = (NimStringDesc*)0;
		T27_ = nosgetCurrentDir();
		path = relativeTo__zjjWvxBunys9bbBJHoqyLyQ(T26_, T27_, 47);
		gitUrl = getConfigVar__nT6pi8CimjduqrsM6Cc8mQ((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_100), ((NimStringDesc*) NIM_NIL));
		{
			NimStringDesc* defaultBranch;
			NimStringDesc* commit;
			NimStringDesc* develBranch;
			if (!(((NI) 0) < (gitUrl ? gitUrl->Sup.len : 0))) goto LA30_;
			{
				NI TM__5fUAZGW8WPeit3fZaQyNXA_101;
				TM__5fUAZGW8WPeit3fZaQyNXA_101 = modInt(((NI) 4), ((NI) 2));
				if (!((NI)(TM__5fUAZGW8WPeit3fZaQyNXA_101) == ((NI) 1))) goto LA34_;
				defaultBranch = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_102));
			}
			goto LA32_;
			LA34_: ;
			{
				tyArray__Re75IspeoxXy2oCZHwcRrA T37_;
				nimZeroMem((void*)T37_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
				T37_[0] = nimIntToStr(((NI) 1));
				T37_[1] = nimIntToStr(((NI) 0));
				defaultBranch = nsuFormatOpenArray(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_103), T37_, 2);
			}
			LA32_: ;
			commit = getConfigVar__nT6pi8CimjduqrsM6Cc8mQ((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_104), defaultBranch);
			develBranch = getConfigVar__nT6pi8CimjduqrsM6Cc8mQ((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_105), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_102));
			{
				tyArray__JiWwrsTRC6xqNlGcBthSVA T42_;
				tyArray__duFhZXIIlrbrM62cWjNekg T43_;
				NimStringDesc* T44_;
				tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T45_;
				if (!!(((*(*d).conf).cmd == ((tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw) 17)))) goto LA40_;
				nimZeroMem((void*)T42_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
				nimZeroMem((void*)T43_, sizeof(tyArray__duFhZXIIlrbrM62cWjNekg));
				T43_[0] = rope__yShmEg9cffWxI7s5XzEKBow(path);
				T44_ = (NimStringDesc*)0;
				T44_ = dollar___RkX9btpg5sQIaP8yYXB6tbA(((NU64) ((*n).info.line)));
				T43_[1] = rope__yShmEg9cffWxI7s5XzEKBow(T44_);
				T43_[2] = rope__yShmEg9cffWxI7s5XzEKBow(gitUrl);
				T43_[3] = rope__yShmEg9cffWxI7s5XzEKBow(commit);
				T43_[4] = rope__yShmEg9cffWxI7s5XzEKBow(develBranch);
				T42_[0] = ropeFormatNamedVars__C7idxrvpR7GOGT9c4FWXrBQ((*d).conf, docItemSeeSrc, TM__5fUAZGW8WPeit3fZaQyNXA_106, 5, T43_, 5);
				T45_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
				T45_ = percent___QXMcmOst45ThYFLo9cOKDiQ(T42_, 1);
				add__IM4kcMNkkOLJtqdEqSxR8A(&seeSrcRope, T45_);
			}
			goto LA38_;
			LA40_: ;
			{
				tyArray__JiWwrsTRC6xqNlGcBthSVA T47_;
				tyArray__duFhZXIIlrbrM62cWjNekg T48_;
				NimStringDesc* T49_;
				tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T50_;
				nimZeroMem((void*)T47_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
				nimZeroMem((void*)T48_, sizeof(tyArray__duFhZXIIlrbrM62cWjNekg));
				T48_[0] = rope__yShmEg9cffWxI7s5XzEKBow(path);
				T49_ = (NimStringDesc*)0;
				T49_ = dollar___RkX9btpg5sQIaP8yYXB6tbA(((NU64) ((*n).info.line)));
				T48_[1] = rope__yShmEg9cffWxI7s5XzEKBow(T49_);
				T48_[2] = rope__yShmEg9cffWxI7s5XzEKBow(gitUrl);
				T48_[3] = rope__yShmEg9cffWxI7s5XzEKBow(commit);
				T48_[4] = rope__yShmEg9cffWxI7s5XzEKBow(develBranch);
				T47_[0] = ropeFormatNamedVars__C7idxrvpR7GOGT9c4FWXrBQ((*d).conf, docItemSeeSrc, TM__5fUAZGW8WPeit3fZaQyNXA_106, 5, T48_, 5);
				T50_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
				T50_ = percent___CtS8L8cOLTsSuQ10mtHsvw(T47_, 1);
				add__IM4kcMNkkOLJtqdEqSxR8A(&seeSrcRope, T50_);
			}
			LA38_: ;
		}
		LA30_: ;
	}
	LA24_: ;
	T51_ = (NimStringDesc*)0;
	T51_ = getConfigVar__nT6pi8CimjduqrsM6Cc8mQ((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_111), ((NimStringDesc*) NIM_NIL));
	nimZeroMem((void*)T52_, sizeof(tyArray__ovcl1w9aI1ZmKzg6fGNtM9bQ));
	T52_[0] = nameRope;
	T52_[1] = result;
	T52_[2] = comm;
	T52_[3] = itemIDRope;
	T52_[4] = plainNameRope;
	T52_[5] = plainSymbolRope;
	T52_[6] = symbolOrIdRope;
	T52_[7] = plainSymbolEncRope;
	T52_[8] = symbolOrIdEncRope;
	T52_[9] = seeSrcRope;
	T52_[10] = deprecationMsgRope;
	T53_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
	T53_ = ropeFormatNamedVars__C7idxrvpR7GOGT9c4FWXrBQ((*d).conf, T51_, TM__5fUAZGW8WPeit3fZaQyNXA_112, 11, T52_, 11);
	add__IM4kcMNkkOLJtqdEqSxR8A(&(*d).section[(k)- 0], T53_);
	T54_ = (NimStringDesc*)0;
	T54_ = relativeTo__zjjWvxBunys9bbBJHoqyLyQ((*d).destFile, (*(*d).conf).outDir, 47);
	external = noschangeFileExt(T54_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_16));
	attype = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
	{
		NIM_BOOL T57_;
		tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* att;
		T57_ = (NIM_BOOL)0;
		T57_ = ((520192 &(1U<<((NU)(k)&31U)))!=0);
		if (!(T57_)) goto LA58_;
		T57_ = ((*nameNode).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
		LA58_: ;
		if (!T57_) goto LA59_;
		if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*nameNode).kind)>>3] &(1U<<((NU)((*nameNode).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
		att = attachToType__2z9at9cKP7a6GoM6O9ba1zd7g(d, (*nameNode).sym);
		{
			NimStringDesc* T65_;
			if (!!((att == NIM_NIL))) goto LA63_;
			T65_ = (NimStringDesc*)0;
			T65_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, (*(*att).name).s, ((NI) -1));
			attype = rope__yShmEg9cffWxI7s5XzEKBow(T65_);
		}
		LA63_: ;
	}
	goto LA55_;
	LA59_: ;
	{
		NIM_BOOL T67_;
		NIM_BOOL T68_;
		tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* etyp;
		T67_ = (NIM_BOOL)0;
		T68_ = (NIM_BOOL)0;
		T68_ = (k == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 7));
		if (!(T68_)) goto LA69_;
		T68_ = ((*nameNode).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
		LA69_: ;
		T67_ = T68_;
		if (!(T67_)) goto LA70_;
		if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*nameNode).kind)>>3] &(1U<<((NU)((*nameNode).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
		T67_ = ((16386 &((NU64)1<<((NU)((*(*(*nameNode).sym).typ).kind)&63U)))!=0);
		LA70_: ;
		if (!T67_) goto LA71_;
		if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*nameNode).kind)>>3] &(1U<<((NU)((*nameNode).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
		etyp = (*(*nameNode).sym).typ;
		{
			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* e;
			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* colontmp_;
			e = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
			colontmp_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
			colontmp_ = (*etyp).n;
			{
				NI i;
				NI colontmp__2;
				NI i_2;
				i = (NI)0;
				colontmp__2 = (NI)0;
				colontmp__2 = safeLen__P89cqdlERShb9alU3iC0yj8w_2ast(colontmp_);
				i_2 = ((NI) 0);
				{
					while (1) {
						NI TM__5fUAZGW8WPeit3fZaQyNXA_131;
						if (!(i_2 < colontmp__2)) goto LA76;
						i = i_2;
						if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*colontmp_).kind)>>3] &(1U<<((NU)((*colontmp_).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
						if ((NU)(i) >= (NU)((*colontmp_).sons ? (*colontmp_).sons->Sup.len : 0)) raiseIndexError2(i,((*colontmp_).sons ? (*colontmp_).sons->Sup.len : 0)-1);
						e = (*colontmp_).sons->data[i];
						{
							NimStringDesc* plain;
							NimStringDesc* symbolOrId_2;
							tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* T82_;
							NimStringDesc* T83_;
							NimStringDesc* T84_;
							NimStringDesc* T85_;
							NimStringDesc* T86_;
							{
								if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*e).kind)>>3] &(1U<<((NU)((*e).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
								if (!!(((*(*e).sym).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 20)))) goto LA80_;
								goto LA77;
							}
							LA80_: ;
							plain = renderPlainSymbolName__0mm4u02iK86TVZPOApjzQA(e);
							symbolOrId_2 = newUniquePlainSymbol__SMnsxF7PtS1Zx9aDjvvC7rw(d, plain);
							T82_ = (tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg*)0;
							T82_ = &d->Sup;
							T83_ = (NimStringDesc*)0;
							if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*nameNode).kind)>>3] &(1U<<((NU)((*nameNode).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
							T83_ = rawNewString(((*(*(*nameNode).sym).name).s ? (*(*(*nameNode).sym).name).s->Sup.len : 0) + (plain ? plain->Sup.len : 0) + 1);
appendString(T83_, (*(*(*nameNode).sym).name).s);
appendChar(T83_, 46);
appendString(T83_, plain);
							T84_ = (NimStringDesc*)0;
							T84_ = getPlainDocstring__w0RLWJSCLHZKQXisk15Reg(e);
							T85_ = (NimStringDesc*)0;
							T85_ = docstringSummary__kPnzAIKnun4jRp3dcGAV8Q(T84_);
							T86_ = (NimStringDesc*)0;
							T86_ = escape__MqjZ9c9b479ayFgA5h9aAscAFA(T85_);
							setIndexTerm__59a2OAWg9c9azGlf9aSfMJTaLA(T82_, external, symbolOrId_2, plain, T83_, T86_);
						} LA77: ;
						TM__5fUAZGW8WPeit3fZaQyNXA_131 = addInt(i_2, ((NI) 1));
						i_2 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_131);
					} LA76: ;
				}
			}
		}
	}
	goto LA55_;
	LA71_: ;
	LA55_: ;
	T87_ = (NimStringDesc*)0;
	T87_ = getConfigVar__nT6pi8CimjduqrsM6Cc8mQ((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_132), ((NimStringDesc*) NIM_NIL));
	nimZeroMem((void*)T88_, sizeof(tyArray__tdtuX1UXre569aXskGxbPKw));
	T89_ = (NimStringDesc*)0;
	T89_ = getName__X4ox39cm9bzH8GS36cF3gOsQ(d, nameNode, (*d).Sup.splitAfter);
	T88_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T89_);
	T88_[1] = result;
	T88_[2] = comm;
	T88_[3] = itemIDRope;
	T88_[4] = plainNameRope;
	T88_[5] = plainSymbolRope;
	T88_[6] = symbolOrIdRope;
	T88_[7] = plainSymbolEncRope;
	T88_[8] = symbolOrIdEncRope;
	T88_[9] = attype;
	T90_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
	T90_ = ropeFormatNamedVars__C7idxrvpR7GOGT9c4FWXrBQ((*d).conf, T87_, TM__5fUAZGW8WPeit3fZaQyNXA_133, 10, T88_, 10);
	add__IM4kcMNkkOLJtqdEqSxR8A(&(*d).toc[(k)- 0], T90_);
	T91_ = (NimStringDesc*)0;
	T92_ = (NimStringDesc*)0;
	T92_ = nosextractFilename((*d).Sup.filename);
	T93_ = (NimStringDesc*)0;
	T93_ = noschangeFileExt(T92_, ((NimStringDesc*) NIM_NIL));
	T91_ = rawNewString((T93_ ? T93_->Sup.len : 0) + 2);
appendString(T91_, T93_);
appendString(T91_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_135));
	linkTitle = T91_;
	{
		NIM_BOOL T96_;
		NimStringDesc* T99_;
		NimStringDesc* T100_;
		T96_ = (NIM_BOOL)0;
		T96_ = isCallable__SUIy9a9bqpDkoM66A6tppSaA(n);
		if (!T96_) goto LA97_;
		T99_ = (NimStringDesc*)0;
		T99_ = nsuStrip(plainName, NIM_TRUE, NIM_TRUE, TM__5fUAZGW8WPeit3fZaQyNXA_90);
		T100_ = (NimStringDesc*)0;
		T100_ = escape__MqjZ9c9b479ayFgA5h9aAscAFA(T99_);
		linkTitle = resizeString(linkTitle, (T100_ ? T100_->Sup.len : 0) + 0);
appendString(linkTitle, T100_);
	}
	goto LA94_;
	LA97_: ;
	{
		NimStringDesc* T102_;
		NimStringDesc* T103_;
		T102_ = (NimStringDesc*)0;
		T102_ = nsuStrip(complexSymbol, NIM_TRUE, NIM_TRUE, TM__5fUAZGW8WPeit3fZaQyNXA_90);
		T103_ = (NimStringDesc*)0;
		T103_ = escape__MqjZ9c9b479ayFgA5h9aAscAFA(T102_);
		linkTitle = resizeString(linkTitle, (T103_ ? T103_->Sup.len : 0) + 0);
appendString(linkTitle, T103_);
	}
	LA94_: ;
	T104_ = (tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg*)0;
	T104_ = &d->Sup;
	T105_ = (NimStringDesc*)0;
	T105_ = docstringSummary__kPnzAIKnun4jRp3dcGAV8Q(plainDocstring);
	T106_ = (NimStringDesc*)0;
	T106_ = escape__MqjZ9c9b479ayFgA5h9aAscAFA(T105_);
	setIndexTerm__59a2OAWg9c9azGlf9aSfMJTaLA(T104_, external, symbolOrId, name, linkTitle, T106_);
	{
		NIM_BOOL T109_;
		T109_ = (NIM_BOOL)0;
		T109_ = (k == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 7));
		if (!(T109_)) goto LA110_;
		T109_ = ((*nameNode).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
		LA110_: ;
		if (!T109_) goto LA111_;
		if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*nameNode).kind)>>3] &(1U<<((NU)((*nameNode).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
		strTableAdd__tyTgUybFIoow4CX2l5beug((&(*d).types), (*nameNode).sym);
	}
	LA111_: ;
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, checkForFalse__SUIy9a9bqpDkoM66A6tppSaA_2)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {	NIM_BOOL result;
	NIM_BOOL T1_;
	NI T3_;
	result = (NIM_BOOL)0;
	T1_ = (NIM_BOOL)0;
	T1_ = ((*n).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2));
	if (!(T1_)) goto LA2_;
	if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_59[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_60));
	T3_ = (NI)0;
	T3_ = nsuCmpIgnoreStyle((*(*n).ident).s, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_140));
	T1_ = (T3_ == ((NI) 0));
	LA2_: ;
	result = T1_;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, traceDeps__Eq9c0D6KgDDYSrjqwmAUuRg)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* it) {	{
		NIM_BOOL T3_;
		NIM_BOOL T4_;
		NI T6_;
		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* sep;
		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* dir;
		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a;
		T3_ = (NIM_BOOL)0;
		T4_ = (NIM_BOOL)0;
		T4_ = ((*it).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 29));
		if (!(T4_)) goto LA5_;
		T6_ = (NI)0;
		T6_ = len__P89cqdlERShb9alU3iC0yj8wast(it);
		T4_ = (T6_ == ((NI) 3));
		LA5_: ;
		T3_ = T4_;
		if (!(T3_)) goto LA7_;
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*it).kind)>>3] &(1U<<((NU)((*it).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 2)) >= (NU)((*it).sons ? (*it).sons->Sup.len : 0)) raiseIndexError2(((NI) 2),((*it).sons ? (*it).sons->Sup.len : 0)-1);
		T3_ = ((*(*it).sons->data[((NI) 2)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 41));
		LA7_: ;
		if (!T3_) goto LA8_;
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*it).kind)>>3] &(1U<<((NU)((*it).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*it).sons ? (*it).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*it).sons ? (*it).sons->Sup.len : 0)-1);
		sep = (*it).sons->data[((NI) 0)];
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*it).kind)>>3] &(1U<<((NU)((*it).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 1)) >= (NU)((*it).sons ? (*it).sons->Sup.len : 0)) raiseIndexError2(((NI) 1),((*it).sons ? (*it).sons->Sup.len : 0)-1);
		dir = (*it).sons->data[((NI) 1)];
		a = newNodeI__vokyXY9cZDshCSxFKChhG9bg(((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 29), (*it).info);
		add__P8dDSotTW25BkfbyspojGg(a, sep);
		add__P8dDSotTW25BkfbyspojGg(a, dir);
		add__P8dDSotTW25BkfbyspojGg(a, sep);
		{
			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* x;
			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* colontmp_;
			x = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
			colontmp_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*it).kind)>>3] &(1U<<((NU)((*it).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 2)) >= (NU)((*it).sons ? (*it).sons->Sup.len : 0)) raiseIndexError2(((NI) 2),((*it).sons ? (*it).sons->Sup.len : 0)-1);
			colontmp_ = (*it).sons->data[((NI) 2)];
			{
				NI i;
				NI colontmp__2;
				NI i_2;
				i = (NI)0;
				colontmp__2 = (NI)0;
				colontmp__2 = safeLen__P89cqdlERShb9alU3iC0yj8w_2ast(colontmp_);
				i_2 = ((NI) 0);
				{
					while (1) {
						NI TM__5fUAZGW8WPeit3fZaQyNXA_141;
						if (!(i_2 < colontmp__2)) goto LA13;
						i = i_2;
						if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*colontmp_).kind)>>3] &(1U<<((NU)((*colontmp_).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
						if ((NU)(i) >= (NU)((*colontmp_).sons ? (*colontmp_).sons->Sup.len : 0)) raiseIndexError2(i,((*colontmp_).sons ? (*colontmp_).sons->Sup.len : 0)-1);
						x = (*colontmp_).sons->data[i];
						if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
						if ((NU)(((NI) 2)) >= (NU)((*a).sons ? (*a).sons->Sup.len : 0)) raiseIndexError2(((NI) 2),((*a).sons ? (*a).sons->Sup.len : 0)-1);
						asgnRef((void**) (&(*a).sons->data[((NI) 2)]), x);
						traceDeps__Eq9c0D6KgDDYSrjqwmAUuRg(d, a);
						TM__5fUAZGW8WPeit3fZaQyNXA_141 = addInt(i_2, ((NI) 1));
						i_2 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_141);
					} LA13: ;
				}
			}
		}
	}
	goto LA1_;
	LA8_: ;
	{
		NIM_BOOL T15_;
		NimStringDesc* external;
		T15_ = (NIM_BOOL)0;
		T15_ = ((*it).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
		if (!(T15_)) goto LA16_;
		if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*it).kind)>>3] &(1U<<((NU)((*it).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
		T15_ = belongsToPackage__cNpgS79aRW1W4TDXo9chSDaA((*d).conf, (*it).sym);
		LA16_: ;
		if (!T15_) goto LA17_;
		if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*it).kind)>>3] &(1U<<((NU)((*it).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
		external = externalDep__P9b6ldiOs1C1cjAHSU4Jlpg(d, (*it).sym);
		{
			if (!!(((*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6))- 0] == NIM_NIL))) goto LA21_;
			add__yG4AKzsBRS1W4MANDlXQeg(&(*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6))- 0], ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_68));
		}
		LA21_: ;
		{
			tyArray__mrugoXXRZUEeG9bEXo9auBKw T27_;
			NimStringDesc* T28_;
			NimStringDesc* T29_;
			NimStringDesc* T30_;
			tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T31_;
			if (!!(((*(*d).conf).cmd == ((tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw) 17)))) goto LA25_;
			nimZeroMem((void*)T27_, sizeof(tyArray__mrugoXXRZUEeG9bEXo9auBKw));
			T28_ = (NimStringDesc*)0;
			T28_ = noschangeFileExt(external, ((NimStringDesc*) NIM_NIL));
			T29_ = (NimStringDesc*)0;
			T29_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, T28_, ((NI) -1));
			T27_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T29_);
			T30_ = (NimStringDesc*)0;
			T30_ = noschangeFileExt(external, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_16));
			T27_[1] = rope__yShmEg9cffWxI7s5XzEKBow(T30_);
			T31_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
			T31_ = percent___xsFAphqq4CRpmuZ79bXVLrA(T27_, 2);
			add__IM4kcMNkkOLJtqdEqSxR8A(&(*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6))- 0], T31_);
		}
		goto LA23_;
		LA25_: ;
		{
			tyArray__mrugoXXRZUEeG9bEXo9auBKw T33_;
			NimStringDesc* T34_;
			NimStringDesc* T35_;
			NimStringDesc* T36_;
			tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T37_;
			nimZeroMem((void*)T33_, sizeof(tyArray__mrugoXXRZUEeG9bEXo9auBKw));
			T34_ = (NimStringDesc*)0;
			T34_ = noschangeFileExt(external, ((NimStringDesc*) NIM_NIL));
			T35_ = (NimStringDesc*)0;
			T35_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, T34_, ((NI) -1));
			T33_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T35_);
			T36_ = (NimStringDesc*)0;
			T36_ = noschangeFileExt(external, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_16));
			T33_[1] = rope__yShmEg9cffWxI7s5XzEKBow(T36_);
			T37_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
			T37_ = percent___QXMcmOst45ThYFLo9cOKDiQ(T33_, 2);
			add__IM4kcMNkkOLJtqdEqSxR8A(&(*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6))- 0], T37_);
		}
		LA23_: ;
	}
	goto LA1_;
	LA17_: ;
	LA1_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, exportSym__qYoJMTaZpxeCNRoEoCKzkw)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* s) {	{
		NIM_BOOL T3_;
		NimStringDesc* external;
		T3_ = (NIM_BOOL)0;
		T3_ = ((*s).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6));
		if (!(T3_)) goto LA4_;
		T3_ = belongsToPackage__cNpgS79aRW1W4TDXo9chSDaA((*d).conf, s);
		LA4_: ;
		if (!T3_) goto LA5_;
		external = externalDep__P9b6ldiOs1C1cjAHSU4Jlpg(d, s);
		{
			if (!!(((*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0] == NIM_NIL))) goto LA9_;
			add__yG4AKzsBRS1W4MANDlXQeg(&(*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0], ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_68));
		}
		LA9_: ;
		{
			tyArray__mrugoXXRZUEeG9bEXo9auBKw T15_;
			NimStringDesc* T16_;
			NimStringDesc* T17_;
			NimStringDesc* T18_;
			tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T19_;
			if (!!(((*(*d).conf).cmd == ((tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw) 17)))) goto LA13_;
			nimZeroMem((void*)T15_, sizeof(tyArray__mrugoXXRZUEeG9bEXo9auBKw));
			T16_ = (NimStringDesc*)0;
			T16_ = noschangeFileExt(external, ((NimStringDesc*) NIM_NIL));
			T17_ = (NimStringDesc*)0;
			T17_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, T16_, ((NI) -1));
			T15_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T17_);
			T18_ = (NimStringDesc*)0;
			T18_ = noschangeFileExt(external, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_16));
			T15_[1] = rope__yShmEg9cffWxI7s5XzEKBow(T18_);
			T19_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
			T19_ = percent___xsFAphqq4CRpmuZ79bXVLrA(T15_, 2);
			add__IM4kcMNkkOLJtqdEqSxR8A(&(*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0], T19_);
		}
		goto LA11_;
		LA13_: ;
		{
			tyArray__mrugoXXRZUEeG9bEXo9auBKw T21_;
			NimStringDesc* T22_;
			NimStringDesc* T23_;
			NimStringDesc* T24_;
			tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T25_;
			nimZeroMem((void*)T21_, sizeof(tyArray__mrugoXXRZUEeG9bEXo9auBKw));
			T22_ = (NimStringDesc*)0;
			T22_ = noschangeFileExt(external, ((NimStringDesc*) NIM_NIL));
			T23_ = (NimStringDesc*)0;
			T23_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, T22_, ((NI) -1));
			T21_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T23_);
			T24_ = (NimStringDesc*)0;
			T24_ = noschangeFileExt(external, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_16));
			T21_[1] = rope__yShmEg9cffWxI7s5XzEKBow(T24_);
			T25_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
			T25_ = percent___QXMcmOst45ThYFLo9cOKDiQ(T21_, 2);
			add__IM4kcMNkkOLJtqdEqSxR8A(&(*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0], T25_);
		}
		LA11_: ;
	}
	goto LA1_;
	LA5_: ;
	{
		NIM_BOOL T27_;
		tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* module;
		T27_ = (NIM_BOOL)0;
		T27_ = !(((*s).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6)));
		if (!(T27_)) goto LA28_;
		T27_ = !(((*s).owner == NIM_NIL));
		LA28_: ;
		if (!T27_) goto LA29_;
		module = originatingModule__lIu8wX6Beq6dBJgESOFFjg_2(s);
		{
			NIM_BOOL T33_;
			NimStringDesc* external_2;
			T33_ = (NIM_BOOL)0;
			T33_ = belongsToPackage__cNpgS79aRW1W4TDXo9chSDaA((*d).conf, module);
			if (!T33_) goto LA34_;
			external_2 = externalDep__P9b6ldiOs1C1cjAHSU4Jlpg(d, module);
			{
				if (!!(((*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0] == NIM_NIL))) goto LA38_;
				add__yG4AKzsBRS1W4MANDlXQeg(&(*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0], ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_68));
			}
			LA38_: ;
			{
				tyArray__mrugoXXRZUEeG9bEXo9auBKw T44_;
				NimStringDesc* T45_;
				NimStringDesc* T46_;
				tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T47_;
				if (!!(((*(*d).conf).cmd == ((tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw) 17)))) goto LA42_;
				nimZeroMem((void*)T44_, sizeof(tyArray__mrugoXXRZUEeG9bEXo9auBKw));
				T45_ = (NimStringDesc*)0;
				T45_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, (*(*s).name).s, ((NI) -1));
				T44_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T45_);
				T46_ = (NimStringDesc*)0;
				T46_ = noschangeFileExt(external_2, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_16));
				T44_[1] = rope__yShmEg9cffWxI7s5XzEKBow(T46_);
				T47_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
				T47_ = percent___SSpcZv60d0mAp5H4Mb5hpg(T44_, 2);
				add__IM4kcMNkkOLJtqdEqSxR8A(&(*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0], T47_);
			}
			goto LA40_;
			LA42_: ;
			{
				tyArray__mrugoXXRZUEeG9bEXo9auBKw T49_;
				NimStringDesc* T50_;
				NimStringDesc* T51_;
				tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T52_;
				nimZeroMem((void*)T49_, sizeof(tyArray__mrugoXXRZUEeG9bEXo9auBKw));
				T50_ = (NimStringDesc*)0;
				T50_ = esc__Tgq9c7oEp9c4LGF7SoXGTh8w((*d).Sup.target, (*(*s).name).s, ((NI) -1));
				T49_[0] = rope__yShmEg9cffWxI7s5XzEKBow(T50_);
				T51_ = (NimStringDesc*)0;
				T51_ = noschangeFileExt(external_2, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_16));
				T49_[1] = rope__yShmEg9cffWxI7s5XzEKBow(T51_);
				T52_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
				T52_ = percent___QXMcmOst45ThYFLo9cOKDiQ(T49_, 2);
				add__IM4kcMNkkOLJtqdEqSxR8A(&(*d).section[(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 19))- 0], T52_);
			}
			LA40_: ;
		}
		LA34_: ;
	}
	goto LA1_;
	LA29_: ;
	LA1_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, generateDoc__3TtMsGQfsjgm9bmrWllS1pQ)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* orig) {	switch ((*n).kind) {
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 90):
	{
		tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* pragmaNode;
		tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T2_;
		pragmaNode = findPragma__0mDn9a9aralwZhM9cLc7HEF9aA(n, ((tyEnum_TSpecialWord__ycbpMCRV6Cd2eBh3X9biEiw) 129));
		T2_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
		T2_ = genDeprecationMsg__CsFui9bBKN4zbV9c9cdppnsLA(d, pragmaNode);
		add__IM4kcMNkkOLJtqdEqSxR8A(&(*d).modDeprecationMsg, T2_);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 125):
	{
		NimStringDesc* T4_;
		T4_ = (NimStringDesc*)0;
		T4_ = genComment__1NsSIzkKMtq49acu82VJUxg(d, n);
		add__yG4AKzsBRS1W4MANDlXQeg(&(*d).modDesc, T4_);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 79):
	{
		documentRaises__hkgQwVnJ9aLSGn9aEOV0GSag((*d).cache, n);
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		genItem__URT9bPNauhD0BURJFfjsh9cQ(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 12));
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 159):
	{
		documentRaises__hkgQwVnJ9aLSGn9aEOV0GSag((*d).cache, n);
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		genItem__URT9bPNauhD0BURJFfjsh9cQ(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 13));
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 80):
	{
		documentRaises__hkgQwVnJ9aLSGn9aEOV0GSag((*d).cache, n);
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		genItem__URT9bPNauhD0BURJFfjsh9cQ(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 14));
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 84):
	{
		documentRaises__hkgQwVnJ9aLSGn9aEOV0GSag((*d).cache, n);
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		genItem__URT9bPNauhD0BURJFfjsh9cQ(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 82):
	{
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		genItem__URT9bPNauhD0BURJFfjsh9cQ(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 17));
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 83):
	{
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		genItem__URT9bPNauhD0BURJFfjsh9cQ(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 18));
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 81):
	{
		documentRaises__hkgQwVnJ9aLSGn9aEOV0GSag((*d).cache, n);
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		genItem__URT9bPNauhD0BURJFfjsh9cQ(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 16));
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 98):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 99):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 100):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 101):
	{
		{
			NI i;
			NI colontmp_;
			NI i_2;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(n);
			i_2 = ((NI) 0);
			{
				while (1) {
					NI TM__5fUAZGW8WPeit3fZaQyNXA_138;
					if (!(i_2 < colontmp_)) goto LA15;
					i = i_2;
					{
						NI TM__5fUAZGW8WPeit3fZaQyNXA_136;
						NI TM__5fUAZGW8WPeit3fZaQyNXA_137;
						if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
						if ((NU)(i) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i,((*n).sons ? (*n).sons->Sup.len : 0)-1);
						if (!!(((*(*n).sons->data[i]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 125)))) goto LA18_;
						if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
						if ((NU)(i) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i,((*n).sons ? (*n).sons->Sup.len : 0)-1);
						if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
						if ((NU)(i) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i,((*n).sons ? (*n).sons->Sup.len : 0)-1);
						if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*(*n).sons->data[i]).kind)>>3] &(1U<<((NU)((*(*n).sons->data[i]).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
						if ((NU)(((NI) 0)) >= (NU)((*(*n).sons->data[i]).sons ? (*(*n).sons->data[i]).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*(*n).sons->data[i]).sons ? (*(*n).sons->data[i]).sons->Sup.len : 0)-1);
						TM__5fUAZGW8WPeit3fZaQyNXA_136 = subInt((*n).kind, ((NI) 98));
						TM__5fUAZGW8WPeit3fZaQyNXA_137 = addInt(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 7), (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_136));
						if (TM__5fUAZGW8WPeit3fZaQyNXA_137 < 0 || TM__5fUAZGW8WPeit3fZaQyNXA_137 > 25) raiseOverflow();
						genItem__URT9bPNauhD0BURJFfjsh9cQ(d, (*n).sons->data[i], (*(*n).sons->data[i]).sons->data[((NI) 0)], (tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw)(TM__5fUAZGW8WPeit3fZaQyNXA_137));
					}
					LA18_: ;
					TM__5fUAZGW8WPeit3fZaQyNXA_138 = addInt(i_2, ((NI) 1));
					i_2 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_138);
				} LA15: ;
			}
		}
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115):
	{
		{
			NI i_3;
			NI colontmp__2;
			NI i_4;
			i_3 = (NI)0;
			colontmp__2 = (NI)0;
			colontmp__2 = len__P89cqdlERShb9alU3iC0yj8wast(n);
			i_4 = ((NI) 0);
			{
				while (1) {
					NI TM__5fUAZGW8WPeit3fZaQyNXA_139;
					if (!(i_4 < colontmp__2)) goto LA23;
					i_3 = i_4;
					if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
					if ((NU)(i_3) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i_3,((*n).sons ? (*n).sons->Sup.len : 0)-1);
					generateDoc__3TtMsGQfsjgm9bmrWllS1pQ(d, (*n).sons->data[i_3], orig);
					TM__5fUAZGW8WPeit3fZaQyNXA_139 = addInt(i_4, ((NI) 1));
					i_4 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_139);
				} LA23: ;
			}
		}
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 93):
	{
		{
			NIM_BOOL T27_;
			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T30_;
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*(*n).sons->data[((NI) 0)]).kind)>>3] &(1U<<((NU)((*(*n).sons->data[((NI) 0)]).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 0)) >= (NU)((*(*n).sons->data[((NI) 0)]).sons ? (*(*n).sons->data[((NI) 0)]).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*(*n).sons->data[((NI) 0)]).sons ? (*(*n).sons->data[((NI) 0)]).sons->Sup.len : 0)-1);
			T27_ = (NIM_BOOL)0;
			T27_ = checkForFalse__SUIy9a9bqpDkoM66A6tppSaA_2((*(*n).sons->data[((NI) 0)]).sons->data[((NI) 0)]);
			if (!!(T27_)) goto LA28_;
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			T30_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
			T30_ = lastSon__UPSW0jLTX5qJL51YMUAHgw((*n).sons->data[((NI) 0)]);
			generateDoc__3TtMsGQfsjgm9bmrWllS1pQ(d, T30_, orig);
		}
		LA28_: ;
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 116):
	{
		{
			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* it;
			it = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
			{
				NI i_5;
				NI colontmp__3;
				NI i_6;
				i_5 = (NI)0;
				colontmp__3 = (NI)0;
				colontmp__3 = safeLen__P89cqdlERShb9alU3iC0yj8w_2ast(n);
				i_6 = ((NI) 0);
				{
					while (1) {
						NI TM__5fUAZGW8WPeit3fZaQyNXA_142;
						if (!(i_6 < colontmp__3)) goto LA35;
						i_5 = i_6;
						if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
						if ((NU)(i_5) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i_5,((*n).sons ? (*n).sons->Sup.len : 0)-1);
						it = (*n).sons->data[i_5];
						traceDeps__Eq9c0D6KgDDYSrjqwmAUuRg(d, it);
						TM__5fUAZGW8WPeit3fZaQyNXA_142 = addInt(i_6, ((NI) 1));
						i_6 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_142);
					} LA35: ;
				}
			}
		}
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 118):
	{
		{
			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* it_2;
			it_2 = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
			{
				NI i_7;
				NI colontmp__4;
				NI i_8;
				i_7 = (NI)0;
				colontmp__4 = (NI)0;
				colontmp__4 = safeLen__P89cqdlERShb9alU3iC0yj8w_2ast(n);
				i_8 = ((NI) 0);
				{
					while (1) {
						NI TM__5fUAZGW8WPeit3fZaQyNXA_143;
						if (!(i_8 < colontmp__4)) goto LA40;
						i_7 = i_8;
						if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
						if ((NU)(i_7) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i_7,((*n).sons ? (*n).sons->Sup.len : 0)-1);
						it_2 = (*n).sons->data[i_7];
						{
							if (!((*it_2).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3))) goto LA43_;
							if (!(((TM__5fUAZGW8WPeit3fZaQyNXA_51[(NU)((*it_2).kind)>>3] &(1U<<((NU)((*it_2).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_52));
							exportSym__qYoJMTaZpxeCNRoEoCKzkw(d, (*it_2).sym);
						}
						LA43_: ;
						TM__5fUAZGW8WPeit3fZaQyNXA_143 = addInt(i_8, ((NI) 1));
						i_8 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_143);
					} LA40: ;
				}
			}
		}
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 119):
	{
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 120):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 117):
	{
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		traceDeps__Eq9c0D6KgDDYSrjqwmAUuRg(d, (*n).sons->data[((NI) 0)]);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 26) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 32):
	{
		tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* comm;
		comm = NIM_NIL;
		getAllRunnableExamples__KTaDQnNH9ae4Bf008FpUeJw(d, n, &comm);
		{
			if (!!((comm == NIM_NIL))) goto LA50_;
			add__IM4kcMNkkOLJtqdEqSxR8A(&(*d).modDesc, comm);
		}
		LA50_: ;
	}
	break;
	default:
	{
	}
	break;
	}
}
N_LIB_PRIVATE N_NIMCALL(void, runAllExamples__6UjzL2rSgVAuceHWxn9c01Q)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d) {	NimStringDesc* outputDir;
	NimStringDesc* T5_;
	NimStringDesc* outp;
	NimStringDesc* T6_;
	NimStringDesc* T7_;
	NimStringDesc* T8_;
	NimStringDesc* backend;
{	{
		if (!(((*d).examples ? (*d).examples->Sup.len : 0) == ((NI) 0))) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	T5_ = (NimStringDesc*)0;
	T5_ = getNimcacheDir__oltK69akg0xLqkR2ITKbomg_2((*d).conf);
	outputDir = slash___0U8YTiSB6NvFwgvyimFN2Q(T5_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_73));
	T6_ = (NimStringDesc*)0;
	T7_ = (NimStringDesc*)0;
	T7_ = noschangeFileExt((*d).Sup.filename, ((NimStringDesc*) NIM_NIL));
	T6_ = rawNewString((T7_ ? T7_->Sup.len : 0) + 13);
appendString(T6_, T7_);
appendString(T6_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_144));
	T8_ = (NimStringDesc*)0;
	T8_ = nosextractFilename(T6_);
	outp = slash___QVqo5OOQAdrjFqBsPctklw(outputDir, T8_);
	writeFile__D6Pj9c29aCLEJP9beOWa08HYA(outp, (*d).examples);
	{
		NIM_BOOL T11_;
		T11_ = (NIM_BOOL)0;
		T11_ = isDefined__jkXTnxDf8MX1Pmks3s0XxA((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_145));
		if (!T11_) goto LA12_;
		backend = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_145));
	}
	goto LA9_;
	LA12_: ;
	{
		NIM_BOOL T15_;
		T15_ = (NIM_BOOL)0;
		T15_ = isDefined__jkXTnxDf8MX1Pmks3s0XxA((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_146));
		if (!T15_) goto LA16_;
		backend = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_146));
	}
	goto LA9_;
	LA16_: ;
	{
		NIM_BOOL T19_;
		T19_ = (NIM_BOOL)0;
		T19_ = isDefined__jkXTnxDf8MX1Pmks3s0XxA((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_147));
		if (!T19_) goto LA20_;
		backend = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_147));
	}
	goto LA9_;
	LA20_: ;
	{
		backend = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_148));
	}
	LA9_: ;
	{
		NimStringDesc* T25_;
		NimStringDesc* T26_;
		NimStringDesc* T27_;
		NimStringDesc* T28_;
		NimStringDesc* T29_;
		NI T30_;
		NimStringDesc* T33_;
		T25_ = (NimStringDesc*)0;
		T26_ = (NimStringDesc*)0;
		T26_ = nosgetAppFilename();
		T27_ = (NimStringDesc*)0;
		T27_ = nospquoteShell((*(*d).conf).projectPath);
		T28_ = (NimStringDesc*)0;
		T28_ = nospquoteShell(outputDir);
		T29_ = (NimStringDesc*)0;
		T29_ = nospquoteShell(outp);
		T25_ = rawNewString((T26_ ? T26_->Sup.len : 0) + (backend ? backend->Sup.len : 0) + (T27_ ? T27_->Sup.len : 0) + (T28_ ? T28_->Sup.len : 0) + (T29_ ? T29_->Sup.len : 0) + 53);
appendString(T25_, T26_);
appendString(T25_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_149));
appendString(T25_, backend);
appendString(T25_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_150));
appendString(T25_, T27_);
appendString(T25_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_151));
appendString(T25_, T28_);
appendString(T25_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_152));
appendString(T25_, T29_);
		T30_ = (NI)0;
		T30_ = nosexecShellCmd(T25_);
		if (!!((T30_ == ((NI) 0)))) goto LA31_;
		T33_ = (NimStringDesc*)0;
		T33_ = rawNewString((outp ? outp->Sup.len : 0) + 23);
appendString(T33_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_153));
appendString(T33_, outp);
		quit__q8QKbUwWyOe9b9a1QNJQr71A(T33_, ((NI) 1));
	}
	goto LA23_;
	LA31_: ;
	{
		tyArray__nHXaesL0DJZHyVS07ARPRA T35_;
		NimStringDesc* T36_;
		NimStringDesc* T37_;
		nimZeroMem((void*)T35_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
		T36_ = (NimStringDesc*)0;
		T36_ = rawNewString((outp ? outp->Sup.len : 0) + 18);
appendString(T36_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_154));
appendString(T36_, outp);
		T35_[0] = T36_;
		rawMessage__PYBO4jCiD1pa1t49bOFOKuw((*d).conf, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 43), T35_, 1);
		T37_ = (NimStringDesc*)0;
		T37_ = noschangeFileExt(outp, ((NimStringDesc*) NIM_NIL));
		nosremoveFile(T37_);
	}
	LA23_: ;
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, genSection__CN7Mvy33ScwwVir5nDIGqg)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw kind) {	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* title;
	NimStringDesc* T5_;
	tyArray__f7nG5LD47BH5K9c6mASit3g T6_;
	NI TM__5fUAZGW8WPeit3fZaQyNXA_174;
	NimStringDesc* T7_;
	tyArray__f7nG5LD47BH5K9c6mASit3g T8_;
	NI TM__5fUAZGW8WPeit3fZaQyNXA_176;
{	{
		if (!((*d).section[(kind)- 0] == NIM_NIL)) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	if (kind < 6 || kind > 19) raiseIndexError3(kind, 6, 19);
	title = rope__yShmEg9cffWxI7s5XzEKBow(sectionNames__9bFbR0UW0hviZzxnBeyotPA[(kind)- 6]);
	T5_ = (NimStringDesc*)0;
	T5_ = getConfigVar__nT6pi8CimjduqrsM6Cc8mQ((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_168), ((NimStringDesc*) NIM_NIL));
	nimZeroMem((void*)T6_, sizeof(tyArray__f7nG5LD47BH5K9c6mASit3g));
	T6_[0] = rope__KOisMGxcPhz6CcSmxgwEQQ(((NI64) (kind)));
	T6_[1] = title;
	TM__5fUAZGW8WPeit3fZaQyNXA_174 = addInt(kind, ((NI) 50));
	T6_[2] = rope__KOisMGxcPhz6CcSmxgwEQQ(((NI64) ((NI)(TM__5fUAZGW8WPeit3fZaQyNXA_174))));
	T6_[3] = (*d).section[(kind)- 0];
	asgnRef((void**) (&(*d).section[(kind)- 0]), ropeFormatNamedVars__C7idxrvpR7GOGT9c4FWXrBQ((*d).conf, T5_, TM__5fUAZGW8WPeit3fZaQyNXA_169, 4, T6_, 4));
	T7_ = (NimStringDesc*)0;
	T7_ = getConfigVar__nT6pi8CimjduqrsM6Cc8mQ((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_175), ((NimStringDesc*) NIM_NIL));
	nimZeroMem((void*)T8_, sizeof(tyArray__f7nG5LD47BH5K9c6mASit3g));
	T8_[0] = rope__KOisMGxcPhz6CcSmxgwEQQ(((NI64) (kind)));
	T8_[1] = title;
	TM__5fUAZGW8WPeit3fZaQyNXA_176 = addInt(kind, ((NI) 50));
	T8_[2] = rope__KOisMGxcPhz6CcSmxgwEQQ(((NI64) ((NI)(TM__5fUAZGW8WPeit3fZaQyNXA_176))));
	T8_[3] = (*d).toc[(kind)- 0];
	asgnRef((void**) (&(*d).toc[(kind)- 0]), ropeFormatNamedVars__C7idxrvpR7GOGT9c4FWXrBQ((*d).conf, T7_, TM__5fUAZGW8WPeit3fZaQyNXA_169, 4, T8_, 4));
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, genOutFile__XEn2EmHlFqD5MwQODOyxEw)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d) {	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* result;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* code;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* content;
	NimStringDesc* title;
	NI j;
	NimStringDesc* tmp;
	tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* T1_;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* toc;
	NimStringDesc* bodyname;
	NimStringDesc* T32_;
	tyArray__YcHYlgE5mhtkt9a3rnoucVg T33_;
	NimStringDesc* T34_;
	NimStringDesc* T35_;
	result = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
	code = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
	content = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
	title = ((NimStringDesc*) NIM_NIL);
	j = ((NI) 0);
	tmp = ((NimStringDesc*) NIM_NIL);
	T1_ = (tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg*)0;
	T1_ = &d->Sup;
	renderTocEntries__lXmEBiWEMeUQB9cTe0c6XoQ(T1_, (&j), ((NI) 1), (&tmp));
	toc = rope__yShmEg9cffWxI7s5XzEKBow(tmp);
	{
		tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw i;
		NI res;
		i = (tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw)0;
		res = ((NI) 0);
		{
			while (1) {
				NI TM__5fUAZGW8WPeit3fZaQyNXA_177;
				if (!(res <= ((NI) 25))) goto LA4;
				i = ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw)chckRange(res, ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 0), ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 25)));
				genSection__CN7Mvy33ScwwVir5nDIGqg(d, i);
				add__IM4kcMNkkOLJtqdEqSxR8A(&toc, (*d).toc[(i)- 0]);
				TM__5fUAZGW8WPeit3fZaQyNXA_177 = addInt(res, ((NI) 1));
				res = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_177);
			} LA4: ;
		}
	}
	{
		NimStringDesc* T9_;
		tyArray__JiWwrsTRC6xqNlGcBthSVA T10_;
		if (!!((toc == NIM_NIL))) goto LA7_;
		T9_ = (NimStringDesc*)0;
		T9_ = getConfigVar__nT6pi8CimjduqrsM6Cc8mQ((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_178), ((NimStringDesc*) NIM_NIL));
		nimZeroMem((void*)T10_, sizeof(tyArray__JiWwrsTRC6xqNlGcBthSVA));
		T10_[0] = toc;
		toc = ropeFormatNamedVars__C7idxrvpR7GOGT9c4FWXrBQ((*d).conf, T9_, TM__5fUAZGW8WPeit3fZaQyNXA_179, 1, T10_, 1);
	}
	LA7_: ;
	{
		tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw i_2;
		NI res_2;
		i_2 = (tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw)0;
		res_2 = ((NI) 0);
		{
			while (1) {
				NI TM__5fUAZGW8WPeit3fZaQyNXA_180;
				if (!(res_2 <= ((NI) 25))) goto LA13;
				i_2 = ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw)chckRange(res_2, ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 0), ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 25)));
				add__IM4kcMNkkOLJtqdEqSxR8A(&code, (*d).section[(i_2)- 0]);
				TM__5fUAZGW8WPeit3fZaQyNXA_180 = addInt(res_2, ((NI) 1));
				res_2 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_180);
			} LA13: ;
		}
	}
	{
		NimStringDesc* external;
		NimStringDesc* T18_;
		tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* T19_;
		if (!!((((*d).Sup.meta[(((tyEnum_MetaEnum__HD14RiMbGt9aRJpE4GI3T9cg) 1))- 0] ? (*d).Sup.meta[(((tyEnum_MetaEnum__HD14RiMbGt9aRJpE4GI3T9cg) 1))- 0]->Sup.len : 0) == ((NI) 0)))) goto LA16_;
		title = copyString((*d).Sup.meta[(((tyEnum_MetaEnum__HD14RiMbGt9aRJpE4GI3T9cg) 1))- 0]);
		T18_ = (NimStringDesc*)0;
		T18_ = relativeTo__zjjWvxBunys9bbBJHoqyLyQ((*d).Sup.filename, (*(*d).conf).projectPath, 47);
		external = noschangeFileExt(T18_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_16));
		T19_ = (tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg*)0;
		T19_ = &d->Sup;
		setIndexTerm__59a2OAWg9c9azGlf9aSfMJTaLA(T19_, external, ((NimStringDesc*) NIM_NIL), title, ((NimStringDesc*) NIM_NIL), ((NimStringDesc*) NIM_NIL));
	}
	goto LA14_;
	LA16_: ;
	{
		NimStringDesc* T21_;
		T21_ = (NimStringDesc*)0;
		T21_ = noschangeFileExt((*d).Sup.filename, ((NimStringDesc*) NIM_NIL));
		title = nosextractFilename(T21_);
	}
	LA14_: ;
	{
		NIM_BOOL T24_;
		T24_ = (NIM_BOOL)0;
		T24_ = (*d).Sup.hasToc;
		if (!(T24_)) goto LA25_;
		T24_ = !((*d).isPureRst);
		LA25_: ;
		if (!T24_) goto LA26_;
		bodyname = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_181));
	}
	goto LA22_;
	LA26_: ;
	{
		if (!(*d).Sup.hasToc) goto LA29_;
		bodyname = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_182));
	}
	goto LA22_;
	LA29_: ;
	{
		bodyname = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_183));
	}
	LA22_: ;
	T32_ = (NimStringDesc*)0;
	T32_ = getConfigVar__nT6pi8CimjduqrsM6Cc8mQ((*d).conf, bodyname, ((NimStringDesc*) NIM_NIL));
	nimZeroMem((void*)T33_, sizeof(tyArray__YcHYlgE5mhtkt9a3rnoucVg));
	T33_[0] = rope__yShmEg9cffWxI7s5XzEKBow(title);
	T33_[1] = toc;
	T33_[2] = (*d).modDesc;
	T34_ = (NimStringDesc*)0;
	T34_ = getDateStr__ye3QcrLEUbQh0AniHZYCHg_2();
	T33_[3] = rope__yShmEg9cffWxI7s5XzEKBow(T34_);
	T35_ = (NimStringDesc*)0;
	T35_ = getClockStr__ye3QcrLEUbQh0AniHZYCHg_3();
	T33_[4] = rope__yShmEg9cffWxI7s5XzEKBow(T35_);
	T33_[5] = code;
	T33_[6] = (*d).modDeprecationMsg;
	content = ropeFormatNamedVars__C7idxrvpR7GOGT9c4FWXrBQ((*d).conf, T32_, TM__5fUAZGW8WPeit3fZaQyNXA_184, 7, T33_, 7);
	{
		NimStringDesc* T40_;
		tyArray__tdtuX1UXre569aXskGxbPKw T41_;
		NimStringDesc* T42_;
		NimStringDesc* T43_;
		if (!!((((*(*d).conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 4))&63U)))!=0))) goto LA38_;
		T40_ = (NimStringDesc*)0;
		T40_ = getConfigVar__nT6pi8CimjduqrsM6Cc8mQ((*d).conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_190), ((NimStringDesc*) NIM_NIL));
		nimZeroMem((void*)T41_, sizeof(tyArray__tdtuX1UXre569aXskGxbPKw));
		T41_[0] = rope__yShmEg9cffWxI7s5XzEKBow(title);
		T41_[1] = toc;
		T41_[2] = (*d).modDesc;
		T42_ = (NimStringDesc*)0;
		T42_ = getDateStr__ye3QcrLEUbQh0AniHZYCHg_2();
		T41_[3] = rope__yShmEg9cffWxI7s5XzEKBow(T42_);
		T43_ = (NimStringDesc*)0;
		T43_ = getClockStr__ye3QcrLEUbQh0AniHZYCHg_3();
		T41_[4] = rope__yShmEg9cffWxI7s5XzEKBow(T43_);
		T41_[5] = content;
		T41_[6] = rope__yShmEg9cffWxI7s5XzEKBow((*d).Sup.meta[(((tyEnum_MetaEnum__HD14RiMbGt9aRJpE4GI3T9cg) 3))- 0]);
		T41_[7] = rope__yShmEg9cffWxI7s5XzEKBow((*d).Sup.meta[(((tyEnum_MetaEnum__HD14RiMbGt9aRJpE4GI3T9cg) 4))- 0]);
		T41_[8] = rope__yShmEg9cffWxI7s5XzEKBow((*d).analytics);
		T41_[9] = (*d).modDeprecationMsg;
		code = ropeFormatNamedVars__C7idxrvpR7GOGT9c4FWXrBQ((*d).conf, T40_, TM__5fUAZGW8WPeit3fZaQyNXA_191, 10, T41_, 10);
	}
	goto LA36_;
	LA38_: ;
	{
		code = content;
	}
	LA36_: ;
	result = code;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, writeOutput__7W8HhP9cLoIdLMqjvSJvHmg)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, NIM_BOOL useWarning) {	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* content;
	runAllExamples__6UjzL2rSgVAuceHWxn9c01Q(d);
	content = genOutFile__XEn2EmHlFqD5MwQODOyxEw(d);
	{
		if (!(((*(*d).conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 22))&63U)))!=0)) goto LA3_;
		writeRope__FwuzOBq6SLlanVUstm8q9cA(stdout, content);
	}
	goto LA1_;
	LA3_: ;
	{
		tyTuple__7q7q3E6Oj24ZNVJb9aonhAg T6_;
		nimZeroMem((void*)(&T6_), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg));
		splitFile__z7B4FbwzX3Y0L1EA2lLGXw((*d).destFile, (&T6_));
		noscreateDir(T6_.Field0);
		{
			NIM_BOOL T9_;
			tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w T12_;
			T9_ = (NIM_BOOL)0;
			T9_ = writeRope__LLRRC42xWBSkxzV9bsPu7lA(content, (*d).destFile);
			if (!!(T9_)) goto LA10_;
			T12_ = (tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w)0;
			{
				if (!useWarning) goto LA15_;
				T12_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 11);
			}
			goto LA13_;
			LA15_: ;
			{
				T12_ = ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 3);
			}
			LA13_: ;
			rawMessage__h30HgTFwbGq0PsyHmRqZ8g((*d).conf, T12_, (*d).destFile);
		}
		LA10_: ;
	}
	LA1_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, generateIndex__6UjzL2rSgVAuceHWxn9c01Q_2)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d) {	{
		NimStringDesc* dir;
		NimStringDesc* dest;
		NimStringDesc* T11_;
		NimStringDesc* T12_;
		tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* T13_;
		if (!(((*(*d).conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 26))&63U)))!=0)) goto LA3_;
		{
			NIM_BOOL T7_;
			T7_ = (NIM_BOOL)0;
			T7_ = isEmpty__ZNWb41IwBSHCUIjlqlGoxgpathutils((*(*d).conf).outDir);
			if (!!(T7_)) goto LA8_;
			dir = (*(*d).conf).outDir;
		}
		goto LA5_;
		LA8_: ;
		{
			dir = slash___0U8YTiSB6NvFwgvyimFN2Q((*(*d).conf).projectPath, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_15));
		}
		LA5_: ;
		noscreateDir(dir);
		T11_ = (NimStringDesc*)0;
		T11_ = relativeTo__zjjWvxBunys9bbBJHoqyLyQ((*d).Sup.filename, (*(*d).conf).projectPath, 47);
		T12_ = (NimStringDesc*)0;
		T12_ = noschangeFileExt(T11_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_195));
		dest = slash___QVqo5OOQAdrjFqBsPctklw(dir, T12_);
		T13_ = (tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg*)0;
		T13_ = &d->Sup;
		writeIndexFile__XQaohh8v9brpMTzazPqfP6g(T13_, dest);
	}
	LA3_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, commandDoc__kgKjuaW9cX0ivwgfDPX9bbdA)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ast;
	tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d;
{	handleDocOutputOptions__XbQ9cZpzVfEPm68TZ4kxJow(conf);
	ast = parseFile__HSBHiITVPKlv327uAC12yw((*conf).projectMainIdx, cache, conf);
	{
		if (!(ast == NIM_NIL)) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	d = newDocumentor__zcomu9bLnkDXHD9ce5rwT1lw((*conf).projectFull, cache, conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_16));
	(*d).Sup.hasToc = NIM_TRUE;
	generateDoc__3TtMsGQfsjgm9bmrWllS1pQ(d, ast, ast);
	writeOutput__7W8HhP9cLoIdLMqjvSJvHmg(d, NIM_FALSE);
	generateIndex__6UjzL2rSgVAuceHWxn9c01Q_2(d);
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, add__3iwzPz66TEml47u8LtfIQg)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* j) {	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = eqeq___ufBNJwWgb20cY5Bv3NMT7A(j, NIM_NIL);
		if (!!(T3_)) goto LA4_;
		add__8FFZVkexaQ73y9aREGlrY9bQ((*d).jArray, j);
	}
	LA4_: ;
}
static N_INLINE(void, X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* obj, NimStringDesc* key, tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* val) {	{
		if (!!(((*obj).kind == ((tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg) 5)))) goto LA3_;
		failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_199));
	}
	LA3_: ;
	if (!(((32 &(1U<<((NU)((*obj).kind)&7U)))!=0))) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_200));
	X5BX5Deq___vlnBr1uIbtu0ntnZh6Askg((&(*obj).fields), key, val);
}
N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, genJsonItem__6Yvyha9boYC58GWZQItGmBg)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* nameNode, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k) {	tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* result;
	NimStringDesc* name;
	NimStringDesc* comm;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T6_;
	tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg r;
	tyArray__rhtWm6uYOU6da9bZDT6ryDA T7_;
{	result = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = isVisible__2S18TVv8561n8da19ah7VxQ(d, nameNode);
		if (!!(T3_)) goto LA4_;
		goto BeforeRet_;
	}
	LA4_: ;
	name = getName__X4ox39cm9bzH8GS36cF3gOsQ(d, nameNode, ((NI) -1));
	T6_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
	T6_ = genRecComment__CsFui9bBKN4zbV9c9cdppnsLA_2(d, n);
	comm = dollar___mZ66tEveFIQokq3arf8Klw(T6_);
	nimZeroMem((void*)(&r), sizeof(tyObject_TSrcGen__T8CUsYfvFor5lPGY7PW7Dg));
	initTokRender__fvDS5PTYUI6zuDDOhODswg((&r), n, 14);
	nimZeroMem((void*)T7_, sizeof(tyArray__rhtWm6uYOU6da9bZDT6ryDA));
	T7_[0].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_113));
	T7_[0].Field1 = percent___19ag6cl4fMjxytc9arHmLIbw_2(name);
	T7_[1].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_197));
	T7_[1].Field1 = percent___19ag6cl4fMjxytc9arHmLIbw_2(reprEnum((NI)k, (&NTI__cNCW9acsSznmEccl1fgQwkw_)));
	T7_[2].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_108));
	T7_[2].Field1 = percent___NSr46Qz23yGk4m9csPSbQBQ(((NI) ((*n).info.line)));
	T7_[3].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_198));
	T7_[3].Field1 = percent___NSr46Qz23yGk4m9csPSbQBQ(((NI) ((*n).info.col)));
	result = percent___HoVDUa0lAOcINNYBrrSTiA(T7_, 4);
	{
		tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T12_;
		if (!(((NI) 0) < (comm ? comm->Sup.len : 0))) goto LA10_;
		T12_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0;
		T12_ = percent___19ag6cl4fMjxytc9arHmLIbw_2(comm);
		X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_201), T12_);
	}
	LA10_: ;
	{
		tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T17_;
		if (!(((NI) 0) < (r.buf ? r.buf->Sup.len : 0))) goto LA15_;
		T17_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0;
		T17_ = percent___19ag6cl4fMjxytc9arHmLIbw_2(r.buf);
		X5BX5Deq___WmQhibcOp3ZlzI9bgifjalAjson(result, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_202), T17_);
	}
	LA15_: ;
	}BeforeRet_: ;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, generateJson__aCcnJCcOFu8Y1ZdiDOUa6Q)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, NIM_BOOL includeComments) {	switch ((*n).kind) {
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 125):
	{
		{
			tyArray__nFPyKpuH1zPi4VuXhWbFAg T6_;
			NimStringDesc* T7_;
			tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T8_;
			if (!includeComments) goto LA4_;
			nimZeroMem((void*)T6_, sizeof(tyArray__nFPyKpuH1zPi4VuXhWbFAg));
			T6_[0].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_196));
			T7_ = (NimStringDesc*)0;
			T7_ = genComment__1NsSIzkKMtq49acu82VJUxg(d, n);
			T6_[0].Field1 = percent___19ag6cl4fMjxytc9arHmLIbw_2(T7_);
			T8_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0;
			T8_ = percent___HoVDUa0lAOcINNYBrrSTiA(T6_, 1);
			add__3iwzPz66TEml47u8LtfIQg(d, T8_);
		}
		goto LA2_;
		LA4_: ;
		{
			NimStringDesc* T10_;
			T10_ = (NimStringDesc*)0;
			T10_ = genComment__1NsSIzkKMtq49acu82VJUxg(d, n);
			add__yG4AKzsBRS1W4MANDlXQeg(&(*d).modDesc, T10_);
		}
		LA2_: ;
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 79):
	{
		tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T12_;
		documentRaises__hkgQwVnJ9aLSGn9aEOV0GSag((*d).cache, n);
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T12_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0;
		T12_ = genJsonItem__6Yvyha9boYC58GWZQItGmBg(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 12));
		add__3iwzPz66TEml47u8LtfIQg(d, T12_);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 159):
	{
		tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T14_;
		documentRaises__hkgQwVnJ9aLSGn9aEOV0GSag((*d).cache, n);
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T14_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0;
		T14_ = genJsonItem__6Yvyha9boYC58GWZQItGmBg(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 13));
		add__3iwzPz66TEml47u8LtfIQg(d, T14_);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 80):
	{
		tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T16_;
		documentRaises__hkgQwVnJ9aLSGn9aEOV0GSag((*d).cache, n);
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T16_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0;
		T16_ = genJsonItem__6Yvyha9boYC58GWZQItGmBg(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 14));
		add__3iwzPz66TEml47u8LtfIQg(d, T16_);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 84):
	{
		tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T18_;
		documentRaises__hkgQwVnJ9aLSGn9aEOV0GSag((*d).cache, n);
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T18_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0;
		T18_ = genJsonItem__6Yvyha9boYC58GWZQItGmBg(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
		add__3iwzPz66TEml47u8LtfIQg(d, T18_);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 82):
	{
		tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T20_;
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T20_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0;
		T20_ = genJsonItem__6Yvyha9boYC58GWZQItGmBg(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 17));
		add__3iwzPz66TEml47u8LtfIQg(d, T20_);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 83):
	{
		tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T22_;
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T22_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0;
		T22_ = genJsonItem__6Yvyha9boYC58GWZQItGmBg(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 18));
		add__3iwzPz66TEml47u8LtfIQg(d, T22_);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 81):
	{
		tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T24_;
		documentRaises__hkgQwVnJ9aLSGn9aEOV0GSag((*d).cache, n);
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T24_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0;
		T24_ = genJsonItem__6Yvyha9boYC58GWZQItGmBg(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 16));
		add__3iwzPz66TEml47u8LtfIQg(d, T24_);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 98):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 99):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 100):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 101):
	{
		{
			NI i;
			NI colontmp_;
			NI i_2;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(n);
			i_2 = ((NI) 0);
			{
				while (1) {
					NI TM__5fUAZGW8WPeit3fZaQyNXA_205;
					if (!(i_2 < colontmp_)) goto LA28;
					i = i_2;
					{
						NI TM__5fUAZGW8WPeit3fZaQyNXA_203;
						NI TM__5fUAZGW8WPeit3fZaQyNXA_204;
						tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T33_;
						if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
						if ((NU)(i) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i,((*n).sons ? (*n).sons->Sup.len : 0)-1);
						if (!!(((*(*n).sons->data[i]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 125)))) goto LA31_;
						if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
						if ((NU)(i) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i,((*n).sons ? (*n).sons->Sup.len : 0)-1);
						if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
						if ((NU)(i) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i,((*n).sons ? (*n).sons->Sup.len : 0)-1);
						if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*(*n).sons->data[i]).kind)>>3] &(1U<<((NU)((*(*n).sons->data[i]).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
						if ((NU)(((NI) 0)) >= (NU)((*(*n).sons->data[i]).sons ? (*(*n).sons->data[i]).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*(*n).sons->data[i]).sons ? (*(*n).sons->data[i]).sons->Sup.len : 0)-1);
						TM__5fUAZGW8WPeit3fZaQyNXA_203 = subInt((*n).kind, ((NI) 98));
						TM__5fUAZGW8WPeit3fZaQyNXA_204 = addInt(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 7), (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_203));
						if (TM__5fUAZGW8WPeit3fZaQyNXA_204 < 0 || TM__5fUAZGW8WPeit3fZaQyNXA_204 > 25) raiseOverflow();
						T33_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*)0;
						T33_ = genJsonItem__6Yvyha9boYC58GWZQItGmBg(d, (*n).sons->data[i], (*(*n).sons->data[i]).sons->data[((NI) 0)], (tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw)(TM__5fUAZGW8WPeit3fZaQyNXA_204));
						add__3iwzPz66TEml47u8LtfIQg(d, T33_);
					}
					LA31_: ;
					TM__5fUAZGW8WPeit3fZaQyNXA_205 = addInt(i_2, ((NI) 1));
					i_2 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_205);
				} LA28: ;
			}
		}
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115):
	{
		{
			NI i_3;
			NI colontmp__2;
			NI i_4;
			i_3 = (NI)0;
			colontmp__2 = (NI)0;
			colontmp__2 = len__P89cqdlERShb9alU3iC0yj8wast(n);
			i_4 = ((NI) 0);
			{
				while (1) {
					NI TM__5fUAZGW8WPeit3fZaQyNXA_206;
					if (!(i_4 < colontmp__2)) goto LA37;
					i_3 = i_4;
					if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
					if ((NU)(i_3) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i_3,((*n).sons ? (*n).sons->Sup.len : 0)-1);
					generateJson__aCcnJCcOFu8Y1ZdiDOUa6Q(d, (*n).sons->data[i_3], includeComments);
					TM__5fUAZGW8WPeit3fZaQyNXA_206 = addInt(i_4, ((NI) 1));
					i_4 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_206);
				} LA37: ;
			}
		}
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 93):
	{
		{
			NIM_BOOL T41_;
			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T44_;
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*(*n).sons->data[((NI) 0)]).kind)>>3] &(1U<<((NU)((*(*n).sons->data[((NI) 0)]).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 0)) >= (NU)((*(*n).sons->data[((NI) 0)]).sons ? (*(*n).sons->data[((NI) 0)]).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*(*n).sons->data[((NI) 0)]).sons ? (*(*n).sons->data[((NI) 0)]).sons->Sup.len : 0)-1);
			T41_ = (NIM_BOOL)0;
			T41_ = checkForFalse__SUIy9a9bqpDkoM66A6tppSaA_2((*(*n).sons->data[((NI) 0)]).sons->data[((NI) 0)]);
			if (!!(T41_)) goto LA42_;
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			T44_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
			T44_ = lastSon__UPSW0jLTX5qJL51YMUAHgw((*n).sons->data[((NI) 0)]);
			generateJson__aCcnJCcOFu8Y1ZdiDOUa6Q(d, T44_, includeComments);
		}
		LA42_: ;
	}
	break;
	default:
	{
	}
	break;
	}
}
static N_INLINE(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, pop__9c4Y4hTtvRqjj2EC8KP9aqDAsystem)(tySequence__WwUFq9cJ2xKRlsAWVEHyPRg** s) {	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* result;
	NI L;
	NI T1_;
	NI TM__5fUAZGW8WPeit3fZaQyNXA_207;
	result = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
	T1_ = ((*s) ? (*s)->Sup.len : 0);
	TM__5fUAZGW8WPeit3fZaQyNXA_207 = subInt(T1_, ((NI) 1));
	L = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_207);
	if ((NU)(L) >= (NU)((*s) ? (*s)->Sup.len : 0)) raiseIndexError2(L,((*s) ? (*s)->Sup.len : 0)-1);
	result = (*s)->data[L];
	unsureAsgnRef((void**) (&(*s)), (tySequence__WwUFq9cJ2xKRlsAWVEHyPRg*) setLengthSeqV2(&((*s))->Sup, (&NTI__WwUFq9cJ2xKRlsAWVEHyPRg_), ((NI)chckRange(L, ((NI) 0), ((NI) IL64(9223372036854775807))))));
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, writeOutputJson__7W8HhP9cLoIdLMqjvSJvHmg_2)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, NIM_BOOL useWarning) {	NimStringDesc* modDesc;
	tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* content;
	tyArray__rhtWm6uYOU6da9bZDT6ryDA T28_;
	NimStringDesc* T29_;
	runAllExamples__6UjzL2rSgVAuceHWxn9c01Q(d);
	modDesc = (NimStringDesc*)0;
	{
		NIM_CHAR desc;
		tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* colontmp_;
		desc = (NIM_CHAR)0;
		colontmp_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
		colontmp_ = (*d).modDesc;
		{
			NimStringDesc* s;
			s = (NimStringDesc*)0;
			{
				tySequence__WwUFq9cJ2xKRlsAWVEHyPRg* stack;
				if (!!((colontmp_ == NIM_NIL))) goto LA5_;
				stack = (tySequence__WwUFq9cJ2xKRlsAWVEHyPRg*) newSeq((&NTI__WwUFq9cJ2xKRlsAWVEHyPRg_), 1);
				asgnRef((void**) (&stack->data[0]), colontmp_);
				{
					while (1) {
						NI T9_;
						tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* it;
						T9_ = (stack ? stack->Sup.len : 0);
						if (!(((NI) 0) < T9_)) goto LA8;
						it = pop__9c4Y4hTtvRqjj2EC8KP9aqDAsystem((&stack));
						{
							while (1) {
								NI T16_;
								if (!!(((*it).left == NIM_NIL))) goto LA11;
								{
									if (!!(!(((*it).right == NIM_NIL)))) goto LA14_;
									failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_208));
								}
								LA14_: ;
								stack = (tySequence__WwUFq9cJ2xKRlsAWVEHyPRg*) incrSeqV3((TGenericSeq*)(stack), (&NTI__WwUFq9cJ2xKRlsAWVEHyPRg_));
								T16_ = stack->Sup.len++;
								asgnRef((void**) (&stack->data[T16_]), (*it).right);
								it = (*it).left;
								{
									if (!!(!((it == NIM_NIL)))) goto LA19_;
									failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_209));
								}
								LA19_: ;
							} LA11: ;
						}
						s = (*it).data;
						{
							NIM_CHAR c;
							NI i;
							NI L;
							c = (NIM_CHAR)0;
							i = ((NI) 0);
							L = (s ? s->Sup.len : 0);
							{
								while (1) {
									NI TM__5fUAZGW8WPeit3fZaQyNXA_210;
									if (!(i < L)) goto LA23;
									if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)) raiseIndexError2(i,(s ? s->Sup.len : 0)-1);
									c = s->data[i];
									desc = c;
									modDesc = addChar(modDesc, desc);
									TM__5fUAZGW8WPeit3fZaQyNXA_210 = addInt(i, ((NI) 1));
									i = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_210);
									{
										if (!!(((s ? s->Sup.len : 0) == L))) goto LA26_;
										failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_211));
									}
									LA26_: ;
								} LA23: ;
							}
						}
					} LA8: ;
				}
			}
			LA5_: ;
		}
	}
	nimZeroMem((void*)T28_, sizeof(tyArray__rhtWm6uYOU6da9bZDT6ryDA));
	T28_[0].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_212));
	T28_[0].Field1 = percent___19ag6cl4fMjxytc9arHmLIbw_2((*d).Sup.filename);
	T28_[1].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_213));
	T29_ = (NimStringDesc*)0;
	T29_ = getPackageName__ez7MSoVdvcTOZlBJgbu5Sg((*d).conf, (*d).Sup.filename);
	T28_[1].Field1 = percent___19ag6cl4fMjxytc9arHmLIbw_2(T29_);
	T28_[2].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_214));
	T28_[2].Field1 = percent___19ag6cl4fMjxytc9arHmLIbw_2(modDesc);
	T28_[3].Field0 = copyString(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_215));
	T28_[3].Field1 = (*d).jArray;
	content = percent___HoVDUa0lAOcINNYBrrSTiA(T28_, 4);
	{
		NimStringDesc* T34_;
		if (!(((*(*d).conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 22))&63U)))!=0)) goto LA32_;
		T34_ = (NimStringDesc*)0;
		T34_ = dollar___79aIqF5QC8ZRJgu2hlv9bdjw(content);
		write__PArlm09bKklm2BLsCg6YtaA(stdout, T34_);
	}
	goto LA30_;
	LA32_: ;
	{
		FILE* f;
		f = (FILE*)0;
		{
			NIM_BOOL T38_;
			NimStringDesc* T41_;
			T38_ = (NIM_BOOL)0;
			T38_ = open__gq12VLhVO0NBzUTnGgz4nw(&f, (*d).destFile, ((tyEnum_FileMode__ZJfK20XeZ9bv2j1pZjw9aswg) 1), ((NI) -1));
			if (!T38_) goto LA39_;
			T41_ = (NimStringDesc*)0;
			T41_ = dollar___79aIqF5QC8ZRJgu2hlv9bdjw(content);
			write__PArlm09bKklm2BLsCg6YtaA(f, T41_);
			close__fU6ZlJAtQ9bre04EDZLdGsA_3(f);
		}
		goto LA36_;
		LA39_: ;
		{
			tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q T43_;
			NimStringDesc* T44_;
			T43_ = newLineInfo__q6yS31W9c9bTxOv5YvOB1n7gmsgs((*d).conf, (*d).Sup.filename, ((NI) -1), ((NI) -1));
			T44_ = (NimStringDesc*)0;
			T44_ = rawNewString(((*d).destFile ? (*d).destFile->Sup.len : 0) + 34);
appendString(T44_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_216));
appendString(T44_, (*d).destFile);
appendString(T44_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_217));
			localError__mMj7lrOf3zBP9bl69amiKu5g_3((*d).conf, T43_, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 42), T44_);
		}
		LA36_: ;
	}
	LA30_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, commandRstAux__Zb29b9be2mdWzzb1jYhPz69aw)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, NimStringDesc* filename, NimStringDesc* outExt) {	NimStringDesc* filen;
	tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d;
	tyObject_RstNode__CjRS2xrmuD58kdGedE3yyg* rst;
	NimStringDesc* T1_;
	NimStringDesc* modDesc;
	tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* T2_;
	filen = nosaddFileExt(filename, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_218));
	d = newDocumentor__zcomu9bLnkDXHD9ce5rwT1lw(filen, cache, conf, outExt);
	(*d).isPureRst = NIM_TRUE;
	T1_ = (NimStringDesc*)0;
	T1_ = readFile__4PGnM9bWmsH0Nu7dnr3XzgA(filen);
	rst = parseRst__U0R9a9aB9ccn8lJ7U1XqFb10Q(T1_, filen, ((NI) 0), ((NI) 1), (&(*d).Sup.hasToc), 12, conf);
	modDesc = rawNewString(((NI) 30000));
	T2_ = (tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg*)0;
	T2_ = &d->Sup;
	renderRstToOut__9bVWgX0SWmhEi3eHlrcMD8g(T2_, rst, (&modDesc));
	asgnRef((void**) (&(*d).modDesc), rope__yShmEg9cffWxI7s5XzEKBow(modDesc));
	writeOutput__7W8HhP9cLoIdLMqjvSJvHmg(d, NIM_FALSE);
	generateIndex__6UjzL2rSgVAuceHWxn9c01Q_2(d);
}
N_LIB_PRIVATE N_NIMCALL(void, commandRst2Html__kgKjuaW9cX0ivwgfDPX9bbdA_2)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {	commandRstAux__Zb29b9be2mdWzzb1jYhPz69aw(cache, conf, (*conf).projectFull, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_16));
}
N_LIB_PRIVATE N_NIMCALL(void, commandRst2TeX__kgKjuaW9cX0ivwgfDPX9bbdA_3)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {	commandRstAux__Zb29b9be2mdWzzb1jYhPz69aw(cache, conf, (*conf).projectFull, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_219));
}
static N_NIMCALL(void, Marker_tyRef__ug9bE29amkMIdZAZIoDc6xYQ)(void* p, NI op) {
	tyObject_Env_docgendotnim___xN9cREz0iq0MoIaUpinYZsA* a;
	a = (tyObject_Env_docgendotnim___xN9cREz0iq0MoIaUpinYZsA*)p;
	nimGCvisit((void*)(*a).conf1, op);
}
N_LIB_PRIVATE N_CLOSURE(void, colonanonymous___NJYVUpR9a7Uo3C43qWu19cUg)(tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* d, NimStringDesc* filename, NimStringDesc* cmd, NI status, NimStringDesc* content, void* ClE_0) {	tyObject_Env_docgendotnim___xN9cREz0iq0MoIaUpinYZsA* colonenvP_;
	tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q T1_;
	colonenvP_ = (tyObject_Env_docgendotnim___xN9cREz0iq0MoIaUpinYZsA*) ClE_0;
	T1_ = newLineInfo__q6yS31W9c9bTxOv5YvOB1n7gmsgs((*colonenvP_).conf1, (*d).filename, ((NI) -1), ((NI) -1));
	localError__mMj7lrOf3zBP9bl69amiKu5g_3((*colonenvP_).conf1, T1_, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 42), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_221));
}
N_LIB_PRIVATE N_NIMCALL(void, commandJson__kgKjuaW9cX0ivwgfDPX9bbdA_4)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {	tyObject_Env_docgendotnim___xN9cREz0iq0MoIaUpinYZsA* colonenv_;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ast;
	tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d;
	tyProc__t9cP9cH9bP2v9cQZNd2RjMTNLg T5_;
	tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* json;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* content;
	NimStringDesc* T6_;
{	colonenv_ = (tyObject_Env_docgendotnim___xN9cREz0iq0MoIaUpinYZsA*)0;
	colonenv_ = (tyObject_Env_docgendotnim___xN9cREz0iq0MoIaUpinYZsA*) newObj((&NTI__ug9bE29amkMIdZAZIoDc6xYQ_), sizeof(tyObject_Env_docgendotnim___xN9cREz0iq0MoIaUpinYZsA));
	(*colonenv_).Sup.m_type = (&NTI__xN9cREz0iq0MoIaUpinYZsA_);
	asgnRef((void**) (&(*colonenv_).conf1), conf);
	ast = parseFile__HSBHiITVPKlv327uAC12yw((*(*colonenv_).conf1).projectMainIdx, cache, (*colonenv_).conf1);
	{
		if (!(ast == NIM_NIL)) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	d = newDocumentor__zcomu9bLnkDXHD9ce5rwT1lw((*(*colonenv_).conf1).projectFull, cache, (*colonenv_).conf1, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_16));
	nimZeroMem((void*)(&T5_), sizeof(tyProc__t9cP9cH9bP2v9cQZNd2RjMTNLg));
	T5_.ClP_0 = colonanonymous___NJYVUpR9a7Uo3C43qWu19cUg; T5_.ClE_0 = colonenv_;
	asgnRef((void**) (&(*d).Sup.onTestSnippet.ClE_0), T5_.ClE_0);
	(*d).Sup.onTestSnippet.ClP_0 = T5_.ClP_0;
	(*d).Sup.hasToc = NIM_TRUE;
	generateJson__aCcnJCcOFu8Y1ZdiDOUa6Q(d, ast, NIM_TRUE);
	json = (*d).jArray;
	T6_ = (NimStringDesc*)0;
	T6_ = pretty__6ucoq7dFiVhOGmHlWNWbTg(json, ((NI) 2));
	content = rope__yShmEg9cffWxI7s5XzEKBow(T6_);
	{
		if (!(((*(*d).conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 22))&63U)))!=0)) goto LA9_;
		writeRope__FwuzOBq6SLlanVUstm8q9cA(stdout, content);
	}
	goto LA7_;
	LA9_: ;
	{
		NimStringDesc* filename;
		filename = getOutFile__wyg2NQihYStyX9aXfJMkKlg((*colonenv_).conf1, (*(*colonenv_).conf1).projectName, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_222));
		{
			NIM_BOOL T14_;
			T14_ = (NIM_BOOL)0;
			T14_ = writeRope__LLRRC42xWBSkxzV9bsPu7lA(content, filename);
			if (!!(T14_)) goto LA15_;
			rawMessage__h30HgTFwbGq0PsyHmRqZ8g((*colonenv_).conf1, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 3), filename);
		}
		LA15_: ;
	}
	LA7_: ;
	}BeforeRet_: ;
}
static N_NIMCALL(void, Marker_tyRef__2CsejZOdUvB66maKwKMhXw)(void* p, NI op) {
	tyObject_Env_docgendotnim___yJXhn2SjBH08xgHtN2nkPQ* a;
	a = (tyObject_Env_docgendotnim___yJXhn2SjBH08xgHtN2nkPQ*)p;
	nimGCvisit((void*)(*a).conf1, op);
}
N_LIB_PRIVATE N_CLOSURE(void, colonanonymous___NJYVUpR9a7Uo3C43qWu19cUg_2)(tyObject_RstGenerator__yF9cB1II0vYb2F0YKmIiArg* d, NimStringDesc* filename, NimStringDesc* cmd, NI status, NimStringDesc* content, void* ClE_0) {	tyObject_Env_docgendotnim___yJXhn2SjBH08xgHtN2nkPQ* colonenvP_;
	tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q T1_;
	colonenvP_ = (tyObject_Env_docgendotnim___yJXhn2SjBH08xgHtN2nkPQ*) ClE_0;
	T1_ = newLineInfo__q6yS31W9c9bTxOv5YvOB1n7gmsgs((*colonenvP_).conf1, (*d).filename, ((NI) -1), ((NI) -1));
	localError__mMj7lrOf3zBP9bl69amiKu5g_3((*colonenvP_).conf1, T1_, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 42), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_221));
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, genTagsItem__tmOrGY09ab3EZGuwH5pi26w)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* nameNode, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw k) {	NimStringDesc* result;
	NimStringDesc* T1_;
	NimStringDesc* T2_;
	result = (NimStringDesc*)0;
	T1_ = (NimStringDesc*)0;
	T2_ = (NimStringDesc*)0;
	T2_ = getName__X4ox39cm9bzH8GS36cF3gOsQ(d, nameNode, ((NI) -1));
	T1_ = rawNewString((T2_ ? T2_->Sup.len : 0) + 1);
appendString(T1_, T2_);
appendString(T1_, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_82));
	result = T1_;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, generateTags__MfiAsDFdBFUXqSzZDl4T9bg)(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** r) {	switch ((*n).kind) {
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 125):
	{
		{
			NIM_BOOL T4_;
			NimStringDesc* stripped;
			NimStringDesc* T7_;
			T4_ = (NIM_BOOL)0;
			T4_ = nsuStartsWith((*n).comment, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_63));
			if (!T4_) goto LA5_;
			T7_ = (NimStringDesc*)0;
			T7_ = substr__iGg0RIKceRvsmvq8FUHOEw((*n).comment, ((NI) 2));
			stripped = nsuStrip(T7_, NIM_TRUE, NIM_TRUE, TM__5fUAZGW8WPeit3fZaQyNXA_90);
			add__yG4AKzsBRS1W4MANDlXQeg(r, stripped);
		}
		LA5_: ;
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 79):
	{
		NimStringDesc* T9_;
		documentRaises__hkgQwVnJ9aLSGn9aEOV0GSag((*d).cache, n);
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T9_ = (NimStringDesc*)0;
		T9_ = genTagsItem__tmOrGY09ab3EZGuwH5pi26w(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 12));
		add__yG4AKzsBRS1W4MANDlXQeg(r, T9_);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 159):
	{
		NimStringDesc* T11_;
		documentRaises__hkgQwVnJ9aLSGn9aEOV0GSag((*d).cache, n);
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T11_ = (NimStringDesc*)0;
		T11_ = genTagsItem__tmOrGY09ab3EZGuwH5pi26w(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 13));
		add__yG4AKzsBRS1W4MANDlXQeg(r, T11_);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 80):
	{
		NimStringDesc* T13_;
		documentRaises__hkgQwVnJ9aLSGn9aEOV0GSag((*d).cache, n);
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T13_ = (NimStringDesc*)0;
		T13_ = genTagsItem__tmOrGY09ab3EZGuwH5pi26w(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 14));
		add__yG4AKzsBRS1W4MANDlXQeg(r, T13_);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 84):
	{
		NimStringDesc* T15_;
		documentRaises__hkgQwVnJ9aLSGn9aEOV0GSag((*d).cache, n);
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T15_ = (NimStringDesc*)0;
		T15_ = genTagsItem__tmOrGY09ab3EZGuwH5pi26w(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 15));
		add__yG4AKzsBRS1W4MANDlXQeg(r, T15_);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 82):
	{
		NimStringDesc* T17_;
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T17_ = (NimStringDesc*)0;
		T17_ = genTagsItem__tmOrGY09ab3EZGuwH5pi26w(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 17));
		add__yG4AKzsBRS1W4MANDlXQeg(r, T17_);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 83):
	{
		NimStringDesc* T19_;
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T19_ = (NimStringDesc*)0;
		T19_ = genTagsItem__tmOrGY09ab3EZGuwH5pi26w(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 18));
		add__yG4AKzsBRS1W4MANDlXQeg(r, T19_);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 81):
	{
		NimStringDesc* T21_;
		documentRaises__hkgQwVnJ9aLSGn9aEOV0GSag((*d).cache, n);
		if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
		if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
		T21_ = (NimStringDesc*)0;
		T21_ = genTagsItem__tmOrGY09ab3EZGuwH5pi26w(d, n, (*n).sons->data[((NI) 0)], ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 16));
		add__yG4AKzsBRS1W4MANDlXQeg(r, T21_);
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 98):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 99):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 100):
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 101):
	{
		{
			NI i;
			NI colontmp_;
			NI i_2;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(n);
			i_2 = ((NI) 0);
			{
				while (1) {
					NI TM__5fUAZGW8WPeit3fZaQyNXA_226;
					if (!(i_2 < colontmp_)) goto LA25;
					i = i_2;
					{
						NI TM__5fUAZGW8WPeit3fZaQyNXA_224;
						NI TM__5fUAZGW8WPeit3fZaQyNXA_225;
						NimStringDesc* T30_;
						if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
						if ((NU)(i) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i,((*n).sons ? (*n).sons->Sup.len : 0)-1);
						if (!!(((*(*n).sons->data[i]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 125)))) goto LA28_;
						if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
						if ((NU)(i) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i,((*n).sons ? (*n).sons->Sup.len : 0)-1);
						if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
						if ((NU)(i) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i,((*n).sons ? (*n).sons->Sup.len : 0)-1);
						if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*(*n).sons->data[i]).kind)>>3] &(1U<<((NU)((*(*n).sons->data[i]).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
						if ((NU)(((NI) 0)) >= (NU)((*(*n).sons->data[i]).sons ? (*(*n).sons->data[i]).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*(*n).sons->data[i]).sons ? (*(*n).sons->data[i]).sons->Sup.len : 0)-1);
						TM__5fUAZGW8WPeit3fZaQyNXA_224 = subInt((*n).kind, ((NI) 98));
						TM__5fUAZGW8WPeit3fZaQyNXA_225 = addInt(((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 7), (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_224));
						if (TM__5fUAZGW8WPeit3fZaQyNXA_225 < 0 || TM__5fUAZGW8WPeit3fZaQyNXA_225 > 25) raiseOverflow();
						T30_ = (NimStringDesc*)0;
						T30_ = genTagsItem__tmOrGY09ab3EZGuwH5pi26w(d, (*n).sons->data[i], (*(*n).sons->data[i]).sons->data[((NI) 0)], (tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw)(TM__5fUAZGW8WPeit3fZaQyNXA_225));
						add__yG4AKzsBRS1W4MANDlXQeg(r, T30_);
					}
					LA28_: ;
					TM__5fUAZGW8WPeit3fZaQyNXA_226 = addInt(i_2, ((NI) 1));
					i_2 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_226);
				} LA25: ;
			}
		}
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 115):
	{
		{
			NI i_3;
			NI colontmp__2;
			NI i_4;
			i_3 = (NI)0;
			colontmp__2 = (NI)0;
			colontmp__2 = len__P89cqdlERShb9alU3iC0yj8wast(n);
			i_4 = ((NI) 0);
			{
				while (1) {
					NI TM__5fUAZGW8WPeit3fZaQyNXA_227;
					if (!(i_4 < colontmp__2)) goto LA34;
					i_3 = i_4;
					if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
					if ((NU)(i_3) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(i_3,((*n).sons ? (*n).sons->Sup.len : 0)-1);
					generateTags__MfiAsDFdBFUXqSzZDl4T9bg(d, (*n).sons->data[i_3], r);
					TM__5fUAZGW8WPeit3fZaQyNXA_227 = addInt(i_4, ((NI) 1));
					i_4 = (NI)(TM__5fUAZGW8WPeit3fZaQyNXA_227);
				} LA34: ;
			}
		}
	}
	break;
	case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 93):
	{
		{
			NIM_BOOL T38_;
			tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T41_;
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*(*n).sons->data[((NI) 0)]).kind)>>3] &(1U<<((NU)((*(*n).sons->data[((NI) 0)]).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 0)) >= (NU)((*(*n).sons->data[((NI) 0)]).sons ? (*(*n).sons->data[((NI) 0)]).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*(*n).sons->data[((NI) 0)]).sons ? (*(*n).sons->data[((NI) 0)]).sons->Sup.len : 0)-1);
			T38_ = (NIM_BOOL)0;
			T38_ = checkForFalse__SUIy9a9bqpDkoM66A6tppSaA_2((*(*n).sons->data[((NI) 0)]).sons->data[((NI) 0)]);
			if (!!(T38_)) goto LA39_;
			if (((TM__5fUAZGW8WPeit3fZaQyNXA_17[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)) raiseFieldError(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_18));
			if ((NU)(((NI) 0)) >= (NU)((*n).sons ? (*n).sons->Sup.len : 0)) raiseIndexError2(((NI) 0),((*n).sons ? (*n).sons->Sup.len : 0)-1);
			T41_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
			T41_ = lastSon__UPSW0jLTX5qJL51YMUAHgw((*n).sons->data[((NI) 0)]);
			generateTags__MfiAsDFdBFUXqSzZDl4T9bg(d, T41_, r);
		}
		LA39_: ;
	}
	break;
	default:
	{
	}
	break;
	}
}
N_LIB_PRIVATE N_NIMCALL(void, commandTags__kgKjuaW9cX0ivwgfDPX9bbdA_5)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {	tyObject_Env_docgendotnim___yJXhn2SjBH08xgHtN2nkPQ* colonenv_;
	tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ast;
	tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ* d;
	tyProc__t9cP9cH9bP2v9cQZNd2RjMTNLg T5_;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* content;
{	colonenv_ = (tyObject_Env_docgendotnim___yJXhn2SjBH08xgHtN2nkPQ*)0;
	colonenv_ = (tyObject_Env_docgendotnim___yJXhn2SjBH08xgHtN2nkPQ*) newObj((&NTI__2CsejZOdUvB66maKwKMhXw_), sizeof(tyObject_Env_docgendotnim___yJXhn2SjBH08xgHtN2nkPQ));
	(*colonenv_).Sup.m_type = (&NTI__yJXhn2SjBH08xgHtN2nkPQ_);
	asgnRef((void**) (&(*colonenv_).conf1), conf);
	ast = parseFile__HSBHiITVPKlv327uAC12yw((*(*colonenv_).conf1).projectMainIdx, cache, (*colonenv_).conf1);
	{
		if (!(ast == NIM_NIL)) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	d = newDocumentor__zcomu9bLnkDXHD9ce5rwT1lw((*(*colonenv_).conf1).projectFull, cache, (*colonenv_).conf1, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_16));
	nimZeroMem((void*)(&T5_), sizeof(tyProc__t9cP9cH9bP2v9cQZNd2RjMTNLg));
	T5_.ClP_0 = colonanonymous___NJYVUpR9a7Uo3C43qWu19cUg_2; T5_.ClE_0 = colonenv_;
	asgnRef((void**) (&(*d).Sup.onTestSnippet.ClE_0), T5_.ClE_0);
	(*d).Sup.onTestSnippet.ClP_0 = T5_.ClP_0;
	(*d).Sup.hasToc = NIM_TRUE;
	content = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
	generateTags__MfiAsDFdBFUXqSzZDl4T9bg(d, ast, &content);
	{
		if (!(((*(*d).conf).globalOptions &((NU64)1<<((NU)(((tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw) 22))&63U)))!=0)) goto LA8_;
		writeRope__FwuzOBq6SLlanVUstm8q9cA(stdout, content);
	}
	goto LA6_;
	LA8_: ;
	{
		NimStringDesc* filename;
		filename = getOutFile__wyg2NQihYStyX9aXfJMkKlg((*colonenv_).conf1, (*(*colonenv_).conf1).projectName, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_228));
		{
			NIM_BOOL T13_;
			T13_ = (NIM_BOOL)0;
			T13_ = writeRope__LLRRC42xWBSkxzV9bsPu7lA(content, filename);
			if (!!(T13_)) goto LA14_;
			rawMessage__h30HgTFwbGq0PsyHmRqZ8g((*colonenv_).conf1, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 3), filename);
		}
		LA14_: ;
	}
	LA6_: ;
	}BeforeRet_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, commandBuildIndex__kgKjuaW9cX0ivwgfDPX9bbdA_6)(tyObject_IdentCachecolonObjectType___TzLHS09bRH9a0TYLs39cqcNaw* cache, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* content;
	NimStringDesc* T1_;
	tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* code;
	NimStringDesc* T2_;
	tyArray__Eng719aVJBoE9cgJDyPOaffg T3_;
	NimStringDesc* T4_;
	NimStringDesc* T5_;
	NimStringDesc* filename;
	T1_ = (NimStringDesc*)0;
	T1_ = mergeIndexes__gnBYZcMG5WPYB3f83P6f9ag((*conf).projectFull);
	content = rope__yShmEg9cffWxI7s5XzEKBow(T1_);
	T2_ = (NimStringDesc*)0;
	T2_ = getConfigVar__nT6pi8CimjduqrsM6Cc8mQ(conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_190), ((NimStringDesc*) NIM_NIL));
	nimZeroMem((void*)T3_, sizeof(tyArray__Eng719aVJBoE9cgJDyPOaffg));
	T3_[0] = rope__yShmEg9cffWxI7s5XzEKBow(((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_230));
	T3_[1] = NIM_NIL;
	T3_[2] = NIM_NIL;
	T4_ = (NimStringDesc*)0;
	T4_ = getDateStr__ye3QcrLEUbQh0AniHZYCHg_2();
	T3_[3] = rope__yShmEg9cffWxI7s5XzEKBow(T4_);
	T5_ = (NimStringDesc*)0;
	T5_ = getClockStr__ye3QcrLEUbQh0AniHZYCHg_3();
	T3_[4] = rope__yShmEg9cffWxI7s5XzEKBow(T5_);
	T3_[5] = content;
	T3_[6] = NIM_NIL;
	T3_[7] = NIM_NIL;
	T3_[8] = NIM_NIL;
	code = ropeFormatNamedVars__C7idxrvpR7GOGT9c4FWXrBQ(conf, T2_, TM__5fUAZGW8WPeit3fZaQyNXA_229, 9, T3_, 9);
	filename = getOutFile__wyg2NQihYStyX9aXfJMkKlg(conf, ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_231), ((NimStringDesc*) &TM__5fUAZGW8WPeit3fZaQyNXA_16));
	{
		NIM_BOOL T8_;
		T8_ = (NIM_BOOL)0;
		T8_ = writeRope__LLRRC42xWBSkxzV9bsPu7lA(code, filename);
		if (!!(T8_)) goto LA9_;
		rawMessage__h30HgTFwbGq0PsyHmRqZ8g(conf, ((tyEnum_TMsgKind__29cbg2fC1z5iM1PAI28kR5w) 3), filename);
	}
	LA9_: ;
}
N_LIB_PRIVATE N_NIMCALL(void, compiler_docgenDatInit000)(void) {
static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_2_2[2];
static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_3_17[17];
static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_50_2[2];
static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_220_2[2];
static TNimNode* TM__5fUAZGW8WPeit3fZaQyNXA_223_2[2];
static TNimNode TM__5fUAZGW8WPeit3fZaQyNXA_0[30];
NTI__788TS19aIcHv9b9aA3bG9bzTIw_.size = sizeof(tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw);
NTI__788TS19aIcHv9b9aA3bG9bzTIw_.kind = 17;
NTI__788TS19aIcHv9b9aA3bG9bzTIw_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
TM__5fUAZGW8WPeit3fZaQyNXA_2_2[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[1];
TM__5fUAZGW8WPeit3fZaQyNXA_0[1].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[1].offset = offsetof(tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw, colonstate_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[1].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[1].name = ":state";
TM__5fUAZGW8WPeit3fZaQyNXA_2_2[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[2];
TM__5fUAZGW8WPeit3fZaQyNXA_0[2].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[2].offset = offsetof(tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw, conf1);
TM__5fUAZGW8WPeit3fZaQyNXA_0[2].typ = (&NTI__a8lycfSA25OQltN3OMeBsA_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[2].name = "conf1";
TM__5fUAZGW8WPeit3fZaQyNXA_0[0].len = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[0].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[0].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_2_2[0];
NTI__788TS19aIcHv9b9aA3bG9bzTIw_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[0];
NTI__MOKapgGVbqFH8suCJ8g2zw_.size = sizeof(tyObject_Env_docgendotnim___788TS19aIcHv9b9aA3bG9bzTIw*);
NTI__MOKapgGVbqFH8suCJ8g2zw_.kind = 22;
NTI__MOKapgGVbqFH8suCJ8g2zw_.base = (&NTI__788TS19aIcHv9b9aA3bG9bzTIw_);
NTI__MOKapgGVbqFH8suCJ8g2zw_.marker = Marker_tyRef__MOKapgGVbqFH8suCJ8g2zw;
NTI__aItnR9bvqDIftcasLwUztVQ_.size = sizeof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ);
NTI__aItnR9bvqDIftcasLwUztVQ_.kind = 17;
NTI__aItnR9bvqDIftcasLwUztVQ_.base = (&NTI__yF9cB1II0vYb2F0YKmIiArg_);
TM__5fUAZGW8WPeit3fZaQyNXA_3_17[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[4];
TM__5fUAZGW8WPeit3fZaQyNXA_0[4].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[4].offset = offsetof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ, modDesc);
TM__5fUAZGW8WPeit3fZaQyNXA_0[4].typ = (&NTI__4hi0XQqK9aLiPuWT9acsXm9aQ_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[4].name = "modDesc";
TM__5fUAZGW8WPeit3fZaQyNXA_3_17[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[5];
TM__5fUAZGW8WPeit3fZaQyNXA_0[5].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[5].offset = offsetof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ, modDeprecationMsg);
TM__5fUAZGW8WPeit3fZaQyNXA_0[5].typ = (&NTI__4hi0XQqK9aLiPuWT9acsXm9aQ_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[5].name = "modDeprecationMsg";
TM__5fUAZGW8WPeit3fZaQyNXA_3_17[2] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[6];
NTI__bQohEW4Jw1ENvElOMs9bxmQ_.size = sizeof(tyArray__bQohEW4Jw1ENvElOMs9bxmQ);
NTI__bQohEW4Jw1ENvElOMs9bxmQ_.kind = 16;
NTI__bQohEW4Jw1ENvElOMs9bxmQ_.base = (&NTI__4hi0XQqK9aLiPuWT9acsXm9aQ_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[6].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[6].offset = offsetof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ, toc);
TM__5fUAZGW8WPeit3fZaQyNXA_0[6].typ = (&NTI__bQohEW4Jw1ENvElOMs9bxmQ_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[6].name = "toc";
TM__5fUAZGW8WPeit3fZaQyNXA_3_17[3] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[7];
TM__5fUAZGW8WPeit3fZaQyNXA_0[7].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[7].offset = offsetof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ, section);
TM__5fUAZGW8WPeit3fZaQyNXA_0[7].typ = (&NTI__bQohEW4Jw1ENvElOMs9bxmQ_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[7].name = "section";
TM__5fUAZGW8WPeit3fZaQyNXA_3_17[4] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[8];
TM__5fUAZGW8WPeit3fZaQyNXA_0[8].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[8].offset = offsetof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ, indexValFilename);
TM__5fUAZGW8WPeit3fZaQyNXA_0[8].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[8].name = "indexValFilename";
TM__5fUAZGW8WPeit3fZaQyNXA_3_17[5] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[9];
TM__5fUAZGW8WPeit3fZaQyNXA_0[9].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[9].offset = offsetof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ, analytics);
TM__5fUAZGW8WPeit3fZaQyNXA_0[9].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[9].name = "analytics";
TM__5fUAZGW8WPeit3fZaQyNXA_3_17[6] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[10];
TM__5fUAZGW8WPeit3fZaQyNXA_0[10].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[10].offset = offsetof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ, seenSymbols);
TM__5fUAZGW8WPeit3fZaQyNXA_0[10].typ = (&NTI__n9cmoMXcDs47wYDFGEXuCfw_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[10].name = "seenSymbols";
TM__5fUAZGW8WPeit3fZaQyNXA_3_17[7] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[11];
TM__5fUAZGW8WPeit3fZaQyNXA_0[11].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[11].offset = offsetof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ, jArray);
TM__5fUAZGW8WPeit3fZaQyNXA_0[11].typ = (&NTI__zfzzuQ8txrdZAYK0WGWpHg_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[11].name = "jArray";
TM__5fUAZGW8WPeit3fZaQyNXA_3_17[8] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[12];
TM__5fUAZGW8WPeit3fZaQyNXA_0[12].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[12].offset = offsetof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ, types);
TM__5fUAZGW8WPeit3fZaQyNXA_0[12].typ = (&NTI__f07aOS3dr28kGa5wcE29aFA_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[12].name = "types";
TM__5fUAZGW8WPeit3fZaQyNXA_3_17[9] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[13];
TM__5fUAZGW8WPeit3fZaQyNXA_0[13].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[13].offset = offsetof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ, isPureRst);
TM__5fUAZGW8WPeit3fZaQyNXA_0[13].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[13].name = "isPureRst";
TM__5fUAZGW8WPeit3fZaQyNXA_3_17[10] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[14];
TM__5fUAZGW8WPeit3fZaQyNXA_0[14].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[14].offset = offsetof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ, conf);
TM__5fUAZGW8WPeit3fZaQyNXA_0[14].typ = (&NTI__a8lycfSA25OQltN3OMeBsA_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[14].name = "conf";
TM__5fUAZGW8WPeit3fZaQyNXA_3_17[11] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[15];
TM__5fUAZGW8WPeit3fZaQyNXA_0[15].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[15].offset = offsetof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ, cache);
TM__5fUAZGW8WPeit3fZaQyNXA_0[15].typ = (&NTI__lnkYNZP9asc88UfiEGjLrbA_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[15].name = "cache";
TM__5fUAZGW8WPeit3fZaQyNXA_3_17[12] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[16];
TM__5fUAZGW8WPeit3fZaQyNXA_0[16].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[16].offset = offsetof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ, exampleCounter);
TM__5fUAZGW8WPeit3fZaQyNXA_0[16].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[16].name = "exampleCounter";
TM__5fUAZGW8WPeit3fZaQyNXA_3_17[13] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[17];
TM__5fUAZGW8WPeit3fZaQyNXA_0[17].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[17].offset = offsetof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ, emitted);
TM__5fUAZGW8WPeit3fZaQyNXA_0[17].typ = (&NTI__PQrmFm4BXFkFSVOUl1ojSg_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[17].name = "emitted";
TM__5fUAZGW8WPeit3fZaQyNXA_3_17[14] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[18];
TM__5fUAZGW8WPeit3fZaQyNXA_0[18].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[18].offset = offsetof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ, destFile);
TM__5fUAZGW8WPeit3fZaQyNXA_0[18].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[18].name = "destFile";
TM__5fUAZGW8WPeit3fZaQyNXA_3_17[15] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[19];
TM__5fUAZGW8WPeit3fZaQyNXA_0[19].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[19].offset = offsetof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ, thisDir);
TM__5fUAZGW8WPeit3fZaQyNXA_0[19].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[19].name = "thisDir";
TM__5fUAZGW8WPeit3fZaQyNXA_3_17[16] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[20];
TM__5fUAZGW8WPeit3fZaQyNXA_0[20].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[20].offset = offsetof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ, examples);
TM__5fUAZGW8WPeit3fZaQyNXA_0[20].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[20].name = "examples";
TM__5fUAZGW8WPeit3fZaQyNXA_0[3].len = 17; TM__5fUAZGW8WPeit3fZaQyNXA_0[3].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[3].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_3_17[0];
NTI__aItnR9bvqDIftcasLwUztVQ_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[3];
NTI__ZoZ1pRtzmEiOBBpTrqMZHA_.size = sizeof(tyObject_TDocumentor__aItnR9bvqDIftcasLwUztVQ*);
NTI__ZoZ1pRtzmEiOBBpTrqMZHA_.kind = 22;
NTI__ZoZ1pRtzmEiOBBpTrqMZHA_.base = (&NTI__aItnR9bvqDIftcasLwUztVQ_);
NTI__ZoZ1pRtzmEiOBBpTrqMZHA_.marker = Marker_tyRef__ZoZ1pRtzmEiOBBpTrqMZHA;
NTI__T7vYRLVTgrddhYR9aLyhV0Q_.size = sizeof(tyObject_Env_docgendotnim___T7vYRLVTgrddhYR9aLyhV0Q);
NTI__T7vYRLVTgrddhYR9aLyhV0Q_.kind = 17;
NTI__T7vYRLVTgrddhYR9aLyhV0Q_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
TM__5fUAZGW8WPeit3fZaQyNXA_50_2[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[22];
TM__5fUAZGW8WPeit3fZaQyNXA_0[22].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[22].offset = offsetof(tyObject_Env_docgendotnim___T7vYRLVTgrddhYR9aLyhV0Q, colonstate_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[22].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[22].name = ":state";
TM__5fUAZGW8WPeit3fZaQyNXA_50_2[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[23];
TM__5fUAZGW8WPeit3fZaQyNXA_0[23].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[23].offset = offsetof(tyObject_Env_docgendotnim___T7vYRLVTgrddhYR9aLyhV0Q, conf1);
TM__5fUAZGW8WPeit3fZaQyNXA_0[23].typ = (&NTI__a8lycfSA25OQltN3OMeBsA_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[23].name = "conf1";
TM__5fUAZGW8WPeit3fZaQyNXA_0[21].len = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[21].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[21].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_50_2[0];
NTI__T7vYRLVTgrddhYR9aLyhV0Q_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[21];
NTI__LZFYbsjUDupKrnbLTlxlLg_.size = sizeof(tyObject_Env_docgendotnim___T7vYRLVTgrddhYR9aLyhV0Q*);
NTI__LZFYbsjUDupKrnbLTlxlLg_.kind = 22;
NTI__LZFYbsjUDupKrnbLTlxlLg_.base = (&NTI__T7vYRLVTgrddhYR9aLyhV0Q_);
NTI__LZFYbsjUDupKrnbLTlxlLg_.marker = Marker_tyRef__LZFYbsjUDupKrnbLTlxlLg;
NTI__xN9cREz0iq0MoIaUpinYZsA_.size = sizeof(tyObject_Env_docgendotnim___xN9cREz0iq0MoIaUpinYZsA);
NTI__xN9cREz0iq0MoIaUpinYZsA_.kind = 17;
NTI__xN9cREz0iq0MoIaUpinYZsA_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
TM__5fUAZGW8WPeit3fZaQyNXA_220_2[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[25];
TM__5fUAZGW8WPeit3fZaQyNXA_0[25].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[25].offset = offsetof(tyObject_Env_docgendotnim___xN9cREz0iq0MoIaUpinYZsA, colonstate_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[25].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[25].name = ":state";
TM__5fUAZGW8WPeit3fZaQyNXA_220_2[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[26];
TM__5fUAZGW8WPeit3fZaQyNXA_0[26].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[26].offset = offsetof(tyObject_Env_docgendotnim___xN9cREz0iq0MoIaUpinYZsA, conf1);
TM__5fUAZGW8WPeit3fZaQyNXA_0[26].typ = (&NTI__a8lycfSA25OQltN3OMeBsA_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[26].name = "conf1";
TM__5fUAZGW8WPeit3fZaQyNXA_0[24].len = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[24].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[24].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_220_2[0];
NTI__xN9cREz0iq0MoIaUpinYZsA_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[24];
NTI__ug9bE29amkMIdZAZIoDc6xYQ_.size = sizeof(tyObject_Env_docgendotnim___xN9cREz0iq0MoIaUpinYZsA*);
NTI__ug9bE29amkMIdZAZIoDc6xYQ_.kind = 22;
NTI__ug9bE29amkMIdZAZIoDc6xYQ_.base = (&NTI__xN9cREz0iq0MoIaUpinYZsA_);
NTI__ug9bE29amkMIdZAZIoDc6xYQ_.marker = Marker_tyRef__ug9bE29amkMIdZAZIoDc6xYQ;
NTI__yJXhn2SjBH08xgHtN2nkPQ_.size = sizeof(tyObject_Env_docgendotnim___yJXhn2SjBH08xgHtN2nkPQ);
NTI__yJXhn2SjBH08xgHtN2nkPQ_.kind = 17;
NTI__yJXhn2SjBH08xgHtN2nkPQ_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
TM__5fUAZGW8WPeit3fZaQyNXA_223_2[0] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[28];
TM__5fUAZGW8WPeit3fZaQyNXA_0[28].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[28].offset = offsetof(tyObject_Env_docgendotnim___yJXhn2SjBH08xgHtN2nkPQ, colonstate_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[28].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[28].name = ":state";
TM__5fUAZGW8WPeit3fZaQyNXA_223_2[1] = &TM__5fUAZGW8WPeit3fZaQyNXA_0[29];
TM__5fUAZGW8WPeit3fZaQyNXA_0[29].kind = 1;
TM__5fUAZGW8WPeit3fZaQyNXA_0[29].offset = offsetof(tyObject_Env_docgendotnim___yJXhn2SjBH08xgHtN2nkPQ, conf1);
TM__5fUAZGW8WPeit3fZaQyNXA_0[29].typ = (&NTI__a8lycfSA25OQltN3OMeBsA_);
TM__5fUAZGW8WPeit3fZaQyNXA_0[29].name = "conf1";
TM__5fUAZGW8WPeit3fZaQyNXA_0[27].len = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[27].kind = 2; TM__5fUAZGW8WPeit3fZaQyNXA_0[27].sons = &TM__5fUAZGW8WPeit3fZaQyNXA_223_2[0];
NTI__yJXhn2SjBH08xgHtN2nkPQ_.node = &TM__5fUAZGW8WPeit3fZaQyNXA_0[27];
NTI__2CsejZOdUvB66maKwKMhXw_.size = sizeof(tyObject_Env_docgendotnim___yJXhn2SjBH08xgHtN2nkPQ*);
NTI__2CsejZOdUvB66maKwKMhXw_.kind = 22;
NTI__2CsejZOdUvB66maKwKMhXw_.base = (&NTI__yJXhn2SjBH08xgHtN2nkPQ_);
NTI__2CsejZOdUvB66maKwKMhXw_.marker = Marker_tyRef__2CsejZOdUvB66maKwKMhXw;
}

