7890 lines
316 KiB
C
7890 lines
316 KiB
C
/* Generated by Nim Compiler v1.9.0 */
|
|
#define NIM_INTBITS 32
|
|
|
|
#include "nimbase.h"
|
|
#include <string.h>
|
|
#include <dirent.h>
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <time.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_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA;
|
|
typedef struct tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg;
|
|
typedef struct NimStrPayload NimStrPayload;
|
|
typedef struct NimStringV2 NimStringV2;
|
|
typedef struct tyObject_RstFileTable__1rYTAF4X28SkQlz9cTtPDzQ tyObject_RstFileTable__1rYTAF4X28SkQlz9cTtPDzQ;
|
|
typedef struct tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA;
|
|
typedef struct tySequence__7lEisrXlQEzwtUKW5pzRCw tySequence__7lEisrXlQEzwtUKW5pzRCw;
|
|
typedef struct tySequence__7lEisrXlQEzwtUKW5pzRCw_Content tySequence__7lEisrXlQEzwtUKW5pzRCw_Content;
|
|
typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
|
|
typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content;
|
|
typedef struct tyTuple__7q7q3E6Oj24ZNVJb9aonhAg tyTuple__7q7q3E6Oj24ZNVJb9aonhAg;
|
|
typedef struct RootObj RootObj;
|
|
typedef struct TNimTypeV2 TNimTypeV2;
|
|
typedef struct tySequence__V9cBl110bSARQ3Xk9bVaXHDw tySequence__V9cBl110bSARQ3Xk9bVaXHDw;
|
|
typedef struct tySequence__V9cBl110bSARQ3Xk9bVaXHDw_Content tySequence__V9cBl110bSARQ3Xk9bVaXHDw_Content;
|
|
typedef struct tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ;
|
|
typedef struct tySequence__pUxI6Ljo6IKKHXKOZkQ7Og tySequence__pUxI6Ljo6IKKHXKOZkQ7Og;
|
|
typedef struct tySequence__pUxI6Ljo6IKKHXKOZkQ7Og_Content tySequence__pUxI6Ljo6IKKHXKOZkQ7Og_Content;
|
|
typedef struct tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ;
|
|
typedef struct tyObject_RefHeader__Gi7WQzlT1ZRToh9a2ueYb4A tyObject_RefHeader__Gi7WQzlT1ZRToh9a2ueYb4A;
|
|
typedef struct tyObject_GeneralTokenizer__mzSYRAkR0jQADvmFWo9aZKQ tyObject_GeneralTokenizer__mzSYRAkR0jQADvmFWo9aZKQ;
|
|
typedef struct tyObject_TLineInfo__LpCBEHcAwE2yCs4l9cD1BOA tyObject_TLineInfo__LpCBEHcAwE2yCs4l9cD1BOA;
|
|
typedef struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA;
|
|
typedef struct tyTuple__qsoB9cWzItmjtA8wRSiKBbA tyTuple__qsoB9cWzItmjtA8wRSiKBbA;
|
|
typedef struct tySequence__8Np6tlClE5az1CyqZdN19bQ tySequence__8Np6tlClE5az1CyqZdN19bQ;
|
|
typedef struct tySequence__8Np6tlClE5az1CyqZdN19bQ_Content tySequence__8Np6tlClE5az1CyqZdN19bQ_Content;
|
|
typedef struct tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ;
|
|
typedef struct tyObject_CodeBlockParams__sfxlxgvTVIvKgcvY2mQViA tyObject_CodeBlockParams__sfxlxgvTVIvKgcvY2mQViA;
|
|
typedef struct tyTuple__UV3llMMYFckfui8YMBuUZA tyTuple__UV3llMMYFckfui8YMBuUZA;
|
|
typedef struct tyTuple__Rf49c4BJ4LYwQucz9a7JHOmA tyTuple__Rf49c4BJ4LYwQucz9a7JHOmA;
|
|
typedef struct tySequence__CJOrWaM0fWekVRTE2AotGw tySequence__CJOrWaM0fWekVRTE2AotGw;
|
|
typedef struct tySequence__CJOrWaM0fWekVRTE2AotGw_Content tySequence__CJOrWaM0fWekVRTE2AotGw_Content;
|
|
typedef struct tyObject_Table__myGXmFdFAc6beAdGFLRvEQ tyObject_Table__myGXmFdFAc6beAdGFLRvEQ;
|
|
typedef struct tySequence__MVOolrgzxbiYsd7sgvFfFw tySequence__MVOolrgzxbiYsd7sgvFfFw;
|
|
typedef struct tySequence__MVOolrgzxbiYsd7sgvFfFw_Content tySequence__MVOolrgzxbiYsd7sgvFfFw_Content;
|
|
typedef struct tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A;
|
|
typedef struct tyTuple__MuQpYKhupAt9a7EFKGkr9ayg tyTuple__MuQpYKhupAt9a7EFKGkr9ayg;
|
|
typedef struct tyTuple__oOuAMYA9a4ePg0evn9b5GaUQ tyTuple__oOuAMYA9a4ePg0evn9b5GaUQ;
|
|
typedef struct tyTuple__xYhUhS7X82rKTqbT9bRfCnw tyTuple__xYhUhS7X82rKTqbT9bRfCnw;
|
|
typedef struct tyTuple__sr3s7uVHpu9cEbbDnCSg8yQ tyTuple__sr3s7uVHpu9cEbbDnCSg8yQ;
|
|
typedef NU8 tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA;
|
|
struct NimStrPayload {
|
|
NI cap;
|
|
NIM_CHAR data[SEQ_DECL_SIZE];
|
|
};
|
|
struct NimStringV2 {
|
|
NI len;
|
|
NimStrPayload* p;
|
|
};
|
|
typedef struct {
|
|
N_NIMCALL_PTR(NimStringV2, ClP_0) (NimStringV2 filename, void* ClE_0);
|
|
void* ClE_0;
|
|
} tyProc__oFHfEKFsiYTMAy9a42cSiKw;
|
|
typedef NU8 tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ;
|
|
typedef struct {
|
|
N_NIMCALL_PTR(void, ClP_0) (NimStringV2 filename, NI line, NI col, tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ msgKind, NimStringV2 arg, void* ClE_0);
|
|
void* ClE_0;
|
|
} tyProc__zVyAuQlxcO3X84ar49cKZSg;
|
|
struct tySequence__7lEisrXlQEzwtUKW5pzRCw {
|
|
NI len; tySequence__7lEisrXlQEzwtUKW5pzRCw_Content* p;
|
|
};
|
|
struct tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA {
|
|
tySequence__7lEisrXlQEzwtUKW5pzRCw data;
|
|
NI counter;
|
|
};
|
|
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ {
|
|
NI len; tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content* p;
|
|
};
|
|
struct tyObject_RstFileTable__1rYTAF4X28SkQlz9cTtPDzQ {
|
|
tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA filenameToIdx;
|
|
tySequence__sM4lkSb7zS6F7OVMvW9cffQ idxToFilename;
|
|
};
|
|
struct tyTuple__7q7q3E6Oj24ZNVJb9aonhAg {
|
|
NimStringV2 Field0;
|
|
NimStringV2 Field1;
|
|
NimStringV2 Field2;
|
|
};
|
|
struct TNimTypeV2 {
|
|
void* destructor;
|
|
NI size;
|
|
NI16 align;
|
|
NI16 depth;
|
|
NU32* display;
|
|
void* traceImpl;
|
|
void* typeInfoV1;
|
|
NI flags;
|
|
};
|
|
struct RootObj {
|
|
TNimTypeV2* m_type;
|
|
};
|
|
struct tySequence__V9cBl110bSARQ3Xk9bVaXHDw {
|
|
NI len; tySequence__V9cBl110bSARQ3Xk9bVaXHDw_Content* p;
|
|
};
|
|
typedef NimStringV2 tyArray__XRjZexeZG0H0Os6ksQhowg[5];
|
|
struct tySequence__pUxI6Ljo6IKKHXKOZkQ7Og {
|
|
NI len; tySequence__pUxI6Ljo6IKKHXKOZkQ7Og_Content* p;
|
|
};
|
|
struct tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ {
|
|
tySequence__pUxI6Ljo6IKKHXKOZkQ7Og data;
|
|
NI counter;
|
|
};
|
|
typedef struct {
|
|
N_NIMCALL_PTR(void, ClP_0) (tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, NimStringV2 filename, NimStringV2 cmd, NI status, NimStringV2 content, void* ClE_0);
|
|
void* ClE_0;
|
|
} tyProc__60GIQaCod4Z80PoIKw3WKQ;
|
|
typedef NU8 tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ;
|
|
struct tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA {
|
|
RootObj Sup;
|
|
tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target;
|
|
tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* config;
|
|
NI splitAfter;
|
|
NI listingCounter;
|
|
tySequence__V9cBl110bSARQ3Xk9bVaXHDw tocPart;
|
|
NIM_BOOL hasToc;
|
|
NimStringV2 theIndex;
|
|
tyProc__oFHfEKFsiYTMAy9a42cSiKw findFile;
|
|
tyProc__zVyAuQlxcO3X84ar49cKZSg msgHandler;
|
|
NimStringV2 outDir;
|
|
NimStringV2 destFile;
|
|
tyObject_RstFileTable__1rYTAF4X28SkQlz9cTtPDzQ filenames;
|
|
NimStringV2 filename;
|
|
tyArray__XRjZexeZG0H0Os6ksQhowg meta;
|
|
NimStringV2 currentSection;
|
|
tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ seenIndexTerms;
|
|
NI id;
|
|
tyProc__60GIQaCod4Z80PoIKw3WKQ onTestSnippet;
|
|
tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ escMode;
|
|
NI curQuotationDepth;
|
|
};
|
|
typedef NU8 tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw;
|
|
struct tyObject_RefHeader__Gi7WQzlT1ZRToh9a2ueYb4A {
|
|
NI rc;
|
|
NI rootIdx;
|
|
};
|
|
typedef NU8 tyEnum_SourceLanguage__yW5C9bHJV9a9bc7MnoMHmB85g;
|
|
typedef NU8 tyEnum_TokenClass__9anxN1z0YaJHlUGz4GuizCA;
|
|
struct tyObject_GeneralTokenizer__mzSYRAkR0jQADvmFWo9aZKQ {
|
|
RootObj Sup;
|
|
tyEnum_TokenClass__9anxN1z0YaJHlUGz4GuizCA kind;
|
|
NI start;
|
|
NI length;
|
|
NCSTRING buf;
|
|
NI pos;
|
|
tyEnum_TokenClass__9anxN1z0YaJHlUGz4GuizCA state;
|
|
tyEnum_SourceLanguage__yW5C9bHJV9a9bc7MnoMHmB85g lang;
|
|
};
|
|
typedef NimStringV2 tyArray__Re75IspeoxXy2oCZHwcRrA[2];
|
|
typedef NimStringV2 tyArray__xIcDBR8ZFHSuvPCVnP2swA[37];
|
|
typedef NU8 tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ;
|
|
struct tyObject_TLineInfo__LpCBEHcAwE2yCs4l9cD1BOA {
|
|
NU16 line;
|
|
NI16 col;
|
|
NI32 fileIndex;
|
|
};
|
|
struct tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ {
|
|
tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ kind;
|
|
union{
|
|
struct {NimStringV2 text;
|
|
} _kind_1;
|
|
struct {NimStringV2 labelFmt;
|
|
} _kind_2;
|
|
struct {NimStringV2 lineIndent;
|
|
} _kind_3;
|
|
struct {NimStringV2 adType;
|
|
} _kind_4;
|
|
struct {NI level;
|
|
} _kind_5;
|
|
struct {NI order;
|
|
} _kind_6;
|
|
struct {NI quotationDepth;
|
|
} _kind_7;
|
|
struct {tyObject_TLineInfo__LpCBEHcAwE2yCs4l9cD1BOA info;
|
|
} _kind_8;
|
|
struct {NimStringV2 tooltip;
|
|
} _kind_9;
|
|
struct {NI colCount;
|
|
} _kind_10;
|
|
struct {NIM_BOOL endsHeader;
|
|
} _kind_11;
|
|
struct {NI span;
|
|
} _kind_12;
|
|
};
|
|
NimStringV2 anchor;
|
|
tySequence__V9cBl110bSARQ3Xk9bVaXHDw sons;
|
|
};
|
|
typedef NimStringV2 tyArray__yt5VDPNtUGx9cBkOVakHwdQ[6];
|
|
typedef NimStringV2 tyArray__haiLFy0nBviVTKFGuwztzQ[5];
|
|
struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA {
|
|
NI a;
|
|
NI b;
|
|
};
|
|
typedef NimStringV2 tyArray__nHXaesL0DJZHyVS07ARPRA[1];
|
|
struct tyTuple__qsoB9cWzItmjtA8wRSiKBbA {
|
|
NIM_CHAR Field0;
|
|
NimStringV2 Field1;
|
|
};
|
|
typedef NU8 tySet_tyChar__nmiMWKVIe46vacnhAFrQvw[32];
|
|
struct tySequence__8Np6tlClE5az1CyqZdN19bQ {
|
|
NI len; tySequence__8Np6tlClE5az1CyqZdN19bQ_Content* p;
|
|
};
|
|
struct tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ {
|
|
NI Field0;
|
|
NI Field1;
|
|
};
|
|
typedef NimStringV2 tyArray__sMpvt1sOxOJ3LFGulnbeMQ[4];
|
|
typedef NimStringV2 tyArray__24KAM9afIUgUaqBaEBB6r9bg[3];
|
|
struct tyObject_CodeBlockParams__sfxlxgvTVIvKgcvY2mQViA {
|
|
NIM_BOOL numberLines;
|
|
NI startLine;
|
|
NimStringV2 langStr;
|
|
tyEnum_SourceLanguage__yW5C9bHJV9a9bc7MnoMHmB85g lang;
|
|
NimStringV2 filename;
|
|
NimStringV2 testCmd;
|
|
NI status;
|
|
};
|
|
typedef N_CLOSURE_PTR(void, TM__vYBWrr780p7faFzauVMtPg_540) (tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, NimStringV2 filename, NimStringV2 cmd, NI status, NimStringV2 content);
|
|
struct tyTuple__UV3llMMYFckfui8YMBuUZA {
|
|
NimStringV2 Field0;
|
|
NimStringV2 Field1;
|
|
};
|
|
typedef NimStringV2 tyArray__ygbKUFq19aoG3rnUmyV9bLVw[10];
|
|
typedef NimStringV2 tyArray__8ZvwQIddfpj2THRVPsFzIQ[1];
|
|
struct tySequence__CJOrWaM0fWekVRTE2AotGw {
|
|
NI len; tySequence__CJOrWaM0fWekVRTE2AotGw_Content* p;
|
|
};
|
|
struct tySequence__MVOolrgzxbiYsd7sgvFfFw {
|
|
NI len; tySequence__MVOolrgzxbiYsd7sgvFfFw_Content* p;
|
|
};
|
|
struct tyObject_Table__myGXmFdFAc6beAdGFLRvEQ {
|
|
tySequence__MVOolrgzxbiYsd7sgvFfFw data;
|
|
NI counter;
|
|
};
|
|
struct tyTuple__Rf49c4BJ4LYwQucz9a7JHOmA {
|
|
tySequence__sM4lkSb7zS6F7OVMvW9cffQ Field0;
|
|
tySequence__CJOrWaM0fWekVRTE2AotGw Field1;
|
|
tyObject_Table__myGXmFdFAc6beAdGFLRvEQ Field2;
|
|
};
|
|
struct tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A {
|
|
NimStringV2 keyword;
|
|
NimStringV2 link;
|
|
NimStringV2 linkTitle;
|
|
NimStringV2 linkDesc;
|
|
};
|
|
typedef NU8 tyEnum_PathComponent__x9aIl9aBWoeZzD6AxCnUUcPQ;
|
|
typedef NIM_CHAR tyArray__dTlC27m9c9aWd5dvuePYanug[256];
|
|
struct tyTuple__MuQpYKhupAt9a7EFKGkr9ayg {
|
|
tyEnum_PathComponent__x9aIl9aBWoeZzD6AxCnUUcPQ Field0;
|
|
NIM_BOOL Field1;
|
|
};
|
|
typedef NU8 tyEnum_FileMode__4sJyy9aOSN8X63XdWXl5iDg;
|
|
typedef tyTuple__UV3llMMYFckfui8YMBuUZA tyArray__0ipey9aZuUA8jy4OAHzODQg[3];
|
|
typedef struct {
|
|
N_NIMCALL_PTR(NI, ClP_0) (NimStringV2 x, NimStringV2 y, void* ClE_0);
|
|
void* ClE_0;
|
|
} tyProc__3pmh9bG9bLpdxUjFu9cDtbZaA;
|
|
typedef NU8 tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA;
|
|
typedef N_CLOSURE_PTR(NI, TM__vYBWrr780p7faFzauVMtPg_679) (NimStringV2 x, NimStringV2 y, void* ClE_0);
|
|
struct tyTuple__oOuAMYA9a4ePg0evn9b5GaUQ {
|
|
NI Field0;
|
|
tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A Field1;
|
|
tySequence__CJOrWaM0fWekVRTE2AotGw Field2;
|
|
};
|
|
typedef struct {
|
|
N_NIMCALL_PTR(NI, ClP_0) (tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* x, tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* y, void* ClE_0);
|
|
void* ClE_0;
|
|
} tyProc__dyWamSxQI9aSIOZWO07sqOA;
|
|
typedef N_CLOSURE_PTR(NI, TM__vYBWrr780p7faFzauVMtPg_683) (tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* x, tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* y, void* ClE_0);
|
|
struct tyTuple__xYhUhS7X82rKTqbT9bRfCnw {
|
|
NI Field0;
|
|
NimStringV2 Field1;
|
|
NI32 Field2;
|
|
};
|
|
|
|
|
|
#ifndef tySequence__7lEisrXlQEzwtUKW5pzRCw_Content_PP
|
|
#define tySequence__7lEisrXlQEzwtUKW5pzRCw_Content_PP
|
|
struct tySequence__7lEisrXlQEzwtUKW5pzRCw_Content { NI cap; tyTuple__xYhUhS7X82rKTqbT9bRfCnw data[SEQ_DECL_SIZE];};
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content_PP
|
|
#define tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content_PP
|
|
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content { NI cap; NimStringV2 data[SEQ_DECL_SIZE];};
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef tySequence__V9cBl110bSARQ3Xk9bVaXHDw_Content_PP
|
|
#define tySequence__V9cBl110bSARQ3Xk9bVaXHDw_Content_PP
|
|
struct tySequence__V9cBl110bSARQ3Xk9bVaXHDw_Content { NI cap; tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* data[SEQ_DECL_SIZE];};
|
|
#endif
|
|
|
|
struct tyTuple__sr3s7uVHpu9cEbbDnCSg8yQ {
|
|
NI Field0;
|
|
NimStringV2 Field1;
|
|
NI Field2;
|
|
};
|
|
|
|
|
|
#ifndef tySequence__pUxI6Ljo6IKKHXKOZkQ7Og_Content_PP
|
|
#define tySequence__pUxI6Ljo6IKKHXKOZkQ7Og_Content_PP
|
|
struct tySequence__pUxI6Ljo6IKKHXKOZkQ7Og_Content { NI cap; tyTuple__sr3s7uVHpu9cEbbDnCSg8yQ data[SEQ_DECL_SIZE];};
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef tySequence__V9cBl110bSARQ3Xk9bVaXHDw_Content_PP
|
|
#define tySequence__V9cBl110bSARQ3Xk9bVaXHDw_Content_PP
|
|
struct tySequence__V9cBl110bSARQ3Xk9bVaXHDw_Content { NI cap; tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* data[SEQ_DECL_SIZE];};
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef tySequence__V9cBl110bSARQ3Xk9bVaXHDw_Content_PP
|
|
#define tySequence__V9cBl110bSARQ3Xk9bVaXHDw_Content_PP
|
|
struct tySequence__V9cBl110bSARQ3Xk9bVaXHDw_Content { NI cap; tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* data[SEQ_DECL_SIZE];};
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef tySequence__V9cBl110bSARQ3Xk9bVaXHDw_Content_PP
|
|
#define tySequence__V9cBl110bSARQ3Xk9bVaXHDw_Content_PP
|
|
struct tySequence__V9cBl110bSARQ3Xk9bVaXHDw_Content { NI cap; tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* data[SEQ_DECL_SIZE];};
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef tySequence__8Np6tlClE5az1CyqZdN19bQ_Content_PP
|
|
#define tySequence__8Np6tlClE5az1CyqZdN19bQ_Content_PP
|
|
struct tySequence__8Np6tlClE5az1CyqZdN19bQ_Content { NI cap; tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ data[SEQ_DECL_SIZE];};
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef tySequence__8Np6tlClE5az1CyqZdN19bQ_Content_PP
|
|
#define tySequence__8Np6tlClE5az1CyqZdN19bQ_Content_PP
|
|
struct tySequence__8Np6tlClE5az1CyqZdN19bQ_Content { NI cap; tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ data[SEQ_DECL_SIZE];};
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef tySequence__CJOrWaM0fWekVRTE2AotGw_Content_PP
|
|
#define tySequence__CJOrWaM0fWekVRTE2AotGw_Content_PP
|
|
struct tySequence__CJOrWaM0fWekVRTE2AotGw_Content { NI cap; tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A data[SEQ_DECL_SIZE];};
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef tySequence__MVOolrgzxbiYsd7sgvFfFw_Content_PP
|
|
#define tySequence__MVOolrgzxbiYsd7sgvFfFw_Content_PP
|
|
struct tySequence__MVOolrgzxbiYsd7sgvFfFw_Content { NI cap; tyTuple__oOuAMYA9a4ePg0evn9b5GaUQ data[SEQ_DECL_SIZE];};
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content_PP
|
|
#define tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content_PP
|
|
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content { NI cap; NimStringV2 data[SEQ_DECL_SIZE];};
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content_PP
|
|
#define tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content_PP
|
|
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content { NI cap; NimStringV2 data[SEQ_DECL_SIZE];};
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef tySequence__CJOrWaM0fWekVRTE2AotGw_Content_PP
|
|
#define tySequence__CJOrWaM0fWekVRTE2AotGw_Content_PP
|
|
struct tySequence__CJOrWaM0fWekVRTE2AotGw_Content { NI cap; tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A data[SEQ_DECL_SIZE];};
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content_PP
|
|
#define tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content_PP
|
|
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content { NI cap; NimStringV2 data[SEQ_DECL_SIZE];};
|
|
#endif
|
|
|
|
static N_INLINE(void, nimZeroMem)(void* p, NI size);
|
|
static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size);
|
|
static N_INLINE(NIM_BOOL*, nimErrorFlag)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___pureZstrtabs_446)(tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg** dest, tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* src, NIM_BOOL cyclic);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqsink___packagesZdocutilsZrstast_146)(tySequence__V9cBl110bSARQ3Xk9bVaXHDw* dest, tySequence__V9cBl110bSARQ3Xk9bVaXHDw src);
|
|
N_LIB_PRIVATE N_NIMCALL(void*, newSeqPayload)(NI cap, NI elemSize, NI elemAlign);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___stdZassertions_16)(NimStringV2* dest, NimStringV2 src);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___packagesZdocutilsZrst_12528)(tyObject_RstFileTable__1rYTAF4X28SkQlz9cTtPDzQ* dest, tyObject_RstFileTable__1rYTAF4X28SkQlz9cTtPDzQ src);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqsink___stdZassertions_19)(NimStringV2* dest, NimStringV2 src);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___pureZunicode_3668)(tyProc__oFHfEKFsiYTMAy9a42cSiKw* dest, tyProc__oFHfEKFsiYTMAy9a42cSiKw src, NIM_BOOL cyclic);
|
|
N_LIB_PRIVATE N_NIMCALL(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg, nossplitFile)(NimStringV2 path);
|
|
static N_INLINE(NIM_BOOL, eqStrings)(NimStringV2 a, NimStringV2 b);
|
|
static N_INLINE(NIM_BOOL, equalMem__system_1727)(void* a, void* b, NI size);
|
|
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
|
|
static N_INLINE(void, appendString)(NimStringV2* dest, NimStringV2 src);
|
|
static N_INLINE(void, copyMem__system_1719)(void* dest, void* source, NI size);
|
|
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, rawNewString)(NI space);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqsink___packagesZdocutilsZrstgen_355)(tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ* dest, tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ src);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ, initTable__packagesZdocutilsZrstgen_108)(NI initialSize);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___packagesZdocutilsZrst_2475)(tyProc__zVyAuQlxcO3X84ar49cKZSg* dest, tyProc__zVyAuQlxcO3X84ar49cKZSg src, NIM_BOOL cyclic);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, getOrDefault__pureZstrtabs_335)(tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* t, NimStringV2 key, NimStringV2 default_0);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, nsuParseInt)(NimStringV2 s);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___stdZassertions_13)(NimStringV2* dest);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___pureZos_231)(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg* dest);
|
|
static N_INLINE(NIM_BOOL, nimDecRefIsLastCyclicDyn)(void* p);
|
|
static N_INLINE(NI, minuspercent___system_790)(NI x, NI y);
|
|
N_LIB_PRIVATE N_NOINLINE(void, rememberCycle__system_3157)(NIM_BOOL isDestroyAction, tyObject_RefHeader__Gi7WQzlT1ZRToh9a2ueYb4A* s, TNimTypeV2* desc);
|
|
N_LIB_PRIVATE N_NIMCALL(void, nimDestroyAndDispose)(void* p);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, nextSplitPoint__packagesZdocutilsZrstgen_397)(NimStringV2 s, NI start);
|
|
static N_INLINE(void, addSplitter__packagesZdocutilsZrstgen_394)(tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target, NimStringV2* dest);
|
|
N_LIB_PRIVATE N_NIMCALL(void, prepareAdd)(NimStringV2* s, NI addlen);
|
|
static N_INLINE(void, escChar__packagesZdocutilsZrstgen_389)(tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target, NimStringV2* dest, NIM_CHAR c, tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ escMode);
|
|
N_LIB_PRIVATE N_NIMCALL(void, addHtmlChar__packagesZdocutilsZrstgen_365)(NimStringV2* dest, NIM_CHAR c);
|
|
static N_INLINE(void, nimAddCharV1)(NimStringV2* s, NIM_CHAR c);
|
|
N_LIB_PRIVATE N_NIMCALL(void, addTexChar__packagesZdocutilsZrstgen_368)(NimStringV2* dest, NIM_CHAR c, tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ escMode);
|
|
static N_INLINE(void, appendChar)(NimStringV2* dest, NIM_CHAR c);
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderCodeLang__packagesZdocutilsZrstgen_8888)(NimStringV2* result, tyEnum_SourceLanguage__yW5C9bHJV9a9bc7MnoMHmB85g lang, NimStringV2 code, tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target);
|
|
N_LIB_PRIVATE N_NIMCALL(void, initGeneralTokenizer__packagesZdocutilsZhighlite_212)(tyObject_GeneralTokenizer__mzSYRAkR0jQADvmFWo9aZKQ* g, NimStringV2 buf);
|
|
N_LIB_PRIVATE N_NIMCALL(void, getNextToken__packagesZdocutilsZhighlite_2081)(tyObject_GeneralTokenizer__mzSYRAkR0jQADvmFWo9aZKQ* g, tyEnum_SourceLanguage__yW5C9bHJV9a9bc7MnoMHmB85g lang);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, substr__system_7538)(NimStringV2 s, NI first, NI last);
|
|
N_LIB_PRIVATE N_NIMCALL(void, dispA__packagesZdocutilsZrstgen_461)(tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target, NimStringV2* dest, NimStringV2 xml, NimStringV2 tex, NimStringV2* args, NI argsLen_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, nsuAddf)(NimStringV2* s, NimStringV2 formatstr, NimStringV2* a, NI aLen_0);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, esc__packagesZdocutilsZrstgen_415)(tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target, NimStringV2 s, NI splitAfter, tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ escMode);
|
|
N_LIB_PRIVATE N_NIMCALL(void, deinitGeneralTokenizer__packagesZdocutilsZhighlite_215)(tyObject_GeneralTokenizer__mzSYRAkR0jQADvmFWo9aZKQ* g);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, quoteIndexColumn__packagesZdocutilsZrstgen_504)(NimStringV2 text);
|
|
N_NIMCALL(NimStringV2, rawNewString)(NI cap);
|
|
N_LIB_PRIVATE N_NIMCALL(void, insert__system_7211)(NimStringV2* x, NimStringV2 item, NI i);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nsuReplaceStr)(NimStringV2 s, NimStringV2 sub, NimStringV2 by);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, noschangeFileExt)(NimStringV2 filename, NimStringV2 ext);
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderAux__packagesZdocutilsZrstgen_479)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, len__packagesZdocutilsZrstast_112)(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n);
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderRstToOut__packagesZdocutilsZrstgen_475)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result);
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderHeadline__packagesZdocutilsZrstgen_8713)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, renderRstToText__packagesZdocutilsZrstast_691)(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* node);
|
|
N_LIB_PRIVATE N_NIMCALL(void, add__packagesZdocutilsZrstast_360)(tySequence__V9cBl110bSARQ3Xk9bVaXHDw* x, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* value);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___packagesZdocutilsZrstast_228)(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ** dest, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* src);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___systemZdollars_3)(NI x);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nimCharToStr)(NIM_CHAR x);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nosextractFilename)(NimStringV2 path);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nosrelativePath)(NimStringV2 path, NimStringV2 base, NIM_CHAR sep);
|
|
N_LIB_PRIVATE N_NIMCALL(void, setIndexTerm__packagesZdocutilsZrstgen_536)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, NimStringV2 htmlFile, NimStringV2 id, NimStringV2 term, NimStringV2 linkTitle, NimStringV2 linkDesc);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, stripTocHtml__packagesZdocutilsZrstgen_8703)(NimStringV2 s);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, nsuFindChar)(NimStringV2 s, NIM_CHAR sub, NI start, NI last);
|
|
N_LIB_PRIVATE N_NIMCALL(void, delete__pureZstrutils_1353)(NimStringV2* s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA slice);
|
|
static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___stdZstrbasics_49)(NI a, NI b);
|
|
static N_INLINE(NimStringV2, spaces__pureZstrutils_1132)(NI n);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nsuRepeatChar)(NIM_CHAR c, NI count);
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderOverline__packagesZdocutilsZrstgen_8739)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result);
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderAux__packagesZdocutilsZrstgen_491)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2 html, NimStringV2 tex, NimStringV2* result);
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderEnumList__packagesZdocutilsZrstgen_8975)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result);
|
|
static N_INLINE(NIM_CHAR*, X5BX5D___system_7066)(NimStringV2* s, NI i);
|
|
static N_INLINE(void, nimPrepareStrMutationV2)(NimStringV2* s);
|
|
N_LIB_PRIVATE N_NIMCALL(void, nimPrepareStrMutationImpl__system_2301)(NimStringV2* s);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nsuIsDigitChar)(NIM_CHAR c);
|
|
static N_INLINE(NimStringV2, X5BX5D___pureZstrutils_1279)(NimStringV2 s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x);
|
|
N_NIMCALL(NimStringV2, mnewString)(NI len);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nsuFormatOpenArray)(NimStringV2 formatstr, NimStringV2* a, NI aLen_0);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nsuIsUpperAsciiChar)(NIM_CHAR c);
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderField__packagesZdocutilsZrstgen_8964)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, addNodes__packagesZdocutilsZrst_70)(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nsuStrip)(NimStringV2 s, NIM_BOOL leading, NIM_BOOL trailing, tySet_tyChar__nmiMWKVIe46vacnhAFrQvw chars);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, nsuCmpIgnoreStyle)(NimStringV2 a, NimStringV2 b);
|
|
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__stdZassertions_224)(NimStringV2 msg);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nsuRepeatStr)(NimStringV2 s, NI n);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dollar___system_4382)(NF x);
|
|
static N_INLINE(NF, toFloat__system_1672)(NI i);
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderAdmonition__packagesZdocutilsZrstgen_9064)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, hashString)(NimStringV2 s);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nsuCapitalizeAscii)(NimStringV2 s);
|
|
N_LIB_PRIVATE N_NIMCALL(void, add__packagesZdocutilsZrstgen_9143)(tySequence__8Np6tlClE5az1CyqZdN19bQ* x, tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ value);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___types_1903)(tySequence__8Np6tlClE5az1CyqZdN19bQ* dest);
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderHyperlink__packagesZdocutilsZrstgen_9073)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* text, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* link, NimStringV2* result, NIM_BOOL external, NIM_BOOL nimdoc, NimStringV2 tooltip);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, safeProtocol__packagesZdocutilsZrst_8113)(NimStringV2* linkStr);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*, lastSon__packagesZdocutilsZrstast_351)(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___packagesZdocutilsZrstast_225)(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ** dest);
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderImage__packagesZdocutilsZrstgen_8792)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, getArgument__packagesZdocutilsZrst_75)(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, getFieldValue__packagesZdocutilsZrst_72)(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2 fieldname);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dispF__packagesZdocutilsZrstgen_451)(tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target, NimStringV2 xml, NimStringV2 tex, NimStringV2* args, NI argsLen_0);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nsuEndsWith)(NimStringV2 s, NimStringV2 suffix);
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderCode__packagesZdocutilsZrstgen_8898)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result);
|
|
N_LIB_PRIVATE N_NIMCALL(void, parseCodeBlockParams__packagesZdocutilsZrstgen_8838)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, tyObject_CodeBlockParams__sfxlxgvTVIvKgcvY2mQViA* Result);
|
|
N_LIB_PRIVATE N_NIMCALL(void, init__packagesZdocutilsZrstgen_87)(tyObject_CodeBlockParams__sfxlxgvTVIvKgcvY2mQViA* p);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___packagesZdocutilsZrstast_143)(tySequence__V9cBl110bSARQ3Xk9bVaXHDw* dest, tySequence__V9cBl110bSARQ3Xk9bVaXHDw src);
|
|
N_LIB_PRIVATE N_NIMCALL(void, parseCodeBlockField__packagesZdocutilsZrstgen_8834)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, tyObject_CodeBlockParams__sfxlxgvTVIvKgcvY2mQViA* params);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nsuToLowerAsciiStr)(NimStringV2 s);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, getField1Int__packagesZdocutilsZrstgen_8806)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2 fieldName);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, getFieldValue__packagesZdocutilsZrst_9346)(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, parseInt__pureZparseutils_832)(NimStringV2 s, NI* number, NI start);
|
|
N_LIB_PRIVATE N_NIMCALL(void, rstMessage__packagesZdocutilsZrst_3414)(tyObject_RstFileTable__1rYTAF4X28SkQlz9cTtPDzQ filenames, tyProc__zVyAuQlxcO3X84ar49cKZSg f, tyObject_TLineInfo__LpCBEHcAwE2yCs4l9cD1BOA info, tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ msgKind, NimStringV2 arg);
|
|
static N_INLINE(NimStringV2, X5BX5D___pureZstrutils_1307)(NimStringV2 s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x);
|
|
static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___stdZenumutils_128)(NI a, NI b);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nsuUnescape)(NimStringV2 s, NimStringV2 prefix, NimStringV2 suffix);
|
|
N_LIB_PRIVATE N_NIMCALL(tyEnum_SourceLanguage__yW5C9bHJV9a9bc7MnoMHmB85g, getSourceLanguage__packagesZdocutilsZhighlite_144)(NimStringV2 name);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___packagesZdocutilsZrstast_140)(tySequence__V9cBl110bSARQ3Xk9bVaXHDw* dest);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___packagesZdocutilsZrstgen_8942)(tyObject_CodeBlockParams__sfxlxgvTVIvKgcvY2mQViA* dest);
|
|
N_LIB_PRIVATE N_NIMCALL(tyTuple__UV3llMMYFckfui8YMBuUZA, buildLinesHtmlTable__packagesZdocutilsZrstgen_8859)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_CodeBlockParams__sfxlxgvTVIvKgcvY2mQViA* params, NimStringV2 code, NimStringV2 idStr);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nsuFormatSingleElem)(NimStringV2 formatstr, NimStringV2 a);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, nsuCountLines)(NimStringV2 s);
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderContainer__packagesZdocutilsZrstgen_8958)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result);
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderIndexTerm__packagesZdocutilsZrstgen_557)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, rstnodeToRefname__packagesZdocutilsZrst_68)(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasKey__packagesZdocutilsZrstgen_602)(tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ t, NimStringV2 key);
|
|
N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___packagesZdocutilsZrstgen_1019)(tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ* t, NimStringV2 key, NI val);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, getOrDefault__packagesZdocutilsZrstgen_915)(tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ t, NimStringV2 key);
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderSmiley__packagesZdocutilsZrstgen_8802)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result);
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderTocEntry__packagesZdocutilsZrstgen_8766)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result);
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderTocEntries__packagesZdocutilsZrstgen_8777)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, NI* j, NI lvl, NimStringV2* result);
|
|
N_LIB_PRIVATE N_NIMCALL(void, writeFile__stdZsyncio_482)(NimStringV2 filename, NimStringV2 content);
|
|
N_LIB_PRIVATE N_NIMCALL(void, readIndexDir__packagesZdocutilsZrstgen_7326)(NimStringV2 dir, tyTuple__Rf49c4BJ4LYwQucz9a7JHOmA* Result);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqsink___system_3536)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* dest, tySequence__sM4lkSb7zS6F7OVMvW9cffQ src);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqsink___packagesZdocutilsZrstgen_7174)(tyObject_Table__myGXmFdFAc6beAdGFLRvEQ* dest, tyObject_Table__myGXmFdFAc6beAdGFLRvEQ src);
|
|
N_LIB_PRIVATE N_NIMCALL(void, alignedDealloc)(void* p, NI align);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_Table__myGXmFdFAc6beAdGFLRvEQ, initTable__packagesZdocutilsZrstgen_7336)(NI initialSize);
|
|
N_LIB_PRIVATE N_NIMCALL(void, newSeq__packagesZdocutilsZrstgen_6686)(tySequence__CJOrWaM0fWekVRTE2AotGw* s, NI len);
|
|
N_LIB_PRIVATE N_NIMCALL(void, setLen__packagesZdocutilsZrstgen_2469)(tySequence__CJOrWaM0fWekVRTE2AotGw* s, NI newlen);
|
|
static N_INLINE(NimStringV2, pop__stdZprivateZosdirs_399)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* s);
|
|
N_LIB_PRIVATE N_NIMCALL(void, shrink__system_3412)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* x, NI newLen);
|
|
static N_INLINE(NimStringV2, slash___stdZprivateZospaths50_91)(NimStringV2 head, NimStringV2 tail);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nosjoinPath)(NimStringV2 head, NimStringV2 tail);
|
|
static N_INLINE(NCSTRING, nimToCStringConv)(NimStringV2 s);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseOSError__stdZoserrors_82)(NI32 errorCode, NimStringV2 additionalInfo);
|
|
N_LIB_PRIVATE N_NIMCALL(NI32, osLastError__stdZoserrors_85)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, cstrToNimstr)(NCSTRING str);
|
|
N_LIB_PRIVATE N_NIMCALL(tyTuple__MuQpYKhupAt9a7EFKGkr9ayg, getSymlinkFileKind__stdZprivateZoscommon_26)(NimStringV2 path);
|
|
N_LIB_PRIVATE N_NIMCALL(void, add__stdZenumutils_69)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* x, NimStringV2 value);
|
|
N_LIB_PRIVATE N_NIMCALL(FILE*, open__stdZsyncio_447)(NimStringV2 filename, tyEnum_FileMode__4sJyy9aOSN8X63XdWXl5iDg mode, NI bufSize);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, readLine__stdZsyncio_263)(FILE* f, NimStringV2* line);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, substr__system_7550)(NimStringV2 s, NI first);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isDocumentationTitle__packagesZdocutilsZrstgen_2276)(NimStringV2 hyperlink);
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ, nsuSplitChar)(NimStringV2 s, NIM_CHAR sep, NI maxsplit);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, unquoteIndexColumn__packagesZdocutilsZrstgen_508)(NimStringV2 text);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, multiReplace__pureZstrutils_1868)(NimStringV2 s, tyTuple__UV3llMMYFckfui8YMBuUZA* replacements, NI replacementsLen_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___system_3530)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* dest);
|
|
N_LIB_PRIVATE N_NIMCALL(void, close__stdZsyncio_242)(FILE* f);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___packagesZdocutilsZrstgen_2219)(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* dest, tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* src);
|
|
N_LIB_PRIVATE N_NIMCALL(void, setLengthStrV2)(NimStringV2* s, NI newLen);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, len__packagesZdocutilsZrstgen_6193)(tyObject_Table__myGXmFdFAc6beAdGFLRvEQ t);
|
|
N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___packagesZdocutilsZrstgen_7563)(tyObject_Table__myGXmFdFAc6beAdGFLRvEQ* t, tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* key, tySequence__CJOrWaM0fWekVRTE2AotGw val);
|
|
static N_INLINE(NI, emarkamp___pureZhashes_4)(NI h, NI val);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, hash__pureZhashes_284)(NimStringV2 x);
|
|
static N_INLINE(NI, emarkdollar___pureZhashes_19)(NI h);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___packagesZdocutilsZrstgen_2452)(tySequence__CJOrWaM0fWekVRTE2AotGw* dest);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___packagesZdocutilsZrstgen_2216)(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* dest);
|
|
N_LIB_PRIVATE N_NIMCALL(void, sort__sem_1924)(NimStringV2* a, NI aLen_0, tyProc__3pmh9bG9bLpdxUjFu9cDtbZaA cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, cmp__system_1543)(NimStringV2 x, NimStringV2 y);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, generateDocumentationJumps__packagesZdocutilsZrstgen_7193)(tyObject_Table__myGXmFdFAc6beAdGFLRvEQ docs);
|
|
static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZtables_33)(NI hcode);
|
|
N_LIB_PRIVATE N_NIMCALL(void, add__packagesZdocutilsZrstgen_6648)(tySequence__CJOrWaM0fWekVRTE2AotGw* x, tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* value);
|
|
N_LIB_PRIVATE N_NIMCALL(void, sort__packagesZdocutilsZrstgen_6671)(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* a, NI aLen_0, tyProc__dyWamSxQI9aSIOZWO07sqOA cmp, tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA order);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, cmp__packagesZdocutilsZrstgen_2184)(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* a, tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* b);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, nsuJoinSep)(NimStringV2* a, NI aLen_0, NimStringV2 sep);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, generateModuleJumps__packagesZdocutilsZrstgen_7310)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ modules);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, prettyLink__packagesZdocutilsZrstgen_84)(NimStringV2 file);
|
|
N_LIB_PRIVATE N_NIMCALL(void, sortIndex__packagesZdocutilsZrstgen_2194)(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* a, NI aLen_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqsink___packagesZdocutilsZrstgen_2222)(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* dest, tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* src);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, generateSymbolIndex__packagesZdocutilsZrstgen_2254)(tySequence__CJOrWaM0fWekVRTE2AotGw symbols);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, escapeLink__packagesZdocutilsZrstgen_2239)(NimStringV2 s);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, toHex__pureZstrutils_1991)(NI x, NI len);
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___packagesZdocutilsZrstgen_7168)(tyObject_Table__myGXmFdFAc6beAdGFLRvEQ* dest);
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[0+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_2 = { 0 | NIM_STRLIT_FLAG, "" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_3 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_4 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_5 = { 4 | NIM_STRLIT_FLAG, ".nim" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_6 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_5};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[7+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_7 = { 7 | NIM_STRLIT_FLAG, "Module " };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_8 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_7};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[14+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_9 = { 14 | NIM_STRLIT_FLAG, "split.item.toc" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_10 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_9};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_11 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_12 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_13 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[7+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_14 = { 7 | NIM_STRLIT_FLAG, "<wbr />" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_15 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_14};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[2+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_16 = { 2 | NIM_STRLIT_FLAG, "\\-" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_17 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_16};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[5+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_18 = { 5 | NIM_STRLIT_FLAG, "&" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_19 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_18};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_20 = { 4 | NIM_STRLIT_FLAG, "<" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_21 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_20};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_22 = { 4 | NIM_STRLIT_FLAG, ">" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_23 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_22};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[6+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_24 = { 6 | NIM_STRLIT_FLAG, """ };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_25 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_24};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[1+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_26 = { 1 | NIM_STRLIT_FLAG, "\\" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_27 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_26};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_28 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_26};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_29 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_26};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[2+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_30 = { 2 | NIM_STRLIT_FLAG, "{}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_31 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_30};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[17+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_32 = { 17 | NIM_STRLIT_FLAG, "\\textasciigrave{}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_33 = {17, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_32};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[16+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_34 = { 16 | NIM_STRLIT_FLAG, "\\textbackslash{}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_35 = {16, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_34};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_36 = { 4 | NIM_STRLIT_FLAG, "\\%7B" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_37 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_36};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[2+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_38 = { 2 | NIM_STRLIT_FLAG, "\\{" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_39 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_38};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_40 = { 4 | NIM_STRLIT_FLAG, "\\%7D" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_41 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_40};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[2+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_42 = { 2 | NIM_STRLIT_FLAG, "\\}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_43 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_42};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[8+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_44 = { 8 | NIM_STRLIT_FLAG, "\\text{]}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_45 = {8, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_44};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[1+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_46 = { 1 | NIM_STRLIT_FLAG, "]" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_47 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_46};
|
|
extern TNimTypeV2 NTIv2__mzSYRAkR0jQADvmFWo9aZKQ_;
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[26+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_48 = { 26 | NIM_STRLIT_FLAG, "<span class=\"$2\">$1</span>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_49 = {26, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_48};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[11+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_50 = { 11 | NIM_STRLIT_FLAG, "\\span$2{$1}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_51 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_50};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_52 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_26};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[2+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_53 = { 2 | NIM_STRLIT_FLAG, "\\n" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_54 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_53};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[2+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_55 = { 2 | NIM_STRLIT_FLAG, "\\t" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_56 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_55};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[1+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_57 = { 1 | NIM_STRLIT_FLAG, "\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_58 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_57};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_59 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[3+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_60 = { 3 | NIM_STRLIT_FLAG, "_._" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_61 = {3, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_60};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[2+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_62 = { 2 | NIM_STRLIT_FLAG, ".." };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_63 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_62};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_64 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[54+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_65 = { 54 | NIM_STRLIT_FLAG, "\012<h$1><a class=\"toc-backref\"$2 href=\"#$5\">$3</a></h$1>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_66 = {54, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_65};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[18+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_67 = { 18 | NIM_STRLIT_FLAG, "\\rsth$4[$6]{$3}$2\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_68 = {18, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_67};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_69 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[5+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_70 = { 5 | NIM_STRLIT_FLAG, " id=\"" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_71 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_70};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[1+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_72 = { 1 | NIM_STRLIT_FLAG, "\"" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_73 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_72};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[7+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_74 = { 7 | NIM_STRLIT_FLAG, "\\label{" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_75 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_74};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[14+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_76 = { 14 | NIM_STRLIT_FLAG, "}\\hypertarget{" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_77 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_76};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[3+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_78 = { 3 | NIM_STRLIT_FLAG, "}{}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_79 = {3, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_78};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[16+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_80 = { 16 | NIM_STRLIT_FLAG, "\012<h$1$2>$3</h$1>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_81 = {16, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_80};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[18+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_82 = { 18 | NIM_STRLIT_FLAG, "\\rsth$4[$5]{$3}$2\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_83 = {18, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_82};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_84 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_85 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_70};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_86 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_72};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_87 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_74};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_88 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_76};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_89 = {3, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_78};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_90 = { 4 | NIM_STRLIT_FLAG, "html" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_91 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_90};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_92 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_93 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[32+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_94 = { 32 | NIM_STRLIT_FLAG, "<h$1$2><center>$3</center></h$1>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_95 = {32, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_94};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[19+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_96 = { 19 | NIM_STRLIT_FLAG, "\\rstov$4[$5]{$3}$2\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_97 = {19, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_96};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_98 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_99 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_70};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_100 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_72};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_101 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_74};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_102 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_76};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_103 = {3, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_78};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_104 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_105 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_106 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_70};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_107 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_72};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_108 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_74};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_109 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_76};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_110 = {3, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_78};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_111 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_112 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_70};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_113 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_72};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_114 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_74};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_115 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_76};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_116 = {3, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_78};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[9+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_117 = { 9 | NIM_STRLIT_FLAG, "<hr$2 />\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_118 = {9, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_117};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[25+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_119 = { 25 | NIM_STRLIT_FLAG, "\012\012\\vspace{0.6em}\\hrule$2\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_120 = {25, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_119};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[12+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_121 = { 12 | NIM_STRLIT_FLAG, "<p$2>$1</p>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_122 = {12, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_121};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[9+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_123 = { 9 | NIM_STRLIT_FLAG, "\012\012$2\012$1\012\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_124 = {9, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_123};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[29+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_125 = { 29 | NIM_STRLIT_FLAG, "<ul$2 class=\"simple\">$1</ul>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_126 = {29, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_125};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[35+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_127 = { 35 | NIM_STRLIT_FLAG, "\\begin{itemize}\012$2\012$1\\end{itemize}\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_128 = {35, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_127};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[14+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_129 = { 14 | NIM_STRLIT_FLAG, "<li$2>$1</li>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_130 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_129};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[11+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_131 = { 11 | NIM_STRLIT_FLAG, "\\item $2$1\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_132 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_131};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_133 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_134 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_135 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_136 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[1+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_137 = { 1 | NIM_STRLIT_FLAG, "(" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_138 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_137};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[2+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_139 = { 2 | NIM_STRLIT_FLAG, "\012%" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_140 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_139};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_141 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_57};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_142 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[6+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_143 = { 6 | NIM_STRLIT_FLAG, "label=" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_144 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_143};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[8+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_145 = { 8 | NIM_STRLIT_FLAG, "\\arabic*" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_146 = {8, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_145};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[1+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_147 = { 1 | NIM_STRLIT_FLAG, "," };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_148 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_147};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[1+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_149 = { 1 | NIM_STRLIT_FLAG, "1" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_150 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_149};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[8+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_151 = { 8 | NIM_STRLIT_FLAG, "start=$1" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_152 = {8, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_151};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[6+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_153 = { 6 | NIM_STRLIT_FLAG, "[$1$2]" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_154 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_153};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_155 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_143};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[6+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_156 = { 6 | NIM_STRLIT_FLAG, "\\Alph*" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_157 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_156};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_158 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_143};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[6+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_159 = { 6 | NIM_STRLIT_FLAG, "\\alph*" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_160 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_159};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[7+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_161 = { 7 | NIM_STRLIT_FLAG, ",start=" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_162 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_161};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_163 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_153};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_164 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_149};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[11+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_165 = { 11 | NIM_STRLIT_FLAG, " start=\"$1\"" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_166 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_165};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[14+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_167 = { 14 | NIM_STRLIT_FLAG, "class=\"simple\"" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_168 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_167};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[25+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_170 = { 25 | NIM_STRLIT_FLAG, "class=\"upperalpha simple\"" };
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[25+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_172 = { 25 | NIM_STRLIT_FLAG, "class=\"loweralpha simple\"" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_173 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_165};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[6+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_174 = { 6 | NIM_STRLIT_FLAG, "<ol$2 " };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_175 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_174};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[9+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_176 = { 9 | NIM_STRLIT_FLAG, ">$1</ol>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_177 = {9, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_176};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[17+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_178 = { 17 | NIM_STRLIT_FLAG, "\\begin{enumerate}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_179 = {17, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_178};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[20+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_180 = { 20 | NIM_STRLIT_FLAG, "$2$1\\end{enumerate}\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_181 = {20, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_180};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[31+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_182 = { 31 | NIM_STRLIT_FLAG, "<dl$2 class=\"docutils\">$1</dl>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_183 = {31, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_182};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[43+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_184 = { 43 | NIM_STRLIT_FLAG, "\\begin{description}\012$2\012$1\\end{description}\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_185 = {43, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_184};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[14+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_186 = { 14 | NIM_STRLIT_FLAG, "<dt$2>$1</dt>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_187 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_186};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[14+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_188 = { 14 | NIM_STRLIT_FLAG, "$2\\item[$1]\\ " };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_189 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_188};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[14+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_190 = { 14 | NIM_STRLIT_FLAG, "<dd$2>$1</dd>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_191 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_190};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[6+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_192 = { 6 | NIM_STRLIT_FLAG, "$2\012$1\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_193 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_192};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_194 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[148+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_195 = { 148 | NIM_STRLIT_FLAG, "<table$2 class=\"docinfo\" frame=\"void\" rules=\"none\"><col class=\"docinfo-name\" /><col class=\"docinfo-content\" /><tbody valign=\"top\">$1</tbody></table>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_196 = {148, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_195};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_197 = {43, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_184};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_198 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_199 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_70};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_200 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_72};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_201 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_74};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_202 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_76};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_203 = {3, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_78};
|
|
static NIM_CONST tySet_tyChar__nmiMWKVIe46vacnhAFrQvw TM__vYBWrr780p7faFzauVMtPg_204 = {
|
|
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}
|
|
;
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[6+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_205 = { 6 | NIM_STRLIT_FLAG, "author" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_206 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_205};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[7+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_207 = { 7 | NIM_STRLIT_FLAG, "authors" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_208 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_207};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[7+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_209 = { 7 | NIM_STRLIT_FLAG, "version" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_210 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_209};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[12+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_211 = { 12 | NIM_STRLIT_FLAG, "<tr>$1</tr>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_212 = {12, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_211};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[2+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_213 = { 2 | NIM_STRLIT_FLAG, "$1" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_214 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_213};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[33+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_215 = { 33 | NIM_STRLIT_FLAG, "<th class=\"docinfo-name\">$1:</th>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_216 = {33, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_215};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[10+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_217 = { 10 | NIM_STRLIT_FLAG, "\\item[$1:]" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_218 = {10, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_217};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[11+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_219 = { 11 | NIM_STRLIT_FLAG, "<td>$1</td>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_220 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_219};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_221 = { 4 | NIM_STRLIT_FLAG, " $1\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_222 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_221};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[35+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_223 = { 35 | NIM_STRLIT_FLAG, "<div$2 class=\"option-list\">$1</div>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_224 = {35, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_223};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[39+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_225 = { 39 | NIM_STRLIT_FLAG, "\\begin{rstoptlist}$2\012$1\\end{rstoptlist}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_226 = {39, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_225};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_227 = { 4 | NIM_STRLIT_FLAG, " odd" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_228 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_227};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_229 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[28+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_230 = { 28 | NIM_STRLIT_FLAG, "<div class=\"option-list-item" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_231 = {28, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_230};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[11+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_232 = { 11 | NIM_STRLIT_FLAG, "\">$1</div>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_233 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_232};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_234 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_213};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[76+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_235 = { 76 | NIM_STRLIT_FLAG, "<div class=\"option-list-label\"><tt><span class=\"option\">$1</span></tt></div>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_236 = {76, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_235};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[36+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_237 = { 36 | NIM_STRLIT_FLAG, "\\item[\\rstcodeitem{\\spanoption{$1}}]" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_238 = {36, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_237};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[45+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_239 = { 45 | NIM_STRLIT_FLAG, "<div class=\"option-list-description\">$1</div>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_240 = {45, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_239};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_241 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_221};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[42+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_242 = { 42 | NIM_STRLIT_FLAG, "rstgen.nim(1258, 5) `false` renderRstToOut" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_243 = {42, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_242};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[16+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_244 = { 16 | NIM_STRLIT_FLAG, "<pre$2>$1</pre>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_245 = {16, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_244};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[36+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_246 = { 36 | NIM_STRLIT_FLAG, "\012\012$2\\begin{rstpre}\012$1\012\\end{rstpre}\012\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_247 = {36, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_246};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_248 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_249 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_213};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_250 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_213};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[13+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_251 = { 13 | NIM_STRLIT_FLAG, "</blockquote>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_252 = {13, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_251};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[14+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_253 = { 14 | NIM_STRLIT_FLAG, "\\end{rstquote}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_254 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_253};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[53+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_255 = { 53 | NIM_STRLIT_FLAG, "<blockquote$2 class=\"markdown-quote\">$1</blockquote>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_256 = {53, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_255};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[38+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_257 = { 38 | NIM_STRLIT_FLAG, "\012\\begin{rstquote}\012$2\012$1\\end{rstquote}\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_258 = {38, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_257};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_259 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_260 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_70};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_261 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_72};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_262 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_74};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_263 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_76};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_264 = {3, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_78};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[35+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_265 = { 35 | NIM_STRLIT_FLAG, "<blockquote class=\"markdown-quote\">" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_266 = {35, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_265};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[16+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_267 = { 16 | NIM_STRLIT_FLAG, "\\begin{rstquote}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_268 = {16, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_267};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_269 = {13, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_251};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_270 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_253};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[9+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_271 = { 9 | NIM_STRLIT_FLAG, "<p>$1</p>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_272 = {9, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_271};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[3+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_273 = { 3 | NIM_STRLIT_FLAG, "\012$1" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_274 = {3, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_273};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_275 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_57};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[12+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_276 = { 12 | NIM_STRLIT_FLAG, "<p$2>$1</p> " };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_277 = {12, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_276};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[7+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_278 = { 7 | NIM_STRLIT_FLAG, "\012\012$2\012$1" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_279 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_278};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[11+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_280 = { 11 | NIM_STRLIT_FLAG, "<p$2>$1</p>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_281 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_280};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[35+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_282 = { 35 | NIM_STRLIT_FLAG, "\012\\vspace{0.5em}$2\012$1\\vspace{0.5em}\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_283 = {35, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_282};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[7+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_284 = { 7 | NIM_STRLIT_FLAG, "$1<br/>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_285 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_284};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[14+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_286 = { 14 | NIM_STRLIT_FLAG, "\\noindent $1\012\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_287 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_286};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_288 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_57};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[5+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_289 = { 5 | NIM_STRLIT_FLAG, "<br/>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_290 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_289};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[13+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_291 = { 13 | NIM_STRLIT_FLAG, "\\vspace{1em}\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_292 = {13, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_291};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[2+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_293 = { 2 | NIM_STRLIT_FLAG, "em" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_294 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_293};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[26+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_295 = { 26 | NIM_STRLIT_FLAG, "<span style=\"margin-left: " };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_296 = {26, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_295};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[16+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_297 = { 16 | NIM_STRLIT_FLAG, "\">$1</span><br/>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_298 = {16, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_297};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[17+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_299 = { 17 | NIM_STRLIT_FLAG, "\\noindent\\hspace{" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_300 = {17, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_299};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[5+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_301 = { 5 | NIM_STRLIT_FLAG, "}$1\012\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_302 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_301};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[37+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_303 = { 37 | NIM_STRLIT_FLAG, "<blockquote$2><p>$1</p></blockquote>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_304 = {37, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_303};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[31+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_305 = { 31 | NIM_STRLIT_FLAG, "\\begin{quote}\012$2\012$1\\end{quote}\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_306 = {31, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_305};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[18+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_307 = { 18 | NIM_STRLIT_FLAG, "admonition_warning" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_308 = {18, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_307};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[6+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_309 = { 6 | NIM_STRLIT_FLAG, "\\large" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_310 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_309};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[6+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_311 = { 6 | NIM_STRLIT_FLAG, "orange" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_312 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_311};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_313 = { 4 | NIM_STRLIT_FLAG, "hint" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_314 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_313};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_315 = { 4 | NIM_STRLIT_FLAG, "note" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_316 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_315};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[3+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_317 = { 3 | NIM_STRLIT_FLAG, "tip" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_318 = {3, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_317};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[9+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_319 = { 9 | NIM_STRLIT_FLAG, "attention" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_320 = {9, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_319};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[10+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_321 = { 10 | NIM_STRLIT_FLAG, "admonition" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_322 = {10, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_321};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[9+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_323 = { 9 | NIM_STRLIT_FLAG, "important" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_324 = {9, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_323};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[7+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_325 = { 7 | NIM_STRLIT_FLAG, "warning" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_326 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_325};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[7+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_327 = { 7 | NIM_STRLIT_FLAG, "caution" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_328 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_327};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[6+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_329 = { 6 | NIM_STRLIT_FLAG, "danger" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_330 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_329};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[5+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_331 = { 5 | NIM_STRLIT_FLAG, "error" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_332 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_331};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[15+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_333 = { 15 | NIM_STRLIT_FLAG, "admonition-info" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_334 = {15, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_333};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[11+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_335 = { 11 | NIM_STRLIT_FLAG, "\\normalsize" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_336 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_335};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[5+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_337 = { 5 | NIM_STRLIT_FLAG, "green" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_338 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_337};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[18+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_339 = { 18 | NIM_STRLIT_FLAG, "admonition-warning" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_340 = {18, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_339};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_341 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_309};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_342 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_311};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[16+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_343 = { 16 | NIM_STRLIT_FLAG, "admonition-error" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_344 = {16, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_343};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[6+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_345 = { 6 | NIM_STRLIT_FLAG, "\\Large" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_346 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_345};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[3+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_347 = { 3 | NIM_STRLIT_FLAG, "red" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_348 = {3, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_347};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[23+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_349 = { 23 | NIM_STRLIT_FLAG, "<div class=\"admonition " };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_350 = {23, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_349};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[2+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_351 = { 2 | NIM_STRLIT_FLAG, "\">" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_352 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_351};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[15+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_353 = { 15 | NIM_STRLIT_FLAG, "<span$2 class=\"" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_354 = {15, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_353};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[10+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_355 = { 10 | NIM_STRLIT_FLAG, "-text\"><b>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_356 = {10, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_355};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[22+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_357 = { 22 | NIM_STRLIT_FLAG, ":</b></span>\012$1</div>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_358 = {22, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_357};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[53+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_359 = { 53 | NIM_STRLIT_FLAG, "\012\012\\begin{rstadmonition}[borderline west={0.2em}{0pt}{" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_360 = {53, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_359};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[6+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_361 = { 6 | NIM_STRLIT_FLAG, "}]$2\012{" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_362 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_361};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[7+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_363 = { 7 | NIM_STRLIT_FLAG, "\\color{" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_364 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_363};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[10+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_365 = { 10 | NIM_STRLIT_FLAG, "}{\\textbf{" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_366 = {10, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_365};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[28+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_367 = { 28 | NIM_STRLIT_FLAG, ":}}} $1\012\\end{rstadmonition}\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_368 = {28, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_367};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[47+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_369 = { 47 | NIM_STRLIT_FLAG, "<table$2 border=\"1\" class=\"docutils\">$1</table>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_370 = {47, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_369};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[19+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_371 = { 19 | NIM_STRLIT_FLAG, "\012$2\012\\begin{rsttab}{" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_372 = {19, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_371};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[1+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_373 = { 1 | NIM_STRLIT_FLAG, "L" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_374 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_373};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[57+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_375 = { 57 | NIM_STRLIT_FLAG, "}\012\\toprule\012$1\\addlinespace[0.1em]\\bottomrule\012\\end{rsttab}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_376 = {57, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_375};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_377 = { 4 | NIM_STRLIT_FLAG, "<tr>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_378 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_377};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[6+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_379 = { 6 | NIM_STRLIT_FLAG, "</tr>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_380 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_379};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[19+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_381 = { 19 | NIM_STRLIT_FLAG, "\\rowcolor{gray!15} " };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_382 = {19, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_381};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[3+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_383 = { 3 | NIM_STRLIT_FLAG, " & " };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_384 = {3, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_383};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[2+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_385 = { 2 | NIM_STRLIT_FLAG, "\\\\" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_386 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_385};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[9+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_387 = { 9 | NIM_STRLIT_FLAG, "\\midrule\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_388 = {9, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_387};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[20+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_389 = { 20 | NIM_STRLIT_FLAG, "\\cmidrule(lr){$1-$2}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_390 = {20, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_389};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_391 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_57};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[2+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_392 = { 2 | NIM_STRLIT_FLAG, "th" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_393 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_392};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[2+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_394 = { 2 | NIM_STRLIT_FLAG, "td" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_395 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_394};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_396 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[10+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_397 = { 10 | NIM_STRLIT_FLAG, " colspan=\"" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_398 = {10, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_397};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[28+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_399 = { 28 | NIM_STRLIT_FLAG, "\" style=\"text-align: center\"" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_400 = {28, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_399};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[14+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_401 = { 14 | NIM_STRLIT_FLAG, "<$1$2>$$1</$1>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_402 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_401};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_403 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[11+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_404 = { 11 | NIM_STRLIT_FLAG, "\\textbf{$1}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_405 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_404};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_406 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_213};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[13+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_407 = { 13 | NIM_STRLIT_FLAG, "\\multicolumn{" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_408 = {13, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_407};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[5+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_409 = { 5 | NIM_STRLIT_FLAG, "}{c}{" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_410 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_409};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[1+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_411 = { 1 | NIM_STRLIT_FLAG, "}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_412 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_411};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_413 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[59+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_414 = { 59 | NIM_STRLIT_FLAG, "<hr class=\"footnote\"><div class=\"footnote-group\">\012$1</div>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_415 = {59, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_414};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[80+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_416 = { 80 | NIM_STRLIT_FLAG, "\012\012\\noindent\\rule{0.25\\linewidth}{.4pt}\012\\begin{rstfootnote}\012$1\\end{rstfootnote}\012\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_417 = {80, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_416};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_418 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_419 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[109+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_420 = { 109 | NIM_STRLIT_FLAG, "<div$2><div class=\"footnote-label\"><sup><strong><a href=\"#$4\">[$3]</a></strong></sup></div>   $1\012</div>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_421 = {109, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_420};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[35+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_422 = { 35 | NIM_STRLIT_FLAG, "\\item[\\textsuperscript{[$3]}]$2 $1\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_423 = {35, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_422};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_424 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_425 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_70};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_426 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_72};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_427 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_74};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_428 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_76};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_429 = {3, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_78};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_430 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_431 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[7+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_432 = { 7 | NIM_STRLIT_FLAG, " nimdoc" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_433 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_432};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_434 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_435 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[11+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_436 = { 11 | NIM_STRLIT_FLAG, " title=\"$1\"" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_437 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_436};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[50+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_438 = { 50 | NIM_STRLIT_FLAG, "<a class=\"reference external$3\"$4 href=\"$2\">$1</a>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_439 = {50, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_438};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[13+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_440 = { 13 | NIM_STRLIT_FLAG, "\\href{$2}{$1}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_441 = {13, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_440};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[51+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_442 = { 51 | NIM_STRLIT_FLAG, "<a class=\"reference internal$3\"$4 href=\"#$2\">$1</a>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_443 = {51, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_442};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[36+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_444 = { 36 | NIM_STRLIT_FLAG, "\\hyperlink{$2}{$1} (p.~\\pageref{$2})" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_445 = {36, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_444};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_446 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_447 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_448 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_449 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_450 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[1+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_451 = { 1 | NIM_STRLIT_FLAG, "[" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_452 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_451};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_453 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_46};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[75+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_454 = { 75 | NIM_STRLIT_FLAG, "<sup><strong><a class=\"reference internal\" href=\"#$2\">$1</a></strong></sup>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_455 = {75, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_454};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[45+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_456 = { 45 | NIM_STRLIT_FLAG, "\\textsuperscript{\\hyperlink{$2}{\\textbf{$1}}}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_457 = {45, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_456};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_458 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[5+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_459 = { 5 | NIM_STRLIT_FLAG, "scale" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_460 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_459};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[11+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_461 = { 11 | NIM_STRLIT_FLAG, " scale=\"$1\"" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_462 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_461};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[9+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_463 = { 9 | NIM_STRLIT_FLAG, " scale=$1" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_464 = {9, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_463};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[6+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_465 = { 6 | NIM_STRLIT_FLAG, "height" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_466 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_465};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[12+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_467 = { 12 | NIM_STRLIT_FLAG, " height=\"$1\"" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_468 = {12, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_467};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[10+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_469 = { 10 | NIM_STRLIT_FLAG, " height=$1" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_470 = {10, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_469};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[5+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_471 = { 5 | NIM_STRLIT_FLAG, "width" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_472 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_471};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[11+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_473 = { 11 | NIM_STRLIT_FLAG, " width=\"$1\"" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_474 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_473};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[9+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_475 = { 9 | NIM_STRLIT_FLAG, " width=$1" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_476 = {9, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_475};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[3+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_477 = { 3 | NIM_STRLIT_FLAG, "alt" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_478 = {3, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_477};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[9+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_479 = { 9 | NIM_STRLIT_FLAG, " alt=\"$1\"" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_480 = {9, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_479};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_481 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[5+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_482 = { 5 | NIM_STRLIT_FLAG, "align" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_483 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_482};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[11+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_484 = { 11 | NIM_STRLIT_FLAG, " align=\"$1\"" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_485 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_484};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_486 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_487 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_213};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_488 = { 4 | NIM_STRLIT_FLAG, "[$1]" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_489 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_488};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_490 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_491 = { 4 | NIM_STRLIT_FLAG, ".mp4" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_492 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_491};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_493 = { 4 | NIM_STRLIT_FLAG, ".ogg" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_494 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_493};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[5+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_495 = { 5 | NIM_STRLIT_FLAG, ".webm" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_496 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_495};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[145+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_497 = { 145 | NIM_STRLIT_FLAG, " <video$3 src=\"$1\"$2 autoPlay=\'true\' loop=\'true\' muted=\'true\'>\012 Sorry, your browser doesn\'t support embedded videos\012 </video>\012 " };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_498 = {145, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_497};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[19+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_499 = { 19 | NIM_STRLIT_FLAG, "<img$3 src=\"$1\"$2/>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_500 = {19, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_499};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[6+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_501 = { 6 | NIM_STRLIT_FLAG, "target" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_502 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_501};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_503 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[46+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_504 = { 46 | NIM_STRLIT_FLAG, "<a class=\"reference external\" href=\"$2\">$1</a>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_505 = {46, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_504};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_506 = {13, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_440};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[24+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_507 = { 24 | NIM_STRLIT_FLAG, "$3\\includegraphics$2{$1}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_508 = {24, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_507};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_509 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_510 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_70};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_511 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_72};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_512 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_74};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_513 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_76};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_514 = {3, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_78};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_515 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[12+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_516 = { 12 | NIM_STRLIT_FLAG, "number-lines" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_517 = {12, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_516};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_518 = { 4 | NIM_STRLIT_FLAG, "file" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_519 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_518};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[8+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_520 = { 8 | NIM_STRLIT_FLAG, "filename" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_521 = {8, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_520};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_522 = { 4 | NIM_STRLIT_FLAG, "test" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_523 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_522};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[6+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_524 = { 6 | NIM_STRLIT_FLAG, "status" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_525 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_524};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[8+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_526 = { 8 | NIM_STRLIT_FLAG, "exitcode" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_527 = {8, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_526};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[16+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_528 = { 16 | NIM_STRLIT_FLAG, "default-language" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_529 = {16, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_528};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[48+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_530 = { 48 | NIM_STRLIT_FLAG, "field $1 requires an integer, but \'$2\' was given" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_531 = {48, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_530};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[38+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_532 = { 38 | NIM_STRLIT_FLAG, "extra arguments were given to $1: \'$2\'" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_533 = {38, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_532};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_534 = {12, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_516};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[57+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_535 = { 57 | NIM_STRLIT_FLAG, "$nim r --backend:$backend --lib:$libpath $docCmd $options" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_536 = {57, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_535};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_537 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_72};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_538 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_72};
|
|
static NIM_CONST tyProc__60GIQaCod4Z80PoIKw3WKQ TM__vYBWrr780p7faFzauVMtPg_539 = {NIM_NIL,NIM_NIL};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[17+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_541 = { 17 | NIM_STRLIT_FLAG, "doc.listing_start" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_542 = {17, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_541};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_543 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[15+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_544 = { 15 | NIM_STRLIT_FLAG, "doc.listing_end" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_545 = {15, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_544};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_546 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[33+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_547 = { 33 | NIM_STRLIT_FLAG, "<table$1 class=\"line-nums-table\">" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_548 = {33, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_547};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[61+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_549 = { 61 | NIM_STRLIT_FLAG, "<tbody><tr><td class=\"blob-line-nums\"><pre class=\"line-nums\">" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_550 = {61, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_549};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_551 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_57};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[15+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_552 = { 15 | NIM_STRLIT_FLAG, "</pre></td><td>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_553 = {15, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_552};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_554 = {17, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_541};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_555 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_556 = {15, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_544};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_557 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[26+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_558 = { 26 | NIM_STRLIT_FLAG, "</td></tr></tbody></table>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_559 = {26, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_558};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[18+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_560 = { 18 | NIM_STRLIT_FLAG, "doc.listing_button" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_561 = {18, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_560};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_562 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_563 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_564 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_70};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_565 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_72};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_566 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_74};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_567 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_76};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_568 = {3, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_78};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[47+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_569 = { 47 | NIM_STRLIT_FLAG, "<tt class=\"docutils literal\"><span class=\"pre\">" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_570 = {47, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_569};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[12+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_571 = { 12 | NIM_STRLIT_FLAG, "</span></tt>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_572 = {12, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_571};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[2+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_573 = { 2 | NIM_STRLIT_FLAG, "\012\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_574 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_573};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_575 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_576 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_70};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_577 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_72};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_578 = {7, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_74};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_579 = {14, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_76};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_580 = {3, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_78};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[15+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_581 = { 15 | NIM_STRLIT_FLAG, "\\begin{rstpre}\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_582 = {15, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_581};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[15+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_583 = { 15 | NIM_STRLIT_FLAG, "\012\\end{rstpre}\012\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_584 = {15, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_583};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[9+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_585 = { 9 | NIM_STRLIT_FLAG, "\\rstcode{" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_586 = {9, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_585};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_587 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_411};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_588 = { 4 | NIM_STRLIT_FLAG, "none" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_589 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_588};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_590 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[13+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_591 = { 13 | NIM_STRLIT_FLAG, "<div>$1</div>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_592 = {13, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_591};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_593 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_213};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[24+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_594 = { 24 | NIM_STRLIT_FLAG, "<div class=\"$1\">$2</div>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_595 = {24, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_594};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[2+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_596 = { 2 | NIM_STRLIT_FLAG, "$2" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_597 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_596};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_598 = { 4 | NIM_STRLIT_FLAG, "|$1|" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_599 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_598};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_600 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_598};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_601 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_602 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_603 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_604 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[5+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_605 = { 5 | NIM_STRLIT_FLAG, "Other" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_606 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_605};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[64+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_607 = { 64 | NIM_STRLIT_FLAG, "<tt class=\"docutils literal\"><span class=\"pre $2\">$1</span></tt>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_608 = {64, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_607};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[21+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_609 = { 21 | NIM_STRLIT_FLAG, "\\rstcode{\\span$2{$1}}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_610 = {21, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_609};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_611 = {26, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_48};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_612 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_50};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[13+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_613 = { 13 | NIM_STRLIT_FLAG, "<sub>$1</sub>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_614 = {13, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_613};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[11+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_615 = { 11 | NIM_STRLIT_FLAG, "\\rstsub{$1}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_616 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_615};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[13+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_617 = { 13 | NIM_STRLIT_FLAG, "<sup>$1</sup>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_618 = {13, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_617};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[11+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_619 = { 11 | NIM_STRLIT_FLAG, "\\rstsup{$1}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_620 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_619};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[11+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_621 = { 11 | NIM_STRLIT_FLAG, "<em>$1</em>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_622 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_621};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[9+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_623 = { 9 | NIM_STRLIT_FLAG, "\\emph{$1}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_624 = {9, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_623};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[19+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_625 = { 19 | NIM_STRLIT_FLAG, "<strong>$1</strong>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_626 = {19, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_625};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_627 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_404};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[28+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_628 = { 28 | NIM_STRLIT_FLAG, "<strong><em>$1</em></strong>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_629 = {28, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_628};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[17+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_630 = { 17 | NIM_STRLIT_FLAG, "\\textbf{emph{$1}}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_631 = {17, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_630};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_632 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_633 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_90};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_634 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[23+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_635 = { 23 | NIM_STRLIT_FLAG, "<span id=\"$1\">$2</span>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_636 = {23, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_635};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[21+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_637 = { 21 | NIM_STRLIT_FLAG, "\\nimindexterm{$1}{$2}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_638 = {21, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_637};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[61+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_639 = { 61 | NIM_STRLIT_FLAG, "<tt class=\"docutils literal\"><span class=\"pre\">$1</span></tt>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_640 = {61, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_639};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[12+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_641 = { 12 | NIM_STRLIT_FLAG, "\\rstcode{$1}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_642 = {12, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_641};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_643 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[38+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_644 = { 38 | NIM_STRLIT_FLAG, "<span class=\"target\" id=\"$2\">$1</span>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_645 = {38, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_644};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[30+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_646 = { 30 | NIM_STRLIT_FLAG, "\\label{$2}\\hypertarget{$2}{$1}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_647 = {30, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_646};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[84+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_648 = { 84 | NIM_STRLIT_FLAG, "<img src=\"$1\" width=\"15\"\012 height=\"17\" hspace=\"2\" vspace=\"2\" class=\"smiley\" />" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_649 = {84, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_648};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[20+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_650 = { 20 | NIM_STRLIT_FLAG, "\\includegraphics{$1}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_651 = {20, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_650};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[17+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_652 = { 17 | NIM_STRLIT_FLAG, "doc.smiley_format" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_653 = {17, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_652};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_654 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_655 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_656 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_657 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[60+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_658 = { 60 | NIM_STRLIT_FLAG, "<li><a class=\"reference\" id=\"$1_toc\" href=\"#$1\">$2</a></li>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_659 = {60, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_658};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[31+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_660 = { 31 | NIM_STRLIT_FLAG, "\\item\\label{$1_toc} $2\\ref{$1}\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_661 = {31, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_660};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[26+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_662 = { 26 | NIM_STRLIT_FLAG, "<ul class=\"simple\">$1</ul>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_663 = {26, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_662};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[34+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_664 = { 34 | NIM_STRLIT_FLAG, "\\begin{enumerate}$1\\end{enumerate}" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_665 = {34, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_664};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_666 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[1+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_667 = { 1 | NIM_STRLIT_FLAG, "." };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_668 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_667};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_669 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_62};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_670 = { 4 | NIM_STRLIT_FLAG, ".idx" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_671 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_670};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[1+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_673 = { 1 | NIM_STRLIT_FLAG, "\011" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_674 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_675 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_676 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[8+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_677 = { 8 | NIM_STRLIT_FLAG, "doc_toc_" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_678 = {8, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_677};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_680 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[11+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_681 = { 11 | NIM_STRLIT_FLAG, "Documents: " };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_682 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_681};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[9+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_684 = { 9 | NIM_STRLIT_FLAG, "<a href=\"" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_685 = {9, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_684};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_686 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_351};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_687 = { 4 | NIM_STRLIT_FLAG, "</a>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_688 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_687};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[2+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_689 = { 2 | NIM_STRLIT_FLAG, ", " };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_690 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_689};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[6+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_691 = { 6 | NIM_STRLIT_FLAG, ".<br/>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_692 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_691};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[5+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_693 = { 5 | NIM_STRLIT_FLAG, "<p />" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_694 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_693};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[9+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_695 = { 9 | NIM_STRLIT_FLAG, "Modules: " };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_696 = {9, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_695};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[24+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_697 = { 24 | NIM_STRLIT_FLAG, "<a href=\"$1.html\">$2</a>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_698 = {24, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_697};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_699 = {2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_689};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_700 = {6, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_691};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_701 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_693};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[21+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_702 = { 21 | NIM_STRLIT_FLAG, "<h2>API symbols</h2>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_703 = {21, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_702};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[4+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_704 = { 4 | NIM_STRLIT_FLAG, "<dl>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_705 = {4, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_704};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[1+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_706 = { 1 | NIM_STRLIT_FLAG, "%" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_707 = {1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_706};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[77+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_708 = { 77 | NIM_STRLIT_FLAG, "<dt><a name=\"$2\" href=\"#$2\"><span>$1:</span></a></dt><dd><ul class=\"simple\">\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_709 = {77, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_708};
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_710 = {0, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_2};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[112+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_711 = { 112 | NIM_STRLIT_FLAG, "<li><a class=\"reference external\"\012 title=\"$3\" data-doc-search-tag=\"$2\" href=\"$1\">$2</a></li>\012 " };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_712 = {112, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_711};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[101+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_713 = { 101 | NIM_STRLIT_FLAG, "<li><a class=\"reference external\"\012 data-doc-search-tag=\"$2\" href=\"$1\">$2</a></li>\012 " };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_714 = {101, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_713};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[11+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_715 = { 11 | NIM_STRLIT_FLAG, "</ul></dd>\012" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_716 = {11, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_715};
|
|
static const struct {
|
|
NI cap; NIM_CHAR data[5+1];
|
|
} TM__vYBWrr780p7faFzauVMtPg_717 = { 5 | NIM_STRLIT_FLAG, "</dl>" };
|
|
static const NimStringV2 TM__vYBWrr780p7faFzauVMtPg_718 = {5, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_717};
|
|
extern NIM_CONST tyArray__xIcDBR8ZFHSuvPCVnP2swA tokenClassToStr__packagesZdocutilsZhighlite_70;
|
|
static NIM_CONST tyTuple__qsoB9cWzItmjtA8wRSiKBbA TM__vYBWrr780p7faFzauVMtPg_169 = {65,
|
|
{25, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_170}}
|
|
;
|
|
static NIM_CONST tyTuple__qsoB9cWzItmjtA8wRSiKBbA TM__vYBWrr780p7faFzauVMtPg_171 = {97,
|
|
{25, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_172}}
|
|
;
|
|
extern NIM_CONST tyArray__ygbKUFq19aoG3rnUmyV9bLVw sourceLanguageToStr__packagesZdocutilsZhighlite_68;
|
|
static NIM_CONST tyArray__0ipey9aZuUA8jy4OAHzODQg TM__vYBWrr780p7faFzauVMtPg_672 = {{{2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_55},
|
|
{1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_673}}
|
|
,
|
|
{{2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_53},
|
|
{1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_57}}
|
|
,
|
|
{{2, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_385},
|
|
{1, (NimStrPayload*)&TM__vYBWrr780p7faFzauVMtPg_26}}
|
|
}
|
|
;
|
|
extern NIM_BOOL nimInErrorMode__system_3994;
|
|
static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size) {
|
|
void* T1_;
|
|
T1_ = (void*)0;
|
|
T1_ = memset(a, v, ((size_t) (size)));
|
|
}
|
|
static N_INLINE(NIM_BOOL*, nimErrorFlag)(void) {
|
|
NIM_BOOL* result;
|
|
result = (NIM_BOOL*)0;
|
|
result = (&nimInErrorMode__system_3994);
|
|
return result;
|
|
}
|
|
static N_INLINE(void, nimZeroMem)(void* p, NI size) {
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
nimSetMem__systemZmemory_7(p, ((int)0), size);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
}
|
|
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size) {
|
|
int result;
|
|
result = (int)0;
|
|
result = memcmp(a, b, ((size_t) (size)));
|
|
return result;
|
|
}
|
|
static N_INLINE(NIM_BOOL, equalMem__system_1727)(void* a, void* b, NI size) {
|
|
NIM_BOOL result;
|
|
int T1_;
|
|
result = (NIM_BOOL)0;
|
|
T1_ = (int)0;
|
|
T1_ = nimCmpMem(a, b, size);
|
|
result = (T1_ == ((NI32)0));
|
|
return result;
|
|
}
|
|
static N_INLINE(NIM_BOOL, eqStrings)(NimStringV2 a, NimStringV2 b) {
|
|
NIM_BOOL result;
|
|
NI alen;
|
|
NI blen;
|
|
{ result = (NIM_BOOL)0;
|
|
alen = a.len;
|
|
blen = b.len;
|
|
{
|
|
if (!(alen == blen)) goto LA3_;
|
|
{
|
|
if (!(alen == ((NI)0))) goto LA7_;
|
|
result = NIM_TRUE;
|
|
goto BeforeRet_;
|
|
}
|
|
LA7_: ;
|
|
result = equalMem__system_1727(((void*) ((&a.p->data[((NI)0)]))), ((void*) ((&b.p->data[((NI)0)]))), ((NI) (alen)));
|
|
goto BeforeRet_;
|
|
}
|
|
LA3_: ;
|
|
}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__system_1719)(void* dest, void* source, NI size) {
|
|
nimCopyMem(dest, source, size);
|
|
}
|
|
static N_INLINE(void, appendString)(NimStringV2* dest, NimStringV2 src) {
|
|
{
|
|
if (!(((NI)0) < src.len)) goto LA3_;
|
|
copyMem__system_1719(((void*) ((&(*(*dest).p).data[(*dest).len]))), ((void*) ((&(*src.p).data[((NI)0)]))), ((NI) ((NI)(src.len + ((NI)1)))));
|
|
(*dest).len += src.len;
|
|
}
|
|
LA3_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, initRstGenerator__packagesZdocutilsZrstgen_89)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* g, tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target, tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* config, NimStringV2 filename, tyProc__oFHfEKFsiYTMAy9a42cSiKw findFile, tyProc__zVyAuQlxcO3X84ar49cKZSg msgHandler, tyObject_RstFileTable__1rYTAF4X28SkQlz9cTtPDzQ filenames, NIM_BOOL hasToc) {
|
|
tyTuple__7q7q3E6Oj24ZNVJb9aonhAg fileParts;
|
|
NimStringV2 s;
|
|
tySequence__V9cBl110bSARQ3Xk9bVaXHDw T2_;
|
|
tyObject_Table__i55W8RrwGKsG9cl0sAKxgkQ T8_;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
nimZeroMem((void*)(&fileParts), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg));
|
|
s.len = 0; s.p = NIM_NIL;
|
|
eqcopy___pureZstrtabs_446(&(*g).config, config, NIM_TRUE);
|
|
(*g).target = target;
|
|
T2_.len = 0; T2_.p = NIM_NIL;
|
|
T2_.len = 0; T2_.p = (tySequence__V9cBl110bSARQ3Xk9bVaXHDw_Content*) newSeqPayload(0, sizeof(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*), NIM_ALIGNOF(tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*));
|
|
eqsink___packagesZdocutilsZrstast_146((&(*g).tocPart), T2_);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
(*g).hasToc = hasToc;
|
|
eqcopy___stdZassertions_16((&(*g).filename), filename);
|
|
eqcopy___packagesZdocutilsZrst_12528((&(*g).filenames), filenames);
|
|
(*g).splitAfter = ((NI)20);
|
|
eqsink___stdZassertions_19((&(*g).theIndex), TM__vYBWrr780p7faFzauVMtPg_3);
|
|
eqcopy___pureZunicode_3668((&(*g).findFile), findFile, NIM_TRUE);
|
|
eqsink___stdZassertions_19((&(*g).currentSection), TM__vYBWrr780p7faFzauVMtPg_4);
|
|
(*g).id = ((NI)0);
|
|
(*g).escMode = ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)0);
|
|
(*g).curQuotationDepth = ((NI)0);
|
|
fileParts = nossplitFile(filename);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
NimStringV2 T7_;
|
|
if (!eqStrings(fileParts.Field2, TM__vYBWrr780p7faFzauVMtPg_6)) goto LA5_;
|
|
T7_.len = 0; T7_.p = NIM_NIL;
|
|
T7_ = rawNewString(fileParts.Field1.len + 7);
|
|
appendString((&T7_), TM__vYBWrr780p7faFzauVMtPg_8);
|
|
appendString((&T7_), fileParts.Field1);
|
|
eqsink___stdZassertions_19((&(*g).currentSection), T7_);
|
|
}
|
|
LA5_: ;
|
|
T8_ = initTable__packagesZdocutilsZrstgen_108(((NI)32));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
eqsink___packagesZdocutilsZrstgen_355((&(*g).seenIndexTerms), T8_);
|
|
eqcopy___packagesZdocutilsZrst_2475((&(*g).msgHandler), msgHandler, NIM_TRUE);
|
|
s = getOrDefault__pureZstrtabs_335(config, TM__vYBWrr780p7faFzauVMtPg_10, TM__vYBWrr780p7faFzauVMtPg_11);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
NI T13_;
|
|
if (!!((s.len == 0))) goto LA11_;
|
|
T13_ = (NI)0;
|
|
T13_ = nsuParseInt(s);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
(*g).splitAfter = T13_;
|
|
}
|
|
LA11_: ;
|
|
{
|
|
tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw i;
|
|
NI res;
|
|
i = (tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw)0;
|
|
res = ((NI)0);
|
|
{
|
|
while (1) {
|
|
if (!(res <= ((NI)4))) goto LA16 ;
|
|
i = ((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw) (res));
|
|
eqsink___stdZassertions_19((&(*g).meta[(i)- 0]), TM__vYBWrr780p7faFzauVMtPg_12);
|
|
res += ((NI)1);
|
|
} LA16: ;
|
|
}
|
|
}
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&s));
|
|
eqdestroy___pureZos_231((&fileParts));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
}
|
|
static N_INLINE(NI, minuspercent___system_790)(NI x, NI y) {
|
|
NI result;
|
|
result = (NI)0;
|
|
result = ((NI) ((NU)((NU32)(((NU) (x))) - (NU32)(((NU) (y))))));
|
|
return result;
|
|
}
|
|
static N_INLINE(NIM_BOOL, nimDecRefIsLastCyclicDyn)(void* p) {
|
|
NIM_BOOL result;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
result = (NIM_BOOL)0;
|
|
{
|
|
tyObject_RefHeader__Gi7WQzlT1ZRToh9a2ueYb4A* cell;
|
|
NI T5_;
|
|
if (!!((p == NIM_NIL))) goto LA3_;
|
|
T5_ = (NI)0;
|
|
T5_ = minuspercent___system_790(((NI) (ptrdiff_t) (p)), ((NI)8));
|
|
cell = ((tyObject_RefHeader__Gi7WQzlT1ZRToh9a2ueYb4A*) (T5_));
|
|
{
|
|
if (!((NI)((*cell).rc & ((NI)-16)) == ((NI)0))) goto LA8_;
|
|
result = NIM_TRUE;
|
|
}
|
|
goto LA6_;
|
|
LA8_: ;
|
|
{
|
|
(*cell).rc -= ((NI)16);
|
|
}
|
|
LA6_: ;
|
|
rememberCycle__system_3157(result, cell, (*((TNimTypeV2**) (p))));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
LA3_: ;
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqsink___docgen_3325)(tyProc__60GIQaCod4Z80PoIKw3WKQ* dest, tyProc__60GIQaCod4Z80PoIKw3WKQ src) {
|
|
void* colontmp_;
|
|
colontmp_ = (*dest).ClE_0;
|
|
(*dest).ClE_0 = src.ClE_0;
|
|
(*dest).ClP_0 = src.ClP_0;
|
|
{
|
|
NIM_BOOL T3_;
|
|
T3_ = (NIM_BOOL)0;
|
|
T3_ = nimDecRefIsLastCyclicDyn(colontmp_);
|
|
if (!T3_) goto LA4_;
|
|
nimDestroyAndDispose(colontmp_);
|
|
}
|
|
LA4_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(NI, nextSplitPoint__packagesZdocutilsZrstgen_397)(NimStringV2 s, NI start) {
|
|
NI result;
|
|
{ result = (NI)0;
|
|
result = start;
|
|
{
|
|
while (1) {
|
|
if (!(result < (NI)(s.len + ((NI)0)))) goto LA2 ;
|
|
switch (((NU8)(s.p->data[result]))) {
|
|
case 95:
|
|
{
|
|
goto BeforeRet_;
|
|
}
|
|
break;
|
|
case 97 ... 122:
|
|
{
|
|
{
|
|
if (!((NI)(result + ((NI)1)) < (NI)(s.len + ((NI)0)))) goto LA7_;
|
|
{
|
|
if (!(((NU8)(s.p->data[(NI)(result + ((NI)1))])) >= ((NU8)(65)) && ((NU8)(s.p->data[(NI)(result + ((NI)1))])) <= ((NU8)(90)))) goto LA11_;
|
|
goto BeforeRet_;
|
|
}
|
|
LA11_: ;
|
|
}
|
|
LA7_: ;
|
|
}
|
|
break;
|
|
default:
|
|
{
|
|
}
|
|
break;
|
|
}
|
|
result += ((NI)1);
|
|
} LA2: ;
|
|
}
|
|
result -= ((NI)1);
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|
|
static N_INLINE(void, addSplitter__packagesZdocutilsZrstgen_394)(tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target, NimStringV2* dest) {
|
|
switch (target) {
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0):
|
|
{
|
|
prepareAdd((&(*dest)), 7);
|
|
appendString((&(*dest)), TM__vYBWrr780p7faFzauVMtPg_15);
|
|
}
|
|
break;
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1):
|
|
{
|
|
prepareAdd((&(*dest)), 2);
|
|
appendString((&(*dest)), TM__vYBWrr780p7faFzauVMtPg_17);
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
static N_INLINE(void, nimAddCharV1)(NimStringV2* s, NIM_CHAR c) {
|
|
prepareAdd(s, ((NI)1));
|
|
(*(*s).p).data[(*s).len] = c;
|
|
(*(*s).p).data[(NI)((*s).len + ((NI)1))] = 0;
|
|
(*s).len += ((NI)1);
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, addHtmlChar__packagesZdocutilsZrstgen_365)(NimStringV2* dest, NIM_CHAR c) {
|
|
switch (((NU8)(c))) {
|
|
case 38:
|
|
{
|
|
prepareAdd((&(*dest)), 5);
|
|
appendString((&(*dest)), TM__vYBWrr780p7faFzauVMtPg_19);
|
|
}
|
|
break;
|
|
case 60:
|
|
{
|
|
prepareAdd((&(*dest)), 4);
|
|
appendString((&(*dest)), TM__vYBWrr780p7faFzauVMtPg_21);
|
|
}
|
|
break;
|
|
case 62:
|
|
{
|
|
prepareAdd((&(*dest)), 4);
|
|
appendString((&(*dest)), TM__vYBWrr780p7faFzauVMtPg_23);
|
|
}
|
|
break;
|
|
case 34:
|
|
{
|
|
prepareAdd((&(*dest)), 6);
|
|
appendString((&(*dest)), TM__vYBWrr780p7faFzauVMtPg_25);
|
|
}
|
|
break;
|
|
default:
|
|
{
|
|
nimAddCharV1((&(*dest)), c);
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
static N_INLINE(void, appendChar)(NimStringV2* dest, NIM_CHAR c) {
|
|
(*(*dest).p).data[(*dest).len] = c;
|
|
(*(*dest).p).data[(NI)((*dest).len + ((NI)1))] = 0;
|
|
(*dest).len += ((NI)1);
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, addTexChar__packagesZdocutilsZrstgen_368)(NimStringV2* dest, NIM_CHAR c, tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ escMode) {
|
|
switch (((NU8)(c))) {
|
|
case 95:
|
|
case 38:
|
|
case 35:
|
|
case 37:
|
|
{
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 T2_;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
T2_.len = 0; T2_.p = NIM_NIL;
|
|
T2_ = rawNewString(2);
|
|
appendString((&T2_), TM__vYBWrr780p7faFzauVMtPg_27);
|
|
appendChar((&T2_), c);
|
|
colontmpD_ = T2_;
|
|
prepareAdd((&(*dest)), colontmpD_.len + 0);
|
|
appendString((&(*dest)), colontmpD_);
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
}
|
|
break;
|
|
case 36:
|
|
{
|
|
{
|
|
if (!(escMode == ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)2))) goto LA6_;
|
|
nimAddCharV1((&(*dest)), c);
|
|
}
|
|
goto LA4_;
|
|
LA6_: ;
|
|
{
|
|
NimStringV2 colontmpD__2;
|
|
NimStringV2 T9_;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
T9_.len = 0; T9_.p = NIM_NIL;
|
|
T9_ = rawNewString(2);
|
|
appendString((&T9_), TM__vYBWrr780p7faFzauVMtPg_28);
|
|
appendChar((&T9_), c);
|
|
colontmpD__2 = T9_;
|
|
prepareAdd((&(*dest)), colontmpD__2.len + 0);
|
|
appendString((&(*dest)), colontmpD__2);
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
}
|
|
LA4_: ;
|
|
}
|
|
break;
|
|
case 126:
|
|
case 94:
|
|
{
|
|
NimStringV2 colontmpD__3;
|
|
NimStringV2 T11_;
|
|
colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
|
|
T11_.len = 0; T11_.p = NIM_NIL;
|
|
T11_ = rawNewString(4);
|
|
appendString((&T11_), TM__vYBWrr780p7faFzauVMtPg_29);
|
|
appendChar((&T11_), c);
|
|
appendString((&T11_), TM__vYBWrr780p7faFzauVMtPg_31);
|
|
colontmpD__3 = T11_;
|
|
prepareAdd((&(*dest)), colontmpD__3.len + 0);
|
|
appendString((&(*dest)), colontmpD__3);
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
}
|
|
break;
|
|
case 96:
|
|
{
|
|
prepareAdd((&(*dest)), 17);
|
|
appendString((&(*dest)), TM__vYBWrr780p7faFzauVMtPg_33);
|
|
}
|
|
break;
|
|
case 92:
|
|
{
|
|
prepareAdd((&(*dest)), 16);
|
|
appendString((&(*dest)), TM__vYBWrr780p7faFzauVMtPg_35);
|
|
}
|
|
break;
|
|
case 123:
|
|
{
|
|
NimStringV2 colontmpD__4;
|
|
NimStringV2 colontmpD__5;
|
|
NimStringV2 T15_;
|
|
colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
|
|
colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
|
|
T15_.len = 0; T15_.p = NIM_NIL;
|
|
{
|
|
if (!(escMode == ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)2))) goto LA18_;
|
|
colontmpD__4 = TM__vYBWrr780p7faFzauVMtPg_37;
|
|
T15_ = colontmpD__4;
|
|
}
|
|
goto LA16_;
|
|
LA18_: ;
|
|
{
|
|
colontmpD__5 = TM__vYBWrr780p7faFzauVMtPg_39;
|
|
T15_ = colontmpD__5;
|
|
}
|
|
LA16_: ;
|
|
prepareAdd((&(*dest)), T15_.len + 0);
|
|
appendString((&(*dest)), T15_);
|
|
eqdestroy___stdZassertions_13((&colontmpD__5));
|
|
eqdestroy___stdZassertions_13((&colontmpD__4));
|
|
}
|
|
break;
|
|
case 125:
|
|
{
|
|
NimStringV2 colontmpD__6;
|
|
NimStringV2 colontmpD__7;
|
|
NimStringV2 T22_;
|
|
colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
|
|
colontmpD__7.len = 0; colontmpD__7.p = NIM_NIL;
|
|
T22_.len = 0; T22_.p = NIM_NIL;
|
|
{
|
|
if (!(escMode == ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)2))) goto LA25_;
|
|
colontmpD__6 = TM__vYBWrr780p7faFzauVMtPg_41;
|
|
T22_ = colontmpD__6;
|
|
}
|
|
goto LA23_;
|
|
LA25_: ;
|
|
{
|
|
colontmpD__7 = TM__vYBWrr780p7faFzauVMtPg_43;
|
|
T22_ = colontmpD__7;
|
|
}
|
|
LA23_: ;
|
|
prepareAdd((&(*dest)), T22_.len + 0);
|
|
appendString((&(*dest)), T22_);
|
|
eqdestroy___stdZassertions_13((&colontmpD__7));
|
|
eqdestroy___stdZassertions_13((&colontmpD__6));
|
|
}
|
|
break;
|
|
case 93:
|
|
{
|
|
NimStringV2 colontmpD__8;
|
|
NimStringV2 colontmpD__9;
|
|
NimStringV2 T29_;
|
|
colontmpD__8.len = 0; colontmpD__8.p = NIM_NIL;
|
|
colontmpD__9.len = 0; colontmpD__9.p = NIM_NIL;
|
|
T29_.len = 0; T29_.p = NIM_NIL;
|
|
{
|
|
if (!(escMode == ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)1))) goto LA32_;
|
|
colontmpD__8 = TM__vYBWrr780p7faFzauVMtPg_45;
|
|
T29_ = colontmpD__8;
|
|
}
|
|
goto LA30_;
|
|
LA32_: ;
|
|
{
|
|
colontmpD__9 = TM__vYBWrr780p7faFzauVMtPg_47;
|
|
T29_ = colontmpD__9;
|
|
}
|
|
LA30_: ;
|
|
prepareAdd((&(*dest)), T29_.len + 0);
|
|
appendString((&(*dest)), T29_);
|
|
eqdestroy___stdZassertions_13((&colontmpD__9));
|
|
eqdestroy___stdZassertions_13((&colontmpD__8));
|
|
}
|
|
break;
|
|
default:
|
|
{
|
|
nimAddCharV1((&(*dest)), c);
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
static N_INLINE(void, escChar__packagesZdocutilsZrstgen_389)(tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target, NimStringV2* dest, NIM_CHAR c, tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ escMode) {
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
switch (target) {
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0):
|
|
{
|
|
addHtmlChar__packagesZdocutilsZrstgen_365(dest, c);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1):
|
|
{
|
|
addTexChar__packagesZdocutilsZrstgen_368(dest, c, escMode);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
}
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, esc__packagesZdocutilsZrstgen_415)(tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target, NimStringV2 s, NI splitAfter, tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ escMode) {
|
|
NimStringV2 result;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
result.len = 0; result.p = NIM_NIL;
|
|
result = TM__vYBWrr780p7faFzauVMtPg_13;
|
|
{
|
|
NI partLen;
|
|
NI j;
|
|
if (!(((NI)0) <= splitAfter)) goto LA3_;
|
|
partLen = ((NI)0);
|
|
j = ((NI)0);
|
|
{
|
|
while (1) {
|
|
NI k;
|
|
if (!(j < s.len)) goto LA6 ;
|
|
k = nextSplitPoint__packagesZdocutilsZrstgen_397(s, j);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
partLen = ((NI)0);
|
|
addSplitter__packagesZdocutilsZrstgen_394(target, (&result));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
{
|
|
NI i;
|
|
NI res;
|
|
i = (NI)0;
|
|
res = j;
|
|
{
|
|
while (1) {
|
|
if (!(res <= k)) goto LA9 ;
|
|
i = res;
|
|
escChar__packagesZdocutilsZrstgen_389(target, (&result), s.p->data[i], escMode);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
res += ((NI)1);
|
|
} LA9: ;
|
|
}
|
|
}
|
|
partLen += (NI)((NI)(k - j) + ((NI)1));
|
|
j = (NI)(k + ((NI)1));
|
|
} LA6: ;
|
|
}
|
|
}
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{
|
|
{
|
|
NI i_2;
|
|
NI colontmp_;
|
|
NI res_2;
|
|
i_2 = (NI)0;
|
|
colontmp_ = (NI)0;
|
|
colontmp_ = (NI)(s.len - ((NI)1));
|
|
res_2 = ((NI)0);
|
|
{
|
|
while (1) {
|
|
if (!(res_2 <= colontmp_)) goto LA13 ;
|
|
i_2 = res_2;
|
|
escChar__packagesZdocutilsZrstgen_389(target, (&result), s.p->data[i_2], escMode);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
res_2 += ((NI)1);
|
|
} LA13: ;
|
|
}
|
|
}
|
|
}
|
|
LA1_: ;
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, dispA__packagesZdocutilsZrstgen_461)(tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target, NimStringV2* dest, NimStringV2 xml, NimStringV2 tex, NimStringV2* args, NI argsLen_0) {
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
{
|
|
if (!!((target == ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1)))) goto LA3_;
|
|
nsuAddf(dest, xml, args, argsLen_0);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{
|
|
nsuAddf(dest, tex, args, argsLen_0);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
LA1_: ;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderCodeLang__packagesZdocutilsZrstgen_8888)(NimStringV2* result, tyEnum_SourceLanguage__yW5C9bHJV9a9bc7MnoMHmB85g lang, NimStringV2 code, tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target) {
|
|
tyObject_GeneralTokenizer__mzSYRAkR0jQADvmFWo9aZKQ g;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
nimZeroMem((void*)(&g), sizeof(tyObject_GeneralTokenizer__mzSYRAkR0jQADvmFWo9aZKQ));
|
|
g.Sup.m_type = (&NTIv2__mzSYRAkR0jQADvmFWo9aZKQ_);
|
|
initGeneralTokenizer__packagesZdocutilsZhighlite_212((&g), code);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
{
|
|
while (1) {
|
|
getNextToken__packagesZdocutilsZhighlite_2081((&g), lang);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
switch (g.kind) {
|
|
case ((tyEnum_TokenClass__9anxN1z0YaJHlUGz4GuizCA)0):
|
|
{
|
|
goto LA1;
|
|
}
|
|
break;
|
|
case ((tyEnum_TokenClass__9anxN1z0YaJHlUGz4GuizCA)1):
|
|
case ((tyEnum_TokenClass__9anxN1z0YaJHlUGz4GuizCA)2):
|
|
{
|
|
NimStringV2 colontmpD_;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD_ = substr__system_7538(code, g.start, (NI)((NI)(g.length + g.start) - ((NI)1)));
|
|
prepareAdd((&(*result)), colontmpD_.len + 0);
|
|
appendString((&(*result)), colontmpD_);
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
}
|
|
break;
|
|
default:
|
|
{
|
|
NimStringV2 colontmpD__2;
|
|
NimStringV2 colontmpD__3;
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T7_;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
|
|
colontmpD__2 = substr__system_7538(code, g.start, (NI)((NI)(g.length + g.start) - ((NI)1)));
|
|
colontmpD__3 = esc__packagesZdocutilsZrstgen_415(target, colontmpD__2, ((NI)-1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)0));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA6_;
|
|
T7_[0] = colontmpD__3;
|
|
T7_[1] = tokenClassToStr__packagesZdocutilsZhighlite_70[(g.kind)- 0];
|
|
dispA__packagesZdocutilsZrstgen_461(target, result, TM__vYBWrr780p7faFzauVMtPg_49, TM__vYBWrr780p7faFzauVMtPg_51, T7_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA6_;
|
|
{
|
|
LA6_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
} LA1: ;
|
|
deinitGeneralTokenizer__packagesZdocutilsZhighlite_215((&g));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderNimCode__packagesZdocutilsZrstgen_8894)(NimStringV2* result, NimStringV2 code, tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target) {
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
renderCodeLang__packagesZdocutilsZrstgen_8888(result, ((tyEnum_SourceLanguage__yW5C9bHJV9a9bc7MnoMHmB85g)1), code, target);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, quoteIndexColumn__packagesZdocutilsZrstgen_504)(NimStringV2 text) {
|
|
NimStringV2 result;
|
|
result.len = 0; result.p = NIM_NIL;
|
|
result = rawNewString(((NI) ((NI)(text.len + ((NI)3)))));
|
|
{
|
|
NIM_CHAR c;
|
|
NI i;
|
|
NI L;
|
|
c = (NIM_CHAR)0;
|
|
i = ((NI)0);
|
|
L = text.len;
|
|
{
|
|
while (1) {
|
|
if (!(i < L)) goto LA3 ;
|
|
c = text.p->data[i];
|
|
switch (((NU8)(c))) {
|
|
case 92:
|
|
{
|
|
prepareAdd((&result), 1);
|
|
appendString((&result), TM__vYBWrr780p7faFzauVMtPg_52);
|
|
}
|
|
break;
|
|
case 10:
|
|
{
|
|
prepareAdd((&result), 2);
|
|
appendString((&result), TM__vYBWrr780p7faFzauVMtPg_54);
|
|
}
|
|
break;
|
|
case 13:
|
|
{
|
|
}
|
|
break;
|
|
case 9:
|
|
{
|
|
prepareAdd((&result), 2);
|
|
appendString((&result), TM__vYBWrr780p7faFzauVMtPg_56);
|
|
}
|
|
break;
|
|
default:
|
|
{
|
|
nimAddCharV1((&result), c);
|
|
}
|
|
break;
|
|
}
|
|
i += ((NI)1);
|
|
} LA3: ;
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, setIndexTerm__packagesZdocutilsZrstgen_536)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, NimStringV2 htmlFile, NimStringV2 id, NimStringV2 term, NimStringV2 linkTitle, NimStringV2 linkDesc) {
|
|
NimStringV2 entry;
|
|
NIM_BOOL isTitle;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
entry.len = 0; entry.p = NIM_NIL;
|
|
eqcopy___stdZassertions_16((&entry), term);
|
|
isTitle = NIM_FALSE;
|
|
nimAddCharV1((&entry), 9);
|
|
prepareAdd((&entry), htmlFile.len + 0);
|
|
appendString((&entry), htmlFile);
|
|
{
|
|
if (!(((NI)0) < id.len)) goto LA3_;
|
|
nimAddCharV1((&entry), 35);
|
|
prepareAdd((&entry), id.len + 0);
|
|
appendString((&entry), id);
|
|
}
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{
|
|
isTitle = NIM_TRUE;
|
|
}
|
|
LA1_: ;
|
|
{
|
|
NIM_BOOL T8_;
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 colontmpD__2;
|
|
NimStringV2 colontmpD__3;
|
|
NimStringV2 colontmpD__4;
|
|
NimStringV2 T12_;
|
|
NimStringV2 T13_;
|
|
T8_ = (NIM_BOOL)0;
|
|
T8_ = (((NI)0) < linkTitle.len);
|
|
if (T8_) goto LA9_;
|
|
T8_ = (((NI)0) < linkDesc.len);
|
|
LA9_: ;
|
|
if (!T8_) goto LA10_;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
|
|
colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
|
|
T12_.len = 0; T12_.p = NIM_NIL;
|
|
colontmpD_ = quoteIndexColumn__packagesZdocutilsZrstgen_504(linkTitle);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
T12_ = rawNewString(colontmpD_.len + 1);
|
|
appendChar((&T12_), 9);
|
|
appendString((&T12_), colontmpD_);
|
|
colontmpD__2 = T12_;
|
|
prepareAdd((&entry), colontmpD__2.len + 0);
|
|
appendString((&entry), colontmpD__2);
|
|
T13_.len = 0; T13_.p = NIM_NIL;
|
|
colontmpD__3 = quoteIndexColumn__packagesZdocutilsZrstgen_504(linkDesc);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
T13_ = rawNewString(colontmpD__3.len + 1);
|
|
appendChar((&T13_), 9);
|
|
appendString((&T13_), colontmpD__3);
|
|
colontmpD__4 = T13_;
|
|
prepareAdd((&entry), colontmpD__4.len + 0);
|
|
appendString((&entry), colontmpD__4);
|
|
eqdestroy___stdZassertions_13((&colontmpD__4));
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
}
|
|
LA10_: ;
|
|
prepareAdd((&entry), 1);
|
|
appendString((&entry), TM__vYBWrr780p7faFzauVMtPg_58);
|
|
{
|
|
if (!isTitle) goto LA16_;
|
|
insert__system_7211((&(*d).theIndex), entry, ((NI)0));
|
|
}
|
|
goto LA14_;
|
|
LA16_: ;
|
|
{
|
|
prepareAdd((&(*d).theIndex), entry.len + 0);
|
|
appendString((&(*d).theIndex), entry);
|
|
}
|
|
LA14_: ;
|
|
eqdestroy___stdZassertions_13((&entry));
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, prettyLink__packagesZdocutilsZrstgen_84)(NimStringV2 file) {
|
|
NimStringV2 result;
|
|
NimStringV2 colontmpD_;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
result.len = 0; result.p = NIM_NIL;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD_ = noschangeFileExt(file, TM__vYBWrr780p7faFzauVMtPg_59);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
result = nsuReplaceStr(colontmpD_, TM__vYBWrr780p7faFzauVMtPg_61, TM__vYBWrr780p7faFzauVMtPg_63);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderAux__packagesZdocutilsZrstgen_479)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result) {
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
{
|
|
NI i;
|
|
NI colontmp_;
|
|
NI T2_;
|
|
NI res;
|
|
i = (NI)0;
|
|
colontmp_ = (NI)0;
|
|
T2_ = (NI)0;
|
|
T2_ = len__packagesZdocutilsZrstast_112(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
colontmp_ = (NI)(T2_ - ((NI)1));
|
|
res = ((NI)0);
|
|
{
|
|
while (1) {
|
|
if (!(res <= colontmp_)) goto LA4 ;
|
|
i = res;
|
|
renderRstToOut__packagesZdocutilsZrstgen_475(d, (*n).sons.p->data[i], result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
res += ((NI)1);
|
|
} LA4: ;
|
|
}
|
|
}
|
|
}BeforeRet_: ;
|
|
}
|
|
static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___stdZstrbasics_49)(NI a, NI b) {
|
|
tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA result;
|
|
nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA));
|
|
nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA));
|
|
result.a = a;
|
|
result.b = b;
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, stripTocHtml__packagesZdocutilsZrstgen_8703)(NimStringV2 s) {
|
|
NimStringV2 result;
|
|
NI first;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
result.len = 0; result.p = NIM_NIL;
|
|
eqcopy___stdZassertions_16((&result), s);
|
|
first = nsuFindChar(result, 60, ((NI)0), ((NI)-1));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
{
|
|
while (1) {
|
|
NI last;
|
|
tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T7_;
|
|
if (!(((NI)0) <= first)) goto LA2 ;
|
|
last = nsuFindChar(result, 62, ((NI) (first)), ((NI)-1));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
{
|
|
if (!(last < ((NI)0))) goto LA5_;
|
|
goto BeforeRet_;
|
|
}
|
|
LA5_: ;
|
|
T7_ = dotdot___stdZstrbasics_49(first, last);
|
|
delete__pureZstrutils_1353((&result), T7_);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
first = nsuFindChar(result, 60, ((NI) (first)), ((NI)-1));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
} LA2: ;
|
|
}
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|
|
static N_INLINE(NimStringV2, spaces__pureZstrutils_1132)(NI n) {
|
|
NimStringV2 result;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
result.len = 0; result.p = NIM_NIL;
|
|
result = nsuRepeatChar(32, n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderHeadline__packagesZdocutilsZrstgen_8713)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result) {
|
|
NimStringV2 tmp;
|
|
NimStringV2 tocName;
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 htmlFileRelPath;
|
|
NimStringV2 colontmpD__2;
|
|
NimStringV2 colontmpD__3;
|
|
NimStringV2 colontmpD__4;
|
|
NimStringV2 T39_;
|
|
NimStringV2 T45_;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
tmp.len = 0; tmp.p = NIM_NIL;
|
|
tocName.len = 0; tocName.p = NIM_NIL;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
htmlFileRelPath.len = 0; htmlFileRelPath.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
|
|
colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
|
|
tmp = TM__vYBWrr780p7faFzauVMtPg_64;
|
|
{
|
|
NI i;
|
|
NI colontmp_;
|
|
NI T3_;
|
|
NI res;
|
|
i = (NI)0;
|
|
colontmp_ = (NI)0;
|
|
T3_ = (NI)0;
|
|
T3_ = len__packagesZdocutilsZrstast_112(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmp_ = (NI)(T3_ - ((NI)1));
|
|
res = ((NI)0);
|
|
{
|
|
while (1) {
|
|
if (!(res <= colontmp_)) goto LA5 ;
|
|
i = res;
|
|
renderRstToOut__packagesZdocutilsZrstgen_475(d, (*n).sons.p->data[i], (&tmp));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
res += ((NI)1);
|
|
} LA5: ;
|
|
}
|
|
}
|
|
eqcopy___stdZassertions_16((&(*d).currentSection), tmp);
|
|
colontmpD_ = renderRstToText__packagesZdocutilsZrstast_691(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
tocName = esc__packagesZdocutilsZrstgen_415((*d).target, colontmpD_, ((NI)-1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)1));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* colontmpD__5;
|
|
NimStringV2 colontmpD__6;
|
|
NimStringV2 colontmpD__7;
|
|
NimStringV2 colontmpD__8;
|
|
NimStringV2 colontmpD__9;
|
|
tyArray__yt5VDPNtUGx9cBkOVakHwdQ T11_;
|
|
if (!(*d).hasToc) goto LA8_;
|
|
colontmpD__5 = NIM_NIL;
|
|
colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
|
|
colontmpD__7.len = 0; colontmpD__7.p = NIM_NIL;
|
|
colontmpD__8.len = 0; colontmpD__8.p = NIM_NIL;
|
|
colontmpD__9.len = 0; colontmpD__9.p = NIM_NIL;
|
|
colontmpD__5 = 0;
|
|
eqcopy___packagesZdocutilsZrstast_228(&colontmpD__5, n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
|
|
add__packagesZdocutilsZrstast_360((&(*d).tocPart), colontmpD__5);
|
|
colontmpD__6 = dollar___systemZdollars_3((*n)._kind_5.level);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
|
|
T11_[0] = colontmpD__6;
|
|
{
|
|
if (!((*n).anchor.len == 0)) goto LA14_;
|
|
colontmpD__7 = TM__vYBWrr780p7faFzauVMtPg_69;
|
|
T11_[1] = colontmpD__7;
|
|
}
|
|
goto LA12_;
|
|
LA14_: ;
|
|
{
|
|
NimStringV2 T17_;
|
|
T17_.len = 0; T17_.p = NIM_NIL;
|
|
switch ((*d).target) {
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0):
|
|
{
|
|
NimStringV2 T19_;
|
|
T19_.len = 0; T19_.p = NIM_NIL;
|
|
T19_ = rawNewString((*n).anchor.len + 6);
|
|
appendString((&T19_), TM__vYBWrr780p7faFzauVMtPg_71);
|
|
appendString((&T19_), (*n).anchor);
|
|
appendString((&T19_), TM__vYBWrr780p7faFzauVMtPg_73);
|
|
colontmpD__8 = T19_;
|
|
}
|
|
break;
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1):
|
|
{
|
|
NimStringV2 T21_;
|
|
T21_.len = 0; T21_.p = NIM_NIL;
|
|
T21_ = rawNewString((*n).anchor.len + (*n).anchor.len + 24);
|
|
appendString((&T21_), TM__vYBWrr780p7faFzauVMtPg_75);
|
|
appendString((&T21_), (*n).anchor);
|
|
appendString((&T21_), TM__vYBWrr780p7faFzauVMtPg_77);
|
|
appendString((&T21_), (*n).anchor);
|
|
appendString((&T21_), TM__vYBWrr780p7faFzauVMtPg_79);
|
|
colontmpD__8 = T21_;
|
|
}
|
|
break;
|
|
}
|
|
T11_[1] = colontmpD__8;
|
|
}
|
|
LA12_: ;
|
|
T11_[2] = tmp;
|
|
colontmpD__9 = nimCharToStr(((NIM_CHAR) (((NI) ((NI)((NI)((*n)._kind_5.level - ((NI)1)) + ((NI)65)))))));
|
|
T11_[3] = colontmpD__9;
|
|
T11_[4] = (*n).anchor;
|
|
T11_[5] = tocName;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, TM__vYBWrr780p7faFzauVMtPg_66, TM__vYBWrr780p7faFzauVMtPg_68, T11_, 6);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
|
|
{
|
|
LA10_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__9));
|
|
eqdestroy___stdZassertions_13((&colontmpD__8));
|
|
eqdestroy___stdZassertions_13((&colontmpD__7));
|
|
eqdestroy___stdZassertions_13((&colontmpD__6));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
goto LA6_;
|
|
LA8_: ;
|
|
{
|
|
NimStringV2 colontmpD__10;
|
|
NimStringV2 colontmpD__11;
|
|
NimStringV2 colontmpD__12;
|
|
NimStringV2 colontmpD__13;
|
|
tyArray__haiLFy0nBviVTKFGuwztzQ T26_;
|
|
colontmpD__10.len = 0; colontmpD__10.p = NIM_NIL;
|
|
colontmpD__11.len = 0; colontmpD__11.p = NIM_NIL;
|
|
colontmpD__12.len = 0; colontmpD__12.p = NIM_NIL;
|
|
colontmpD__13.len = 0; colontmpD__13.p = NIM_NIL;
|
|
colontmpD__10 = dollar___systemZdollars_3((*n)._kind_5.level);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA25_;
|
|
T26_[0] = colontmpD__10;
|
|
{
|
|
if (!((*n).anchor.len == 0)) goto LA29_;
|
|
colontmpD__11 = TM__vYBWrr780p7faFzauVMtPg_84;
|
|
T26_[1] = colontmpD__11;
|
|
}
|
|
goto LA27_;
|
|
LA29_: ;
|
|
{
|
|
NimStringV2 T32_;
|
|
T32_.len = 0; T32_.p = NIM_NIL;
|
|
switch ((*d).target) {
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0):
|
|
{
|
|
NimStringV2 T34_;
|
|
T34_.len = 0; T34_.p = NIM_NIL;
|
|
T34_ = rawNewString((*n).anchor.len + 6);
|
|
appendString((&T34_), TM__vYBWrr780p7faFzauVMtPg_85);
|
|
appendString((&T34_), (*n).anchor);
|
|
appendString((&T34_), TM__vYBWrr780p7faFzauVMtPg_86);
|
|
colontmpD__12 = T34_;
|
|
}
|
|
break;
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1):
|
|
{
|
|
NimStringV2 T36_;
|
|
T36_.len = 0; T36_.p = NIM_NIL;
|
|
T36_ = rawNewString((*n).anchor.len + (*n).anchor.len + 24);
|
|
appendString((&T36_), TM__vYBWrr780p7faFzauVMtPg_87);
|
|
appendString((&T36_), (*n).anchor);
|
|
appendString((&T36_), TM__vYBWrr780p7faFzauVMtPg_88);
|
|
appendString((&T36_), (*n).anchor);
|
|
appendString((&T36_), TM__vYBWrr780p7faFzauVMtPg_89);
|
|
colontmpD__12 = T36_;
|
|
}
|
|
break;
|
|
}
|
|
T26_[1] = colontmpD__12;
|
|
}
|
|
LA27_: ;
|
|
T26_[2] = tmp;
|
|
colontmpD__13 = nimCharToStr(((NIM_CHAR) (((NI) ((NI)((NI)((*n)._kind_5.level - ((NI)1)) + ((NI)65)))))));
|
|
T26_[3] = colontmpD__13;
|
|
T26_[4] = tocName;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, TM__vYBWrr780p7faFzauVMtPg_81, TM__vYBWrr780p7faFzauVMtPg_83, T26_, 5);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA25_;
|
|
{
|
|
LA25_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__13));
|
|
eqdestroy___stdZassertions_13((&colontmpD__12));
|
|
eqdestroy___stdZassertions_13((&colontmpD__11));
|
|
eqdestroy___stdZassertions_13((&colontmpD__10));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA6_: ;
|
|
T39_.len = 0; T39_.p = NIM_NIL;
|
|
{
|
|
NimStringV2 colontmpD__14;
|
|
if (!((*d).outDir.len == ((NI)0))) goto LA42_;
|
|
colontmpD__14.len = 0; colontmpD__14.p = NIM_NIL;
|
|
colontmpD__14 = nosextractFilename((*d).filename);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
htmlFileRelPath = noschangeFileExt(colontmpD__14, TM__vYBWrr780p7faFzauVMtPg_91);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
eqdestroy___stdZassertions_13((&colontmpD__14));
|
|
}
|
|
goto LA40_;
|
|
LA42_: ;
|
|
{
|
|
htmlFileRelPath = nosrelativePath((*d).destFile, (*d).outDir, 47);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA40_: ;
|
|
colontmpD__2 = stripTocHtml__packagesZdocutilsZrstgen_8703(tmp);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T45_.len = 0; T45_.p = NIM_NIL;
|
|
colontmpD__3 = spaces__pureZstrutils_1132(((NI) (((((NI)0) >= (*n)._kind_5.level) ? ((NI)0) : (*n)._kind_5.level))));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T45_ = rawNewString(colontmpD__3.len + tmp.len + 0);
|
|
appendString((&T45_), colontmpD__3);
|
|
appendString((&T45_), tmp);
|
|
colontmpD__4 = T45_;
|
|
setIndexTerm__packagesZdocutilsZrstgen_536(d, htmlFileRelPath, (*n).anchor, colontmpD__2, colontmpD__4, TM__vYBWrr780p7faFzauVMtPg_92);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__4));
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
eqdestroy___stdZassertions_13((&htmlFileRelPath));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
eqdestroy___stdZassertions_13((&tocName));
|
|
eqdestroy___stdZassertions_13((&tmp));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderOverline__packagesZdocutilsZrstgen_8739)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result) {
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
{
|
|
NIM_BOOL T3_;
|
|
T3_ = (NIM_BOOL)0;
|
|
T3_ = ((*n)._kind_5.level == ((NI)0));
|
|
if (!(T3_)) goto LA4_;
|
|
T3_ = ((*d).meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw)1))- 0].len == ((NI)0));
|
|
LA4_: ;
|
|
if (!T3_) goto LA5_;
|
|
{
|
|
NI i;
|
|
NI colontmp_;
|
|
NI T8_;
|
|
NI res;
|
|
i = (NI)0;
|
|
colontmp_ = (NI)0;
|
|
T8_ = (NI)0;
|
|
T8_ = len__packagesZdocutilsZrstast_112(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
colontmp_ = (NI)(T8_ - ((NI)1));
|
|
res = ((NI)0);
|
|
{
|
|
while (1) {
|
|
tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* T11_;
|
|
if (!(res <= colontmp_)) goto LA10 ;
|
|
i = res;
|
|
T11_ = (tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA*)0;
|
|
T11_ = d;
|
|
renderRstToOut__packagesZdocutilsZrstgen_475(T11_, (*n).sons.p->data[i], (&(*d).meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw)1))- 0]));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
res += ((NI)1);
|
|
} LA10: ;
|
|
}
|
|
}
|
|
eqcopy___stdZassertions_16((&(*d).currentSection), (*d).meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw)1))- 0]);
|
|
}
|
|
goto LA1_;
|
|
LA5_: ;
|
|
{
|
|
NIM_BOOL T13_;
|
|
T13_ = (NIM_BOOL)0;
|
|
T13_ = ((*n)._kind_5.level == ((NI)0));
|
|
if (!(T13_)) goto LA14_;
|
|
T13_ = ((*d).meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw)2))- 0].len == ((NI)0));
|
|
LA14_: ;
|
|
if (!T13_) goto LA15_;
|
|
{
|
|
NI i_2;
|
|
NI colontmp__2;
|
|
NI T18_;
|
|
NI res_2;
|
|
i_2 = (NI)0;
|
|
colontmp__2 = (NI)0;
|
|
T18_ = (NI)0;
|
|
T18_ = len__packagesZdocutilsZrstast_112(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
colontmp__2 = (NI)(T18_ - ((NI)1));
|
|
res_2 = ((NI)0);
|
|
{
|
|
while (1) {
|
|
tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* T21_;
|
|
if (!(res_2 <= colontmp__2)) goto LA20 ;
|
|
i_2 = res_2;
|
|
T21_ = (tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA*)0;
|
|
T21_ = d;
|
|
renderRstToOut__packagesZdocutilsZrstgen_475(T21_, (*n).sons.p->data[i_2], (&(*d).meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw)2))- 0]));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
res_2 += ((NI)1);
|
|
} LA20: ;
|
|
}
|
|
}
|
|
eqcopy___stdZassertions_16((&(*d).currentSection), (*d).meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw)2))- 0]);
|
|
}
|
|
goto LA1_;
|
|
LA15_: ;
|
|
{
|
|
NimStringV2 tmp;
|
|
NimStringV2 tocName;
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 colontmpD__2;
|
|
NimStringV2 colontmpD__3;
|
|
NimStringV2 colontmpD__4;
|
|
NimStringV2 colontmpD__5;
|
|
tyArray__haiLFy0nBviVTKFGuwztzQ T28_;
|
|
tmp.len = 0; tmp.p = NIM_NIL;
|
|
tocName.len = 0; tocName.p = NIM_NIL;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
|
|
colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
|
|
colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
|
|
tmp = TM__vYBWrr780p7faFzauVMtPg_93;
|
|
{
|
|
NI i_3;
|
|
NI colontmp__3;
|
|
NI T25_;
|
|
NI res_3;
|
|
i_3 = (NI)0;
|
|
colontmp__3 = (NI)0;
|
|
T25_ = (NI)0;
|
|
T25_ = len__packagesZdocutilsZrstast_112(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA23_;
|
|
colontmp__3 = (NI)(T25_ - ((NI)1));
|
|
res_3 = ((NI)0);
|
|
{
|
|
while (1) {
|
|
if (!(res_3 <= colontmp__3)) goto LA27 ;
|
|
i_3 = res_3;
|
|
renderRstToOut__packagesZdocutilsZrstgen_475(d, (*n).sons.p->data[i_3], (&tmp));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA23_;
|
|
res_3 += ((NI)1);
|
|
} LA27: ;
|
|
}
|
|
}
|
|
eqcopy___stdZassertions_16((&(*d).currentSection), tmp);
|
|
colontmpD_ = renderRstToText__packagesZdocutilsZrstast_691(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA23_;
|
|
tocName = esc__packagesZdocutilsZrstgen_415((*d).target, colontmpD_, ((NI)-1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)1));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA23_;
|
|
colontmpD__2 = dollar___systemZdollars_3((*n)._kind_5.level);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA23_;
|
|
T28_[0] = colontmpD__2;
|
|
{
|
|
if (!((*n).anchor.len == 0)) goto LA31_;
|
|
colontmpD__3 = TM__vYBWrr780p7faFzauVMtPg_98;
|
|
T28_[1] = colontmpD__3;
|
|
}
|
|
goto LA29_;
|
|
LA31_: ;
|
|
{
|
|
NimStringV2 T34_;
|
|
T34_.len = 0; T34_.p = NIM_NIL;
|
|
switch ((*d).target) {
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0):
|
|
{
|
|
NimStringV2 T36_;
|
|
T36_.len = 0; T36_.p = NIM_NIL;
|
|
T36_ = rawNewString((*n).anchor.len + 6);
|
|
appendString((&T36_), TM__vYBWrr780p7faFzauVMtPg_99);
|
|
appendString((&T36_), (*n).anchor);
|
|
appendString((&T36_), TM__vYBWrr780p7faFzauVMtPg_100);
|
|
colontmpD__4 = T36_;
|
|
}
|
|
break;
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1):
|
|
{
|
|
NimStringV2 T38_;
|
|
T38_.len = 0; T38_.p = NIM_NIL;
|
|
T38_ = rawNewString((*n).anchor.len + (*n).anchor.len + 24);
|
|
appendString((&T38_), TM__vYBWrr780p7faFzauVMtPg_101);
|
|
appendString((&T38_), (*n).anchor);
|
|
appendString((&T38_), TM__vYBWrr780p7faFzauVMtPg_102);
|
|
appendString((&T38_), (*n).anchor);
|
|
appendString((&T38_), TM__vYBWrr780p7faFzauVMtPg_103);
|
|
colontmpD__4 = T38_;
|
|
}
|
|
break;
|
|
}
|
|
T28_[1] = colontmpD__4;
|
|
}
|
|
LA29_: ;
|
|
T28_[2] = tmp;
|
|
colontmpD__5 = nimCharToStr(((NIM_CHAR) (((NI) ((NI)((NI)((*n)._kind_5.level - ((NI)1)) + ((NI)65)))))));
|
|
T28_[3] = colontmpD__5;
|
|
T28_[4] = tocName;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, TM__vYBWrr780p7faFzauVMtPg_95, TM__vYBWrr780p7faFzauVMtPg_97, T28_, 5);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA23_;
|
|
{
|
|
LA23_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__5));
|
|
eqdestroy___stdZassertions_13((&colontmpD__4));
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
eqdestroy___stdZassertions_13((&tocName));
|
|
eqdestroy___stdZassertions_13((&tmp));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
LA1_: ;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderAux__packagesZdocutilsZrstgen_491)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2 html, NimStringV2 tex, NimStringV2* result) {
|
|
NimStringV2 tmp;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
tmp.len = 0; tmp.p = NIM_NIL;
|
|
tmp = TM__vYBWrr780p7faFzauVMtPg_104;
|
|
{
|
|
NI i;
|
|
NI colontmp_;
|
|
NI T3_;
|
|
NI res;
|
|
i = (NI)0;
|
|
colontmp_ = (NI)0;
|
|
T3_ = (NI)0;
|
|
T3_ = len__packagesZdocutilsZrstast_112(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmp_ = (NI)(T3_ - ((NI)1));
|
|
res = ((NI)0);
|
|
{
|
|
while (1) {
|
|
if (!(res <= colontmp_)) goto LA5 ;
|
|
i = res;
|
|
renderRstToOut__packagesZdocutilsZrstgen_475(d, (*n).sons.p->data[i], (&tmp));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
res += ((NI)1);
|
|
} LA5: ;
|
|
}
|
|
}
|
|
switch ((*d).target) {
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0):
|
|
{
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 colontmpD__2;
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T8_;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
T8_[0] = tmp;
|
|
{
|
|
if (!((*n).anchor.len == 0)) goto LA11_;
|
|
colontmpD_ = TM__vYBWrr780p7faFzauVMtPg_105;
|
|
T8_[1] = colontmpD_;
|
|
}
|
|
goto LA9_;
|
|
LA11_: ;
|
|
{
|
|
NimStringV2 T14_;
|
|
T14_.len = 0; T14_.p = NIM_NIL;
|
|
switch ((*d).target) {
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0):
|
|
{
|
|
NimStringV2 T16_;
|
|
T16_.len = 0; T16_.p = NIM_NIL;
|
|
T16_ = rawNewString((*n).anchor.len + 6);
|
|
appendString((&T16_), TM__vYBWrr780p7faFzauVMtPg_106);
|
|
appendString((&T16_), (*n).anchor);
|
|
appendString((&T16_), TM__vYBWrr780p7faFzauVMtPg_107);
|
|
colontmpD__2 = T16_;
|
|
}
|
|
break;
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1):
|
|
{
|
|
NimStringV2 T18_;
|
|
T18_.len = 0; T18_.p = NIM_NIL;
|
|
T18_ = rawNewString((*n).anchor.len + (*n).anchor.len + 24);
|
|
appendString((&T18_), TM__vYBWrr780p7faFzauVMtPg_108);
|
|
appendString((&T18_), (*n).anchor);
|
|
appendString((&T18_), TM__vYBWrr780p7faFzauVMtPg_109);
|
|
appendString((&T18_), (*n).anchor);
|
|
appendString((&T18_), TM__vYBWrr780p7faFzauVMtPg_110);
|
|
colontmpD__2 = T18_;
|
|
}
|
|
break;
|
|
}
|
|
T8_[1] = colontmpD__2;
|
|
}
|
|
LA9_: ;
|
|
nsuAddf(result, html, T8_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA7_;
|
|
{
|
|
LA7_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
break;
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1):
|
|
{
|
|
NimStringV2 colontmpD__3;
|
|
NimStringV2 colontmpD__4;
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T23_;
|
|
colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
|
|
colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
|
|
T23_[0] = tmp;
|
|
{
|
|
if (!((*n).anchor.len == 0)) goto LA26_;
|
|
colontmpD__3 = TM__vYBWrr780p7faFzauVMtPg_111;
|
|
T23_[1] = colontmpD__3;
|
|
}
|
|
goto LA24_;
|
|
LA26_: ;
|
|
{
|
|
NimStringV2 T29_;
|
|
T29_.len = 0; T29_.p = NIM_NIL;
|
|
switch ((*d).target) {
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0):
|
|
{
|
|
NimStringV2 T31_;
|
|
T31_.len = 0; T31_.p = NIM_NIL;
|
|
T31_ = rawNewString((*n).anchor.len + 6);
|
|
appendString((&T31_), TM__vYBWrr780p7faFzauVMtPg_112);
|
|
appendString((&T31_), (*n).anchor);
|
|
appendString((&T31_), TM__vYBWrr780p7faFzauVMtPg_113);
|
|
colontmpD__4 = T31_;
|
|
}
|
|
break;
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1):
|
|
{
|
|
NimStringV2 T33_;
|
|
T33_.len = 0; T33_.p = NIM_NIL;
|
|
T33_ = rawNewString((*n).anchor.len + (*n).anchor.len + 24);
|
|
appendString((&T33_), TM__vYBWrr780p7faFzauVMtPg_114);
|
|
appendString((&T33_), (*n).anchor);
|
|
appendString((&T33_), TM__vYBWrr780p7faFzauVMtPg_115);
|
|
appendString((&T33_), (*n).anchor);
|
|
appendString((&T33_), TM__vYBWrr780p7faFzauVMtPg_116);
|
|
colontmpD__4 = T33_;
|
|
}
|
|
break;
|
|
}
|
|
T23_[1] = colontmpD__4;
|
|
}
|
|
LA24_: ;
|
|
nsuAddf(result, tex, T23_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA22_;
|
|
{
|
|
LA22_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__4));
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
break;
|
|
}
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&tmp));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
}
|
|
static N_INLINE(void, nimPrepareStrMutationV2)(NimStringV2* s) {
|
|
{
|
|
NIM_BOOL T3_;
|
|
T3_ = (NIM_BOOL)0;
|
|
T3_ = !(((*s).p == ((NimStrPayload*) NIM_NIL)));
|
|
if (!(T3_)) goto LA4_;
|
|
T3_ = ((NI)((*(*s).p).cap & ((NI)1073741824)) == ((NI)1073741824));
|
|
LA4_: ;
|
|
if (!T3_) goto LA5_;
|
|
nimPrepareStrMutationImpl__system_2301(s);
|
|
}
|
|
LA5_: ;
|
|
}
|
|
static N_INLINE(NIM_CHAR*, X5BX5D___system_7066)(NimStringV2* s, NI i) {
|
|
NIM_CHAR* result;
|
|
result = (NIM_CHAR*)0;
|
|
nimPrepareStrMutationV2((&(*s)));
|
|
result = (&(*s).p->data[(NI)((*s).len - i)]);
|
|
return result;
|
|
}
|
|
static N_INLINE(NimStringV2, X5BX5D___pureZstrutils_1279)(NimStringV2 s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x) {
|
|
NimStringV2 result;
|
|
NI a;
|
|
NI L;
|
|
result.len = 0; result.p = NIM_NIL;
|
|
a = x.a;
|
|
L = (NI)((NI)(x.b - a) + ((NI)1));
|
|
result = mnewString(((NI) (L)));
|
|
{
|
|
NI i;
|
|
NI i_2;
|
|
i = (NI)0;
|
|
i_2 = ((NI)0);
|
|
{
|
|
while (1) {
|
|
if (!(i_2 < L)) goto LA3 ;
|
|
i = i_2;
|
|
nimPrepareStrMutationV2((&result));
|
|
result.p->data[i] = s.p->data[(NI)(i + a)];
|
|
i_2 += ((NI)1);
|
|
} LA3: ;
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderEnumList__packagesZdocutilsZrstgen_8975)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result) {
|
|
NimStringV2 specifier;
|
|
NimStringV2 specStart;
|
|
NimStringV2 pre;
|
|
NimStringV2 post;
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 colontmpD__2;
|
|
NI i1;
|
|
NI i2;
|
|
tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA enumR;
|
|
NimStringV2 T113_;
|
|
NimStringV2 T114_;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
specifier.len = 0; specifier.p = NIM_NIL;
|
|
specStart.len = 0; specStart.p = NIM_NIL;
|
|
pre.len = 0; pre.p = NIM_NIL;
|
|
post.len = 0; post.p = NIM_NIL;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
specifier = TM__vYBWrr780p7faFzauVMtPg_133;
|
|
specStart = TM__vYBWrr780p7faFzauVMtPg_134;
|
|
i1 = ((NI)0);
|
|
pre = TM__vYBWrr780p7faFzauVMtPg_135;
|
|
i2 = (NI)((*n)._kind_2.labelFmt.len - ((NI)1));
|
|
post = TM__vYBWrr780p7faFzauVMtPg_136;
|
|
{
|
|
if (!((NU8)((*n)._kind_2.labelFmt.p->data[((NI)0)]) == (NU8)(40))) goto LA4_;
|
|
i1 = ((NI)1);
|
|
pre = TM__vYBWrr780p7faFzauVMtPg_138;
|
|
}
|
|
LA4_: ;
|
|
{
|
|
NIM_BOOL T8_;
|
|
NIM_CHAR* T9_;
|
|
NIM_CHAR* T11_;
|
|
NIM_CHAR* T14_;
|
|
NimStringV2 T15_;
|
|
T8_ = (NIM_BOOL)0;
|
|
T9_ = (NIM_CHAR*)0;
|
|
T9_ = X5BX5D___system_7066((&(*n)._kind_2.labelFmt), ((NI)1));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T8_ = ((NU8)((*T9_)) == (NU8)(41));
|
|
if (T8_) goto LA10_;
|
|
T11_ = (NIM_CHAR*)0;
|
|
T11_ = X5BX5D___system_7066((&(*n)._kind_2.labelFmt), ((NI)1));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T8_ = ((NU8)((*T11_)) == (NU8)(46));
|
|
LA10_: ;
|
|
if (!T8_) goto LA12_;
|
|
i2 = (NI)((*n)._kind_2.labelFmt.len - ((NI)2));
|
|
T14_ = (NIM_CHAR*)0;
|
|
T14_ = X5BX5D___system_7066((&(*n)._kind_2.labelFmt), ((NI)1));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T15_.len = 0; T15_.p = NIM_NIL;
|
|
T15_ = nimCharToStr((*T14_));
|
|
eqsink___stdZassertions_19((&post), T15_);
|
|
}
|
|
LA12_: ;
|
|
enumR = dotdot___stdZstrbasics_49(i1, i2);
|
|
{
|
|
NimStringV2 colontmpD__3;
|
|
NimStringV2 T21_;
|
|
if (!((*d).target == ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1))) goto LA18_;
|
|
colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
|
|
T21_.len = 0; T21_.p = NIM_NIL;
|
|
T21_ = rawNewString((*n)._kind_2.labelFmt.len + 3);
|
|
appendString((&T21_), TM__vYBWrr780p7faFzauVMtPg_140);
|
|
appendString((&T21_), (*n)._kind_2.labelFmt);
|
|
appendString((&T21_), TM__vYBWrr780p7faFzauVMtPg_141);
|
|
colontmpD__3 = T21_;
|
|
prepareAdd((&(*result)), colontmpD__3.len + 0);
|
|
appendString((&(*result)), colontmpD__3);
|
|
{
|
|
NIM_BOOL T24_;
|
|
NimStringV2 labelDef;
|
|
NimStringV2 colontmpD__4;
|
|
T24_ = (NIM_BOOL)0;
|
|
T24_ = nsuIsDigitChar((*n)._kind_2.labelFmt.p->data[i1]);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA20_;
|
|
if (!T24_) goto LA25_;
|
|
labelDef.len = 0; labelDef.p = NIM_NIL;
|
|
colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
|
|
labelDef = TM__vYBWrr780p7faFzauVMtPg_142;
|
|
{
|
|
NIM_BOOL T30_;
|
|
NimStringV2 T34_;
|
|
T30_ = (NIM_BOOL)0;
|
|
T30_ = !((pre.len == 0));
|
|
if (T30_) goto LA31_;
|
|
T30_ = !((post.len == 0));
|
|
LA31_: ;
|
|
if (!T30_) goto LA32_;
|
|
T34_.len = 0; T34_.p = NIM_NIL;
|
|
T34_ = rawNewString(pre.len + post.len + 15);
|
|
appendString((&T34_), TM__vYBWrr780p7faFzauVMtPg_144);
|
|
appendString((&T34_), pre);
|
|
appendString((&T34_), TM__vYBWrr780p7faFzauVMtPg_146);
|
|
appendString((&T34_), post);
|
|
appendString((&T34_), TM__vYBWrr780p7faFzauVMtPg_148);
|
|
eqsink___stdZassertions_19((&labelDef), T34_);
|
|
}
|
|
LA32_: ;
|
|
{
|
|
NimStringV2 colontmpD__5;
|
|
tyArray__nHXaesL0DJZHyVS07ARPRA T40_;
|
|
NimStringV2 T41_;
|
|
colontmpD__4 = X5BX5D___pureZstrutils_1279((*n)._kind_2.labelFmt, enumR);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA27_;
|
|
if (!!(eqStrings(colontmpD__4, TM__vYBWrr780p7faFzauVMtPg_150))) goto LA37_;
|
|
colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
|
|
colontmpD__5 = X5BX5D___pureZstrutils_1279((*n)._kind_2.labelFmt, enumR);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA39_;
|
|
T40_[0] = colontmpD__5;
|
|
T41_.len = 0; T41_.p = NIM_NIL;
|
|
T41_ = nsuFormatOpenArray(TM__vYBWrr780p7faFzauVMtPg_152, T40_, 1);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA39_;
|
|
eqsink___stdZassertions_19((&specStart), T41_);
|
|
{
|
|
LA39_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__5));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA27_;
|
|
}
|
|
LA37_: ;
|
|
{
|
|
NIM_BOOL T46_;
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T50_;
|
|
NimStringV2 T51_;
|
|
T46_ = (NIM_BOOL)0;
|
|
T46_ = !((labelDef.len == 0));
|
|
if (T46_) goto LA47_;
|
|
T46_ = !((specStart.len == 0));
|
|
LA47_: ;
|
|
if (!T46_) goto LA48_;
|
|
T50_[0] = labelDef;
|
|
T50_[1] = specStart;
|
|
T51_.len = 0; T51_.p = NIM_NIL;
|
|
T51_ = nsuFormatOpenArray(TM__vYBWrr780p7faFzauVMtPg_154, T50_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA27_;
|
|
eqsink___stdZassertions_19((&specifier), T51_);
|
|
}
|
|
LA48_: ;
|
|
{
|
|
LA27_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__4));
|
|
eqdestroy___stdZassertions_13((&labelDef));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA20_;
|
|
}
|
|
goto LA22_;
|
|
LA25_: ;
|
|
{
|
|
tyTuple__qsoB9cWzItmjtA8wRSiKBbA colontmp_;
|
|
NimStringV2 labelDef_2;
|
|
tyTuple__qsoB9cWzItmjtA8wRSiKBbA T56_;
|
|
NIM_CHAR first;
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T70_;
|
|
NimStringV2 T71_;
|
|
nimZeroMem((void*)(&colontmp_), sizeof(tyTuple__qsoB9cWzItmjtA8wRSiKBbA));
|
|
labelDef_2.len = 0; labelDef_2.p = NIM_NIL;
|
|
{
|
|
NIM_BOOL T59_;
|
|
NimStringV2 T62_;
|
|
T59_ = (NIM_BOOL)0;
|
|
T59_ = nsuIsUpperAsciiChar((*n)._kind_2.labelFmt.p->data[i1]);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA55_;
|
|
if (!T59_) goto LA60_;
|
|
colontmp_.Field0 = 65;
|
|
T62_.len = 0; T62_.p = NIM_NIL;
|
|
T62_ = rawNewString(pre.len + post.len + 12);
|
|
appendString((&T62_), TM__vYBWrr780p7faFzauVMtPg_155);
|
|
appendString((&T62_), pre);
|
|
appendString((&T62_), TM__vYBWrr780p7faFzauVMtPg_157);
|
|
appendString((&T62_), post);
|
|
colontmp_.Field1 = T62_;
|
|
}
|
|
goto LA57_;
|
|
LA60_: ;
|
|
{
|
|
NimStringV2 T64_;
|
|
colontmp_.Field0 = 97;
|
|
T64_.len = 0; T64_.p = NIM_NIL;
|
|
T64_ = rawNewString(pre.len + post.len + 12);
|
|
appendString((&T64_), TM__vYBWrr780p7faFzauVMtPg_158);
|
|
appendString((&T64_), pre);
|
|
appendString((&T64_), TM__vYBWrr780p7faFzauVMtPg_160);
|
|
appendString((&T64_), post);
|
|
colontmp_.Field1 = T64_;
|
|
}
|
|
LA57_: ;
|
|
first = colontmp_.Field0;
|
|
labelDef_2 = colontmp_.Field1;
|
|
{
|
|
NimStringV2 colontmpD__6;
|
|
NimStringV2 T69_;
|
|
if (!!(((NU8)((*n)._kind_2.labelFmt.p->data[i1]) == (NU8)(first)))) goto LA67_;
|
|
colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
|
|
T69_.len = 0; T69_.p = NIM_NIL;
|
|
colontmpD__6 = dollar___systemZdollars_3((NI)((NI)(((NU8)((*n)._kind_2.labelFmt.p->data[i1])) - ((NU8)(first))) + ((NI)1)));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA55_;
|
|
T69_ = rawNewString(colontmpD__6.len + 7);
|
|
appendString((&T69_), TM__vYBWrr780p7faFzauVMtPg_162);
|
|
appendString((&T69_), colontmpD__6);
|
|
eqsink___stdZassertions_19((&specStart), T69_);
|
|
eqdestroy___stdZassertions_13((&colontmpD__6));
|
|
}
|
|
LA67_: ;
|
|
T70_[0] = labelDef_2;
|
|
T70_[1] = specStart;
|
|
T71_.len = 0; T71_.p = NIM_NIL;
|
|
T71_ = nsuFormatOpenArray(TM__vYBWrr780p7faFzauVMtPg_163, T70_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA55_;
|
|
eqsink___stdZassertions_19((&specifier), T71_);
|
|
{
|
|
LA55_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&labelDef_2));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA20_;
|
|
}
|
|
LA22_: ;
|
|
{
|
|
LA20_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
goto LA16_;
|
|
LA18_: ;
|
|
{
|
|
{
|
|
NIM_BOOL T79_;
|
|
NimStringV2 colontmpD__7;
|
|
NimStringV2 T92_;
|
|
T79_ = (NIM_BOOL)0;
|
|
T79_ = nsuIsDigitChar((*n)._kind_2.labelFmt.p->data[i1]);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
if (!T79_) goto LA80_;
|
|
colontmpD__7.len = 0; colontmpD__7.p = NIM_NIL;
|
|
{
|
|
NimStringV2 colontmpD__8;
|
|
tyArray__nHXaesL0DJZHyVS07ARPRA T88_;
|
|
NimStringV2 T89_;
|
|
colontmpD__7 = X5BX5D___pureZstrutils_1279((*n)._kind_2.labelFmt, enumR);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA82_;
|
|
if (!!(eqStrings(colontmpD__7, TM__vYBWrr780p7faFzauVMtPg_164))) goto LA85_;
|
|
colontmpD__8.len = 0; colontmpD__8.p = NIM_NIL;
|
|
colontmpD__8 = X5BX5D___pureZstrutils_1279((*n)._kind_2.labelFmt, enumR);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA87_;
|
|
T88_[0] = colontmpD__8;
|
|
T89_.len = 0; T89_.p = NIM_NIL;
|
|
T89_ = nsuFormatOpenArray(TM__vYBWrr780p7faFzauVMtPg_166, T88_, 1);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA87_;
|
|
eqsink___stdZassertions_19((&specStart), T89_);
|
|
{
|
|
LA87_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__8));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA82_;
|
|
}
|
|
LA85_: ;
|
|
T92_.len = 0; T92_.p = NIM_NIL;
|
|
T92_ = rawNewString(specStart.len + 14);
|
|
appendString((&T92_), TM__vYBWrr780p7faFzauVMtPg_168);
|
|
appendString((&T92_), specStart);
|
|
eqsink___stdZassertions_19((&specifier), T92_);
|
|
{
|
|
LA82_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__7));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
goto LA77_;
|
|
LA80_: ;
|
|
{
|
|
tyTuple__qsoB9cWzItmjtA8wRSiKBbA colontmp__2;
|
|
NimStringV2 labelDef_3;
|
|
tyTuple__qsoB9cWzItmjtA8wRSiKBbA T96_;
|
|
NIM_CHAR first_2;
|
|
NimStringV2 T112_;
|
|
nimZeroMem((void*)(&colontmp__2), sizeof(tyTuple__qsoB9cWzItmjtA8wRSiKBbA));
|
|
labelDef_3.len = 0; labelDef_3.p = NIM_NIL;
|
|
{
|
|
NIM_BOOL T99_;
|
|
T99_ = (NIM_BOOL)0;
|
|
T99_ = nsuIsUpperAsciiChar((*n)._kind_2.labelFmt.p->data[i1]);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
if (!T99_) goto LA100_;
|
|
colontmp__2 = TM__vYBWrr780p7faFzauVMtPg_169;
|
|
}
|
|
goto LA97_;
|
|
LA100_: ;
|
|
{
|
|
colontmp__2 = TM__vYBWrr780p7faFzauVMtPg_171;
|
|
}
|
|
LA97_: ;
|
|
first_2 = colontmp__2.Field0;
|
|
labelDef_3 = colontmp__2.Field1;
|
|
{
|
|
NimStringV2 colontmpD__9;
|
|
tyArray__nHXaesL0DJZHyVS07ARPRA T108_;
|
|
NimStringV2 T109_;
|
|
if (!!(((NU8)((*n)._kind_2.labelFmt.p->data[i1]) == (NU8)(first_2)))) goto LA105_;
|
|
colontmpD__9.len = 0; colontmpD__9.p = NIM_NIL;
|
|
colontmpD__9 = dollar___systemZdollars_3((NI)((NI)(((NU8)((*n)._kind_2.labelFmt.p->data[i1])) - ((NU8)(first_2))) + ((NI)1)));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA107_;
|
|
T108_[0] = colontmpD__9;
|
|
T109_.len = 0; T109_.p = NIM_NIL;
|
|
T109_ = nsuFormatOpenArray(TM__vYBWrr780p7faFzauVMtPg_173, T108_, 1);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA107_;
|
|
eqsink___stdZassertions_19((&specStart), T109_);
|
|
{
|
|
LA107_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__9));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA105_: ;
|
|
T112_.len = 0; T112_.p = NIM_NIL;
|
|
T112_ = rawNewString(labelDef_3.len + specStart.len + 0);
|
|
appendString((&T112_), labelDef_3);
|
|
appendString((&T112_), specStart);
|
|
eqsink___stdZassertions_19((&specifier), T112_);
|
|
}
|
|
LA77_: ;
|
|
}
|
|
LA16_: ;
|
|
T113_.len = 0; T113_.p = NIM_NIL;
|
|
T113_ = rawNewString(specifier.len + 15);
|
|
appendString((&T113_), TM__vYBWrr780p7faFzauVMtPg_175);
|
|
appendString((&T113_), specifier);
|
|
appendString((&T113_), TM__vYBWrr780p7faFzauVMtPg_177);
|
|
colontmpD_ = T113_;
|
|
T114_.len = 0; T114_.p = NIM_NIL;
|
|
T114_ = rawNewString(specifier.len + 37);
|
|
appendString((&T114_), TM__vYBWrr780p7faFzauVMtPg_179);
|
|
appendString((&T114_), specifier);
|
|
appendString((&T114_), TM__vYBWrr780p7faFzauVMtPg_181);
|
|
colontmpD__2 = T114_;
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, colontmpD_, colontmpD__2, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
eqdestroy___stdZassertions_13((&post));
|
|
eqdestroy___stdZassertions_13((&specStart));
|
|
eqdestroy___stdZassertions_13((&specifier));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderField__packagesZdocutilsZrstgen_8964)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result) {
|
|
NIM_BOOL b;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
b = NIM_FALSE;
|
|
{
|
|
NimStringV2 fieldname;
|
|
NimStringV2 fieldval;
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 colontmpD__2;
|
|
if (!((*d).target == ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1))) goto LA3_;
|
|
fieldname.len = 0; fieldname.p = NIM_NIL;
|
|
fieldval.len = 0; fieldval.p = NIM_NIL;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
fieldname = addNodes__packagesZdocutilsZrst_70((*n).sons.p->data[((NI)0)]);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
colontmpD_ = addNodes__packagesZdocutilsZrst_70((*n).sons.p->data[((NI)1)]);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
colontmpD__2 = nsuStrip(colontmpD_, NIM_TRUE, NIM_TRUE, TM__vYBWrr780p7faFzauVMtPg_204);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
fieldval = esc__packagesZdocutilsZrstgen_415((*d).target, colontmpD__2, ((NI)-1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)0));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
{
|
|
NIM_BOOL T7_;
|
|
NI T8_;
|
|
NI T10_;
|
|
T7_ = (NIM_BOOL)0;
|
|
T8_ = (NI)0;
|
|
T8_ = nsuCmpIgnoreStyle(fieldname, TM__vYBWrr780p7faFzauVMtPg_206);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
T7_ = (T8_ == ((NI)0));
|
|
if (T7_) goto LA9_;
|
|
T10_ = (NI)0;
|
|
T10_ = nsuCmpIgnoreStyle(fieldname, TM__vYBWrr780p7faFzauVMtPg_208);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
T7_ = (T10_ == ((NI)0));
|
|
LA9_: ;
|
|
if (!T7_) goto LA11_;
|
|
{
|
|
if (!((*d).meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw)3))- 0].len == ((NI)0))) goto LA15_;
|
|
eqsink___stdZassertions_19((&(*d).meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw)3))- 0]), fieldval);
|
|
fieldval.len = 0; fieldval.p = NIM_NIL;
|
|
b = NIM_TRUE;
|
|
}
|
|
LA15_: ;
|
|
}
|
|
goto LA5_;
|
|
LA11_: ;
|
|
{
|
|
NI T18_;
|
|
T18_ = (NI)0;
|
|
T18_ = nsuCmpIgnoreStyle(fieldname, TM__vYBWrr780p7faFzauVMtPg_210);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
if (!(T18_ == ((NI)0))) goto LA19_;
|
|
{
|
|
if (!((*d).meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw)4))- 0].len == ((NI)0))) goto LA23_;
|
|
eqsink___stdZassertions_19((&(*d).meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw)4))- 0]), fieldval);
|
|
fieldval.len = 0; fieldval.p = NIM_NIL;
|
|
b = NIM_TRUE;
|
|
}
|
|
LA23_: ;
|
|
}
|
|
goto LA5_;
|
|
LA19_: ;
|
|
LA5_: ;
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
eqdestroy___stdZassertions_13((&fieldval));
|
|
eqdestroy___stdZassertions_13((&fieldname));
|
|
}
|
|
LA3_: ;
|
|
{
|
|
if (!!(b)) goto LA27_;
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_212, TM__vYBWrr780p7faFzauVMtPg_214, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
LA27_: ;
|
|
}BeforeRet_: ;
|
|
}
|
|
static N_INLINE(NF, toFloat__system_1672)(NI i) {
|
|
NF result;
|
|
result = (NF)0;
|
|
result = ((NF) (i));
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderAdmonition__packagesZdocutilsZrstgen_9064)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result) {
|
|
NimStringV2 htmlCls;
|
|
NimStringV2 texSz;
|
|
NimStringV2 texColor;
|
|
NimStringV2 txt;
|
|
NimStringV2 htmlHead;
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 colontmpD__2;
|
|
NimStringV2 T11_;
|
|
NimStringV2 T12_;
|
|
NimStringV2 T13_;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
htmlCls.len = 0; htmlCls.p = NIM_NIL;
|
|
texSz.len = 0; texSz.p = NIM_NIL;
|
|
texColor.len = 0; texColor.p = NIM_NIL;
|
|
txt.len = 0; txt.p = NIM_NIL;
|
|
htmlHead.len = 0; htmlHead.p = NIM_NIL;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
htmlCls = TM__vYBWrr780p7faFzauVMtPg_308;
|
|
texSz = TM__vYBWrr780p7faFzauVMtPg_310;
|
|
texColor = TM__vYBWrr780p7faFzauVMtPg_312;
|
|
switch (hashString((*n)._kind_4.adType) & 15) {
|
|
case 2:
|
|
if (eqStrings((*n)._kind_4.adType, TM__vYBWrr780p7faFzauVMtPg_320)) goto LA3_;
|
|
if (eqStrings((*n)._kind_4.adType, TM__vYBWrr780p7faFzauVMtPg_328)) goto LA3_;
|
|
break;
|
|
case 5:
|
|
if (eqStrings((*n)._kind_4.adType, TM__vYBWrr780p7faFzauVMtPg_330)) goto LA4_;
|
|
break;
|
|
case 6:
|
|
if (eqStrings((*n)._kind_4.adType, TM__vYBWrr780p7faFzauVMtPg_322)) goto LA3_;
|
|
if (eqStrings((*n)._kind_4.adType, TM__vYBWrr780p7faFzauVMtPg_324)) goto LA3_;
|
|
break;
|
|
case 7:
|
|
if (eqStrings((*n)._kind_4.adType, TM__vYBWrr780p7faFzauVMtPg_316)) goto LA2_;
|
|
break;
|
|
case 8:
|
|
if (eqStrings((*n)._kind_4.adType, TM__vYBWrr780p7faFzauVMtPg_318)) goto LA2_;
|
|
break;
|
|
case 11:
|
|
if (eqStrings((*n)._kind_4.adType, TM__vYBWrr780p7faFzauVMtPg_314)) goto LA2_;
|
|
break;
|
|
case 12:
|
|
if (eqStrings((*n)._kind_4.adType, TM__vYBWrr780p7faFzauVMtPg_326)) goto LA3_;
|
|
if (eqStrings((*n)._kind_4.adType, TM__vYBWrr780p7faFzauVMtPg_332)) goto LA4_;
|
|
break;
|
|
}
|
|
goto LA5_;
|
|
LA2_: ;
|
|
{
|
|
htmlCls = TM__vYBWrr780p7faFzauVMtPg_334;
|
|
texSz = TM__vYBWrr780p7faFzauVMtPg_336;
|
|
texColor = TM__vYBWrr780p7faFzauVMtPg_338;
|
|
}
|
|
goto LA6_;
|
|
LA3_: ;
|
|
{
|
|
htmlCls = TM__vYBWrr780p7faFzauVMtPg_340;
|
|
texSz = TM__vYBWrr780p7faFzauVMtPg_341;
|
|
texColor = TM__vYBWrr780p7faFzauVMtPg_342;
|
|
}
|
|
goto LA6_;
|
|
LA4_: ;
|
|
{
|
|
htmlCls = TM__vYBWrr780p7faFzauVMtPg_344;
|
|
texSz = TM__vYBWrr780p7faFzauVMtPg_346;
|
|
texColor = TM__vYBWrr780p7faFzauVMtPg_348;
|
|
}
|
|
goto LA6_;
|
|
LA5_: ;
|
|
{
|
|
}
|
|
LA6_: ;
|
|
txt = nsuCapitalizeAscii((*n)._kind_4.adType);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T11_.len = 0; T11_.p = NIM_NIL;
|
|
T11_ = rawNewString(htmlCls.len + 25);
|
|
appendString((&T11_), TM__vYBWrr780p7faFzauVMtPg_350);
|
|
appendString((&T11_), htmlCls);
|
|
appendString((&T11_), TM__vYBWrr780p7faFzauVMtPg_352);
|
|
htmlHead = T11_;
|
|
T12_.len = 0; T12_.p = NIM_NIL;
|
|
T12_ = rawNewString(htmlHead.len + htmlCls.len + txt.len + 47);
|
|
appendString((&T12_), htmlHead);
|
|
appendString((&T12_), TM__vYBWrr780p7faFzauVMtPg_354);
|
|
appendString((&T12_), htmlCls);
|
|
appendString((&T12_), TM__vYBWrr780p7faFzauVMtPg_356);
|
|
appendString((&T12_), txt);
|
|
appendString((&T12_), TM__vYBWrr780p7faFzauVMtPg_358);
|
|
colontmpD_ = T12_;
|
|
T13_.len = 0; T13_.p = NIM_NIL;
|
|
T13_ = rawNewString(texColor.len + texSz.len + texColor.len + txt.len + 104);
|
|
appendString((&T13_), TM__vYBWrr780p7faFzauVMtPg_360);
|
|
appendString((&T13_), texColor);
|
|
appendString((&T13_), TM__vYBWrr780p7faFzauVMtPg_362);
|
|
appendString((&T13_), texSz);
|
|
appendString((&T13_), TM__vYBWrr780p7faFzauVMtPg_364);
|
|
appendString((&T13_), texColor);
|
|
appendString((&T13_), TM__vYBWrr780p7faFzauVMtPg_366);
|
|
appendString((&T13_), txt);
|
|
appendString((&T13_), TM__vYBWrr780p7faFzauVMtPg_368);
|
|
colontmpD__2 = T13_;
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, colontmpD_, colontmpD__2, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
eqdestroy___stdZassertions_13((&htmlHead));
|
|
eqdestroy___stdZassertions_13((&txt));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderHyperlink__packagesZdocutilsZrstgen_9073)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* text, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* link, NimStringV2* result, NIM_BOOL external, NIM_BOOL nimdoc, NimStringV2 tooltip) {
|
|
NimStringV2 linkStr;
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 textStr;
|
|
NimStringV2 nimDocStr;
|
|
NimStringV2 tooltipStr;
|
|
NimStringV2 T3_;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
linkStr.len = 0; linkStr.p = NIM_NIL;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
textStr.len = 0; textStr.p = NIM_NIL;
|
|
nimDocStr.len = 0; nimDocStr.p = NIM_NIL;
|
|
tooltipStr.len = 0; tooltipStr.p = NIM_NIL;
|
|
linkStr = TM__vYBWrr780p7faFzauVMtPg_430;
|
|
{
|
|
tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ mode;
|
|
mode = (*d).escMode;
|
|
(*d).escMode = ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)2);
|
|
renderRstToOut__packagesZdocutilsZrstgen_475(d, link, (&linkStr));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
(*d).escMode = mode;
|
|
}
|
|
colontmpD_ = safeProtocol__packagesZdocutilsZrst_8113((&linkStr));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
(void)(colontmpD_);
|
|
textStr = TM__vYBWrr780p7faFzauVMtPg_431;
|
|
renderRstToOut__packagesZdocutilsZrstgen_475(d, text, (&textStr));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T3_.len = 0; T3_.p = NIM_NIL;
|
|
{
|
|
if (!nimdoc) goto LA6_;
|
|
nimDocStr = TM__vYBWrr780p7faFzauVMtPg_433;
|
|
}
|
|
goto LA4_;
|
|
LA6_: ;
|
|
{
|
|
nimDocStr = TM__vYBWrr780p7faFzauVMtPg_434;
|
|
}
|
|
LA4_: ;
|
|
tooltipStr = TM__vYBWrr780p7faFzauVMtPg_435;
|
|
{
|
|
NimStringV2 colontmpD__2;
|
|
tyArray__nHXaesL0DJZHyVS07ARPRA T14_;
|
|
NimStringV2 T15_;
|
|
if (!!((tooltip.len == 0))) goto LA11_;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
colontmpD__2 = esc__packagesZdocutilsZrstgen_415((*d).target, tooltip, ((NI)-1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)0));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA13_;
|
|
T14_[0] = colontmpD__2;
|
|
T15_.len = 0; T15_.p = NIM_NIL;
|
|
T15_ = nsuFormatOpenArray(TM__vYBWrr780p7faFzauVMtPg_437, T14_, 1);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA13_;
|
|
eqsink___stdZassertions_19((&tooltipStr), T15_);
|
|
{
|
|
LA13_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA11_: ;
|
|
{
|
|
tyArray__sMpvt1sOxOJ3LFGulnbeMQ T22_;
|
|
if (!external) goto LA20_;
|
|
T22_[0] = textStr;
|
|
T22_[1] = linkStr;
|
|
T22_[2] = nimDocStr;
|
|
T22_[3] = tooltipStr;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, TM__vYBWrr780p7faFzauVMtPg_439, TM__vYBWrr780p7faFzauVMtPg_441, T22_, 4);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
goto LA18_;
|
|
LA20_: ;
|
|
{
|
|
tyArray__sMpvt1sOxOJ3LFGulnbeMQ T24_;
|
|
T24_[0] = textStr;
|
|
T24_[1] = linkStr;
|
|
T24_[2] = nimDocStr;
|
|
T24_[3] = tooltipStr;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, TM__vYBWrr780p7faFzauVMtPg_443, TM__vYBWrr780p7faFzauVMtPg_445, T24_, 4);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA18_: ;
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&tooltipStr));
|
|
eqdestroy___stdZassertions_13((&textStr));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
eqdestroy___stdZassertions_13((&linkStr));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, dispF__packagesZdocutilsZrstgen_451)(tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA target, NimStringV2 xml, NimStringV2 tex, NimStringV2* args, NI argsLen_0) {
|
|
NimStringV2 result;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
result.len = 0; result.p = NIM_NIL;
|
|
{
|
|
if (!!((target == ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1)))) goto LA3_;
|
|
result = nsuFormatOpenArray(xml, args, argsLen_0);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{
|
|
result = nsuFormatOpenArray(tex, args, argsLen_0);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
LA1_: ;
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderImage__packagesZdocutilsZrstgen_8792)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result) {
|
|
NimStringV2 arg;
|
|
NimStringV2 options;
|
|
NimStringV2 s;
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 colontmpD__2;
|
|
NimStringV2 colontmpD__3;
|
|
NimStringV2 colontmpD__4;
|
|
NimStringV2 colontmpD__5;
|
|
NimStringV2 colontmpD__6;
|
|
NimStringV2 colontmpD__7;
|
|
NimStringV2 colontmpD__8;
|
|
NimStringV2 colontmpD__9;
|
|
NimStringV2 colontmpD__10;
|
|
NimStringV2 htmlOut;
|
|
NimStringV2 target;
|
|
NimStringV2 colontmpD__11;
|
|
NimStringV2 colontmpD__12;
|
|
NimStringV2 colontmpD__13;
|
|
NimStringV2 colontmpD__14;
|
|
NimStringV2 colontmpD__15;
|
|
NimStringV2 colontmpD__16;
|
|
NimStringV2 T7_;
|
|
NimStringV2 T13_;
|
|
NimStringV2 T19_;
|
|
NimStringV2 T25_;
|
|
tyArray__24KAM9afIUgUaqBaEBB6r9bg T54_;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
arg.len = 0; arg.p = NIM_NIL;
|
|
options.len = 0; options.p = NIM_NIL;
|
|
s.len = 0; s.p = NIM_NIL;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
|
|
colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
|
|
colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
|
|
colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
|
|
colontmpD__7.len = 0; colontmpD__7.p = NIM_NIL;
|
|
colontmpD__8.len = 0; colontmpD__8.p = NIM_NIL;
|
|
colontmpD__9.len = 0; colontmpD__9.p = NIM_NIL;
|
|
colontmpD__10.len = 0; colontmpD__10.p = NIM_NIL;
|
|
htmlOut.len = 0; htmlOut.p = NIM_NIL;
|
|
target.len = 0; target.p = NIM_NIL;
|
|
colontmpD__11.len = 0; colontmpD__11.p = NIM_NIL;
|
|
colontmpD__12.len = 0; colontmpD__12.p = NIM_NIL;
|
|
colontmpD__13.len = 0; colontmpD__13.p = NIM_NIL;
|
|
colontmpD__14.len = 0; colontmpD__14.p = NIM_NIL;
|
|
colontmpD__15.len = 0; colontmpD__15.p = NIM_NIL;
|
|
colontmpD__16.len = 0; colontmpD__16.p = NIM_NIL;
|
|
arg = getArgument__packagesZdocutilsZrst_75(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
options = TM__vYBWrr780p7faFzauVMtPg_458;
|
|
colontmpD_ = getFieldValue__packagesZdocutilsZrst_72(n, TM__vYBWrr780p7faFzauVMtPg_460);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmpD__2 = nsuStrip(colontmpD_, NIM_TRUE, NIM_TRUE, TM__vYBWrr780p7faFzauVMtPg_204);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
s = esc__packagesZdocutilsZrstgen_415((*d).target, colontmpD__2, ((NI)-1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)0));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
tyArray__nHXaesL0DJZHyVS07ARPRA T6_;
|
|
if (!(((NI)0) < s.len)) goto LA4_;
|
|
T6_[0] = s;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, (&options), TM__vYBWrr780p7faFzauVMtPg_462, TM__vYBWrr780p7faFzauVMtPg_464, T6_, 1);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA4_: ;
|
|
colontmpD__3 = getFieldValue__packagesZdocutilsZrst_72(n, TM__vYBWrr780p7faFzauVMtPg_466);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmpD__4 = nsuStrip(colontmpD__3, NIM_TRUE, NIM_TRUE, TM__vYBWrr780p7faFzauVMtPg_204);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T7_.len = 0; T7_.p = NIM_NIL;
|
|
T7_ = esc__packagesZdocutilsZrstgen_415((*d).target, colontmpD__4, ((NI)-1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)0));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
eqsink___stdZassertions_19((&s), T7_);
|
|
{
|
|
tyArray__nHXaesL0DJZHyVS07ARPRA T12_;
|
|
if (!(((NI)0) < s.len)) goto LA10_;
|
|
T12_[0] = s;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, (&options), TM__vYBWrr780p7faFzauVMtPg_468, TM__vYBWrr780p7faFzauVMtPg_470, T12_, 1);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA10_: ;
|
|
colontmpD__5 = getFieldValue__packagesZdocutilsZrst_72(n, TM__vYBWrr780p7faFzauVMtPg_472);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmpD__6 = nsuStrip(colontmpD__5, NIM_TRUE, NIM_TRUE, TM__vYBWrr780p7faFzauVMtPg_204);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T13_.len = 0; T13_.p = NIM_NIL;
|
|
T13_ = esc__packagesZdocutilsZrstgen_415((*d).target, colontmpD__6, ((NI)-1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)0));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
eqsink___stdZassertions_19((&s), T13_);
|
|
{
|
|
tyArray__nHXaesL0DJZHyVS07ARPRA T18_;
|
|
if (!(((NI)0) < s.len)) goto LA16_;
|
|
T18_[0] = s;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, (&options), TM__vYBWrr780p7faFzauVMtPg_474, TM__vYBWrr780p7faFzauVMtPg_476, T18_, 1);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA16_: ;
|
|
colontmpD__7 = getFieldValue__packagesZdocutilsZrst_72(n, TM__vYBWrr780p7faFzauVMtPg_478);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmpD__8 = nsuStrip(colontmpD__7, NIM_TRUE, NIM_TRUE, TM__vYBWrr780p7faFzauVMtPg_204);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T19_.len = 0; T19_.p = NIM_NIL;
|
|
T19_ = esc__packagesZdocutilsZrstgen_415((*d).target, colontmpD__8, ((NI)-1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)0));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
eqsink___stdZassertions_19((&s), T19_);
|
|
{
|
|
tyArray__nHXaesL0DJZHyVS07ARPRA T24_;
|
|
if (!(((NI)0) < s.len)) goto LA22_;
|
|
T24_[0] = s;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, (&options), TM__vYBWrr780p7faFzauVMtPg_480, TM__vYBWrr780p7faFzauVMtPg_481, T24_, 1);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA22_: ;
|
|
colontmpD__9 = getFieldValue__packagesZdocutilsZrst_72(n, TM__vYBWrr780p7faFzauVMtPg_483);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmpD__10 = nsuStrip(colontmpD__9, NIM_TRUE, NIM_TRUE, TM__vYBWrr780p7faFzauVMtPg_204);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T25_.len = 0; T25_.p = NIM_NIL;
|
|
T25_ = esc__packagesZdocutilsZrstgen_415((*d).target, colontmpD__10, ((NI)-1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)0));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
eqsink___stdZassertions_19((&s), T25_);
|
|
{
|
|
tyArray__nHXaesL0DJZHyVS07ARPRA T30_;
|
|
if (!(((NI)0) < s.len)) goto LA28_;
|
|
T30_[0] = s;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, (&options), TM__vYBWrr780p7faFzauVMtPg_485, TM__vYBWrr780p7faFzauVMtPg_486, T30_, 1);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA28_: ;
|
|
{
|
|
tyArray__nHXaesL0DJZHyVS07ARPRA T35_;
|
|
NimStringV2 T36_;
|
|
if (!(((NI)0) < options.len)) goto LA33_;
|
|
T35_[0] = options;
|
|
T36_.len = 0; T36_.p = NIM_NIL;
|
|
T36_ = dispF__packagesZdocutilsZrstgen_451((*d).target, TM__vYBWrr780p7faFzauVMtPg_487, TM__vYBWrr780p7faFzauVMtPg_489, T35_, 1);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
eqsink___stdZassertions_19((&options), T36_);
|
|
}
|
|
LA33_: ;
|
|
htmlOut = TM__vYBWrr780p7faFzauVMtPg_490;
|
|
{
|
|
NIM_BOOL T39_;
|
|
NIM_BOOL T40_;
|
|
T39_ = (NIM_BOOL)0;
|
|
T40_ = (NIM_BOOL)0;
|
|
T40_ = nsuEndsWith(arg, TM__vYBWrr780p7faFzauVMtPg_492);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
if (T40_) goto LA41_;
|
|
T40_ = nsuEndsWith(arg, TM__vYBWrr780p7faFzauVMtPg_494);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
LA41_: ;
|
|
T39_ = T40_;
|
|
if (T39_) goto LA42_;
|
|
T39_ = nsuEndsWith(arg, TM__vYBWrr780p7faFzauVMtPg_496);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
LA42_: ;
|
|
if (!T39_) goto LA43_;
|
|
eqsink___stdZassertions_19((&htmlOut), TM__vYBWrr780p7faFzauVMtPg_498);
|
|
}
|
|
goto LA37_;
|
|
LA43_: ;
|
|
{
|
|
eqsink___stdZassertions_19((&htmlOut), TM__vYBWrr780p7faFzauVMtPg_500);
|
|
}
|
|
LA37_: ;
|
|
colontmpD__11 = getFieldValue__packagesZdocutilsZrst_72(n, TM__vYBWrr780p7faFzauVMtPg_502);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmpD__12 = nsuStrip(colontmpD__11, NIM_TRUE, NIM_TRUE, TM__vYBWrr780p7faFzauVMtPg_204);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
target = esc__packagesZdocutilsZrstgen_415((*d).target, colontmpD__12, ((NI)-1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)2));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmpD__13 = safeProtocol__packagesZdocutilsZrst_8113((&target));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
(void)(colontmpD__13);
|
|
{
|
|
NimStringV2 htmlOutWithLink;
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T51_;
|
|
if (!(((NI)0) < target.len)) goto LA48_;
|
|
htmlOutWithLink.len = 0; htmlOutWithLink.p = NIM_NIL;
|
|
htmlOutWithLink = TM__vYBWrr780p7faFzauVMtPg_503;
|
|
T51_[0] = htmlOut;
|
|
T51_[1] = target;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, (&htmlOutWithLink), TM__vYBWrr780p7faFzauVMtPg_505, TM__vYBWrr780p7faFzauVMtPg_506, T51_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA50_;
|
|
eqsink___stdZassertions_19((&htmlOut), htmlOutWithLink);
|
|
htmlOutWithLink.len = 0; htmlOutWithLink.p = NIM_NIL;
|
|
{
|
|
LA50_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&htmlOutWithLink));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA48_: ;
|
|
colontmpD__14 = esc__packagesZdocutilsZrstgen_415((*d).target, arg, ((NI)-1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)0));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T54_[0] = colontmpD__14;
|
|
T54_[1] = options;
|
|
{
|
|
if (!((*n).anchor.len == 0)) goto LA57_;
|
|
colontmpD__15 = TM__vYBWrr780p7faFzauVMtPg_509;
|
|
T54_[2] = colontmpD__15;
|
|
}
|
|
goto LA55_;
|
|
LA57_: ;
|
|
{
|
|
NimStringV2 T60_;
|
|
T60_.len = 0; T60_.p = NIM_NIL;
|
|
switch ((*d).target) {
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0):
|
|
{
|
|
NimStringV2 T62_;
|
|
T62_.len = 0; T62_.p = NIM_NIL;
|
|
T62_ = rawNewString((*n).anchor.len + 6);
|
|
appendString((&T62_), TM__vYBWrr780p7faFzauVMtPg_510);
|
|
appendString((&T62_), (*n).anchor);
|
|
appendString((&T62_), TM__vYBWrr780p7faFzauVMtPg_511);
|
|
colontmpD__16 = T62_;
|
|
}
|
|
break;
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1):
|
|
{
|
|
NimStringV2 T64_;
|
|
T64_.len = 0; T64_.p = NIM_NIL;
|
|
T64_ = rawNewString((*n).anchor.len + (*n).anchor.len + 24);
|
|
appendString((&T64_), TM__vYBWrr780p7faFzauVMtPg_512);
|
|
appendString((&T64_), (*n).anchor);
|
|
appendString((&T64_), TM__vYBWrr780p7faFzauVMtPg_513);
|
|
appendString((&T64_), (*n).anchor);
|
|
appendString((&T64_), TM__vYBWrr780p7faFzauVMtPg_514);
|
|
colontmpD__16 = T64_;
|
|
}
|
|
break;
|
|
}
|
|
T54_[2] = colontmpD__16;
|
|
}
|
|
LA55_: ;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, htmlOut, TM__vYBWrr780p7faFzauVMtPg_508, T54_, 3);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
NI T67_;
|
|
T67_ = (NI)0;
|
|
T67_ = len__packagesZdocutilsZrstast_112(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
if (!(((NI)3) <= T67_)) goto LA68_;
|
|
renderRstToOut__packagesZdocutilsZrstgen_475(d, (*n).sons.p->data[((NI)2)], result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA68_: ;
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__16));
|
|
eqdestroy___stdZassertions_13((&colontmpD__15));
|
|
eqdestroy___stdZassertions_13((&colontmpD__14));
|
|
eqdestroy___stdZassertions_13((&colontmpD__13));
|
|
eqdestroy___stdZassertions_13((&colontmpD__12));
|
|
eqdestroy___stdZassertions_13((&colontmpD__11));
|
|
eqdestroy___stdZassertions_13((&target));
|
|
eqdestroy___stdZassertions_13((&htmlOut));
|
|
eqdestroy___stdZassertions_13((&colontmpD__10));
|
|
eqdestroy___stdZassertions_13((&colontmpD__9));
|
|
eqdestroy___stdZassertions_13((&colontmpD__8));
|
|
eqdestroy___stdZassertions_13((&colontmpD__7));
|
|
eqdestroy___stdZassertions_13((&colontmpD__6));
|
|
eqdestroy___stdZassertions_13((&colontmpD__5));
|
|
eqdestroy___stdZassertions_13((&colontmpD__4));
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
eqdestroy___stdZassertions_13((&s));
|
|
eqdestroy___stdZassertions_13((&options));
|
|
eqdestroy___stdZassertions_13((&arg));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, init__packagesZdocutilsZrstgen_87)(tyObject_CodeBlockParams__sfxlxgvTVIvKgcvY2mQViA* p) {
|
|
(*p).startLine = ((NI)1);
|
|
(*p).lang = ((tyEnum_SourceLanguage__yW5C9bHJV9a9bc7MnoMHmB85g)0);
|
|
eqsink___stdZassertions_19((&(*p).langStr), TM__vYBWrr780p7faFzauVMtPg_515);
|
|
}
|
|
static N_INLINE(NimStringV2, X5BX5D___pureZstrutils_1307)(NimStringV2 s, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x) {
|
|
NimStringV2 result;
|
|
NI a;
|
|
NI L;
|
|
result.len = 0; result.p = NIM_NIL;
|
|
a = x.a;
|
|
L = (NI)((NI)((NI)(s.len - x.b) - a) + ((NI)1));
|
|
result = mnewString(((NI) (L)));
|
|
{
|
|
NI i;
|
|
NI i_2;
|
|
i = (NI)0;
|
|
i_2 = ((NI)0);
|
|
{
|
|
while (1) {
|
|
if (!(i_2 < L)) goto LA3 ;
|
|
i = i_2;
|
|
nimPrepareStrMutationV2((&result));
|
|
result.p->data[i] = s.p->data[(NI)(i + a)];
|
|
i_2 += ((NI)1);
|
|
} LA3: ;
|
|
}
|
|
}
|
|
return result;
|
|
}
|
|
static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___stdZenumutils_128)(NI a, NI b) {
|
|
tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA result;
|
|
nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA));
|
|
nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA));
|
|
result.a = a;
|
|
result.b = b;
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(NI, getField1Int__packagesZdocutilsZrstgen_8806)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2 fieldName) {
|
|
NI result;
|
|
NimStringV2 value;
|
|
NI number;
|
|
NI nChars;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
result = (NI)0;
|
|
value.len = 0; value.p = NIM_NIL;
|
|
value = getFieldValue__packagesZdocutilsZrst_9346(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
number = (NI)0;
|
|
nChars = parseInt__pureZparseutils_832(value, (&number), ((NI)0));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
if (!(nChars == ((NI)0))) goto LA4_;
|
|
{
|
|
if (!(value.len == ((NI)0))) goto LA8_;
|
|
result = ((NI)1);
|
|
}
|
|
goto LA6_;
|
|
LA8_: ;
|
|
{
|
|
NimStringV2 colontmpD_;
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T12_;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
T12_[0] = fieldName;
|
|
T12_[1] = value;
|
|
colontmpD_ = nsuFormatOpenArray(TM__vYBWrr780p7faFzauVMtPg_531, T12_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA11_;
|
|
rstMessage__packagesZdocutilsZrst_3414((*d).filenames, (*d).msgHandler, (*n)._kind_8.info, ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ)9), colontmpD_);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA11_;
|
|
{
|
|
LA11_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA6_: ;
|
|
}
|
|
goto LA2_;
|
|
LA4_: ;
|
|
{
|
|
NimStringV2 colontmpD__2;
|
|
NimStringV2 colontmpD__3;
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T19_;
|
|
tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T20_;
|
|
if (!(nChars < value.len)) goto LA16_;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
|
|
T19_[0] = fieldName;
|
|
T20_ = dotdot___stdZenumutils_128(nChars, ((NI)1));
|
|
colontmpD__2 = X5BX5D___pureZstrutils_1307(value, T20_);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
|
|
T19_[1] = colontmpD__2;
|
|
colontmpD__3 = nsuFormatOpenArray(TM__vYBWrr780p7faFzauVMtPg_533, T19_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
|
|
rstMessage__packagesZdocutilsZrst_3414((*d).filenames, (*d).msgHandler, (*n)._kind_8.info, ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ)9), colontmpD__3);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
|
|
{
|
|
LA18_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
goto LA2_;
|
|
LA16_: ;
|
|
{
|
|
result = number;
|
|
}
|
|
LA2_: ;
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&value));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, parseCodeBlockField__packagesZdocutilsZrstgen_8834)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, tyObject_CodeBlockParams__sfxlxgvTVIvKgcvY2mQViA* params) {
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 colontmpD__2;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
colontmpD_ = getArgument__packagesZdocutilsZrst_75(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmpD__2 = nsuToLowerAsciiStr(colontmpD_);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
if (eqStrings(colontmpD__2, TM__vYBWrr780p7faFzauVMtPg_517)) goto LA2_;
|
|
if (eqStrings(colontmpD__2, TM__vYBWrr780p7faFzauVMtPg_519)) goto LA3_;
|
|
if (eqStrings(colontmpD__2, TM__vYBWrr780p7faFzauVMtPg_521)) goto LA3_;
|
|
if (eqStrings(colontmpD__2, TM__vYBWrr780p7faFzauVMtPg_523)) goto LA4_;
|
|
if (eqStrings(colontmpD__2, TM__vYBWrr780p7faFzauVMtPg_525)) goto LA5_;
|
|
if (eqStrings(colontmpD__2, TM__vYBWrr780p7faFzauVMtPg_527)) goto LA5_;
|
|
if (eqStrings(colontmpD__2, TM__vYBWrr780p7faFzauVMtPg_529)) goto LA6_;
|
|
goto LA7_;
|
|
LA2_: ;
|
|
{
|
|
NI T10_;
|
|
(*params).numberLines = NIM_TRUE;
|
|
T10_ = (NI)0;
|
|
T10_ = getField1Int__packagesZdocutilsZrstgen_8806(d, n, TM__vYBWrr780p7faFzauVMtPg_534);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
(*params).startLine = T10_;
|
|
}
|
|
goto LA8_;
|
|
LA3_: ;
|
|
{
|
|
NimStringV2 colontmpD__3;
|
|
NimStringV2 T12_;
|
|
colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
|
|
colontmpD__3 = getFieldValue__packagesZdocutilsZrst_9346(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T12_.len = 0; T12_.p = NIM_NIL;
|
|
T12_ = nsuStrip(colontmpD__3, NIM_TRUE, NIM_TRUE, TM__vYBWrr780p7faFzauVMtPg_204);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
eqsink___stdZassertions_19((&(*params).filename), T12_);
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
}
|
|
goto LA8_;
|
|
LA4_: ;
|
|
{
|
|
NimStringV2 colontmpD__4;
|
|
NimStringV2 T15_;
|
|
colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
|
|
colontmpD__4 = getFieldValue__packagesZdocutilsZrst_9346(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA14_;
|
|
T15_.len = 0; T15_.p = NIM_NIL;
|
|
T15_ = nsuStrip(colontmpD__4, NIM_TRUE, NIM_TRUE, TM__vYBWrr780p7faFzauVMtPg_204);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA14_;
|
|
eqsink___stdZassertions_19((&(*params).testCmd), T15_);
|
|
{
|
|
if (!((*params).testCmd.len == ((NI)0))) goto LA18_;
|
|
eqsink___stdZassertions_19((&(*params).testCmd), TM__vYBWrr780p7faFzauVMtPg_536);
|
|
}
|
|
goto LA16_;
|
|
LA18_: ;
|
|
{
|
|
NimStringV2 T21_;
|
|
T21_.len = 0; T21_.p = NIM_NIL;
|
|
T21_ = nsuUnescape((*params).testCmd, TM__vYBWrr780p7faFzauVMtPg_537, TM__vYBWrr780p7faFzauVMtPg_538);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA14_;
|
|
eqsink___stdZassertions_19((&(*params).testCmd), T21_);
|
|
}
|
|
LA16_: ;
|
|
{
|
|
LA14_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__4));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
goto LA8_;
|
|
LA5_: ;
|
|
{
|
|
NimStringV2 colontmpD__5;
|
|
NI T26_;
|
|
colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
|
|
colontmpD__5 = getArgument__packagesZdocutilsZrst_75(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA25_;
|
|
T26_ = (NI)0;
|
|
T26_ = getField1Int__packagesZdocutilsZrstgen_8806(d, n, colontmpD__5);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA25_;
|
|
(*params).status = T26_;
|
|
{
|
|
LA25_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__5));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
goto LA8_;
|
|
LA6_: ;
|
|
{
|
|
NimStringV2 colontmpD__6;
|
|
NimStringV2 T30_;
|
|
tyEnum_SourceLanguage__yW5C9bHJV9a9bc7MnoMHmB85g T31_;
|
|
colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
|
|
colontmpD__6 = getFieldValue__packagesZdocutilsZrst_9346(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T30_.len = 0; T30_.p = NIM_NIL;
|
|
T30_ = nsuStrip(colontmpD__6, NIM_TRUE, NIM_TRUE, TM__vYBWrr780p7faFzauVMtPg_204);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
eqsink___stdZassertions_19((&(*params).langStr), T30_);
|
|
T31_ = (tyEnum_SourceLanguage__yW5C9bHJV9a9bc7MnoMHmB85g)0;
|
|
T31_ = getSourceLanguage__packagesZdocutilsZhighlite_144((*params).langStr);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
(*params).lang = T31_;
|
|
eqdestroy___stdZassertions_13((&colontmpD__6));
|
|
}
|
|
goto LA8_;
|
|
LA7_: ;
|
|
{
|
|
NimStringV2 colontmpD__7;
|
|
colontmpD__7.len = 0; colontmpD__7.p = NIM_NIL;
|
|
colontmpD__7 = getArgument__packagesZdocutilsZrst_75(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA33_;
|
|
rstMessage__packagesZdocutilsZrst_3414((*d).filenames, (*d).msgHandler, (*n)._kind_8.info, ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ)16), colontmpD__7);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA33_;
|
|
{
|
|
LA33_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__7));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA8_: ;
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, parseCodeBlockParams__packagesZdocutilsZrstgen_8838)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, tyObject_CodeBlockParams__sfxlxgvTVIvKgcvY2mQViA* Result) {
|
|
NimStringV2 colontmpD_;
|
|
NIM_BOOL oldNimErrFin11_;
|
|
NimStringV2 T17_;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
nimZeroMem((void*)Result, sizeof(tyObject_CodeBlockParams__sfxlxgvTVIvKgcvY2mQViA));
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
init__packagesZdocutilsZrstgen_87(Result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
if (!(n == 0)) goto LA4_;
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
goto BeforeRet_;
|
|
}
|
|
LA4_: ;
|
|
{
|
|
if (!!(((*n).sons.p->data[((NI)1)] == 0))) goto LA8_;
|
|
{
|
|
tySequence__V9cBl110bSARQ3Xk9bVaXHDw colontmp_;
|
|
tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ** son;
|
|
NI i;
|
|
NI L;
|
|
NI T12_;
|
|
colontmp_.len = 0; colontmp_.p = NIM_NIL;
|
|
son = (tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ**)0;
|
|
eqcopy___packagesZdocutilsZrstast_143((&colontmp_), (*(*n).sons.p->data[((NI)1)]).sons);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA11_;
|
|
i = ((NI)0);
|
|
T12_ = colontmp_.len;
|
|
L = T12_;
|
|
{
|
|
while (1) {
|
|
if (!(i < L)) goto LA14 ;
|
|
son = &colontmp_.p->data[i];
|
|
parseCodeBlockField__packagesZdocutilsZrstgen_8834(d, (*son), Result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA11_;
|
|
i += ((NI)1);
|
|
} LA14: ;
|
|
}
|
|
{
|
|
LA11_:;
|
|
}
|
|
{
|
|
oldNimErrFin11_ = *nimErr_; *nimErr_ = NIM_FALSE;
|
|
eqdestroy___packagesZdocutilsZrstast_140((&colontmp_));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
*nimErr_ = oldNimErrFin11_;
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
}
|
|
LA8_: ;
|
|
colontmpD_ = getArgument__packagesZdocutilsZrst_75(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T17_.len = 0; T17_.p = NIM_NIL;
|
|
T17_ = nsuStrip(colontmpD_, NIM_TRUE, NIM_TRUE, TM__vYBWrr780p7faFzauVMtPg_204);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
eqsink___stdZassertions_19((&(*Result).langStr), T17_);
|
|
{
|
|
tyEnum_SourceLanguage__yW5C9bHJV9a9bc7MnoMHmB85g T22_;
|
|
if (!!(((*Result).langStr.len == 0))) goto LA20_;
|
|
T22_ = (tyEnum_SourceLanguage__yW5C9bHJV9a9bc7MnoMHmB85g)0;
|
|
T22_ = getSourceLanguage__packagesZdocutilsZhighlite_144((*Result).langStr);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
(*Result).lang = T22_;
|
|
}
|
|
LA20_: ;
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___packagesZdocutilsZrstgen_8942)(tyObject_CodeBlockParams__sfxlxgvTVIvKgcvY2mQViA* dest) {
|
|
eqdestroy___stdZassertions_13((&(*dest).langStr));
|
|
eqdestroy___stdZassertions_13((&(*dest).filename));
|
|
eqdestroy___stdZassertions_13((&(*dest).testCmd));
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(tyTuple__UV3llMMYFckfui8YMBuUZA, buildLinesHtmlTable__packagesZdocutilsZrstgen_8859)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_CodeBlockParams__sfxlxgvTVIvKgcvY2mQViA* params, NimStringV2 code, NimStringV2 idStr) {
|
|
tyTuple__UV3llMMYFckfui8YMBuUZA result;
|
|
NimStringV2 id;
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 colontmpD__2;
|
|
NimStringV2 colontmpD__3;
|
|
NimStringV2 colontmpD__4;
|
|
NimStringV2 colontmpD__5;
|
|
NimStringV2 colontmpD__6;
|
|
NimStringV2 colontmpD__7;
|
|
NimStringV2 colontmpD__8;
|
|
NimStringV2 colontmpD__9;
|
|
NimStringV2 colontmpD__10;
|
|
NI codeLines;
|
|
NimStringV2 T10_;
|
|
tyArray__nHXaesL0DJZHyVS07ARPRA T11_;
|
|
NI line;
|
|
NimStringV2 T15_;
|
|
tyArray__24KAM9afIUgUaqBaEBB6r9bg T16_;
|
|
NimStringV2 T17_;
|
|
NimStringV2 blitTmp_4;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
nimZeroMem((void*)(&result), sizeof(tyTuple__UV3llMMYFckfui8YMBuUZA));
|
|
id.len = 0; id.p = NIM_NIL;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
|
|
colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
|
|
colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
|
|
colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
|
|
colontmpD__7.len = 0; colontmpD__7.p = NIM_NIL;
|
|
colontmpD__8.len = 0; colontmpD__8.p = NIM_NIL;
|
|
colontmpD__9.len = 0; colontmpD__9.p = NIM_NIL;
|
|
colontmpD__10.len = 0; colontmpD__10.p = NIM_NIL;
|
|
(*d).listingCounter += ((NI)1);
|
|
id = dollar___systemZdollars_3((*d).listingCounter);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
NimStringV2 colontmp_;
|
|
NimStringV2 colontmpD__11;
|
|
NimStringV2 colontmp__2;
|
|
NimStringV2 colontmpD__12;
|
|
tyArray__24KAM9afIUgUaqBaEBB6r9bg T7_;
|
|
NimStringV2 blitTmp;
|
|
NimStringV2 blitTmp_2;
|
|
NimStringV2 blitTmp_3;
|
|
if (!!((*params).numberLines)) goto LA4_;
|
|
colontmp_.len = 0; colontmp_.p = NIM_NIL;
|
|
colontmpD__11.len = 0; colontmpD__11.p = NIM_NIL;
|
|
colontmp__2.len = 0; colontmp__2.p = NIM_NIL;
|
|
colontmpD__12.len = 0; colontmpD__12.p = NIM_NIL;
|
|
colontmpD__11 = getOrDefault__pureZstrtabs_335((*d).config, TM__vYBWrr780p7faFzauVMtPg_542, TM__vYBWrr780p7faFzauVMtPg_543);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA6_;
|
|
T7_[0] = id;
|
|
T7_[1] = sourceLanguageToStr__packagesZdocutilsZhighlite_68[((*params).lang)- 0];
|
|
T7_[2] = idStr;
|
|
colontmp_ = nsuFormatOpenArray(colontmpD__11, T7_, 3);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA6_;
|
|
colontmpD__12 = getOrDefault__pureZstrtabs_335((*d).config, TM__vYBWrr780p7faFzauVMtPg_545, TM__vYBWrr780p7faFzauVMtPg_546);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA6_;
|
|
blitTmp = id;
|
|
id.len = 0; id.p = NIM_NIL;
|
|
colontmp__2 = nsuFormatSingleElem(colontmpD__12, blitTmp);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA6_;
|
|
blitTmp_2 = colontmp_;
|
|
colontmp_.len = 0; colontmp_.p = NIM_NIL;
|
|
result.Field0 = blitTmp_2;
|
|
blitTmp_3 = colontmp__2;
|
|
colontmp__2.len = 0; colontmp__2.p = NIM_NIL;
|
|
result.Field1 = blitTmp_3;
|
|
eqdestroy___stdZassertions_13((&colontmpD__12));
|
|
eqdestroy___stdZassertions_13((&colontmp__2));
|
|
eqdestroy___stdZassertions_13((&colontmpD__11));
|
|
eqdestroy___stdZassertions_13((&colontmp_));
|
|
eqdestroy___stdZassertions_13((&colontmpD__10));
|
|
eqdestroy___stdZassertions_13((&colontmpD__9));
|
|
eqdestroy___stdZassertions_13((&colontmpD__8));
|
|
eqdestroy___stdZassertions_13((&colontmpD__6));
|
|
eqdestroy___stdZassertions_13((&colontmpD__5));
|
|
eqdestroy___stdZassertions_13((&colontmpD__4));
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
eqdestroy___stdZassertions_13((&id));
|
|
goto BeforeRet_;
|
|
{
|
|
LA6_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__12));
|
|
eqdestroy___stdZassertions_13((&colontmp__2));
|
|
eqdestroy___stdZassertions_13((&colontmpD__11));
|
|
eqdestroy___stdZassertions_13((&colontmp_));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA4_: ;
|
|
colontmpD_ = nsuStrip(code, NIM_TRUE, NIM_TRUE, TM__vYBWrr780p7faFzauVMtPg_204);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
codeLines = nsuCountLines(colontmpD_);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T10_.len = 0; T10_.p = NIM_NIL;
|
|
T11_[0] = idStr;
|
|
colontmpD__2 = nsuFormatOpenArray(TM__vYBWrr780p7faFzauVMtPg_548, T11_, 1);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T10_ = rawNewString(colontmpD__2.len + 61);
|
|
appendString((&T10_), colontmpD__2);
|
|
appendString((&T10_), TM__vYBWrr780p7faFzauVMtPg_550);
|
|
eqsink___stdZassertions_19((&result.Field0), T10_);
|
|
line = (*params).startLine;
|
|
{
|
|
while (1) {
|
|
NimStringV2 colontmpD__13;
|
|
NimStringV2 colontmpD__14;
|
|
NimStringV2 T14_;
|
|
if (!(((NI)0) < codeLines)) goto LA13 ;
|
|
colontmpD__13.len = 0; colontmpD__13.p = NIM_NIL;
|
|
colontmpD__14.len = 0; colontmpD__14.p = NIM_NIL;
|
|
T14_.len = 0; T14_.p = NIM_NIL;
|
|
colontmpD__13 = dollar___systemZdollars_3(line);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T14_ = rawNewString(colontmpD__13.len + 1);
|
|
appendString((&T14_), colontmpD__13);
|
|
appendString((&T14_), TM__vYBWrr780p7faFzauVMtPg_551);
|
|
colontmpD__14 = T14_;
|
|
prepareAdd((&result.Field0), colontmpD__14.len + 0);
|
|
appendString((&result.Field0), colontmpD__14);
|
|
line += ((NI)1);
|
|
codeLines -= ((NI)1);
|
|
eqdestroy___stdZassertions_13((&colontmpD__14));
|
|
eqdestroy___stdZassertions_13((&colontmpD__13));
|
|
} LA13: ;
|
|
}
|
|
T15_.len = 0; T15_.p = NIM_NIL;
|
|
colontmpD__3 = getOrDefault__pureZstrtabs_335((*d).config, TM__vYBWrr780p7faFzauVMtPg_554, TM__vYBWrr780p7faFzauVMtPg_555);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T16_[0] = id;
|
|
T16_[1] = sourceLanguageToStr__packagesZdocutilsZhighlite_68[((*params).lang)- 0];
|
|
T16_[2] = idStr;
|
|
colontmpD__4 = nsuFormatOpenArray(colontmpD__3, T16_, 3);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T15_ = rawNewString(colontmpD__4.len + 15);
|
|
appendString((&T15_), TM__vYBWrr780p7faFzauVMtPg_553);
|
|
appendString((&T15_), colontmpD__4);
|
|
colontmpD__5 = T15_;
|
|
prepareAdd((&result.Field0), colontmpD__5.len + 0);
|
|
appendString((&result.Field0), colontmpD__5);
|
|
T17_.len = 0; T17_.p = NIM_NIL;
|
|
colontmpD__6 = getOrDefault__pureZstrtabs_335((*d).config, TM__vYBWrr780p7faFzauVMtPg_556, TM__vYBWrr780p7faFzauVMtPg_557);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmpD__7.len = 0; colontmpD__7.p = NIM_NIL;
|
|
eqcopy___stdZassertions_16((&colontmpD__7), id);
|
|
colontmpD__8 = nsuFormatSingleElem(colontmpD__6, colontmpD__7);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmpD__9 = getOrDefault__pureZstrtabs_335((*d).config, TM__vYBWrr780p7faFzauVMtPg_561, TM__vYBWrr780p7faFzauVMtPg_562);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
blitTmp_4 = id;
|
|
id.len = 0; id.p = NIM_NIL;
|
|
colontmpD__10 = nsuFormatSingleElem(colontmpD__9, blitTmp_4);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T17_ = rawNewString(colontmpD__8.len + colontmpD__10.len + 26);
|
|
appendString((&T17_), colontmpD__8);
|
|
appendString((&T17_), TM__vYBWrr780p7faFzauVMtPg_559);
|
|
appendString((&T17_), colontmpD__10);
|
|
eqsink___stdZassertions_19((&result.Field1), T17_);
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__10));
|
|
eqdestroy___stdZassertions_13((&colontmpD__9));
|
|
eqdestroy___stdZassertions_13((&colontmpD__8));
|
|
eqdestroy___stdZassertions_13((&colontmpD__6));
|
|
eqdestroy___stdZassertions_13((&colontmpD__5));
|
|
eqdestroy___stdZassertions_13((&colontmpD__4));
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
eqdestroy___stdZassertions_13((&id));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderCode__packagesZdocutilsZrstgen_8898)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result) {
|
|
tyObject_CodeBlockParams__sfxlxgvTVIvKgcvY2mQViA params;
|
|
tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* m;
|
|
NimStringV2 blockStart;
|
|
NimStringV2 blockEnd;
|
|
tyArray__8ZvwQIddfpj2THRVPsFzIQ T50_;
|
|
tyArray__8ZvwQIddfpj2THRVPsFzIQ T68_;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
nimZeroMem((void*)(¶ms), sizeof(tyObject_CodeBlockParams__sfxlxgvTVIvKgcvY2mQViA));
|
|
m = NIM_NIL;
|
|
blockStart.len = 0; blockStart.p = NIM_NIL;
|
|
blockEnd.len = 0; blockEnd.p = NIM_NIL;
|
|
parseCodeBlockParams__packagesZdocutilsZrstgen_8838(d, n, (¶ms));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
if (!((*n).sons.p->data[((NI)2)] == ((tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*) NIM_NIL))) goto LA4_;
|
|
eqdestroy___stdZassertions_13((&blockEnd));
|
|
eqdestroy___stdZassertions_13((&blockStart));
|
|
eqdestroy___packagesZdocutilsZrstgen_8942((¶ms));
|
|
goto BeforeRet_;
|
|
}
|
|
LA4_: ;
|
|
m = (*(*n).sons.p->data[((NI)2)]).sons.p->data[((NI)0)];
|
|
{
|
|
NIM_BOOL T8_;
|
|
T8_ = (NIM_BOOL)0;
|
|
T8_ = (((NI)0) < params.testCmd.len);
|
|
if (!(T8_)) goto LA9_;
|
|
T8_ = !(((*d).onTestSnippet.ClP_0 == TM__vYBWrr780p7faFzauVMtPg_539.ClP_0 && (*d).onTestSnippet.ClE_0 == TM__vYBWrr780p7faFzauVMtPg_539.ClE_0));
|
|
LA9_: ;
|
|
if (!T8_) goto LA10_;
|
|
(*d).onTestSnippet.ClE_0? (*d).onTestSnippet.ClP_0(d, params.filename, params.testCmd, params.status, (*m)._kind_1.text, (*d).onTestSnippet.ClE_0):((TM__vYBWrr780p7faFzauVMtPg_540)((*d).onTestSnippet.ClP_0))(d, params.filename, params.testCmd, params.status, (*m)._kind_1.text);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA10_: ;
|
|
switch ((*d).target) {
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0):
|
|
{
|
|
{
|
|
tyTuple__UV3llMMYFckfui8YMBuUZA _;
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 colontmpD__2;
|
|
NimStringV2 T18_;
|
|
if (!((*n).kind == ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)55))) goto LA15_;
|
|
nimZeroMem((void*)(&_), sizeof(tyTuple__UV3llMMYFckfui8YMBuUZA));
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
T18_.len = 0; T18_.p = NIM_NIL;
|
|
{
|
|
if (!((*n).anchor.len == 0)) goto LA21_;
|
|
colontmpD_ = TM__vYBWrr780p7faFzauVMtPg_563;
|
|
T18_ = colontmpD_;
|
|
}
|
|
goto LA19_;
|
|
LA21_: ;
|
|
{
|
|
NimStringV2 T24_;
|
|
T24_.len = 0; T24_.p = NIM_NIL;
|
|
switch ((*d).target) {
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0):
|
|
{
|
|
NimStringV2 T26_;
|
|
T26_.len = 0; T26_.p = NIM_NIL;
|
|
T26_ = rawNewString((*n).anchor.len + 6);
|
|
appendString((&T26_), TM__vYBWrr780p7faFzauVMtPg_564);
|
|
appendString((&T26_), (*n).anchor);
|
|
appendString((&T26_), TM__vYBWrr780p7faFzauVMtPg_565);
|
|
colontmpD__2 = T26_;
|
|
}
|
|
break;
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1):
|
|
{
|
|
NimStringV2 T28_;
|
|
T28_.len = 0; T28_.p = NIM_NIL;
|
|
T28_ = rawNewString((*n).anchor.len + (*n).anchor.len + 24);
|
|
appendString((&T28_), TM__vYBWrr780p7faFzauVMtPg_566);
|
|
appendString((&T28_), (*n).anchor);
|
|
appendString((&T28_), TM__vYBWrr780p7faFzauVMtPg_567);
|
|
appendString((&T28_), (*n).anchor);
|
|
appendString((&T28_), TM__vYBWrr780p7faFzauVMtPg_568);
|
|
colontmpD__2 = T28_;
|
|
}
|
|
break;
|
|
}
|
|
T18_ = colontmpD__2;
|
|
}
|
|
LA19_: ;
|
|
_ = buildLinesHtmlTable__packagesZdocutilsZrstgen_8859(d, (¶ms), (*m)._kind_1.text, T18_);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA17_;
|
|
blockStart = _.Field0;
|
|
blockEnd = _.Field1;
|
|
{
|
|
LA17_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
goto LA13_;
|
|
LA15_: ;
|
|
{
|
|
blockStart = TM__vYBWrr780p7faFzauVMtPg_570;
|
|
blockEnd = TM__vYBWrr780p7faFzauVMtPg_572;
|
|
}
|
|
LA13_: ;
|
|
}
|
|
break;
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1):
|
|
{
|
|
{
|
|
NimStringV2 colontmpD__3;
|
|
NimStringV2 colontmpD__4;
|
|
NimStringV2 T37_;
|
|
NimStringV2 T38_;
|
|
if (!((*n).kind == ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)55))) goto LA35_;
|
|
colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
|
|
colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
|
|
T37_.len = 0; T37_.p = NIM_NIL;
|
|
T38_.len = 0; T38_.p = NIM_NIL;
|
|
{
|
|
if (!((*n).anchor.len == 0)) goto LA41_;
|
|
colontmpD__3 = TM__vYBWrr780p7faFzauVMtPg_575;
|
|
T38_ = colontmpD__3;
|
|
}
|
|
goto LA39_;
|
|
LA41_: ;
|
|
{
|
|
NimStringV2 T44_;
|
|
T44_.len = 0; T44_.p = NIM_NIL;
|
|
switch ((*d).target) {
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0):
|
|
{
|
|
NimStringV2 T46_;
|
|
T46_.len = 0; T46_.p = NIM_NIL;
|
|
T46_ = rawNewString((*n).anchor.len + 6);
|
|
appendString((&T46_), TM__vYBWrr780p7faFzauVMtPg_576);
|
|
appendString((&T46_), (*n).anchor);
|
|
appendString((&T46_), TM__vYBWrr780p7faFzauVMtPg_577);
|
|
colontmpD__4 = T46_;
|
|
}
|
|
break;
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1):
|
|
{
|
|
NimStringV2 T48_;
|
|
T48_.len = 0; T48_.p = NIM_NIL;
|
|
T48_ = rawNewString((*n).anchor.len + (*n).anchor.len + 24);
|
|
appendString((&T48_), TM__vYBWrr780p7faFzauVMtPg_578);
|
|
appendString((&T48_), (*n).anchor);
|
|
appendString((&T48_), TM__vYBWrr780p7faFzauVMtPg_579);
|
|
appendString((&T48_), (*n).anchor);
|
|
appendString((&T48_), TM__vYBWrr780p7faFzauVMtPg_580);
|
|
colontmpD__4 = T48_;
|
|
}
|
|
break;
|
|
}
|
|
T38_ = colontmpD__4;
|
|
}
|
|
LA39_: ;
|
|
T37_ = rawNewString(T38_.len + 17);
|
|
appendString((&T37_), TM__vYBWrr780p7faFzauVMtPg_574);
|
|
appendString((&T37_), T38_);
|
|
appendString((&T37_), TM__vYBWrr780p7faFzauVMtPg_582);
|
|
blockStart = T37_;
|
|
blockEnd = TM__vYBWrr780p7faFzauVMtPg_584;
|
|
eqdestroy___stdZassertions_13((&colontmpD__4));
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
}
|
|
goto LA33_;
|
|
LA35_: ;
|
|
{
|
|
blockStart = TM__vYBWrr780p7faFzauVMtPg_586;
|
|
blockEnd = TM__vYBWrr780p7faFzauVMtPg_587;
|
|
}
|
|
LA33_: ;
|
|
}
|
|
break;
|
|
}
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, blockStart, blockStart, T50_, 0);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
NimStringV2 colontmpD__5;
|
|
if (!(params.lang == ((tyEnum_SourceLanguage__yW5C9bHJV9a9bc7MnoMHmB85g)0))) goto LA53_;
|
|
colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
|
|
{
|
|
NIM_BOOL T58_;
|
|
T58_ = (NIM_BOOL)0;
|
|
T58_ = (((NI)0) < params.langStr.len);
|
|
if (!(T58_)) goto LA59_;
|
|
colontmpD__5 = nsuToLowerAsciiStr(params.langStr);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA55_;
|
|
T58_ = !(eqStrings(colontmpD__5, TM__vYBWrr780p7faFzauVMtPg_589));
|
|
LA59_: ;
|
|
if (!T58_) goto LA60_;
|
|
rstMessage__packagesZdocutilsZrst_3414((*d).filenames, (*d).msgHandler, (*n)._kind_8.info, ((tyEnum_MsgKind__j4Az8tPCEtMOVV8Ta9bk9auQ)15), params.langStr);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA55_;
|
|
}
|
|
LA60_: ;
|
|
{
|
|
NimStringV2 colontmp_;
|
|
NIM_CHAR letter;
|
|
NI i;
|
|
NI L;
|
|
colontmp_.len = 0; colontmp_.p = NIM_NIL;
|
|
letter = (NIM_CHAR)0;
|
|
colontmp_ = (*m)._kind_1.text;
|
|
i = ((NI)0);
|
|
L = colontmp_.len;
|
|
{
|
|
while (1) {
|
|
if (!(i < L)) goto LA64 ;
|
|
letter = colontmp_.p->data[i];
|
|
escChar__packagesZdocutilsZrstgen_389((*d).target, result, letter, ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)0));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA55_;
|
|
i += ((NI)1);
|
|
} LA64: ;
|
|
}
|
|
}
|
|
{
|
|
LA55_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__5));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
goto LA51_;
|
|
LA53_: ;
|
|
{
|
|
renderCodeLang__packagesZdocutilsZrstgen_8888(result, params.lang, (*m)._kind_1.text, (*d).target);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA51_: ;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, blockEnd, blockEnd, T68_, 0);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&blockEnd));
|
|
eqdestroy___stdZassertions_13((&blockStart));
|
|
eqdestroy___packagesZdocutilsZrstgen_8942((¶ms));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderContainer__packagesZdocutilsZrstgen_8958)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result) {
|
|
NimStringV2 tmp;
|
|
NimStringV2 arg;
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 colontmpD__2;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
tmp.len = 0; tmp.p = NIM_NIL;
|
|
arg.len = 0; arg.p = NIM_NIL;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
tmp = TM__vYBWrr780p7faFzauVMtPg_590;
|
|
renderRstToOut__packagesZdocutilsZrstgen_475(d, (*n).sons.p->data[((NI)2)], (&tmp));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmpD_ = getArgument__packagesZdocutilsZrst_75(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmpD__2 = nsuStrip(colontmpD_, NIM_TRUE, NIM_TRUE, TM__vYBWrr780p7faFzauVMtPg_204);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
arg = esc__packagesZdocutilsZrstgen_415((*d).target, colontmpD__2, ((NI)-1), ((tyEnum_EscapeMode__dkNCmHqexjnwZO5F89buiOQ)0));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
tyArray__nHXaesL0DJZHyVS07ARPRA T6_;
|
|
if (!(arg.len == 0)) goto LA4_;
|
|
T6_[0] = tmp;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, TM__vYBWrr780p7faFzauVMtPg_592, TM__vYBWrr780p7faFzauVMtPg_593, T6_, 1);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
goto LA2_;
|
|
LA4_: ;
|
|
{
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T8_;
|
|
T8_[0] = arg;
|
|
T8_[1] = tmp;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, TM__vYBWrr780p7faFzauVMtPg_595, TM__vYBWrr780p7faFzauVMtPg_597, T8_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA2_: ;
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
eqdestroy___stdZassertions_13((&arg));
|
|
eqdestroy___stdZassertions_13((&tmp));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderIndexTerm__packagesZdocutilsZrstgen_557)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result) {
|
|
NimStringV2 refname;
|
|
NimStringV2 id;
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 term;
|
|
NimStringV2 colontmpD__2;
|
|
NimStringV2 colontmpD__3;
|
|
NimStringV2 T9_;
|
|
NI T10_;
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T11_;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
refname.len = 0; refname.p = NIM_NIL;
|
|
id.len = 0; id.p = NIM_NIL;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
term.len = 0; term.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
|
|
refname = rstnodeToRefname__packagesZdocutilsZrst_68(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
NIM_BOOL T4_;
|
|
NI T7_;
|
|
T4_ = (NIM_BOOL)0;
|
|
T4_ = hasKey__packagesZdocutilsZrstgen_602((*d).seenIndexTerms, refname);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
if (!T4_) goto LA5_;
|
|
T7_ = (NI)0;
|
|
T7_ = getOrDefault__packagesZdocutilsZrstgen_915((*d).seenIndexTerms, refname);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
X5BX5Deq___packagesZdocutilsZrstgen_1019((&(*d).seenIndexTerms), refname, (NI)(T7_ + ((NI)1)));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
goto LA2_;
|
|
LA5_: ;
|
|
{
|
|
X5BX5Deq___packagesZdocutilsZrstgen_1019((&(*d).seenIndexTerms), refname, ((NI)1));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA2_: ;
|
|
T9_.len = 0; T9_.p = NIM_NIL;
|
|
T10_ = (NI)0;
|
|
T10_ = getOrDefault__packagesZdocutilsZrstgen_915((*d).seenIndexTerms, refname);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmpD_ = dollar___systemZdollars_3(T10_);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T9_ = rawNewString(refname.len + colontmpD_.len + 1);
|
|
appendString((&T9_), refname);
|
|
appendChar((&T9_), 95);
|
|
appendString((&T9_), colontmpD_);
|
|
id = T9_;
|
|
term = TM__vYBWrr780p7faFzauVMtPg_632;
|
|
renderAux__packagesZdocutilsZrstgen_479(d, n, (&term));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmpD__2 = nosextractFilename((*d).filename);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmpD__3 = noschangeFileExt(colontmpD__2, TM__vYBWrr780p7faFzauVMtPg_633);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
setIndexTerm__packagesZdocutilsZrstgen_536(d, colontmpD__3, id, term, (*d).currentSection, TM__vYBWrr780p7faFzauVMtPg_634);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T11_[0] = id;
|
|
T11_[1] = term;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, TM__vYBWrr780p7faFzauVMtPg_636, TM__vYBWrr780p7faFzauVMtPg_638, T11_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
eqdestroy___stdZassertions_13((&term));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
eqdestroy___stdZassertions_13((&id));
|
|
eqdestroy___stdZassertions_13((&refname));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderSmiley__packagesZdocutilsZrstgen_8802)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result) {
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 colontmpD__2;
|
|
NimStringV2 colontmpD__3;
|
|
tyArray__nHXaesL0DJZHyVS07ARPRA T2_;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
|
|
colontmpD_ = getOrDefault__pureZstrtabs_335((*d).config, TM__vYBWrr780p7faFzauVMtPg_653, TM__vYBWrr780p7faFzauVMtPg_654);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
eqcopy___stdZassertions_16((&colontmpD__2), (*n)._kind_1.text);
|
|
colontmpD__3 = nsuFormatSingleElem(colontmpD_, colontmpD__2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T2_[0] = colontmpD__3;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, TM__vYBWrr780p7faFzauVMtPg_649, TM__vYBWrr780p7faFzauVMtPg_651, T2_, 1);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderRstToOut__packagesZdocutilsZrstgen_475)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result) {
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
{
|
|
if (!(n == ((tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ*) NIM_NIL))) goto LA3_;
|
|
goto BeforeRet_;
|
|
}
|
|
LA3_: ;
|
|
switch ((*n).kind) {
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)0):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_479(d, n, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)1):
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)3):
|
|
{
|
|
renderHeadline__packagesZdocutilsZrstgen_8713(d, n, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)2):
|
|
{
|
|
renderOverline__packagesZdocutilsZrstgen_8739(d, n, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)4):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_118, TM__vYBWrr780p7faFzauVMtPg_120, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)5):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_122, TM__vYBWrr780p7faFzauVMtPg_124, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)6):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_126, TM__vYBWrr780p7faFzauVMtPg_128, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)7):
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)9):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_130, TM__vYBWrr780p7faFzauVMtPg_132, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)8):
|
|
{
|
|
renderEnumList__packagesZdocutilsZrstgen_8975(d, n, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)10):
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)11):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_183, TM__vYBWrr780p7faFzauVMtPg_185, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)12):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_479(d, n, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)13):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_187, TM__vYBWrr780p7faFzauVMtPg_189, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)14):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_191, TM__vYBWrr780p7faFzauVMtPg_193, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)15):
|
|
{
|
|
NimStringV2 tmp;
|
|
tmp.len = 0; tmp.p = NIM_NIL;
|
|
tmp = TM__vYBWrr780p7faFzauVMtPg_194;
|
|
{
|
|
NI i;
|
|
NI colontmp_;
|
|
NI T20_;
|
|
NI res;
|
|
i = (NI)0;
|
|
colontmp_ = (NI)0;
|
|
T20_ = (NI)0;
|
|
T20_ = len__packagesZdocutilsZrstast_112(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
|
|
colontmp_ = (NI)(T20_ - ((NI)1));
|
|
res = ((NI)0);
|
|
{
|
|
while (1) {
|
|
if (!(res <= colontmp_)) goto LA22 ;
|
|
i = res;
|
|
renderRstToOut__packagesZdocutilsZrstgen_475(d, (*n).sons.p->data[i], (&tmp));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
|
|
res += ((NI)1);
|
|
} LA22: ;
|
|
}
|
|
}
|
|
{
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 colontmpD__2;
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T28_;
|
|
if (!!((tmp.len == ((NI)0)))) goto LA25_;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
T28_[0] = tmp;
|
|
{
|
|
if (!((*n).anchor.len == 0)) goto LA31_;
|
|
colontmpD_ = TM__vYBWrr780p7faFzauVMtPg_198;
|
|
T28_[1] = colontmpD_;
|
|
}
|
|
goto LA29_;
|
|
LA31_: ;
|
|
{
|
|
NimStringV2 T34_;
|
|
T34_.len = 0; T34_.p = NIM_NIL;
|
|
switch ((*d).target) {
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0):
|
|
{
|
|
NimStringV2 T36_;
|
|
T36_.len = 0; T36_.p = NIM_NIL;
|
|
T36_ = rawNewString((*n).anchor.len + 6);
|
|
appendString((&T36_), TM__vYBWrr780p7faFzauVMtPg_199);
|
|
appendString((&T36_), (*n).anchor);
|
|
appendString((&T36_), TM__vYBWrr780p7faFzauVMtPg_200);
|
|
colontmpD__2 = T36_;
|
|
}
|
|
break;
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1):
|
|
{
|
|
NimStringV2 T38_;
|
|
T38_.len = 0; T38_.p = NIM_NIL;
|
|
T38_ = rawNewString((*n).anchor.len + (*n).anchor.len + 24);
|
|
appendString((&T38_), TM__vYBWrr780p7faFzauVMtPg_201);
|
|
appendString((&T38_), (*n).anchor);
|
|
appendString((&T38_), TM__vYBWrr780p7faFzauVMtPg_202);
|
|
appendString((&T38_), (*n).anchor);
|
|
appendString((&T38_), TM__vYBWrr780p7faFzauVMtPg_203);
|
|
colontmpD__2 = T38_;
|
|
}
|
|
break;
|
|
}
|
|
T28_[1] = colontmpD__2;
|
|
}
|
|
LA29_: ;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, TM__vYBWrr780p7faFzauVMtPg_196, TM__vYBWrr780p7faFzauVMtPg_197, T28_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA27_;
|
|
{
|
|
LA27_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA18_;
|
|
}
|
|
LA25_: ;
|
|
{
|
|
LA18_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&tmp));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)16):
|
|
{
|
|
renderField__packagesZdocutilsZrstgen_8964(d, n, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)17):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_216, TM__vYBWrr780p7faFzauVMtPg_218, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)18):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_220, TM__vYBWrr780p7faFzauVMtPg_222, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)60):
|
|
{
|
|
renderRstToOut__packagesZdocutilsZrstgen_475(d, (*n).sons.p->data[((NI)2)], result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)19):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_224, TM__vYBWrr780p7faFzauVMtPg_226, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)20):
|
|
{
|
|
NimStringV2 addclass;
|
|
NimStringV2 colontmpD__3;
|
|
NimStringV2 T50_;
|
|
NimStringV2 T56_;
|
|
addclass.len = 0; addclass.p = NIM_NIL;
|
|
colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
|
|
T50_.len = 0; T50_.p = NIM_NIL;
|
|
{
|
|
if (!((NI)((*n)._kind_6.order % ((NI)2)) == ((NI)1))) goto LA53_;
|
|
addclass = TM__vYBWrr780p7faFzauVMtPg_228;
|
|
}
|
|
goto LA51_;
|
|
LA53_: ;
|
|
{
|
|
addclass = TM__vYBWrr780p7faFzauVMtPg_229;
|
|
}
|
|
LA51_: ;
|
|
T56_.len = 0; T56_.p = NIM_NIL;
|
|
T56_ = rawNewString(addclass.len + 39);
|
|
appendString((&T56_), TM__vYBWrr780p7faFzauVMtPg_231);
|
|
appendString((&T56_), addclass);
|
|
appendString((&T56_), TM__vYBWrr780p7faFzauVMtPg_233);
|
|
colontmpD__3 = T56_;
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, colontmpD__3, TM__vYBWrr780p7faFzauVMtPg_234, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA49_;
|
|
{
|
|
LA49_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)21):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_236, TM__vYBWrr780p7faFzauVMtPg_238, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)25):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_240, TM__vYBWrr780p7faFzauVMtPg_241, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)22):
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)23):
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)24):
|
|
{
|
|
{
|
|
if (!NIM_TRUE) goto LA64_;
|
|
failedAssertImpl__stdZassertions_224(TM__vYBWrr780p7faFzauVMtPg_243);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
LA64_: ;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)26):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_245, TM__vYBWrr780p7faFzauVMtPg_247, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)27):
|
|
{
|
|
NimStringV2 tmp_2;
|
|
NimStringV2 itemEnding;
|
|
NimStringV2 colontmpD__4;
|
|
NimStringV2 colontmpD__5;
|
|
NimStringV2 colontmpD__6;
|
|
NimStringV2 T69_;
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T75_;
|
|
tmp_2.len = 0; tmp_2.p = NIM_NIL;
|
|
itemEnding.len = 0; itemEnding.p = NIM_NIL;
|
|
colontmpD__4.len = 0; colontmpD__4.p = NIM_NIL;
|
|
colontmpD__5.len = 0; colontmpD__5.p = NIM_NIL;
|
|
colontmpD__6.len = 0; colontmpD__6.p = NIM_NIL;
|
|
(*d).curQuotationDepth = ((NI)1);
|
|
tmp_2 = TM__vYBWrr780p7faFzauVMtPg_248;
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_249, TM__vYBWrr780p7faFzauVMtPg_250, (&tmp_2));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA68_;
|
|
T69_.len = 0; T69_.p = NIM_NIL;
|
|
{
|
|
if (!((*d).target == ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0))) goto LA72_;
|
|
itemEnding = TM__vYBWrr780p7faFzauVMtPg_252;
|
|
}
|
|
goto LA70_;
|
|
LA72_: ;
|
|
{
|
|
itemEnding = TM__vYBWrr780p7faFzauVMtPg_254;
|
|
}
|
|
LA70_: ;
|
|
colontmpD__4 = nsuRepeatStr(itemEnding, ((NI) ((NI)((*d).curQuotationDepth - ((NI)1)))));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA68_;
|
|
prepareAdd((&tmp_2), colontmpD__4.len + 0);
|
|
appendString((&tmp_2), colontmpD__4);
|
|
T75_[0] = tmp_2;
|
|
{
|
|
if (!((*n).anchor.len == 0)) goto LA78_;
|
|
colontmpD__5 = TM__vYBWrr780p7faFzauVMtPg_259;
|
|
T75_[1] = colontmpD__5;
|
|
}
|
|
goto LA76_;
|
|
LA78_: ;
|
|
{
|
|
NimStringV2 T81_;
|
|
T81_.len = 0; T81_.p = NIM_NIL;
|
|
switch ((*d).target) {
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0):
|
|
{
|
|
NimStringV2 T83_;
|
|
T83_.len = 0; T83_.p = NIM_NIL;
|
|
T83_ = rawNewString((*n).anchor.len + 6);
|
|
appendString((&T83_), TM__vYBWrr780p7faFzauVMtPg_260);
|
|
appendString((&T83_), (*n).anchor);
|
|
appendString((&T83_), TM__vYBWrr780p7faFzauVMtPg_261);
|
|
colontmpD__6 = T83_;
|
|
}
|
|
break;
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1):
|
|
{
|
|
NimStringV2 T85_;
|
|
T85_.len = 0; T85_.p = NIM_NIL;
|
|
T85_ = rawNewString((*n).anchor.len + (*n).anchor.len + 24);
|
|
appendString((&T85_), TM__vYBWrr780p7faFzauVMtPg_262);
|
|
appendString((&T85_), (*n).anchor);
|
|
appendString((&T85_), TM__vYBWrr780p7faFzauVMtPg_263);
|
|
appendString((&T85_), (*n).anchor);
|
|
appendString((&T85_), TM__vYBWrr780p7faFzauVMtPg_264);
|
|
colontmpD__6 = T85_;
|
|
}
|
|
break;
|
|
}
|
|
T75_[1] = colontmpD__6;
|
|
}
|
|
LA76_: ;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, TM__vYBWrr780p7faFzauVMtPg_256, TM__vYBWrr780p7faFzauVMtPg_258, T75_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA68_;
|
|
{
|
|
LA68_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__6));
|
|
eqdestroy___stdZassertions_13((&colontmpD__5));
|
|
eqdestroy___stdZassertions_13((&colontmpD__4));
|
|
eqdestroy___stdZassertions_13((&tmp_2));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)28):
|
|
{
|
|
NimStringV2 itemPrefix;
|
|
NimStringV2 colontmpD__7;
|
|
NimStringV2 colontmpD__8;
|
|
NI addQuotationDepth;
|
|
NimStringV2 T107_;
|
|
NimStringV2 T108_;
|
|
itemPrefix.len = 0; itemPrefix.p = NIM_NIL;
|
|
colontmpD__7.len = 0; colontmpD__7.p = NIM_NIL;
|
|
colontmpD__8.len = 0; colontmpD__8.p = NIM_NIL;
|
|
addQuotationDepth = (NI)((*n)._kind_7.quotationDepth - (*d).curQuotationDepth);
|
|
{
|
|
NimStringV2 s;
|
|
NimStringV2 T94_;
|
|
if (!(((NI)0) <= addQuotationDepth)) goto LA92_;
|
|
s.len = 0; s.p = NIM_NIL;
|
|
T94_.len = 0; T94_.p = NIM_NIL;
|
|
{
|
|
if (!((*d).target == ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0))) goto LA97_;
|
|
s = TM__vYBWrr780p7faFzauVMtPg_266;
|
|
}
|
|
goto LA95_;
|
|
LA97_: ;
|
|
{
|
|
s = TM__vYBWrr780p7faFzauVMtPg_268;
|
|
}
|
|
LA95_: ;
|
|
itemPrefix = nsuRepeatStr(s, ((NI) (addQuotationDepth)));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA89_;
|
|
}
|
|
goto LA90_;
|
|
LA92_: ;
|
|
{
|
|
NimStringV2 s_2;
|
|
NimStringV2 T101_;
|
|
s_2.len = 0; s_2.p = NIM_NIL;
|
|
T101_.len = 0; T101_.p = NIM_NIL;
|
|
{
|
|
if (!((*d).target == ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0))) goto LA104_;
|
|
s_2 = TM__vYBWrr780p7faFzauVMtPg_269;
|
|
}
|
|
goto LA102_;
|
|
LA104_: ;
|
|
{
|
|
s_2 = TM__vYBWrr780p7faFzauVMtPg_270;
|
|
}
|
|
LA102_: ;
|
|
itemPrefix = nsuRepeatStr(s_2, ((NI) (((NI32)-(addQuotationDepth)))));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA89_;
|
|
}
|
|
LA90_: ;
|
|
T107_.len = 0; T107_.p = NIM_NIL;
|
|
T107_ = rawNewString(itemPrefix.len + 9);
|
|
appendString((&T107_), itemPrefix);
|
|
appendString((&T107_), TM__vYBWrr780p7faFzauVMtPg_272);
|
|
colontmpD__7 = T107_;
|
|
T108_.len = 0; T108_.p = NIM_NIL;
|
|
T108_ = rawNewString(itemPrefix.len + 3);
|
|
appendString((&T108_), itemPrefix);
|
|
appendString((&T108_), TM__vYBWrr780p7faFzauVMtPg_274);
|
|
colontmpD__8 = T108_;
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, colontmpD__7, colontmpD__8, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA89_;
|
|
(*d).curQuotationDepth = (*n)._kind_7.quotationDepth;
|
|
{
|
|
LA89_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__8));
|
|
eqdestroy___stdZassertions_13((&colontmpD__7));
|
|
eqdestroy___stdZassertions_13((&itemPrefix));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)29):
|
|
{
|
|
{
|
|
NIM_BOOL T114_;
|
|
NI T115_;
|
|
T114_ = (NIM_BOOL)0;
|
|
T115_ = (*n).sons.len;
|
|
T114_ = (T115_ == ((NI)1));
|
|
if (!(T114_)) goto LA116_;
|
|
T114_ = eqStrings((*(*n).sons.p->data[((NI)0)])._kind_3.lineIndent, TM__vYBWrr780p7faFzauVMtPg_275);
|
|
LA116_: ;
|
|
if (!T114_) goto LA117_;
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_277, TM__vYBWrr780p7faFzauVMtPg_279, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
goto LA112_;
|
|
LA117_: ;
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_281, TM__vYBWrr780p7faFzauVMtPg_283, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
LA112_: ;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)30):
|
|
{
|
|
{
|
|
if (!((*n)._kind_3.lineIndent.len == ((NI)0))) goto LA123_;
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_285, TM__vYBWrr780p7faFzauVMtPg_287, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
goto LA121_;
|
|
LA123_: ;
|
|
{
|
|
if (!eqStrings((*n)._kind_3.lineIndent, TM__vYBWrr780p7faFzauVMtPg_288)) goto LA126_;
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_290, TM__vYBWrr780p7faFzauVMtPg_292, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
goto LA121_;
|
|
LA126_: ;
|
|
{
|
|
NimStringV2 indent;
|
|
NimStringV2 colontmpD__9;
|
|
NimStringV2 colontmpD__10;
|
|
NimStringV2 colontmpD__11;
|
|
NimStringV2 T130_;
|
|
NF T131_;
|
|
NimStringV2 T132_;
|
|
NimStringV2 T133_;
|
|
indent.len = 0; indent.p = NIM_NIL;
|
|
colontmpD__9.len = 0; colontmpD__9.p = NIM_NIL;
|
|
colontmpD__10.len = 0; colontmpD__10.p = NIM_NIL;
|
|
colontmpD__11.len = 0; colontmpD__11.p = NIM_NIL;
|
|
T130_.len = 0; T130_.p = NIM_NIL;
|
|
T131_ = (NF)0;
|
|
T131_ = toFloat__system_1672((NI)((*n)._kind_3.lineIndent.len - ((NI)1)));
|
|
colontmpD__9 = dollar___system_4382(((NF)(0.5) * (NF)(T131_)));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA129_;
|
|
T130_ = rawNewString(colontmpD__9.len + 2);
|
|
appendString((&T130_), colontmpD__9);
|
|
appendString((&T130_), TM__vYBWrr780p7faFzauVMtPg_294);
|
|
indent = T130_;
|
|
T132_.len = 0; T132_.p = NIM_NIL;
|
|
T132_ = rawNewString(indent.len + 42);
|
|
appendString((&T132_), TM__vYBWrr780p7faFzauVMtPg_296);
|
|
appendString((&T132_), indent);
|
|
appendString((&T132_), TM__vYBWrr780p7faFzauVMtPg_298);
|
|
colontmpD__10 = T132_;
|
|
T133_.len = 0; T133_.p = NIM_NIL;
|
|
T133_ = rawNewString(indent.len + 22);
|
|
appendString((&T133_), TM__vYBWrr780p7faFzauVMtPg_300);
|
|
appendString((&T133_), indent);
|
|
appendString((&T133_), TM__vYBWrr780p7faFzauVMtPg_302);
|
|
colontmpD__11 = T133_;
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, colontmpD__10, colontmpD__11, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA129_;
|
|
{
|
|
LA129_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__11));
|
|
eqdestroy___stdZassertions_13((&colontmpD__10));
|
|
eqdestroy___stdZassertions_13((&colontmpD__9));
|
|
eqdestroy___stdZassertions_13((&indent));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
LA121_: ;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)31):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_304, TM__vYBWrr780p7faFzauVMtPg_306, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)56):
|
|
{
|
|
renderAdmonition__packagesZdocutilsZrstgen_9064(d, n, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)32):
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)33):
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)34):
|
|
{
|
|
NimStringV2 colontmpD__12;
|
|
NimStringV2 colontmpD__13;
|
|
NimStringV2 T140_;
|
|
colontmpD__12.len = 0; colontmpD__12.p = NIM_NIL;
|
|
colontmpD__13.len = 0; colontmpD__13.p = NIM_NIL;
|
|
T140_.len = 0; T140_.p = NIM_NIL;
|
|
colontmpD__12 = nsuRepeatStr(TM__vYBWrr780p7faFzauVMtPg_374, ((NI) ((*n)._kind_10.colCount)));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA139_;
|
|
T140_ = rawNewString(colontmpD__12.len + 76);
|
|
appendString((&T140_), TM__vYBWrr780p7faFzauVMtPg_372);
|
|
appendString((&T140_), colontmpD__12);
|
|
appendString((&T140_), TM__vYBWrr780p7faFzauVMtPg_376);
|
|
colontmpD__13 = T140_;
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_370, colontmpD__13, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA139_;
|
|
{
|
|
LA139_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__13));
|
|
eqdestroy___stdZassertions_13((&colontmpD__12));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)35):
|
|
{
|
|
{
|
|
NI T146_;
|
|
T146_ = (NI)0;
|
|
T146_ = len__packagesZdocutilsZrstast_112(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
if (!(((NI)1) <= T146_)) goto LA147_;
|
|
switch ((*d).target) {
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0):
|
|
{
|
|
prepareAdd((&(*result)), 4);
|
|
appendString((&(*result)), TM__vYBWrr780p7faFzauVMtPg_378);
|
|
renderAux__packagesZdocutilsZrstgen_479(d, n, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
prepareAdd((&(*result)), 6);
|
|
appendString((&(*result)), TM__vYBWrr780p7faFzauVMtPg_380);
|
|
}
|
|
break;
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1):
|
|
{
|
|
tySequence__8Np6tlClE5az1CyqZdN19bQ spanLines;
|
|
NI nCell;
|
|
spanLines.len = 0; spanLines.p = NIM_NIL;
|
|
{
|
|
if (!((*(*n).sons.p->data[((NI)0)]).kind == ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)36))) goto LA154_;
|
|
prepareAdd((&(*result)), 19);
|
|
appendString((&(*result)), TM__vYBWrr780p7faFzauVMtPg_382);
|
|
}
|
|
LA154_: ;
|
|
nCell = ((NI)0);
|
|
{
|
|
NI uCell;
|
|
NI colontmp__2;
|
|
NI T157_;
|
|
NI res_2;
|
|
uCell = (NI)0;
|
|
colontmp__2 = (NI)0;
|
|
T157_ = (NI)0;
|
|
T157_ = len__packagesZdocutilsZrstast_112(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA151_;
|
|
colontmp__2 = (NI)(T157_ - ((NI)1));
|
|
res_2 = ((NI)0);
|
|
{
|
|
while (1) {
|
|
if (!(res_2 <= colontmp__2)) goto LA159 ;
|
|
uCell = res_2;
|
|
renderRstToOut__packagesZdocutilsZrstgen_475(d, (*n).sons.p->data[uCell], result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA151_;
|
|
{
|
|
tyTuple__1v9bKyksXWMsm0vNwmZ4EuQ T164_;
|
|
if (!(((NI)0) < (*(*n).sons.p->data[uCell])._kind_12.span)) goto LA162_;
|
|
T164_.Field0 = (NI)(nCell + ((NI)1));
|
|
T164_.Field1 = (NI)(nCell + (*(*n).sons.p->data[uCell])._kind_12.span);
|
|
add__packagesZdocutilsZrstgen_9143((&spanLines), T164_);
|
|
nCell += (*(*n).sons.p->data[uCell])._kind_12.span;
|
|
}
|
|
goto LA160_;
|
|
LA162_: ;
|
|
{
|
|
nCell += ((NI)1);
|
|
}
|
|
LA160_: ;
|
|
{
|
|
NI T168_;
|
|
T168_ = (NI)0;
|
|
T168_ = len__packagesZdocutilsZrstast_112(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA151_;
|
|
if (!!((uCell == (NI)(T168_ - ((NI)1))))) goto LA169_;
|
|
prepareAdd((&(*result)), 3);
|
|
appendString((&(*result)), TM__vYBWrr780p7faFzauVMtPg_384);
|
|
}
|
|
LA169_: ;
|
|
res_2 += ((NI)1);
|
|
} LA159: ;
|
|
}
|
|
}
|
|
prepareAdd((&(*result)), 2);
|
|
appendString((&(*result)), TM__vYBWrr780p7faFzauVMtPg_386);
|
|
{
|
|
if (!(*n)._kind_11.endsHeader) goto LA173_;
|
|
prepareAdd((&(*result)), 9);
|
|
appendString((&(*result)), TM__vYBWrr780p7faFzauVMtPg_388);
|
|
}
|
|
LA173_: ;
|
|
{
|
|
NI* start;
|
|
NI* stop;
|
|
NI i_2;
|
|
NI L;
|
|
NI T176_;
|
|
start = (NI*)0;
|
|
stop = (NI*)0;
|
|
i_2 = ((NI)0);
|
|
T176_ = spanLines.len;
|
|
L = T176_;
|
|
{
|
|
while (1) {
|
|
NimStringV2 colontmpD__14;
|
|
NimStringV2 colontmpD__15;
|
|
NimStringV2 colontmpD__16;
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T180_;
|
|
if (!(i_2 < L)) goto LA178 ;
|
|
colontmpD__14.len = 0; colontmpD__14.p = NIM_NIL;
|
|
colontmpD__15.len = 0; colontmpD__15.p = NIM_NIL;
|
|
colontmpD__16.len = 0; colontmpD__16.p = NIM_NIL;
|
|
start = (&spanLines.p->data[i_2].Field0);
|
|
stop = (&spanLines.p->data[i_2].Field1);
|
|
colontmpD__14 = dollar___systemZdollars_3((*start));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA179_;
|
|
T180_[0] = colontmpD__14;
|
|
colontmpD__15 = dollar___systemZdollars_3((*stop));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA179_;
|
|
T180_[1] = colontmpD__15;
|
|
colontmpD__16 = nsuFormatOpenArray(TM__vYBWrr780p7faFzauVMtPg_390, T180_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA179_;
|
|
prepareAdd((&(*result)), colontmpD__16.len + 0);
|
|
appendString((&(*result)), colontmpD__16);
|
|
i_2 += ((NI)1);
|
|
{
|
|
LA179_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__16));
|
|
eqdestroy___stdZassertions_13((&colontmpD__15));
|
|
eqdestroy___stdZassertions_13((&colontmpD__14));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA151_;
|
|
} LA178: ;
|
|
}
|
|
}
|
|
prepareAdd((&(*result)), 1);
|
|
appendString((&(*result)), TM__vYBWrr780p7faFzauVMtPg_391);
|
|
{
|
|
LA151_:;
|
|
}
|
|
{
|
|
eqdestroy___types_1903((&spanLines));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
LA147_: ;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)36):
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)37):
|
|
{
|
|
switch ((*d).target) {
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0):
|
|
{
|
|
NimStringV2 tag;
|
|
NimStringV2 spanSpec;
|
|
NimStringV2 colontmpD__17;
|
|
NimStringV2 T188_;
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T200_;
|
|
tag.len = 0; tag.p = NIM_NIL;
|
|
spanSpec.len = 0; spanSpec.p = NIM_NIL;
|
|
colontmpD__17.len = 0; colontmpD__17.p = NIM_NIL;
|
|
T188_.len = 0; T188_.p = NIM_NIL;
|
|
{
|
|
if (!((*n).kind == ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)36))) goto LA191_;
|
|
tag = TM__vYBWrr780p7faFzauVMtPg_393;
|
|
}
|
|
goto LA189_;
|
|
LA191_: ;
|
|
{
|
|
tag = TM__vYBWrr780p7faFzauVMtPg_395;
|
|
}
|
|
LA189_: ;
|
|
{
|
|
if (!((*n)._kind_12.span <= ((NI)1))) goto LA196_;
|
|
spanSpec = TM__vYBWrr780p7faFzauVMtPg_396;
|
|
}
|
|
goto LA194_;
|
|
LA196_: ;
|
|
{
|
|
NimStringV2 colontmpD__18;
|
|
NimStringV2 T199_;
|
|
colontmpD__18.len = 0; colontmpD__18.p = NIM_NIL;
|
|
T199_.len = 0; T199_.p = NIM_NIL;
|
|
colontmpD__18 = dollar___systemZdollars_3((*n)._kind_12.span);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA187_;
|
|
T199_ = rawNewString(colontmpD__18.len + 38);
|
|
appendString((&T199_), TM__vYBWrr780p7faFzauVMtPg_398);
|
|
appendString((&T199_), colontmpD__18);
|
|
appendString((&T199_), TM__vYBWrr780p7faFzauVMtPg_400);
|
|
spanSpec = T199_;
|
|
eqdestroy___stdZassertions_13((&colontmpD__18));
|
|
}
|
|
LA194_: ;
|
|
T200_[0] = tag;
|
|
T200_[1] = spanSpec;
|
|
colontmpD__17 = nsuFormatOpenArray(TM__vYBWrr780p7faFzauVMtPg_402, T200_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA187_;
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, colontmpD__17, TM__vYBWrr780p7faFzauVMtPg_403, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA187_;
|
|
{
|
|
LA187_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__17));
|
|
eqdestroy___stdZassertions_13((&spanSpec));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1):
|
|
{
|
|
NimStringV2 text;
|
|
NimStringV2 latexStr;
|
|
NimStringV2 T205_;
|
|
text.len = 0; text.p = NIM_NIL;
|
|
latexStr.len = 0; latexStr.p = NIM_NIL;
|
|
T205_.len = 0; T205_.p = NIM_NIL;
|
|
{
|
|
if (!((*n).kind == ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)36))) goto LA208_;
|
|
text = TM__vYBWrr780p7faFzauVMtPg_405;
|
|
}
|
|
goto LA206_;
|
|
LA208_: ;
|
|
{
|
|
text = TM__vYBWrr780p7faFzauVMtPg_406;
|
|
}
|
|
LA206_: ;
|
|
{
|
|
if (!((*n)._kind_12.span <= ((NI)1))) goto LA213_;
|
|
eqcopy___stdZassertions_16((&latexStr), text);
|
|
}
|
|
goto LA211_;
|
|
LA213_: ;
|
|
{
|
|
NimStringV2 colontmpD__19;
|
|
NimStringV2 T216_;
|
|
colontmpD__19.len = 0; colontmpD__19.p = NIM_NIL;
|
|
T216_.len = 0; T216_.p = NIM_NIL;
|
|
colontmpD__19 = dollar___systemZdollars_3((*n)._kind_12.span);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA204_;
|
|
T216_ = rawNewString(colontmpD__19.len + text.len + 19);
|
|
appendString((&T216_), TM__vYBWrr780p7faFzauVMtPg_408);
|
|
appendString((&T216_), colontmpD__19);
|
|
appendString((&T216_), TM__vYBWrr780p7faFzauVMtPg_410);
|
|
appendString((&T216_), text);
|
|
appendString((&T216_), TM__vYBWrr780p7faFzauVMtPg_412);
|
|
latexStr = T216_;
|
|
eqdestroy___stdZassertions_13((&colontmpD__19));
|
|
}
|
|
LA211_: ;
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_413, latexStr, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA204_;
|
|
{
|
|
LA204_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&latexStr));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)40):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_415, TM__vYBWrr780p7faFzauVMtPg_417, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)38):
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)39):
|
|
{
|
|
NimStringV2 mark;
|
|
NimStringV2 body;
|
|
NimStringV2 colontmpD__20;
|
|
NimStringV2 colontmpD__21;
|
|
tyArray__sMpvt1sOxOJ3LFGulnbeMQ T222_;
|
|
mark.len = 0; mark.p = NIM_NIL;
|
|
body.len = 0; body.p = NIM_NIL;
|
|
colontmpD__20.len = 0; colontmpD__20.p = NIM_NIL;
|
|
colontmpD__21.len = 0; colontmpD__21.p = NIM_NIL;
|
|
mark = TM__vYBWrr780p7faFzauVMtPg_418;
|
|
renderAux__packagesZdocutilsZrstgen_479(d, (*n).sons.p->data[((NI)0)], (&mark));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA221_;
|
|
body = TM__vYBWrr780p7faFzauVMtPg_419;
|
|
renderRstToOut__packagesZdocutilsZrstgen_475(d, (*n).sons.p->data[((NI)1)], (&body));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA221_;
|
|
T222_[0] = body;
|
|
{
|
|
if (!((*n).anchor.len == 0)) goto LA225_;
|
|
colontmpD__20 = TM__vYBWrr780p7faFzauVMtPg_424;
|
|
T222_[1] = colontmpD__20;
|
|
}
|
|
goto LA223_;
|
|
LA225_: ;
|
|
{
|
|
NimStringV2 T228_;
|
|
T228_.len = 0; T228_.p = NIM_NIL;
|
|
switch ((*d).target) {
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)0):
|
|
{
|
|
NimStringV2 T230_;
|
|
T230_.len = 0; T230_.p = NIM_NIL;
|
|
T230_ = rawNewString((*n).anchor.len + 6);
|
|
appendString((&T230_), TM__vYBWrr780p7faFzauVMtPg_425);
|
|
appendString((&T230_), (*n).anchor);
|
|
appendString((&T230_), TM__vYBWrr780p7faFzauVMtPg_426);
|
|
colontmpD__21 = T230_;
|
|
}
|
|
break;
|
|
case ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1):
|
|
{
|
|
NimStringV2 T232_;
|
|
T232_.len = 0; T232_.p = NIM_NIL;
|
|
T232_ = rawNewString((*n).anchor.len + (*n).anchor.len + 24);
|
|
appendString((&T232_), TM__vYBWrr780p7faFzauVMtPg_427);
|
|
appendString((&T232_), (*n).anchor);
|
|
appendString((&T232_), TM__vYBWrr780p7faFzauVMtPg_428);
|
|
appendString((&T232_), (*n).anchor);
|
|
appendString((&T232_), TM__vYBWrr780p7faFzauVMtPg_429);
|
|
colontmpD__21 = T232_;
|
|
}
|
|
break;
|
|
}
|
|
T222_[1] = colontmpD__21;
|
|
}
|
|
LA223_: ;
|
|
T222_[2] = mark;
|
|
T222_[3] = (*n).anchor;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, TM__vYBWrr780p7faFzauVMtPg_421, TM__vYBWrr780p7faFzauVMtPg_423, T222_, 4);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA221_;
|
|
{
|
|
LA221_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__21));
|
|
eqdestroy___stdZassertions_13((&colontmpD__20));
|
|
eqdestroy___stdZassertions_13((&body));
|
|
eqdestroy___stdZassertions_13((&mark));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)44):
|
|
{
|
|
renderHyperlink__packagesZdocutilsZrstgen_9073(d, (*n).sons.p->data[((NI)0)], (*n).sons.p->data[((NI)1)], result, NIM_FALSE, NIM_FALSE, TM__vYBWrr780p7faFzauVMtPg_446);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)43):
|
|
{
|
|
renderHyperlink__packagesZdocutilsZrstgen_9073(d, (*n).sons.p->data[((NI)0)], (*n).sons.p->data[((NI)0)], result, NIM_FALSE, NIM_FALSE, TM__vYBWrr780p7faFzauVMtPg_447);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)41):
|
|
{
|
|
renderHyperlink__packagesZdocutilsZrstgen_9073(d, (*n).sons.p->data[((NI)0)], (*n).sons.p->data[((NI)0)], result, NIM_TRUE, NIM_FALSE, TM__vYBWrr780p7faFzauVMtPg_448);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)45):
|
|
{
|
|
renderHyperlink__packagesZdocutilsZrstgen_9073(d, (*n).sons.p->data[((NI)0)], (*n).sons.p->data[((NI)1)], result, NIM_FALSE, NIM_FALSE, TM__vYBWrr780p7faFzauVMtPg_449);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)47):
|
|
{
|
|
renderHyperlink__packagesZdocutilsZrstgen_9073(d, (*n).sons.p->data[((NI)0)], (*n).sons.p->data[((NI)1)], result, NIM_FALSE, NIM_TRUE, (*n)._kind_9.tooltip);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)42):
|
|
{
|
|
renderHyperlink__packagesZdocutilsZrstgen_9073(d, (*n).sons.p->data[((NI)0)], (*n).sons.p->data[((NI)1)], result, NIM_TRUE, NIM_FALSE, TM__vYBWrr780p7faFzauVMtPg_450);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)46):
|
|
{
|
|
NimStringV2 tmp_3;
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T243_;
|
|
tmp_3.len = 0; tmp_3.p = NIM_NIL;
|
|
tmp_3 = TM__vYBWrr780p7faFzauVMtPg_452;
|
|
renderAux__packagesZdocutilsZrstgen_479(d, (*n).sons.p->data[((NI)0)], (&tmp_3));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA242_;
|
|
prepareAdd((&tmp_3), 1);
|
|
appendString((&tmp_3), TM__vYBWrr780p7faFzauVMtPg_453);
|
|
T243_[0] = tmp_3;
|
|
T243_[1] = (*(*n).sons.p->data[((NI)1)])._kind_1.text;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, TM__vYBWrr780p7faFzauVMtPg_455, TM__vYBWrr780p7faFzauVMtPg_457, T243_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA242_;
|
|
{
|
|
LA242_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&tmp_3));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)49):
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)50):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_479(d, n, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)57):
|
|
{
|
|
tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* colontmpD__22;
|
|
colontmpD__22 = NIM_NIL;
|
|
{
|
|
NIM_BOOL T250_;
|
|
tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* colontmpD__23;
|
|
NimStringV2 colontmpD__24;
|
|
T250_ = (NIM_BOOL)0;
|
|
T250_ = !(((*d).target == ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1)));
|
|
if (!(T250_)) goto LA251_;
|
|
colontmpD__22 = lastSon__packagesZdocutilsZrstast_351(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
T250_ = !((colontmpD__22 == 0));
|
|
LA251_: ;
|
|
if (!T250_) goto LA252_;
|
|
colontmpD__23 = NIM_NIL;
|
|
colontmpD__24.len = 0; colontmpD__24.p = NIM_NIL;
|
|
colontmpD__23 = lastSon__packagesZdocutilsZrstast_351(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
colontmpD__24 = addNodes__packagesZdocutilsZrst_70(colontmpD__23);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
prepareAdd((&(*result)), colontmpD__24.len + 0);
|
|
appendString((&(*result)), colontmpD__24);
|
|
eqdestroy___stdZassertions_13((&colontmpD__24));
|
|
eqdestroy___packagesZdocutilsZrstast_225(&colontmpD__23);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
LA252_: ;
|
|
eqdestroy___packagesZdocutilsZrstast_225(&colontmpD__22);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)58):
|
|
{
|
|
tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* colontmpD__25;
|
|
colontmpD__25 = NIM_NIL;
|
|
{
|
|
NIM_BOOL T257_;
|
|
tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* colontmpD__26;
|
|
NimStringV2 colontmpD__27;
|
|
T257_ = (NIM_BOOL)0;
|
|
T257_ = ((*d).target == ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1));
|
|
if (!(T257_)) goto LA258_;
|
|
colontmpD__25 = lastSon__packagesZdocutilsZrstast_351(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
T257_ = !((colontmpD__25 == 0));
|
|
LA258_: ;
|
|
if (!T257_) goto LA259_;
|
|
colontmpD__26 = NIM_NIL;
|
|
colontmpD__27.len = 0; colontmpD__27.p = NIM_NIL;
|
|
colontmpD__26 = lastSon__packagesZdocutilsZrstast_351(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
colontmpD__27 = addNodes__packagesZdocutilsZrst_70(colontmpD__26);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
prepareAdd((&(*result)), colontmpD__27.len + 0);
|
|
appendString((&(*result)), colontmpD__27);
|
|
eqdestroy___stdZassertions_13((&colontmpD__27));
|
|
eqdestroy___packagesZdocutilsZrstast_225(&colontmpD__26);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
LA259_: ;
|
|
eqdestroy___packagesZdocutilsZrstast_225(&colontmpD__25);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)53):
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)54):
|
|
{
|
|
renderImage__packagesZdocutilsZrstgen_8792(d, n, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)55):
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)62):
|
|
{
|
|
renderCode__packagesZdocutilsZrstgen_8898(d, n, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)59):
|
|
{
|
|
renderContainer__packagesZdocutilsZrstgen_8958(d, n, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)74):
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)61):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_599, TM__vYBWrr780p7faFzauVMtPg_600, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)48):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_601, TM__vYBWrr780p7faFzauVMtPg_602, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)64):
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)63):
|
|
{
|
|
NimStringV2 tmp0;
|
|
NimStringV2 tmp1;
|
|
NimStringV2 class_1;
|
|
tmp0.len = 0; tmp0.p = NIM_NIL;
|
|
tmp1.len = 0; tmp1.p = NIM_NIL;
|
|
class_1.len = 0; class_1.p = NIM_NIL;
|
|
tmp0 = TM__vYBWrr780p7faFzauVMtPg_603;
|
|
tmp1 = TM__vYBWrr780p7faFzauVMtPg_604;
|
|
renderRstToOut__packagesZdocutilsZrstgen_475(d, (*n).sons.p->data[((NI)0)], (&tmp0));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA267_;
|
|
renderRstToOut__packagesZdocutilsZrstgen_475(d, (*n).sons.p->data[((NI)1)], (&tmp1));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA267_;
|
|
class_1 = tmp1;
|
|
tmp1.len = 0; tmp1.p = NIM_NIL;
|
|
{
|
|
NIM_BOOL T270_;
|
|
T270_ = (NIM_BOOL)0;
|
|
T270_ = ((*d).target == ((tyEnum_OutputTarget__N1HUNw9bw7B2wG9bU9aDvY8oA)1));
|
|
if (!(T270_)) goto LA271_;
|
|
T270_ = ((*n).kind == ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)64));
|
|
LA271_: ;
|
|
if (!T270_) goto LA272_;
|
|
eqsink___stdZassertions_19((&class_1), TM__vYBWrr780p7faFzauVMtPg_606);
|
|
}
|
|
LA272_: ;
|
|
{
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T278_;
|
|
if (!((*n).kind == ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)63))) goto LA276_;
|
|
T278_[0] = tmp0;
|
|
T278_[1] = class_1;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, TM__vYBWrr780p7faFzauVMtPg_608, TM__vYBWrr780p7faFzauVMtPg_610, T278_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA267_;
|
|
}
|
|
goto LA274_;
|
|
LA276_: ;
|
|
{
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T280_;
|
|
T280_[0] = tmp0;
|
|
T280_[1] = class_1;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, TM__vYBWrr780p7faFzauVMtPg_611, TM__vYBWrr780p7faFzauVMtPg_612, T280_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA267_;
|
|
}
|
|
LA274_: ;
|
|
{
|
|
LA267_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&class_1));
|
|
eqdestroy___stdZassertions_13((&tmp1));
|
|
eqdestroy___stdZassertions_13((&tmp0));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)65):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_614, TM__vYBWrr780p7faFzauVMtPg_616, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)66):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_618, TM__vYBWrr780p7faFzauVMtPg_620, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)68):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_622, TM__vYBWrr780p7faFzauVMtPg_624, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)69):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_626, TM__vYBWrr780p7faFzauVMtPg_627, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)70):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_629, TM__vYBWrr780p7faFzauVMtPg_631, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)67):
|
|
{
|
|
renderIndexTerm__packagesZdocutilsZrstgen_557(d, n, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)72):
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)71):
|
|
{
|
|
renderAux__packagesZdocutilsZrstgen_491(d, n, TM__vYBWrr780p7faFzauVMtPg_640, TM__vYBWrr780p7faFzauVMtPg_642, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)73):
|
|
{
|
|
NimStringV2 tmp_4;
|
|
NimStringV2 colontmpD__28;
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T292_;
|
|
tmp_4.len = 0; tmp_4.p = NIM_NIL;
|
|
colontmpD__28.len = 0; colontmpD__28.p = NIM_NIL;
|
|
tmp_4 = TM__vYBWrr780p7faFzauVMtPg_643;
|
|
renderAux__packagesZdocutilsZrstgen_479(d, n, (&tmp_4));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA291_;
|
|
T292_[0] = tmp_4;
|
|
colontmpD__28 = rstnodeToRefname__packagesZdocutilsZrst_68(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA291_;
|
|
T292_[1] = colontmpD__28;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, TM__vYBWrr780p7faFzauVMtPg_645, TM__vYBWrr780p7faFzauVMtPg_647, T292_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA291_;
|
|
{
|
|
LA291_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__28));
|
|
eqdestroy___stdZassertions_13((&tmp_4));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)75):
|
|
{
|
|
renderSmiley__packagesZdocutilsZrstgen_8802(d, n, result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)77):
|
|
{
|
|
NimStringV2 colontmpD__29;
|
|
colontmpD__29.len = 0; colontmpD__29.p = NIM_NIL;
|
|
colontmpD__29 = esc__packagesZdocutilsZrstgen_415((*d).target, (*n)._kind_1.text, ((NI)-1), (*d).escMode);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
prepareAdd((&(*result)), colontmpD__29.len + 0);
|
|
appendString((&(*result)), colontmpD__29);
|
|
eqdestroy___stdZassertions_13((&colontmpD__29));
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)52):
|
|
{
|
|
(*d).hasToc = NIM_TRUE;
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)76):
|
|
{
|
|
}
|
|
break;
|
|
case ((tyEnum_RstNodeKind__DNoJcMFu9cjq4EGXsLl82CQ)51):
|
|
{
|
|
tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* T300_;
|
|
eqsink___stdZassertions_19((&(*d).meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw)1))- 0]), TM__vYBWrr780p7faFzauVMtPg_655);
|
|
T300_ = (tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA*)0;
|
|
T300_ = d;
|
|
renderRstToOut__packagesZdocutilsZrstgen_475(T300_, (*n).sons.p->data[((NI)0)], (&(*d).meta[(((tyEnum_MetaEnum__16JvqO8FV2pHk38DriGcsw)1))- 0]));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
break;
|
|
}
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderTocEntry__packagesZdocutilsZrstgen_8766)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, tyObject_RstNode__22EYjMYlm9cWcheQxrewdHQ* n, NimStringV2* result) {
|
|
NimStringV2 header;
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T6_;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
header.len = 0; header.p = NIM_NIL;
|
|
header = TM__vYBWrr780p7faFzauVMtPg_657;
|
|
{
|
|
NI i;
|
|
NI colontmp_;
|
|
NI T3_;
|
|
NI res;
|
|
i = (NI)0;
|
|
colontmp_ = (NI)0;
|
|
T3_ = (NI)0;
|
|
T3_ = len__packagesZdocutilsZrstast_112(n);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
colontmp_ = (NI)(T3_ - ((NI)1));
|
|
res = ((NI)0);
|
|
{
|
|
while (1) {
|
|
if (!(res <= colontmp_)) goto LA5 ;
|
|
i = res;
|
|
renderRstToOut__packagesZdocutilsZrstgen_475(d, (*n).sons.p->data[i], (&header));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
res += ((NI)1);
|
|
} LA5: ;
|
|
}
|
|
}
|
|
T6_[0] = (*n).anchor;
|
|
T6_[1] = header;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, TM__vYBWrr780p7faFzauVMtPg_659, TM__vYBWrr780p7faFzauVMtPg_661, T6_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&header));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, renderTocEntries__packagesZdocutilsZrstgen_8777)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* d, NI* j, NI lvl, NimStringV2* result) {
|
|
NimStringV2 tmp;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
tmp.len = 0; tmp.p = NIM_NIL;
|
|
tmp = TM__vYBWrr780p7faFzauVMtPg_656;
|
|
{
|
|
while (1) {
|
|
NI T4_;
|
|
NI a;
|
|
T4_ = ((*d).tocPart.len-1);
|
|
if (!((*j) <= T4_)) goto LA3 ;
|
|
a = ((*(*d).tocPart.p->data[(*j)])._kind_5.level > 0? ((*(*d).tocPart.p->data[(*j)])._kind_5.level) : -((*(*d).tocPart.p->data[(*j)])._kind_5.level));
|
|
{
|
|
if (!(a == lvl)) goto LA7_;
|
|
renderTocEntry__packagesZdocutilsZrstgen_8766(d, (*d).tocPart.p->data[(*j)], (&tmp));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
(*j) += ((NI)1);
|
|
}
|
|
goto LA5_;
|
|
LA7_: ;
|
|
{
|
|
if (!(lvl < a)) goto LA10_;
|
|
renderTocEntries__packagesZdocutilsZrstgen_8777(d, j, a, (&tmp));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
goto LA5_;
|
|
LA10_: ;
|
|
{
|
|
goto LA2;
|
|
}
|
|
LA5_: ;
|
|
} LA3: ;
|
|
} LA2: ;
|
|
{
|
|
tyArray__nHXaesL0DJZHyVS07ARPRA T17_;
|
|
if (!(((NI)1) < lvl)) goto LA15_;
|
|
T17_[0] = tmp;
|
|
dispA__packagesZdocutilsZrstgen_461((*d).target, result, TM__vYBWrr780p7faFzauVMtPg_663, TM__vYBWrr780p7faFzauVMtPg_665, T17_, 1);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
goto LA13_;
|
|
LA15_: ;
|
|
{
|
|
prepareAdd((&(*result)), tmp.len + 0);
|
|
appendString((&(*result)), tmp);
|
|
}
|
|
LA13_: ;
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&tmp));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, writeIndexFile__packagesZdocutilsZrstgen_362)(tyObject_RstGenerator__3jlDCj6GoMg9aZfxlJYSfkA* g, NimStringV2 outfile) {
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
{
|
|
if (!(((NI)0) < (*g).theIndex.len)) goto LA3_;
|
|
writeFile__stdZsyncio_482(outfile, (*g).theIndex);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
LA3_: ;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___packagesZdocutilsZrstgen_2452)(tySequence__CJOrWaM0fWekVRTE2AotGw* dest) {
|
|
NI colontmp_;
|
|
colontmp_ = ((NI)0);
|
|
{
|
|
while (1) {
|
|
NI T3_;
|
|
T3_ = (*dest).len;
|
|
if (!(colontmp_ < T3_)) goto LA2 ;
|
|
eqdestroy___stdZassertions_13((&(*dest).p->data[colontmp_].keyword));
|
|
eqdestroy___stdZassertions_13((&(*dest).p->data[colontmp_].link));
|
|
eqdestroy___stdZassertions_13((&(*dest).p->data[colontmp_].linkTitle));
|
|
eqdestroy___stdZassertions_13((&(*dest).p->data[colontmp_].linkDesc));
|
|
colontmp_ += ((NI)1);
|
|
} LA2: ;
|
|
}
|
|
if ((*dest).p && !((*dest).p->cap & NIM_STRLIT_FLAG)) {
|
|
alignedDealloc((*dest).p, NIM_ALIGNOF(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A));
|
|
}
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqsink___packagesZdocutilsZrstgen_2222)(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* dest, tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* src) {
|
|
if ((*dest).keyword.p != (*src).keyword.p) { eqdestroy___stdZassertions_13((&(*dest).keyword));
|
|
}
|
|
(*dest).keyword.len = (*src).keyword.len; (*dest).keyword.p = (*src).keyword.p;
|
|
if ((*dest).link.p != (*src).link.p) { eqdestroy___stdZassertions_13((&(*dest).link));
|
|
}
|
|
(*dest).link.len = (*src).link.len; (*dest).link.p = (*src).link.p;
|
|
if ((*dest).linkTitle.p != (*src).linkTitle.p) { eqdestroy___stdZassertions_13((&(*dest).linkTitle));
|
|
}
|
|
(*dest).linkTitle.len = (*src).linkTitle.len; (*dest).linkTitle.p = (*src).linkTitle.p;
|
|
if ((*dest).linkDesc.p != (*src).linkDesc.p) { eqdestroy___stdZassertions_13((&(*dest).linkDesc));
|
|
}
|
|
(*dest).linkDesc.len = (*src).linkDesc.len; (*dest).linkDesc.p = (*src).linkDesc.p;
|
|
}
|
|
static N_INLINE(NimStringV2, pop__stdZprivateZosdirs_399)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* s) {
|
|
NimStringV2 result;
|
|
NI L;
|
|
NI T1_;
|
|
result.len = 0; result.p = NIM_NIL;
|
|
T1_ = (*s).len;
|
|
L = (NI)(T1_ - ((NI)1));
|
|
result = (*s).p->data[L];
|
|
(*s).p->data[L].len = 0; (*s).p->data[L].p = NIM_NIL;
|
|
shrink__system_3412(s, ((NI) (L)));
|
|
return result;
|
|
}
|
|
static N_INLINE(NimStringV2, slash___stdZprivateZospaths50_91)(NimStringV2 head, NimStringV2 tail) {
|
|
NimStringV2 result;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
result.len = 0; result.p = NIM_NIL;
|
|
result = nosjoinPath(head, tail);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|
|
static N_INLINE(NCSTRING, nimToCStringConv)(NimStringV2 s) {
|
|
NCSTRING result;
|
|
result = (NCSTRING)0;
|
|
{
|
|
if (!(s.len == ((NI)0))) goto LA3_;
|
|
result = "";
|
|
}
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{
|
|
result = ((NCSTRING) ((*s.p).data));
|
|
}
|
|
LA1_: ;
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isDocumentationTitle__packagesZdocutilsZrstgen_2276)(NimStringV2 hyperlink) {
|
|
NIM_BOOL result;
|
|
NI T1_;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
result = (NIM_BOOL)0;
|
|
T1_ = (NI)0;
|
|
T1_ = nsuFindChar(hyperlink, 35, ((NI)0), ((NI)-1));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
result = (T1_ < ((NI)0));
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, unquoteIndexColumn__packagesZdocutilsZrstgen_508)(NimStringV2 text) {
|
|
NimStringV2 result;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
result.len = 0; result.p = NIM_NIL;
|
|
result = multiReplace__pureZstrutils_1868(text, TM__vYBWrr780p7faFzauVMtPg_672, 3);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqcopy___packagesZdocutilsZrstgen_2219)(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* dest, tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* src) {
|
|
eqcopy___stdZassertions_16((&(*dest).keyword), (*src).keyword);
|
|
eqcopy___stdZassertions_16((&(*dest).link), (*src).link);
|
|
eqcopy___stdZassertions_16((&(*dest).linkTitle), (*src).linkTitle);
|
|
eqcopy___stdZassertions_16((&(*dest).linkDesc), (*src).linkDesc);
|
|
}
|
|
static N_INLINE(NI, emarkamp___pureZhashes_4)(NI h, NI val) {
|
|
NI result;
|
|
NU h_2;
|
|
NU val_2;
|
|
NU res;
|
|
result = (NI)0;
|
|
h_2 = ((NU) (h));
|
|
val_2 = ((NU) (val));
|
|
res = (NU)((NU32)(h_2) + (NU32)(val_2));
|
|
res = (NU)((NU32)(res) + (NU32)((NU)((NU32)(res) << (NU32)(((NI)10)))));
|
|
res = (NU)(res ^ (NU)((NU32)(res) >> (NU32)(((NI)6))));
|
|
result = ((NI) (res));
|
|
return result;
|
|
}
|
|
static N_INLINE(NI, emarkdollar___pureZhashes_19)(NI h) {
|
|
NI result;
|
|
NU h_2;
|
|
NU res;
|
|
result = (NI)0;
|
|
h_2 = ((NU) (h));
|
|
res = (NU)((NU32)(h_2) + (NU32)((NU)((NU32)(h_2) << (NU32)(((NI)3)))));
|
|
res = (NU)(res ^ (NU)((NU32)(res) >> (NU32)(((NI)11))));
|
|
res = (NU)((NU32)(res) + (NU32)((NU)((NU32)(res) << (NU32)(((NI)15)))));
|
|
result = ((NI) (res));
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(NI, hash__packagesZdocutilsZrstgen_2188)(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* x) {
|
|
NI result;
|
|
NI T1_;
|
|
NI T2_;
|
|
NI T3_;
|
|
NI T4_;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
result = (NI)0;
|
|
T1_ = (NI)0;
|
|
T1_ = hash__pureZhashes_284((*x).keyword);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
T2_ = (NI)0;
|
|
T2_ = hash__pureZhashes_284((*x).link);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
result = emarkamp___pureZhashes_4(T1_, T2_);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
T3_ = (NI)0;
|
|
T3_ = hash__pureZhashes_284((*x).linkTitle);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
result = emarkamp___pureZhashes_4(result, T3_);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
T4_ = (NI)0;
|
|
T4_ = hash__pureZhashes_284((*x).linkDesc);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
result = emarkamp___pureZhashes_4(result, T4_);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
result = emarkdollar___pureZhashes_19(result);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqsink___packagesZdocutilsZrstgen_2458)(tySequence__CJOrWaM0fWekVRTE2AotGw* dest, tySequence__CJOrWaM0fWekVRTE2AotGw src) {
|
|
if ((*dest).p != src.p) { eqdestroy___packagesZdocutilsZrstgen_2452(dest);
|
|
}
|
|
(*dest).len = src.len; (*dest).p = src.p;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, eqdestroy___packagesZdocutilsZrstgen_2216)(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* dest) {
|
|
eqdestroy___stdZassertions_13((&(*dest).keyword));
|
|
eqdestroy___stdZassertions_13((&(*dest).link));
|
|
eqdestroy___stdZassertions_13((&(*dest).linkTitle));
|
|
eqdestroy___stdZassertions_13((&(*dest).linkDesc));
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, readIndexDir__packagesZdocutilsZrstgen_7326)(NimStringV2 dir, tyTuple__Rf49c4BJ4LYwQucz9a7JHOmA* Result) {
|
|
tySequence__sM4lkSb7zS6F7OVMvW9cffQ T1_;
|
|
tyObject_Table__myGXmFdFAc6beAdGFLRvEQ T2_;
|
|
NI L;
|
|
NIM_BOOL oldNimErrFin109_;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
nimZeroMem((void*)Result, sizeof(tyTuple__Rf49c4BJ4LYwQucz9a7JHOmA));
|
|
T1_.len = 0; T1_.p = NIM_NIL;
|
|
T1_.len = 0; T1_.p = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content*) newSeqPayload(0, sizeof(NimStringV2), NIM_ALIGNOF(NimStringV2));
|
|
eqsink___system_3536((&(*Result).Field0), T1_);
|
|
T2_ = initTable__packagesZdocutilsZrstgen_7336(((NI)32));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
eqsink___packagesZdocutilsZrstgen_7174((&(*Result).Field2), T2_);
|
|
newSeq__packagesZdocutilsZrstgen_6686((&(*Result).Field1), ((NI)15000));
|
|
setLen__packagesZdocutilsZrstgen_2469((&(*Result).Field1), ((NI)0));
|
|
L = ((NI)0);
|
|
{
|
|
NimStringV2 path;
|
|
tySequence__sM4lkSb7zS6F7OVMvW9cffQ stack;
|
|
NIM_BOOL checkDir;
|
|
path.len = 0; path.p = NIM_NIL;
|
|
stack.len = 0; stack.p = NIM_NIL;
|
|
stack.len = 1; stack.p = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content*) newSeqPayload(1, sizeof(NimStringV2), NIM_ALIGNOF(NimStringV2));
|
|
stack.p->data[0] = TM__vYBWrr780p7faFzauVMtPg_666;
|
|
checkDir = NIM_FALSE;
|
|
{
|
|
while (1) {
|
|
NI T7_;
|
|
NimStringV2 d;
|
|
T7_ = stack.len;
|
|
if (!(((NI)0) < T7_)) goto LA6 ;
|
|
d.len = 0; d.p = NIM_NIL;
|
|
d = pop__stdZprivateZosdirs_399((&stack));
|
|
{
|
|
NimStringV2 p;
|
|
NimStringV2 colontmp_;
|
|
tyEnum_PathComponent__x9aIl9aBWoeZzD6AxCnUUcPQ k;
|
|
NimStringV2 T11_;
|
|
DIR* d_2;
|
|
p.len = 0; p.p = NIM_NIL;
|
|
colontmp_.len = 0; colontmp_.p = NIM_NIL;
|
|
k = (tyEnum_PathComponent__x9aIl9aBWoeZzD6AxCnUUcPQ)0;
|
|
p.len = 0; p.p = NIM_NIL;
|
|
colontmp_.len = 0; colontmp_.p = NIM_NIL;
|
|
T11_.len = 0; T11_.p = NIM_NIL;
|
|
T11_ = slash___stdZprivateZospaths50_91(dir, d);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
|
|
eqsink___stdZassertions_19((&colontmp_), T11_);
|
|
d_2 = opendir(nimToCStringConv(colontmp_));
|
|
{
|
|
if (!(d_2 == ((DIR*) NIM_NIL))) goto LA14_;
|
|
{
|
|
NI32 T20_;
|
|
if (!checkDir) goto LA18_;
|
|
T20_ = (NI32)0;
|
|
T20_ = osLastError__stdZoserrors_85();
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
|
|
raiseOSError__stdZoserrors_82(T20_, colontmp_);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
|
|
}
|
|
LA18_: ;
|
|
}
|
|
goto LA12_;
|
|
LA14_: ;
|
|
{
|
|
{
|
|
while (1) {
|
|
{
|
|
NimStringV2 y;
|
|
struct dirent* x;
|
|
y.len = 0; y.p = NIM_NIL;
|
|
x = readdir(d_2);
|
|
{
|
|
if (!(x == ((struct dirent*) NIM_NIL))) goto LA29_;
|
|
eqdestroy___stdZassertions_13((&y));
|
|
goto LA23;
|
|
}
|
|
LA29_: ;
|
|
y = cstrToNimstr(((NCSTRING) ((*x).d_name)));
|
|
{
|
|
NIM_BOOL T33_;
|
|
NimStringV2 path_2;
|
|
NimStringV2 rel;
|
|
struct stat s;
|
|
tyEnum_PathComponent__x9aIl9aBWoeZzD6AxCnUUcPQ k_2;
|
|
T33_ = (NIM_BOOL)0;
|
|
T33_ = !(eqStrings(y, TM__vYBWrr780p7faFzauVMtPg_668));
|
|
if (!(T33_)) goto LA34_;
|
|
T33_ = !(eqStrings(y, TM__vYBWrr780p7faFzauVMtPg_669));
|
|
LA34_: ;
|
|
if (!T33_) goto LA35_;
|
|
path_2.len = 0; path_2.p = NIM_NIL;
|
|
rel.len = 0; rel.p = NIM_NIL;
|
|
nimZeroMem((void*)(&s), sizeof(struct stat));
|
|
path_2 = slash___stdZprivateZospaths50_91(colontmp_, y);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
|
|
{
|
|
if (!NIM_FALSE) goto LA40_;
|
|
eqcopy___stdZassertions_16((&y), path_2);
|
|
}
|
|
LA40_: ;
|
|
k_2 = ((tyEnum_PathComponent__x9aIl9aBWoeZzD6AxCnUUcPQ)0);
|
|
switch ((*x).d_type) {
|
|
case ((NI)4):
|
|
{
|
|
k_2 = ((tyEnum_PathComponent__x9aIl9aBWoeZzD6AxCnUUcPQ)2);
|
|
}
|
|
break;
|
|
case ((NI)10):
|
|
{
|
|
NIM_BOOL isSpecialX60gensym19_;
|
|
tyTuple__MuQpYKhupAt9a7EFKGkr9ayg _;
|
|
isSpecialX60gensym19_ = (NIM_BOOL)0;
|
|
_ = getSymlinkFileKind__stdZprivateZoscommon_26(path_2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
|
|
k_2 = _.Field0;
|
|
isSpecialX60gensym19_ = _.Field1;
|
|
{
|
|
NIM_BOOL T46_;
|
|
T46_ = (NIM_BOOL)0;
|
|
T46_ = NIM_FALSE;
|
|
if (!(T46_)) goto LA47_;
|
|
T46_ = isSpecialX60gensym19_;
|
|
LA47_: ;
|
|
if (!T46_) goto LA48_;
|
|
eqdestroy___stdZassertions_13((&rel));
|
|
eqdestroy___stdZassertions_13((&path_2));
|
|
eqdestroy___stdZassertions_13((&y));
|
|
goto LA25;
|
|
}
|
|
LA48_: ;
|
|
}
|
|
break;
|
|
case ((NI)0):
|
|
{
|
|
{
|
|
int T53_;
|
|
T53_ = (int)0;
|
|
T53_ = lstat(nimToCStringConv(path_2), (&s));
|
|
if (!(T53_ < ((NI32)0))) goto LA54_;
|
|
eqdestroy___stdZassertions_13((&rel));
|
|
eqdestroy___stdZassertions_13((&path_2));
|
|
eqdestroy___stdZassertions_13((&y));
|
|
goto LA25;
|
|
}
|
|
goto LA51_;
|
|
LA54_: ;
|
|
{
|
|
NIM_BOOL T57_;
|
|
T57_ = (NIM_BOOL)0;
|
|
T57_ = S_ISDIR(s.st_mode);
|
|
if (!T57_) goto LA58_;
|
|
k_2 = ((tyEnum_PathComponent__x9aIl9aBWoeZzD6AxCnUUcPQ)2);
|
|
}
|
|
goto LA51_;
|
|
LA58_: ;
|
|
{
|
|
NIM_BOOL T61_;
|
|
NIM_BOOL isSpecialX60gensym21_;
|
|
tyTuple__MuQpYKhupAt9a7EFKGkr9ayg __2;
|
|
T61_ = (NIM_BOOL)0;
|
|
T61_ = S_ISLNK(s.st_mode);
|
|
if (!T61_) goto LA62_;
|
|
isSpecialX60gensym21_ = (NIM_BOOL)0;
|
|
__2 = getSymlinkFileKind__stdZprivateZoscommon_26(path_2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
|
|
k_2 = __2.Field0;
|
|
isSpecialX60gensym21_ = __2.Field1;
|
|
{
|
|
NIM_BOOL T66_;
|
|
T66_ = (NIM_BOOL)0;
|
|
T66_ = NIM_FALSE;
|
|
if (!(T66_)) goto LA67_;
|
|
T66_ = isSpecialX60gensym21_;
|
|
LA67_: ;
|
|
if (!T66_) goto LA68_;
|
|
eqdestroy___stdZassertions_13((&rel));
|
|
eqdestroy___stdZassertions_13((&path_2));
|
|
eqdestroy___stdZassertions_13((&y));
|
|
goto LA25;
|
|
}
|
|
LA68_: ;
|
|
}
|
|
goto LA51_;
|
|
LA62_: ;
|
|
{
|
|
NIM_BOOL T71_;
|
|
NIM_BOOL T73_;
|
|
T71_ = (NIM_BOOL)0;
|
|
T71_ = NIM_FALSE;
|
|
if (!(T71_)) goto LA72_;
|
|
T73_ = (NIM_BOOL)0;
|
|
T73_ = S_ISREG(s.st_mode);
|
|
T71_ = !(T73_);
|
|
LA72_: ;
|
|
if (!T71_) goto LA74_;
|
|
eqdestroy___stdZassertions_13((&rel));
|
|
eqdestroy___stdZassertions_13((&path_2));
|
|
eqdestroy___stdZassertions_13((&y));
|
|
goto LA25;
|
|
}
|
|
goto LA51_;
|
|
LA74_: ;
|
|
LA51_: ;
|
|
}
|
|
break;
|
|
default:
|
|
{
|
|
{
|
|
NIM_BOOL T79_;
|
|
T79_ = (NIM_BOOL)0;
|
|
T79_ = NIM_FALSE;
|
|
if (!(T79_)) goto LA80_;
|
|
T79_ = !(((*x).d_type == ((NI8)8)));
|
|
LA80_: ;
|
|
if (!T79_) goto LA81_;
|
|
eqdestroy___stdZassertions_13((&rel));
|
|
eqdestroy___stdZassertions_13((&path_2));
|
|
eqdestroy___stdZassertions_13((&y));
|
|
goto LA25;
|
|
}
|
|
goto LA77_;
|
|
LA81_: ;
|
|
{
|
|
}
|
|
LA77_: ;
|
|
}
|
|
break;
|
|
}
|
|
k = k_2;
|
|
eqsink___stdZassertions_19((&p), y);
|
|
y.len = 0; y.p = NIM_NIL;
|
|
rel = slash___stdZprivateZospaths50_91(d, p);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
|
|
{
|
|
NIM_BOOL T86_;
|
|
NimStringV2 colontmpD_;
|
|
T86_ = (NIM_BOOL)0;
|
|
T86_ = (k == ((tyEnum_PathComponent__x9aIl9aBWoeZzD6AxCnUUcPQ)2) || k == ((tyEnum_PathComponent__x9aIl9aBWoeZzD6AxCnUUcPQ)3));
|
|
if (!(T86_)) goto LA87_;
|
|
T86_ = (k == ((tyEnum_PathComponent__x9aIl9aBWoeZzD6AxCnUUcPQ)2));
|
|
LA87_: ;
|
|
if (!T86_) goto LA88_;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
eqcopy___stdZassertions_16((&colontmpD_), rel);
|
|
add__stdZenumutils_69((&stack), colontmpD_);
|
|
}
|
|
LA88_: ;
|
|
{
|
|
NimStringV2 T94_;
|
|
if (!(k == ((tyEnum_PathComponent__x9aIl9aBWoeZzD6AxCnUUcPQ)0))) goto LA92_;
|
|
T94_.len = 0; T94_.p = NIM_NIL;
|
|
{
|
|
if (!NIM_FALSE) goto LA97_;
|
|
eqsink___stdZassertions_19((&path), rel);
|
|
rel.len = 0; rel.p = NIM_NIL;
|
|
}
|
|
goto LA95_;
|
|
LA97_: ;
|
|
{
|
|
NimStringV2 T100_;
|
|
T100_.len = 0; T100_.p = NIM_NIL;
|
|
T100_ = slash___stdZprivateZospaths50_91(dir, rel);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
|
|
eqsink___stdZassertions_19((&path), T100_);
|
|
}
|
|
LA95_: ;
|
|
{
|
|
NIM_BOOL T103_;
|
|
tySequence__CJOrWaM0fWekVRTE2AotGw fileEntries;
|
|
tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A title;
|
|
NI f;
|
|
T103_ = (NIM_BOOL)0;
|
|
T103_ = nsuEndsWith(path, TM__vYBWrr780p7faFzauVMtPg_671);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
|
|
if (!T103_) goto LA104_;
|
|
fileEntries.len = 0; fileEntries.p = NIM_NIL;
|
|
nimZeroMem((void*)(&title), sizeof(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A));
|
|
fileEntries.len = 0; fileEntries.p = NIM_NIL;
|
|
nimZeroMem((void*)(&title), sizeof(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A));
|
|
f = ((NI)0);
|
|
newSeq__packagesZdocutilsZrstgen_6686((&fileEntries), ((NI)500));
|
|
setLen__packagesZdocutilsZrstgen_2469((&fileEntries), ((NI)0));
|
|
{
|
|
NimStringV2 line;
|
|
NimStringV2 colontmpD__2;
|
|
FILE* f_2;
|
|
NimStringV2 res;
|
|
line.len = 0; line.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
line = colontmpD__2;
|
|
f_2 = open__stdZsyncio_447(path, ((tyEnum_FileMode__4sJyy9aOSN8X63XdWXl5iDg)0), ((NI)8000));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA108_;
|
|
res.len = 0; res.p = NIM_NIL;
|
|
res = rawNewString(((NI)80));
|
|
{
|
|
while (1) {
|
|
NIM_BOOL T113_;
|
|
T113_ = (NIM_BOOL)0;
|
|
T113_ = readLine__stdZsyncio_263(f_2, (&res));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA110_;
|
|
if (!T113_) goto LA112 ;
|
|
line = res;
|
|
{
|
|
NI s_2;
|
|
NimStringV2 T119_;
|
|
NimStringV2 T120_;
|
|
s_2 = nsuFindChar(line, 9, ((NI)0), ((NI)-1));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA110_;
|
|
{
|
|
if (!(s_2 < ((NI)0))) goto LA117_;
|
|
goto LA114;
|
|
}
|
|
LA117_: ;
|
|
setLen__packagesZdocutilsZrstgen_2469((&fileEntries), ((NI) ((NI)(f + ((NI)1)))));
|
|
T119_.len = 0; T119_.p = NIM_NIL;
|
|
T119_ = substr__system_7538(line, ((NI)0), (NI)(s_2 - ((NI)1)));
|
|
eqsink___stdZassertions_19((&fileEntries.p->data[f].keyword), T119_);
|
|
T120_.len = 0; T120_.p = NIM_NIL;
|
|
T120_ = substr__system_7550(line, (NI)(s_2 + ((NI)1)));
|
|
eqsink___stdZassertions_19((&fileEntries.p->data[f].link), T120_);
|
|
{
|
|
NIM_BOOL T123_;
|
|
T123_ = (NIM_BOOL)0;
|
|
T123_ = (title.keyword.len == ((NI)0));
|
|
if (!(T123_)) goto LA124_;
|
|
T123_ = isDocumentationTitle__packagesZdocutilsZrstgen_2276(fileEntries.p->data[f].link);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA110_;
|
|
LA124_: ;
|
|
if (!T123_) goto LA125_;
|
|
eqcopy___stdZassertions_16((&title.keyword), fileEntries.p->data[f].keyword);
|
|
eqcopy___stdZassertions_16((&title.link), fileEntries.p->data[f].link);
|
|
}
|
|
LA125_: ;
|
|
{
|
|
NI T129_;
|
|
tySequence__sM4lkSb7zS6F7OVMvW9cffQ extraCols;
|
|
NimStringV2 T132_;
|
|
NimStringV2 T133_;
|
|
T129_ = (NI)0;
|
|
T129_ = nsuFindChar(fileEntries.p->data[f].link, 9, ((NI)0), ((NI)-1));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA110_;
|
|
if (!(((NI)0) < T129_)) goto LA130_;
|
|
extraCols.len = 0; extraCols.p = NIM_NIL;
|
|
extraCols = nsuSplitChar(fileEntries.p->data[f].link, 9, ((NI)-1));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA110_;
|
|
eqsink___stdZassertions_19((&fileEntries.p->data[f].link), extraCols.p->data[((NI)0)]);
|
|
extraCols.p->data[((NI)0)].len = 0; extraCols.p->data[((NI)0)].p = NIM_NIL;
|
|
T132_.len = 0; T132_.p = NIM_NIL;
|
|
T132_ = unquoteIndexColumn__packagesZdocutilsZrstgen_508(extraCols.p->data[((NI)1)]);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA110_;
|
|
eqsink___stdZassertions_19((&fileEntries.p->data[f].linkTitle), T132_);
|
|
T133_.len = 0; T133_.p = NIM_NIL;
|
|
T133_ = unquoteIndexColumn__packagesZdocutilsZrstgen_508(extraCols.p->data[((NI)2)]);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA110_;
|
|
eqsink___stdZassertions_19((&fileEntries.p->data[f].linkDesc), T133_);
|
|
eqdestroy___system_3530((&extraCols));
|
|
}
|
|
goto LA127_;
|
|
LA130_: ;
|
|
{
|
|
eqsink___stdZassertions_19((&fileEntries.p->data[f].linkTitle), TM__vYBWrr780p7faFzauVMtPg_674);
|
|
eqsink___stdZassertions_19((&fileEntries.p->data[f].linkDesc), TM__vYBWrr780p7faFzauVMtPg_675);
|
|
}
|
|
LA127_: ;
|
|
f += ((NI)1);
|
|
} LA114: ;
|
|
} LA112: ;
|
|
}
|
|
{
|
|
LA110_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&res));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA109_;
|
|
{
|
|
LA109_:;
|
|
}
|
|
{
|
|
oldNimErrFin109_ = *nimErr_; *nimErr_ = NIM_FALSE;
|
|
close__stdZsyncio_242(f_2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA108_;
|
|
*nimErr_ = oldNimErrFin109_;
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA108_;
|
|
{
|
|
LA108_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA106_;
|
|
}
|
|
{
|
|
if (!(title.keyword.len == ((NI)0))) goto LA143_;
|
|
{
|
|
NI i;
|
|
NI i_2;
|
|
i = (NI)0;
|
|
i_2 = ((NI)0);
|
|
{
|
|
while (1) {
|
|
if (!(i_2 < f)) goto LA147 ;
|
|
i = i_2;
|
|
{
|
|
NimStringV2 toc;
|
|
toc.len = 0; toc.p = NIM_NIL;
|
|
eqcopy___stdZassertions_16((&toc), fileEntries.p->data[i].linkTitle);
|
|
{
|
|
NIM_BOOL T152_;
|
|
T152_ = (NIM_BOOL)0;
|
|
T152_ = (((NI)0) < toc.len);
|
|
if (!(T152_)) goto LA153_;
|
|
T152_ = ((NU8)(toc.p->data[((NI)0)]) == (NU8)(32));
|
|
LA153_: ;
|
|
if (!T152_) goto LA154_;
|
|
eqdestroy___stdZassertions_13((&toc));
|
|
goto LA148;
|
|
}
|
|
LA154_: ;
|
|
setLen__packagesZdocutilsZrstgen_2469((&(*Result).Field1), ((NI) ((NI)(L + ((NI)1)))));
|
|
eqcopy___packagesZdocutilsZrstgen_2219((&(*Result).Field1.p->data[L]), (&fileEntries.p->data[i]));
|
|
L += ((NI)1);
|
|
{
|
|
LA149_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&toc));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA106_;
|
|
} LA148: ;
|
|
i_2 += ((NI)1);
|
|
} LA147: ;
|
|
}
|
|
}
|
|
{
|
|
NI T160_;
|
|
NimStringV2 x_2;
|
|
NI i_3;
|
|
T160_ = fileEntries.len;
|
|
if (!(((NI)0) < T160_)) goto LA161_;
|
|
x_2.len = 0; x_2.p = NIM_NIL;
|
|
x_2 = fileEntries.p->data[((NI)0)].link;
|
|
fileEntries.p->data[((NI)0)].link.len = 0; fileEntries.p->data[((NI)0)].link.p = NIM_NIL;
|
|
i_3 = nsuFindChar(x_2, 35, ((NI)0), ((NI)-1));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA106_;
|
|
{
|
|
if (!(((NI)0) < i_3)) goto LA165_;
|
|
setLengthStrV2((&x_2), ((NI) (i_3)));
|
|
}
|
|
LA165_: ;
|
|
{
|
|
NimStringV2 T171_;
|
|
if (!!((i_3 == ((NI)0)))) goto LA169_;
|
|
T171_.len = 0; T171_.p = NIM_NIL;
|
|
T171_ = noschangeFileExt(x_2, TM__vYBWrr780p7faFzauVMtPg_676);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA106_;
|
|
add__stdZenumutils_69((&(*Result).Field0), T171_);
|
|
}
|
|
LA169_: ;
|
|
eqdestroy___stdZassertions_13((&x_2));
|
|
}
|
|
LA161_: ;
|
|
}
|
|
goto LA141_;
|
|
LA143_: ;
|
|
{
|
|
NimStringV2 colontmpD__3;
|
|
NimStringV2 T173_;
|
|
NI T174_;
|
|
tySequence__CJOrWaM0fWekVRTE2AotGw blitTmp;
|
|
colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
|
|
T173_.len = 0; T173_.p = NIM_NIL;
|
|
T174_ = (NI)0;
|
|
T174_ = len__packagesZdocutilsZrstgen_6193((*Result).Field2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA106_;
|
|
colontmpD__3 = dollar___systemZdollars_3(T174_);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA106_;
|
|
T173_ = rawNewString(colontmpD__3.len + 8);
|
|
appendString((&T173_), TM__vYBWrr780p7faFzauVMtPg_678);
|
|
appendString((&T173_), colontmpD__3);
|
|
eqsink___stdZassertions_19((&title.linkTitle), T173_);
|
|
blitTmp = fileEntries;
|
|
fileEntries.len = 0; fileEntries.p = NIM_NIL;
|
|
X5BX5Deq___packagesZdocutilsZrstgen_7563((&(*Result).Field2), (&title), blitTmp);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA106_;
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
}
|
|
LA141_: ;
|
|
{
|
|
LA106_:;
|
|
}
|
|
{
|
|
eqdestroy___packagesZdocutilsZrstgen_2216((&title));
|
|
eqdestroy___packagesZdocutilsZrstgen_2452((&fileEntries));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA37_;
|
|
}
|
|
LA104_: ;
|
|
}
|
|
LA92_: ;
|
|
{
|
|
LA37_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&rel));
|
|
eqdestroy___stdZassertions_13((&path_2));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA26_;
|
|
}
|
|
LA35_: ;
|
|
{
|
|
LA26_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&y));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA22_;
|
|
} LA25: ;
|
|
}
|
|
} LA23: ;
|
|
{
|
|
LA22_:;
|
|
}
|
|
{
|
|
int T183_;
|
|
T183_ = (int)0;
|
|
T183_ = closedir(d_2);
|
|
(void)(T183_);
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA10_;
|
|
}
|
|
LA12_: ;
|
|
{
|
|
LA10_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmp_));
|
|
eqdestroy___stdZassertions_13((&p));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA8_;
|
|
}
|
|
checkDir = NIM_FALSE;
|
|
{
|
|
LA8_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&d));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA4_;
|
|
} LA6: ;
|
|
}
|
|
{
|
|
LA4_:;
|
|
}
|
|
{
|
|
eqdestroy___system_3530((&stack));
|
|
eqdestroy___stdZassertions_13((&path));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
}BeforeRet_: ;
|
|
}
|
|
static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZtables_33)(NI hcode) {
|
|
NIM_BOOL result;
|
|
result = (NIM_BOOL)0;
|
|
result = !((hcode == ((NI)0)));
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(NI, cmp__packagesZdocutilsZrstgen_2184)(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* a, tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* b) {
|
|
NI result;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
result = (NI)0;
|
|
result = nsuCmpIgnoreStyle((*a).keyword, (*b).keyword);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
{
|
|
if (!(result == ((NI)0))) goto LA3_;
|
|
result = nsuCmpIgnoreStyle((*a).link, (*b).link);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}
|
|
LA3_: ;
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, generateDocumentationJumps__packagesZdocutilsZrstgen_7193)(tyObject_Table__myGXmFdFAc6beAdGFLRvEQ docs) {
|
|
NimStringV2 result;
|
|
tySequence__CJOrWaM0fWekVRTE2AotGw titles;
|
|
tySequence__CJOrWaM0fWekVRTE2AotGw resultX60gensym83_;
|
|
tySequence__sM4lkSb7zS6F7OVMvW9cffQ chunks;
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 colontmpD__2;
|
|
tyProc__dyWamSxQI9aSIOZWO07sqOA T11_;
|
|
NimStringV2 T17_;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
result.len = 0; result.p = NIM_NIL;
|
|
titles.len = 0; titles.p = NIM_NIL;
|
|
resultX60gensym83_.len = 0; resultX60gensym83_.p = NIM_NIL;
|
|
chunks.len = 0; chunks.p = NIM_NIL;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
result = TM__vYBWrr780p7faFzauVMtPg_682;
|
|
{
|
|
tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* xX60gensym83_;
|
|
NI L;
|
|
xX60gensym83_ = (tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A*)0;
|
|
L = len__packagesZdocutilsZrstgen_6193(docs);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
{
|
|
NI h;
|
|
NI colontmp_;
|
|
NI T3_;
|
|
NI res;
|
|
h = (NI)0;
|
|
colontmp_ = (NI)0;
|
|
T3_ = (docs.data.len-1);
|
|
colontmp_ = T3_;
|
|
res = ((NI)0);
|
|
{
|
|
while (1) {
|
|
if (!(res <= colontmp_)) goto LA5 ;
|
|
h = res;
|
|
{
|
|
NIM_BOOL T8_;
|
|
tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A colontmpD__3;
|
|
T8_ = (NIM_BOOL)0;
|
|
T8_ = isFilled__pureZcollectionsZtables_33(docs.data.p->data[h].Field0);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
if (!T8_) goto LA9_;
|
|
nimZeroMem((void*)(&colontmpD__3), sizeof(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A));
|
|
xX60gensym83_ = (&docs.data.p->data[h].Field1);
|
|
nimZeroMem((void*)(&colontmpD__3), sizeof(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A));
|
|
eqcopy___packagesZdocutilsZrstgen_2219((&colontmpD__3), (&(*xX60gensym83_)));
|
|
add__packagesZdocutilsZrstgen_6648((&resultX60gensym83_), (&colontmpD__3));
|
|
}
|
|
LA9_: ;
|
|
res += ((NI)1);
|
|
} LA5: ;
|
|
}
|
|
}
|
|
}
|
|
titles = resultX60gensym83_;
|
|
nimZeroMem((void*)(&T11_), sizeof(tyProc__dyWamSxQI9aSIOZWO07sqOA));
|
|
T11_.ClP_0 = ((TM__vYBWrr780p7faFzauVMtPg_683) (cmp__packagesZdocutilsZrstgen_2184)); T11_.ClE_0 = NIM_NIL;
|
|
sort__packagesZdocutilsZrstgen_6671(((titles).p) ? (titles.p->data) : NIM_NIL, titles.len, T11_, ((tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA)1));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
chunks.len = 0; chunks.p = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content*) newSeqPayload(0, sizeof(NimStringV2), NIM_ALIGNOF(NimStringV2));
|
|
{
|
|
tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* title;
|
|
NI i;
|
|
NI L_2;
|
|
NI T13_;
|
|
title = (tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A*)0;
|
|
i = ((NI)0);
|
|
T13_ = titles.len;
|
|
L_2 = T13_;
|
|
{
|
|
while (1) {
|
|
NimStringV2 T16_;
|
|
if (!(i < L_2)) goto LA15 ;
|
|
title = (&titles.p->data[i]);
|
|
T16_.len = 0; T16_.p = NIM_NIL;
|
|
T16_ = rawNewString((*title).link.len + (*title).keyword.len + 15);
|
|
appendString((&T16_), TM__vYBWrr780p7faFzauVMtPg_685);
|
|
appendString((&T16_), (*title).link);
|
|
appendString((&T16_), TM__vYBWrr780p7faFzauVMtPg_686);
|
|
appendString((&T16_), (*title).keyword);
|
|
appendString((&T16_), TM__vYBWrr780p7faFzauVMtPg_688);
|
|
add__stdZenumutils_69((&chunks), T16_);
|
|
i += ((NI)1);
|
|
} LA15: ;
|
|
}
|
|
}
|
|
T17_.len = 0; T17_.p = NIM_NIL;
|
|
colontmpD_ = nsuJoinSep(((chunks).p) ? (chunks.p->data) : NIM_NIL, chunks.len, TM__vYBWrr780p7faFzauVMtPg_690);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
T17_ = rawNewString(colontmpD_.len + 6);
|
|
appendString((&T17_), colontmpD_);
|
|
appendString((&T17_), TM__vYBWrr780p7faFzauVMtPg_692);
|
|
colontmpD__2 = T17_;
|
|
prepareAdd((&result), colontmpD__2.len + 0);
|
|
appendString((&result), colontmpD__2);
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
eqdestroy___system_3530((&chunks));
|
|
eqdestroy___packagesZdocutilsZrstgen_2452((&titles));
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, generateModuleJumps__packagesZdocutilsZrstgen_7310)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ modules) {
|
|
NimStringV2 result;
|
|
tySequence__sM4lkSb7zS6F7OVMvW9cffQ chunks;
|
|
NimStringV2 colontmpD_;
|
|
NimStringV2 colontmpD__2;
|
|
NimStringV2 T11_;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
result.len = 0; result.p = NIM_NIL;
|
|
chunks.len = 0; chunks.p = NIM_NIL;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
result = TM__vYBWrr780p7faFzauVMtPg_696;
|
|
chunks.len = 0; chunks.p = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ_Content*) newSeqPayload(0, sizeof(NimStringV2), NIM_ALIGNOF(NimStringV2));
|
|
{
|
|
NimStringV2* name;
|
|
NI i;
|
|
NI L;
|
|
NI T3_;
|
|
name = (NimStringV2*)0;
|
|
i = ((NI)0);
|
|
T3_ = modules.len;
|
|
L = T3_;
|
|
{
|
|
while (1) {
|
|
NimStringV2 colontmpD__3;
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T7_;
|
|
NimStringV2 T8_;
|
|
if (!(i < L)) goto LA5 ;
|
|
colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
|
|
name = (&modules.p->data[i]);
|
|
T7_[0] = (*name);
|
|
colontmpD__3 = prettyLink__packagesZdocutilsZrstgen_84((*name));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA6_;
|
|
T7_[1] = colontmpD__3;
|
|
T8_.len = 0; T8_.p = NIM_NIL;
|
|
T8_ = nsuFormatOpenArray(TM__vYBWrr780p7faFzauVMtPg_698, T7_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA6_;
|
|
add__stdZenumutils_69((&chunks), T8_);
|
|
i += ((NI)1);
|
|
{
|
|
LA6_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
} LA5: ;
|
|
}
|
|
}
|
|
T11_.len = 0; T11_.p = NIM_NIL;
|
|
colontmpD_ = nsuJoinSep(((chunks).p) ? (chunks.p->data) : NIM_NIL, chunks.len, TM__vYBWrr780p7faFzauVMtPg_699);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
T11_ = rawNewString(colontmpD_.len + 6);
|
|
appendString((&T11_), colontmpD_);
|
|
appendString((&T11_), TM__vYBWrr780p7faFzauVMtPg_700);
|
|
colontmpD__2 = T11_;
|
|
prepareAdd((&result), colontmpD__2.len + 0);
|
|
appendString((&result), colontmpD__2);
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
eqdestroy___system_3530((&chunks));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(void, sortIndex__packagesZdocutilsZrstgen_2194)(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A* a, NI aLen_0) {
|
|
NI n;
|
|
NI h;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
n = aLen_0;
|
|
h = ((NI)1);
|
|
{
|
|
while (1) {
|
|
h = (NI)((NI)(((NI)3) * h) + ((NI)1));
|
|
{
|
|
if (!(n < h)) goto LA5_;
|
|
goto LA1;
|
|
}
|
|
LA5_: ;
|
|
}
|
|
} LA1: ;
|
|
{
|
|
while (1) {
|
|
h = (NI)(h / ((NI)3));
|
|
{
|
|
NI i;
|
|
NI colontmp_;
|
|
NI res;
|
|
i = (NI)0;
|
|
colontmp_ = (NI)0;
|
|
colontmp_ = (NI)(n - ((NI)1));
|
|
res = h;
|
|
{
|
|
while (1) {
|
|
tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A v;
|
|
NI j;
|
|
tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A T21_;
|
|
if (!(res <= colontmp_)) goto LA11 ;
|
|
nimZeroMem((void*)(&v), sizeof(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A));
|
|
i = res;
|
|
nimZeroMem((void*)(&v), sizeof(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A));
|
|
v = a[i];
|
|
nimZeroMem((void*)(&a[i]), sizeof(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A));
|
|
j = i;
|
|
{
|
|
while (1) {
|
|
NI T15_;
|
|
tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A T16_;
|
|
T15_ = (NI)0;
|
|
T15_ = cmp__packagesZdocutilsZrstgen_2184((&a[(NI)(j - h)]), (&v));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA12_;
|
|
if (!(((NI)0) <= T15_)) goto LA14 ;
|
|
T16_ = a[(NI)(j - h)];
|
|
nimZeroMem((void*)(&a[(NI)(j - h)]), sizeof(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A));
|
|
eqsink___packagesZdocutilsZrstgen_2222((&a[j]), (&T16_));
|
|
j = (NI)(j - h);
|
|
{
|
|
if (!(j < h)) goto LA19_;
|
|
goto LA13;
|
|
}
|
|
LA19_: ;
|
|
} LA14: ;
|
|
} LA13: ;
|
|
T21_ = v;
|
|
nimZeroMem((void*)(&v), sizeof(tyObject_IndexEntry__fxsh1PMzYjb64GNihAaS4A));
|
|
eqsink___packagesZdocutilsZrstgen_2222((&a[j]), (&T21_));
|
|
res += ((NI)1);
|
|
{
|
|
LA12_:;
|
|
}
|
|
{
|
|
eqdestroy___packagesZdocutilsZrstgen_2216((&v));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
} LA11: ;
|
|
}
|
|
}
|
|
{
|
|
if (!(h == ((NI)1))) goto LA26_;
|
|
goto LA7;
|
|
}
|
|
LA26_: ;
|
|
}
|
|
} LA7: ;
|
|
}BeforeRet_: ;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, escapeLink__packagesZdocutilsZrstgen_2239)(NimStringV2 s) {
|
|
NimStringV2 result;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
result.len = 0; result.p = NIM_NIL;
|
|
result = rawNewString(((NI) ((NI)(s.len + (NI)((NI32)(s.len) >> (NU32)(((NI)2)))))));
|
|
{
|
|
NIM_CHAR c;
|
|
NI i;
|
|
NI L;
|
|
c = (NIM_CHAR)0;
|
|
i = ((NI)0);
|
|
L = s.len;
|
|
{
|
|
while (1) {
|
|
if (!(i < L)) goto LA3 ;
|
|
c = s.p->data[i];
|
|
switch (((NU8)(c))) {
|
|
case 97 ... 122:
|
|
case 65 ... 90:
|
|
case 48 ... 57:
|
|
case 45:
|
|
case 46:
|
|
case 95:
|
|
case 126:
|
|
{
|
|
nimAddCharV1((&result), c);
|
|
}
|
|
break;
|
|
case 35:
|
|
case 47:
|
|
{
|
|
nimAddCharV1((&result), c);
|
|
}
|
|
break;
|
|
default:
|
|
{
|
|
NimStringV2 colontmpD_;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
prepareAdd((&result), 1);
|
|
appendString((&result), TM__vYBWrr780p7faFzauVMtPg_707);
|
|
colontmpD_ = toHex__pureZstrutils_1991(((NU8)(c)), ((NI)2));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
prepareAdd((&result), colontmpD_.len + 0);
|
|
appendString((&result), colontmpD_);
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
}
|
|
break;
|
|
}
|
|
i += ((NI)1);
|
|
} LA3: ;
|
|
}
|
|
}
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, generateSymbolIndex__packagesZdocutilsZrstgen_2254)(tySequence__CJOrWaM0fWekVRTE2AotGw symbols) {
|
|
NimStringV2 result;
|
|
NI i;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
result.len = 0; result.p = NIM_NIL;
|
|
result = TM__vYBWrr780p7faFzauVMtPg_705;
|
|
i = ((NI)0);
|
|
{
|
|
while (1) {
|
|
NI T3_;
|
|
NimStringV2 keyword;
|
|
NimStringV2 cleanedKeyword;
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T5_;
|
|
NI j;
|
|
T3_ = symbols.len;
|
|
if (!(i < T3_)) goto LA2 ;
|
|
keyword.len = 0; keyword.p = NIM_NIL;
|
|
cleanedKeyword.len = 0; cleanedKeyword.p = NIM_NIL;
|
|
keyword = symbols.p->data[i].keyword;
|
|
cleanedKeyword = escapeLink__packagesZdocutilsZrstgen_2239(keyword);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA4_;
|
|
T5_[0] = keyword;
|
|
T5_[1] = cleanedKeyword;
|
|
nsuAddf((&result), TM__vYBWrr780p7faFzauVMtPg_709, T5_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA4_;
|
|
j = i;
|
|
{
|
|
while (1) {
|
|
NIM_BOOL T8_;
|
|
NI T9_;
|
|
NimStringV2 url;
|
|
NimStringV2 text;
|
|
NimStringV2 desc;
|
|
NimStringV2 T12_;
|
|
NimStringV2 T18_;
|
|
T8_ = (NIM_BOOL)0;
|
|
T9_ = symbols.len;
|
|
T8_ = (j < T9_);
|
|
if (!(T8_)) goto LA10_;
|
|
T8_ = eqStrings(keyword, symbols.p->data[j].keyword);
|
|
LA10_: ;
|
|
if (!T8_) goto LA7 ;
|
|
url.len = 0; url.p = NIM_NIL;
|
|
text.len = 0; text.p = NIM_NIL;
|
|
desc.len = 0; desc.p = NIM_NIL;
|
|
url = escapeLink__packagesZdocutilsZrstgen_2239(symbols.p->data[j].link);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA11_;
|
|
T12_.len = 0; T12_.p = NIM_NIL;
|
|
{
|
|
if (!(((NI)0) < symbols.p->data[j].linkTitle.len)) goto LA15_;
|
|
text = symbols.p->data[j].linkTitle;
|
|
}
|
|
goto LA13_;
|
|
LA15_: ;
|
|
{
|
|
text = url;
|
|
}
|
|
LA13_: ;
|
|
T18_.len = 0; T18_.p = NIM_NIL;
|
|
{
|
|
if (!(((NI)0) < symbols.p->data[j].linkDesc.len)) goto LA21_;
|
|
desc = symbols.p->data[j].linkDesc;
|
|
}
|
|
goto LA19_;
|
|
LA21_: ;
|
|
{
|
|
desc = TM__vYBWrr780p7faFzauVMtPg_710;
|
|
}
|
|
LA19_: ;
|
|
{
|
|
tyArray__24KAM9afIUgUaqBaEBB6r9bg T28_;
|
|
if (!(((NI)0) < desc.len)) goto LA26_;
|
|
T28_[0] = url;
|
|
T28_[1] = text;
|
|
T28_[2] = desc;
|
|
nsuAddf((&result), TM__vYBWrr780p7faFzauVMtPg_712, T28_, 3);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA11_;
|
|
}
|
|
goto LA24_;
|
|
LA26_: ;
|
|
{
|
|
tyArray__Re75IspeoxXy2oCZHwcRrA T30_;
|
|
T30_[0] = url;
|
|
T30_[1] = text;
|
|
nsuAddf((&result), TM__vYBWrr780p7faFzauVMtPg_714, T30_, 2);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA11_;
|
|
}
|
|
LA24_: ;
|
|
j += ((NI)1);
|
|
{
|
|
LA11_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&url));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA4_;
|
|
} LA7: ;
|
|
}
|
|
prepareAdd((&result), 11);
|
|
appendString((&result), TM__vYBWrr780p7faFzauVMtPg_716);
|
|
i = j;
|
|
{
|
|
LA4_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&cleanedKeyword));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
} LA2: ;
|
|
}
|
|
prepareAdd((&result), 5);
|
|
appendString((&result), TM__vYBWrr780p7faFzauVMtPg_718);
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringV2, mergeIndexes__packagesZdocutilsZrstgen_8604)(NimStringV2 dir) {
|
|
NimStringV2 result;
|
|
tyTuple__Rf49c4BJ4LYwQucz9a7JHOmA colontmp_;
|
|
tySequence__sM4lkSb7zS6F7OVMvW9cffQ modules;
|
|
tySequence__CJOrWaM0fWekVRTE2AotGw symbols;
|
|
tyObject_Table__myGXmFdFAc6beAdGFLRvEQ docs;
|
|
tyProc__3pmh9bG9bLpdxUjFu9cDtbZaA T2_;
|
|
NIM_BOOL* nimErr_;
|
|
{nimErr_ = nimErrorFlag();
|
|
result.len = 0; result.p = NIM_NIL;
|
|
nimZeroMem((void*)(&colontmp_), sizeof(tyTuple__Rf49c4BJ4LYwQucz9a7JHOmA));
|
|
modules.len = 0; modules.p = NIM_NIL;
|
|
symbols.len = 0; symbols.p = NIM_NIL;
|
|
nimZeroMem((void*)(&docs), sizeof(tyObject_Table__myGXmFdFAc6beAdGFLRvEQ));
|
|
readIndexDir__packagesZdocutilsZrstgen_7326(dir, (&colontmp_));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
modules = colontmp_.Field0;
|
|
symbols = colontmp_.Field1;
|
|
docs = colontmp_.Field2;
|
|
nimZeroMem((void*)(&T2_), sizeof(tyProc__3pmh9bG9bLpdxUjFu9cDtbZaA));
|
|
T2_.ClP_0 = ((TM__vYBWrr780p7faFzauVMtPg_679) (cmp__system_1543)); T2_.ClE_0 = NIM_NIL;
|
|
sort__sem_1924(((modules).p) ? (modules.p->data) : NIM_NIL, modules.len, T2_, ((tyEnum_SortOrder__8iBc6wlNqBa9cju9cUAhUAxA)1));
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
result = TM__vYBWrr780p7faFzauVMtPg_680;
|
|
{
|
|
NI T5_;
|
|
NimStringV2 colontmpD_;
|
|
T5_ = (NI)0;
|
|
T5_ = len__packagesZdocutilsZrstgen_6193(docs);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
if (!(((NI)0) < T5_)) goto LA6_;
|
|
colontmpD_.len = 0; colontmpD_.p = NIM_NIL;
|
|
colontmpD_ = generateDocumentationJumps__packagesZdocutilsZrstgen_7193(docs);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
prepareAdd((&result), colontmpD_.len + 0);
|
|
appendString((&result), colontmpD_);
|
|
prepareAdd((&result), 5);
|
|
appendString((&result), TM__vYBWrr780p7faFzauVMtPg_694);
|
|
eqdestroy___stdZassertions_13((&colontmpD_));
|
|
}
|
|
LA6_: ;
|
|
{
|
|
NI T10_;
|
|
NimStringV2 colontmpD__2;
|
|
T10_ = modules.len;
|
|
if (!(((NI)0) < T10_)) goto LA11_;
|
|
colontmpD__2.len = 0; colontmpD__2.p = NIM_NIL;
|
|
colontmpD__2 = generateModuleJumps__packagesZdocutilsZrstgen_7310(modules);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA13_;
|
|
prepareAdd((&result), colontmpD__2.len + 0);
|
|
appendString((&result), colontmpD__2);
|
|
prepareAdd((&result), 5);
|
|
appendString((&result), TM__vYBWrr780p7faFzauVMtPg_701);
|
|
{
|
|
LA13_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__2));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA11_: ;
|
|
{
|
|
NI T18_;
|
|
NimStringV2 colontmpD__3;
|
|
T18_ = symbols.len;
|
|
if (!(((NI)0) < T18_)) goto LA19_;
|
|
colontmpD__3.len = 0; colontmpD__3.p = NIM_NIL;
|
|
sortIndex__packagesZdocutilsZrstgen_2194(((symbols).p) ? (symbols.p->data) : NIM_NIL, symbols.len);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA21_;
|
|
prepareAdd((&result), 21);
|
|
appendString((&result), TM__vYBWrr780p7faFzauVMtPg_703);
|
|
colontmpD__3 = generateSymbolIndex__packagesZdocutilsZrstgen_2254(symbols);
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA21_;
|
|
prepareAdd((&result), colontmpD__3.len + 0);
|
|
appendString((&result), colontmpD__3);
|
|
{
|
|
LA21_:;
|
|
}
|
|
{
|
|
eqdestroy___stdZassertions_13((&colontmpD__3));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto LA1_;
|
|
}
|
|
LA19_: ;
|
|
{
|
|
LA1_:;
|
|
}
|
|
{
|
|
eqdestroy___packagesZdocutilsZrstgen_7168((&docs));
|
|
eqdestroy___packagesZdocutilsZrstgen_2452((&symbols));
|
|
eqdestroy___system_3530((&modules));
|
|
}
|
|
if (NIM_UNLIKELY(*nimErr_)) goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;
|
|
}
|