/* Generated by Nim Compiler v0.19.0 */
/*   (c) 2018 Andreas Rumpf */
/* The generated code is subject to the original license. */
#define NIM_NEW_MANGLING_RULES
#define NIM_INTBITS 64

#include "nimbase.h"
#include <string.h>
#include <stdio.h>
#undef LANGUAGE_C
#undef MIPSEB
#undef MIPSEL
#undef PPC
#undef R3000
#undef R4000
#undef i386
#undef linux
#undef mips
#undef near
#undef far
#undef powerpc
#undef unix
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tyTuple_WCz3Z7at9aJyVFSh5OmwJNg tyTuple_WCz3Z7at9aJyVFSh5OmwJNg;
typedef struct tyObject_Env_dotdotslashdotdotslashdotdotslashdotdotslashnimslashlibslashpackagesslashdocutilsslashrstdotnim__4Ve8wOWSE8Hdar7fr5TdwQ tyObject_Env_dotdotslashdotdotslashdotdotslashdotdotslashnimslashlibslashpackagesslashdocutilsslashrstdotnim__4Ve8wOWSE8Hdar7fr5TdwQ;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg;
typedef struct tySequence_sawZST1Esj3o7EY9ayWwGPw tySequence_sawZST1Esj3o7EY9ayWwGPw;
typedef struct tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg;
typedef struct RootObj RootObj;
typedef struct tySequence_P8hOR7sdW9cxlcQApQ4kJNA tySequence_P8hOR7sdW9cxlcQApQ4kJNA;
typedef struct tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw;
typedef struct tySequence_qwqHTkRvwhrRyENtudHQ7g tySequence_qwqHTkRvwhrRyENtudHQ7g;
typedef struct tyObject_Token_9cnCC036DOlVv9c9aESuaQcBw tyObject_Token_9cnCC036DOlVv9c9aESuaQcBw;
typedef struct tySequence_KttZgRE9cmIMvHjR6Gj9a89ag tySequence_KttZgRE9cmIMvHjR6Gj9a89ag;
typedef struct tyObject_Substitution_WneU8C8OSOpUr8oGzt2hBA tyObject_Substitution_WneU8C8OSOpUr8oGzt2hBA;
typedef struct tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g;
typedef struct tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w;
typedef struct tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ;
typedef struct tyObject_GcStack_7fytPA5bBsob6See21YMRA tyObject_GcStack_7fytPA5bBsob6See21YMRA;
typedef struct tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg;
typedef struct tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ;
typedef struct tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg;
typedef struct tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw;
typedef struct tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA;
typedef struct tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw;
typedef struct tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw;
typedef struct tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg;
typedef struct tyTuple_ujsjpB2O9cjj3uDHsXbnSzg tyTuple_ujsjpB2O9cjj3uDHsXbnSzg;
typedef struct tyObject_GcStat_0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat_0RwLoVBHZPfUAcLczmfQAg;
typedef struct tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ;
typedef struct tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg;
typedef struct tyObject_EParseError_oatMhswPFBMju9bx0AewlSA tyObject_EParseError_oatMhswPFBMju9bx0AewlSA;
typedef struct tyObject_ValueError_5aqBlilCK53e9cDu4kUyN5Q tyObject_ValueError_5aqBlilCK53e9cDu4kUyN5Q;
typedef struct tyObject_Defect_LbeSGvgPzGzXnW9caIkJqMA tyObject_Defect_LbeSGvgPzGzXnW9caIkJqMA;
typedef struct Exception Exception;
typedef struct tySequence_uB9b75OUPRENsBAu4AnoePA tySequence_uB9b75OUPRENsBAu4AnoePA;
typedef struct tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA;
typedef struct tyTuple_UV3llMMYFckfui8YMBuUZA tyTuple_UV3llMMYFckfui8YMBuUZA;
typedef struct tyTuple_7q7q3E6Oj24ZNVJb9aonhAg tyTuple_7q7q3E6Oj24ZNVJb9aonhAg;
typedef struct tySequence_sM4lkSb7zS6F7OVMvW9cffQ tySequence_sM4lkSb7zS6F7OVMvW9cffQ;
typedef struct tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA;
typedef NU8 tyEnum_RstParseOption_fiZmsylYkyh6nEciRZcPsw;
typedef NU8 tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A;
typedef NU8 tySet_tyEnum_TNimTypeFlag_v8QUszD1sWlSIWZz7mC4bQ;
typedef N_NIMCALL_PTR(void, tyProc_ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, tyProc_WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
struct TNimType {
NI size;
tyEnum_TNimKind_jIBKr1ejBgsfM33Kxw4j7A kind;
tySet_tyEnum_TNimTypeFlag_v8QUszD1sWlSIWZz7mC4bQ flags;
TNimType* base;
TNimNode* node;
void* finalizer;
tyProc_ojoeKfW4VYIm36I9cpDTQIg marker;
tyProc_WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
};
typedef NU8 tySet_tyEnum_RstParseOption_fiZmsylYkyh6nEciRZcPsw;
struct tyTuple_WCz3Z7at9aJyVFSh5OmwJNg {
void* Field0;
tyObject_Env_dotdotslashdotdotslashdotdotslashdotdotslashnimslashlibslashpackagesslashdocutilsslashrstdotnim__4Ve8wOWSE8Hdar7fr5TdwQ* Field1;
};
typedef NU8 tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {
tyEnum_TNimNodeKind_unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
typedef NU8 tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg;
struct tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg {
tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg kind;
NimStringDesc* text;
NI level;
tySequence_sawZST1Esj3o7EY9ayWwGPw* sons;
};
typedef NU8 tySet_tyChar_nmiMWKVIe46vacnhAFrQvw[32];
typedef struct {
N_NIMCALL_PTR(NimStringDesc*, ClP_0) (NimStringDesc* filename, void* ClE_0);
void* ClE_0;
} tyProc_lRW9cfxqfm1ql4gkxfLReYg;
typedef NU8 tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ;
typedef struct {
N_NIMCALL_PTR(void, ClP_0) (NimStringDesc* filename, NI line, NI col, tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ msgKind, NimStringDesc* arg, void* ClE_0);
void* ClE_0;
} tyProc_r4CIWZzpiVlkxuVaaDT8Lw;
struct RootObj {
TNimType* m_type;
};
struct tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg {
  RootObj Sup;
NI idx;
tySequence_P8hOR7sdW9cxlcQApQ4kJNA* tok;
tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw* s;
tySequence_qwqHTkRvwhrRyENtudHQ7g* indentStack;
NimStringDesc* filename;
NI line;
NI col;
NIM_BOOL hasToc;
};
typedef NU8 tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ;
struct tyObject_Token_9cnCC036DOlVv9c9aESuaQcBw {
tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ kind;
NI ival;
NimStringDesc* symbol;
NI line;
NI col;
};
typedef NI tyArray_9cc9aPiDa8VaWjVcFLabEDZQ[256];
struct tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw {
tySet_tyEnum_RstParseOption_fiZmsylYkyh6nEciRZcPsw options;
NI uLevel;
NI oLevel;
tySequence_KttZgRE9cmIMvHjR6Gj9a89ag* subs;
tySequence_KttZgRE9cmIMvHjR6Gj9a89ag* refs;
tyArray_9cc9aPiDa8VaWjVcFLabEDZQ underlineToLevel;
tyArray_9cc9aPiDa8VaWjVcFLabEDZQ overlineToLevel;
tyProc_r4CIWZzpiVlkxuVaaDT8Lw msgHandler;
tyProc_lRW9cfxqfm1ql4gkxfLReYg findFile;
};
struct tyObject_Substitution_WneU8C8OSOpUr8oGzt2hBA {
NimStringDesc* key;
tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* value;
};
struct tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g {
NI refcount;
TNimType* typ;
};
struct tyObject_GcStack_7fytPA5bBsob6See21YMRA {
void* bottom;
};
struct tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w {
NI len;
NI cap;
tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g** d;
};
typedef tyObject_SmallChunk_tXn60W2f8h3jgAYdEmy5NQ* tyArray_SiRwrEKZdLgxqz9a9aoVBglg[512];
typedef NU32 tyArray_BHbOSqU1t9b3Gt7K2c6fQig[24];
typedef tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* tyArray_N1u1nqOgmuJN9cSZrnMHgOQ[32];
typedef tyArray_N1u1nqOgmuJN9cSZrnMHgOQ tyArray_B6durA4ZCi1xjJvRtyYxMg[24];
typedef tyObject_Trunk_W0r8S0Y3UGke6T9bIUWnnuw* tyArray_lh2A89ahMmYg9bCmpVaplLbA[256];
struct tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA {
tyArray_lh2A89ahMmYg9bCmpVaplLbA data;
};
typedef tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* tyArray_0aOLqZchNi8nWtMTi8ND8w[2];
struct tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw {
tyArray_0aOLqZchNi8nWtMTi8ND8w link;
NI key;
NI upperBound;
NI level;
};
struct tyTuple_ujsjpB2O9cjj3uDHsXbnSzg {
tyObject_BigChunk_Rv9c70Uhp2TytkX7eH78qEg* Field0;
NI Field1;
};
typedef tyTuple_ujsjpB2O9cjj3uDHsXbnSzg tyArray_LzOv2eCDGiceMKQstCLmhw[30];
struct tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg {
NI len;
tyArray_LzOv2eCDGiceMKQstCLmhw chunks;
tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg* next;
};
struct tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg {
NI minLargeObj;
NI maxLargeObj;
tyArray_SiRwrEKZdLgxqz9a9aoVBglg freeSmallChunks;
NU32 flBitmap;
tyArray_BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
tyArray_B6durA4ZCi1xjJvRtyYxMg matrix;
tyObject_LLChunk_XsENErzHIZV9bhvyJx56wGw* llmem;
NI currMem;
NI maxMem;
NI freeMem;
NI occ;
NI lastSize;
tyObject_IntSet_EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* root;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* deleted;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* last;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
NIM_BOOL locked;
NIM_BOOL blockChunkSizeIncrease;
NI nextChunkSize;
tyObject_AvlNode_IaqjtwKhxLEpvDS9bct9blEw bottomData;
tyObject_HeapLinks_PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
};
struct tyObject_GcStat_0RwLoVBHZPfUAcLczmfQAg {
NI stackScans;
NI cycleCollections;
NI maxThreshold;
NI maxStackSize;
NI maxStackCells;
NI cycleTableSize;
NI64 maxPause;
};
struct tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ {
NI counter;
NI max;
tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg* head;
tyObject_PageDesc_fublkgIY4LG3mT51LU2WHg** data;
};
struct tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ {
tyObject_GcStack_7fytPA5bBsob6See21YMRA stack;
NI cycleThreshold;
tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w zct;
tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w decStack;
tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w tempStack;
NI recGcLock;
tyObject_MemRegion_x81NhDv59b8ercDZ9bi85jyg region;
tyObject_GcStat_0RwLoVBHZPfUAcLczmfQAg stat;
tyObject_CellSet_jG87P0AI9aZtss9ccTYBIISQ marked;
tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w additionalRoots;
NI gcThreadId;
};
typedef NU8 tyEnum_MsgClass_dpFtqOEOsRL1xyFiV7JAeA;
typedef NimStringDesc* tyArray_2XTTWPhbvSoeTyuZ4N460g[10];
typedef NimStringDesc* tyArray_haiLFy0nBviVTKFGuwztzQ[5];
struct Exception {
  RootObj Sup;
Exception* parent;
NCSTRING name;
NimStringDesc* message;
tySequence_uB9b75OUPRENsBAu4AnoePA* trace;
NU raise_id;
Exception* up;
};
struct tyObject_Defect_LbeSGvgPzGzXnW9caIkJqMA {
  Exception Sup;
};
struct tyObject_ValueError_5aqBlilCK53e9cDu4kUyN5Q {
  tyObject_Defect_LbeSGvgPzGzXnW9caIkJqMA Sup;
};
struct tyObject_EParseError_oatMhswPFBMju9bx0AewlSA {
  tyObject_ValueError_5aqBlilCK53e9cDu4kUyN5Q Sup;
};
typedef NimStringDesc* tyArray_nHXaesL0DJZHyVS07ARPRA[1];
typedef N_CLOSURE_PTR(void, TM_Xuc9bgVTDeYXjwnCJIlXSig_55) (NimStringDesc* filename, NI line, NI col, tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ msgKind, NimStringDesc* arg, void* ClE_0);
typedef N_CLOSURE_PTR(NimStringDesc*, TM_Xuc9bgVTDeYXjwnCJIlXSig_56) (NimStringDesc* filename, void* ClE_0);
struct tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA {
  RootObj Sup;
NCSTRING buf;
NI bufpos;
NI line;
NI col;
NI baseIndent;
NIM_BOOL skipPounds;
};
typedef N_CLOSURE_PTR(void, TM_Xuc9bgVTDeYXjwnCJIlXSig_60) (NimStringDesc* filename, NI line, NI col, tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ msgKind, NimStringDesc* arg);
typedef N_CLOSURE_PTR(void, TM_Xuc9bgVTDeYXjwnCJIlXSig_76) (NimStringDesc* filename, NI line, NI col, tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ msgKind, NimStringDesc* arg);
typedef NU8 tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q;
typedef NimStringDesc* tyArray_pq8mfSp9bT2PbH9bKmz9cdOdA[13];
typedef NU8 tySet_tyEnum_DirFlag_719asfClbt5VSsDXq5URv9aw;
typedef N_NIMCALL_PTR(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, tyProc_Q29aqoKZ5tpbCgFkRsNjLwA) (tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
typedef NU8 tyEnum_DirFlag_719asfClbt5VSsDXq5URv9aw;
typedef N_CLOSURE_PTR(void, TM_Xuc9bgVTDeYXjwnCJIlXSig_102) (NimStringDesc* filename, NI line, NI col, tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ msgKind, NimStringDesc* arg);
struct tyTuple_UV3llMMYFckfui8YMBuUZA {
NimStringDesc* Field0;
NimStringDesc* Field1;
};
typedef tyTuple_UV3llMMYFckfui8YMBuUZA tyArray_EH7g9cw9ce5QW4p9ba9aZKF51w[34];
struct tyTuple_7q7q3E6Oj24ZNVJb9aonhAg {
NimStringDesc* Field0;
NimStringDesc* Field1;
NimStringDesc* Field2;
};
typedef N_CLOSURE_PTR(NimStringDesc*, TM_Xuc9bgVTDeYXjwnCJIlXSig_184) (NimStringDesc* filename);
typedef NimStringDesc* tyArray_24KAM9afIUgUaqBaEBB6r9bg[3];
typedef NI tyArray_Bd4h7Ocx9bGTvrKzPIWNlHw[3];
struct tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA {
NCSTRING procname;
NI line;
NCSTRING filename;
};
struct tySequence_P8hOR7sdW9cxlcQApQ4kJNA {
  TGenericSeq Sup;
  tyObject_Token_9cnCC036DOlVv9c9aESuaQcBw data[SEQ_DECL_SIZE];
};
struct tySequence_KttZgRE9cmIMvHjR6Gj9a89ag {
  TGenericSeq Sup;
  tyObject_Substitution_WneU8C8OSOpUr8oGzt2hBA data[SEQ_DECL_SIZE];
};
struct tySequence_qwqHTkRvwhrRyENtudHQ7g {
  TGenericSeq Sup;
  NI data[SEQ_DECL_SIZE];
};
struct tySequence_sM4lkSb7zS6F7OVMvW9cffQ {
  TGenericSeq Sup;
  NimStringDesc* data[SEQ_DECL_SIZE];
};
struct tySequence_sawZST1Esj3o7EY9ayWwGPw {
  TGenericSeq Sup;
  tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* data[SEQ_DECL_SIZE];
};
struct tySequence_uB9b75OUPRENsBAu4AnoePA {
  TGenericSeq Sup;
  tyObject_StackTraceEntry_oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];
};
N_LIB_PRIVATE N_NIMCALL(void, rstnodeToRefnameAux_fRcVoF5ybMIo51oOh9bIX9aw)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n, NimStringDesc** r, NIM_BOOL* b);
N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
static N_INLINE(void, copyMem_E1xtACub5WcDa3vbrIXbwgsystem)(void* dest, void* source, NI size);
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
N_LIB_PRIVATE N_NIMCALL(NI, len_7sZ6jl1AobLSRAIdrbIp6A)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n);
N_LIB_PRIVATE N_NIMCALL(void, addNodesAux_ToaqO1cN3a5AvyVuMh9bYTA)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n, NimStringDesc** result);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, addNodes_8c8VtfxgpCNHWO7JhFDeLQ_2)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n);
N_LIB_PRIVATE N_NIMCALL(NI, nsuCmpIgnoreStyle)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuStrip)(NimStringDesc* s, NIM_BOOL leading, NIM_BOOL trailing, tySet_tyChar_nmiMWKVIe46vacnhAFrQvw chars);
static N_INLINE(void, nimZeroMem)(void* p, NI size);
static N_INLINE(void, nimSetMem_cNwQQ4PlSJsZSwvoN5Uafwsystem)(void* a, int v, NI size);
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
static N_NIMCALL(void, Marker_tySequence_P8hOR7sdW9cxlcQApQ4kJNA)(void* p, NI op);
static N_NIMCALL(void, Marker_tySequence_KttZgRE9cmIMvHjR6Gj9a89ag)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef_NOd8Bhkha1yAk19cIRBRUeg)(void* p, NI op);
N_LIB_PRIVATE N_NIMCALL(void, initParser_HuwafTNovlAXYbimnFS9cmQ)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw* sharedState);
N_NIMCALL(void, genericSeqAssign)(void* dest, void* src, TNimType* mt);
N_LIB_PRIVATE N_NIMCALL(tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw*, newSharedState_XecOuoaPTKhpoNl8h9b9coRQ)(tySet_tyEnum_RstParseOption_fiZmsylYkyh6nEciRZcPsw options, tyProc_lRW9cfxqfm1ql4gkxfLReYg findFile, tyProc_r4CIWZzpiVlkxuVaaDT8Lw msgHandler);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem)(void* usr);
static N_INLINE(void, rtlAddZCT_MV4BBk6J1qu70IbBxwEn4w_2system)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, addZCT_fCDI7oO1NNVXXURtxSzsRw)(tyObject_CellSeq_Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incRef_9cAA5YuQAAC3MVbnGeV86swsystem)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(void, decRef_MV4BBk6J1qu70IbBxwEn4wsystem)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NIMCALL(void, defaultMsgHandler_R4H9bbQuYGj9a69baLZpBlgUg)(NimStringDesc* filename, NI line, NI col, tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ msgkind, NimStringDesc* arg);
N_LIB_PRIVATE N_NIMCALL(tyEnum_MsgClass_dpFtqOEOsRL1xyFiV7JAeA, whichMsgClass_mIrax4TkIL3n9aR0qTXZubQ)(tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ k);
N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuFormatSingleElem)(NimStringDesc* formatstr, NimStringDesc* a);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuFormatOpenArray)(NimStringDesc* formatstr, NimStringDesc** a, NI aLen_0);
N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
static N_NIMCALL(void, Marker_tyRef_CW9bDgGqFzztMZpOn1dc0CA)(void* p, NI op);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
N_NIMCALL(void, raiseException)(Exception* e, NCSTRING ename);
static N_INLINE(void, writeLine_rBQVO3cm3BhnA9aEFD7PG6Qmsgs)(FILE* f, NimStringDesc** x, NI xLen_0);
N_LIB_PRIVATE N_NIMCALL(void, write_c4mGyJBvK73pdM22jiweKQ)(FILE* f, NimStringDesc* s);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, defaultFindFile_DZ45uznxnUhA07wPfOlbWg)(NimStringDesc* filename);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nosexistsFile)(NimStringDesc* filename);
N_LIB_PRIVATE N_NIMCALL(NI, getTokens_9bP24k7EPS6mr3BYA8XjYyA)(NimStringDesc* buffer, NIM_BOOL skipPounds, tySequence_P8hOR7sdW9cxlcQApQ4kJNA** tokens);
static N_INLINE(NCSTRING, nimToCStringConv)(NimStringDesc* s);
N_NIMCALL(TGenericSeq*, setLengthSeqV2)(TGenericSeq* s, TNimType* typ, NI newLen);
N_LIB_PRIVATE N_NIMCALL(void, rawGetTok_4VsDraoQNkNBLXrfN3dpZg)(tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA* L, tyObject_Token_9cnCC036DOlVv9c9aESuaQcBw* tok);
N_LIB_PRIVATE N_NIMCALL(void, getThing_8M0TlDXoTX9aBofTtx4xsfA)(tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA* L, tyObject_Token_9cnCC036DOlVv9c9aESuaQcBw* tok, tySet_tyChar_nmiMWKVIe46vacnhAFrQvw s);
N_LIB_PRIVATE N_NIMCALL(void, getIndent_4VsDraoQNkNBLXrfN3dpZg_2)(tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA* L, tyObject_Token_9cnCC036DOlVv9c9aESuaQcBw* tok);
N_LIB_PRIVATE N_NIMCALL(NI, getIndentAux_eO19cWCG9cb8BWjIrW9aB2SyQ)(tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA* L, NI start);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuRepeatChar)(NIM_CHAR c, NI count);
N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_LIB_PRIVATE N_NIMCALL(void, getAdornment_4VsDraoQNkNBLXrfN3dpZg_3)(tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA* L, tyObject_Token_9cnCC036DOlVv9c9aESuaQcBw* tok);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, resolveSubs_zjrO69bNk4zafyWr1c8BsDw)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n);
N_LIB_PRIVATE N_NIMCALL(NI, findSub_2m00yOgdbAI0bOTeFwYPzQ)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
static N_INLINE(NIM_BOOL, equalMem_fmeFeLBvgmAHG9bC8ETS9bYQropes)(void* a, void* b, NI size);
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getEnv_9b1nh9cAHhSLlHOPz8lCk5FA)(NimStringDesc* key, NimStringDesc* default_0);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, newRstNode_5U9cRbUMTUnFZvEj9bgqsRSg)(tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg kind, NimStringDesc* s);
N_LIB_PRIVATE N_NIMCALL(void, rstMessage_1lITOefsdDjHpFYeqWT9aow)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ msgKind, NimStringDesc* arg);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, findRef_OnV0ECf14r9arlhPL5Gz26A)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NimStringDesc* key);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rstnodeToRefname_8c8VtfxgpCNHWO7JhFDeLQ)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, newRstNode_a0gNerhK9cSe5kzN5MHB6OQ)(tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg kind);
N_LIB_PRIVATE N_NIMCALL(void, add_ZvlV89auQrVc4pTJdjhNQiQ)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* father, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* son);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseDoc_8ck1a1XOjHiLTWDzHt9czmQ)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseSectionWrapper_8ck1a1XOjHiLTWDzHt9czmQ_2)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(void, parseSection_57GOaTSPSkCmogVitCR7Og)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result);
N_LIB_PRIVATE N_NIMCALL(NI, currInd_xUb9bp9aN3qua9bQob6ivKMSg)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(void, pushInd_Xbq51oVyRO7PZZ4xLvVYsA)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NI ind);
N_NIMCALL(TGenericSeq*, incrSeqV3)(TGenericSeq* s, TNimType* typ);
N_LIB_PRIVATE N_NIMCALL(void, popInd_xyvnfvy5mhKB22A7n5qS7g)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg, whichSection_fKdIux7luKc8K63j1aCSGA)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, match_BA0Thy4zmrgaRNWWKGQ79cg)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NI start, NimStringDesc* expr);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, allCharsInSet_wVfr4F6j4mVzI8ggLoMVdw)(NimStringDesc* s, tySet_tyChar_nmiMWKVIe46vacnhAFrQvw theSet);
N_LIB_PRIVATE N_NIMCALL(NI, tokenAfterNewline_xUb9bp9aN3qua9bQob6ivKMSg_2)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, predNL_UhneQZ7gHdgvtKQt0amgjQ)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isLineBlock_UhneQZ7gHdgvtKQt0amgjQ_2)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(void, rstMessage_010ZyRRb5239bB1tvVcSjvg)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ msgKind);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isDefList_UhneQZ7gHdgvtKQt0amgjQ_3)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isOptionList_UhneQZ7gHdgvtKQt0amgjQ_4)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseLiteralBlock_7GQctOJZjer320oBsVuaZw)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseBulletList_8ck1a1XOjHiLTWDzHt9czmQ_3)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseLineBlock_8ck1a1XOjHiLTWDzHt9czmQ_4)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseDotDot_8ck1a1XOjHiLTWDzHt9czmQ_5)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getDirective_GnDFZULSR7G7ehC8vbQq8g)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q, getDirKind_mWUS0gkH9a9b9aw0vnkK9ajU2A)(NimStringDesc* s);
static N_INLINE(NI, find_WIHmYlNa9bE7UygcMeOWFFwrst)(tyArray_pq8mfSp9bT2PbH9bKmz9cdOdA a, NimStringDesc* item);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, dirInclude_8ck1a1XOjHiLTWDzHt9czmQ_6)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseDirective_rYJEOR7md5rqjdwiI3p75Q)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tySet_tyEnum_DirFlag_719asfClbt5VSsDXq5URv9aw flags, tyProc_Q29aqoKZ5tpbCgFkRsNjLwA contentParser);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseDirective_vIwPF9cQ209aAiAXMag3Hs1A)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tySet_tyEnum_DirFlag_719asfClbt5VSsDXq5URv9aw flags);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, newLeaf_7GQctOJZjer320oBsVuaZw_2)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(void, parseLine_RwTEadQq45h66VRoByZYcw)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* father);
N_LIB_PRIVATE N_NIMCALL(void, parseInline_RwTEadQq45h66VRoByZYcw_2)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* father);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isInlineMarkupStart_Fdq2EHyFyJnaA4KSrbjzwg)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NimStringDesc* markup);
N_LIB_PRIVATE N_NIMCALL(void, parseUntil_BtNLsoboZYu9a5AP1vqQAuQ)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* father, NimStringDesc* postfix, NIM_BOOL interpretBackslash);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isInlineMarkupEnd_Fdq2EHyFyJnaA4KSrbjzwg_2)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NimStringDesc* markup);
N_LIB_PRIVATE N_NIMCALL(void, parseBackslash_RwTEadQq45h66VRoByZYcw_3)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* father);
N_LIB_PRIVATE N_NIMCALL(void, rstMessage_mhhFjkt6NSmoSVxWhEjg1Q)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ msgKind, NimStringDesc* arg, NI line, NI col);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseMarkdownCodeblock_7GQctOJZjer320oBsVuaZw_3)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parsePostfix_ZjYecsvZp4m8HGNuDVxbEQ)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n);
N_LIB_PRIVATE N_NIMCALL(void, fixupEmbeddedRef_o9cPR0t0VD2GJKQdN29cvNEg)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* a, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* b);
N_LIB_PRIVATE N_NIMCALL(void, setRef_gETA39blU8f52O3OaqIzozQ)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NimStringDesc* key, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* value);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseSmiley_7GQctOJZjer320oBsVuaZw_4)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(NI, matchVerbatim_PMZ9ayTOY27Iin9aVJca9cHCQ)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NI start, NimStringDesc* expr);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nsuContinuesWith)(NimStringDesc* s, NimStringDesc* substr, NI start);
N_LIB_PRIVATE N_NIMCALL(void, parseUrl_RwTEadQq45h66VRoByZYcw_4)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* father);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isUrl_zsH3uf9bT9be6bzdf2Nbb3uA)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NI i);
static N_INLINE(NIM_BOOL, contains_jPdUhZfr9a8sH2V3ZBDljzwparseopt)(NimStringDesc** a, NI aLen_0, NimStringDesc* item);
static N_INLINE(NI, find_9basNl9bVqn7SOf9bgUeI8TEQparseopt)(NimStringDesc** a, NI aLen_0, NimStringDesc* item);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseFields_8ck1a1XOjHiLTWDzHt9czmQ_7)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseField_8ck1a1XOjHiLTWDzHt9czmQ_8)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, indFollows_UhneQZ7gHdgvtKQt0amgjQ_5)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, findRelativeFile_9ciSlBZxSBNpnBDvhQYTm1g)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NimStringDesc* filename);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, slash__lXoMhn1ZYc9cAJa9bfA61msg)(NimStringDesc* head, NimStringDesc* tail);
N_LIB_PRIVATE N_NIMCALL(void, nossplitFile)(NimStringDesc* path, tyTuple_7q7q3E6Oj24ZNVJb9aonhAg* Result);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getFieldValue_VjyjaK09b2brDmklydzzMGg)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n, NimStringDesc* fieldname);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, readFile_T9cm5LIRX2tKEH9aREBZ8A0w)(NimStringDesc* filename);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, dirImage_8ck1a1XOjHiLTWDzHt9czmQ_9)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, dirFigure_8ck1a1XOjHiLTWDzHt9czmQ_10)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, dirTitle_8ck1a1XOjHiLTWDzHt9czmQ_11)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, dirContainer_8ck1a1XOjHiLTWDzHt9czmQ_12)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, dirContents_8ck1a1XOjHiLTWDzHt9czmQ_13)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, dirRaw_8ck1a1XOjHiLTWDzHt9czmQ_14)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(NI, nsuCmpIgnoreCase)(NimStringDesc* a, NimStringDesc* b);
N_LIB_PRIVATE N_NIMCALL(void, dirRawAux_Q43SdkrkIoF0CM9aXxMgx1g)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg** result, tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg kind, tyProc_Q29aqoKZ5tpbCgFkRsNjLwA contentParser);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseDirBody_9b4ZJe4sQVN8ZeQTMtFtvYA)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyProc_Q29aqoKZ5tpbCgFkRsNjLwA contentParser);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, dirCodeBlock_J3PEXzsDBBAcewCCKZ9b7rQ)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NIM_BOOL nimExtension);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, dirIndex_8ck1a1XOjHiLTWDzHt9czmQ_15)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, getReferenceName_AVSTre5dnQwCbfOgxAPy6w)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NimStringDesc* endStr);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, untilEol_7GQctOJZjer320oBsVuaZw_5)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(void, expect_YkpvExpe30tC3Aqpaqep4g)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NimStringDesc* tok);
N_LIB_PRIVATE N_NIMCALL(void, setSub_gETA39blU8f52O3OaqIzozQ_2)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NimStringDesc* key, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* value);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseComment_7GQctOJZjer320oBsVuaZw_6)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseEnumList_8ck1a1XOjHiLTWDzHt9czmQ_16)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseDefinitionList_8ck1a1XOjHiLTWDzHt9czmQ_17)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseTransition_7GQctOJZjer320oBsVuaZw_7)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseHeadline_7GQctOJZjer320oBsVuaZw_8)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(void, parseUntilNewline_RwTEadQq45h66VRoByZYcw_5)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* father);
N_LIB_PRIVATE N_NIMCALL(NI, getLevel_9aJvMfKP5OqRobNt9bt9arAHg)(NI* map, NI* lvl, NIM_CHAR c);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseOverline_7GQctOJZjer320oBsVuaZw_9)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseSimpleTable_8ck1a1XOjHiLTWDzHt9czmQ_18)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(void, getColumns_G9ad7ZHBPISMg52wH4Z9awLA)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tySequence_qwqHTkRvwhrRyENtudHQ7g** cols);
N_LIB_PRIVATE N_NIMCALL(NI, tokEnd_xUb9bp9aN3qua9bQob6ivKMSg_3)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseOptionList_8ck1a1XOjHiLTWDzHt9czmQ_19)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p);
N_LIB_PRIVATE N_NIMCALL(void, parseParagraph_57GOaTSPSkCmogVitCR7Og_2)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result);
N_LIB_PRIVATE N_NIMCALL(void, addIfNotNil_ZvlV89auQrVc4pTJdjhNQiQ_2)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* father, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* son);
N_LIB_PRIVATE N_NIMCALL(tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg, sonKind_QCqcDn9bQhfi1BMn0kOshuw)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* father, NI i);
TNimType NTI_fiZmsylYkyh6nEciRZcPsw_;
TNimType NTI_triPNwGxgWAG1ULojVLJPA_;
TNimType NTI_lRW9cfxqfm1ql4gkxfLReYg_;
extern TNimType NTI_vr5DoT1jILTGdRlYv1OYpw_;
extern TNimType NTI_qs7rcJOE2Bz63jdUEPJtIg_;
TNimType NTI_r4CIWZzpiVlkxuVaaDT8Lw_;
extern TNimType NTI_ytyiCJqK439aF9cIibuRVpAg_;
TNimType NTI_DC0I80p3rKpwC6ms59ctfpg_;
extern TNimType NTI_rR5Bzr1D5krxoo1NcNyeMA_;
TNimType NTI_9cnCC036DOlVv9c9aESuaQcBw_;
TNimType NTI_G7B8aJ8qgyXs01CE89bLriQ_;
extern TNimType NTI_77mFvmsOLKik79ci2hXkHEg_;
TNimType NTI_P8hOR7sdW9cxlcQApQ4kJNA_;
TNimType NTI_Nr0J1e0ojmHBVIgRtvSZjw_;
TNimType NTI_WneU8C8OSOpUr8oGzt2hBA_;
extern TNimType NTI_eiDrOE3AS6QEbCsY2gtdWQ_;
TNimType NTI_KttZgRE9cmIMvHjR6Gj9a89ag_;
TNimType NTI_9cc9aPiDa8VaWjVcFLabEDZQ_;
TNimType NTI_NOd8Bhkha1yAk19cIRBRUeg_;
extern TNimType NTI_qwqHTkRvwhrRyENtudHQ7g_;
extern TNimType NTI_VaVACK0bpYmqIQ0mKcHfQQ_;
extern tyObject_GcHeap_1TRH1TZMaVZTnLNcIHuNFQ gch_IcYaEuuWivYAS86vFMTS3Q;
TNimType NTI_iviJnHlj9acPYlnNRbd9bhkQ_;
TNimType NTI_dpFtqOEOsRL1xyFiV7JAeA_;
extern TNimType NTI_5aqBlilCK53e9cDu4kUyN5Q_;
TNimType NTI_oatMhswPFBMju9bx0AewlSA_;
TNimType NTI_CW9bDgGqFzztMZpOn1dc0CA_;
TNimType NTI_5boGUNyj9cHomWCEznBP3KA_;
extern TNimType NTI_S9agCYBinaYZnGWcjTdxclg_;
extern TNimType NTI_sM4lkSb7zS6F7OVMvW9cffQ_;
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_7, "dollar", 6);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_8, "percent", 7);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_9, "amp", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_10, "roof", 4);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_11, "emark", 5);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_12, "qmark", 5);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_13, "star", 4);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_14, "plus", 4);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_15, "minus", 5);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_16, "slash", 5);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_17, "backslash", 9);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_18, "eq", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_19, "lt", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_20, "gt", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_21, "tilde", 5);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_22, "colon", 5);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_23, "dot", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_24, "at", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_25, "bar", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_26, "\001\001", 2);
static NIM_CONST tySet_tyChar_nmiMWKVIe46vacnhAFrQvw TM_Xuc9bgVTDeYXjwnCJIlXSig_27 = {
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}
;
NIM_CONST struct {
  TGenericSeq Sup;
  NI data[1];
} TM_Xuc9bgVTDeYXjwnCJIlXSig_36 = {{1, 1 | NIM_STRLIT_FLAG}, {((NI) 0)}};
NIM_CONST tySequence_qwqHTkRvwhrRyENtudHQ7g* TM_Xuc9bgVTDeYXjwnCJIlXSig_35 = ((tySequence_qwqHTkRvwhrRyENtudHQ7g*)&TM_Xuc9bgVTDeYXjwnCJIlXSig_36);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_40, "cannot open \'$1\'", 16);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_41, "\'$1\' expected", 13);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_42, "grid table is not implemented", 29);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_43, "new section expected", 20);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_44, "general parse error", 19);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_45, "invalid directive: \'$1\'", 23);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_46, "redefinition of label \'$1\'", 26);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_47, "unknown substitution \'$1\'", 25);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_48, "language \'$1\' not supported", 27);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_49, "field \'$1\' not supported", 24);
NIM_CONST tyArray_2XTTWPhbvSoeTyuZ4N460g messages_okdnljkz3SS9cWSzLJyhjhA = {((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_40),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_41),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_42),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_43),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_44),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_45),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_46),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_47),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_48),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_49)}
;
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_50, "$1($2, $3) $4: $5", 17);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_54, "\012", 1);
static NIM_CONST tySet_tyChar_nmiMWKVIe46vacnhAFrQvw TM_Xuc9bgVTDeYXjwnCJIlXSig_58 = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x03,
0xFE, 0xFF, 0xFF, 0x07, 0xFE, 0xFF, 0xFF, 0x07,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}
;
static NIM_CONST tySet_tyChar_nmiMWKVIe46vacnhAFrQvw TM_Xuc9bgVTDeYXjwnCJIlXSig_59 = {
0x00, 0x02, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_61, "#", 1);
static NIM_CONST tySet_tyChar_nmiMWKVIe46vacnhAFrQvw TM_Xuc9bgVTDeYXjwnCJIlXSig_62 = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x03,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_63, "ii", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_64, " a", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_65, "i", 1);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_66, "ai", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_67, "::", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_68, "+", 1);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_69, "*", 1);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_70, "-", 1);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_71, "|", 1);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_72, "..", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_73, ":w:", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_74, "(e) ", 4);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_75, "+a+", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_77, "-w", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_78, "--w", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_79, "/w", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_80, "//w", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_81, "e) ", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_82, "e. ", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_83, "author", 6);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_84, "authors", 7);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_85, "code", 4);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_86, "code-block", 10);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_87, "container", 9);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_88, "contents", 8);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_89, "figure", 6);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_90, "image", 5);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_91, "include", 7);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_92, "index", 5);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_93, "raw", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_94, "title", 5);
NIM_CONST tyArray_pq8mfSp9bT2PbH9bKmz9cdOdA DirIds_8wMg8PYAAl38ckLcA5VjCA = {((NimStringDesc*) NIM_NIL),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_83),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_84),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_85),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_86),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_87),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_88),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_89),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_90),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_91),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_92),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_93),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_94)}
;
static NIM_CONST tySet_tyChar_nmiMWKVIe46vacnhAFrQvw TM_Xuc9bgVTDeYXjwnCJIlXSig_95 = {
0x00, 0x00, 0x00, 0x00, 0x84, 0xA1, 0x00, 0x14,
0x00, 0x00, 0x00, 0x88, 0x00, 0x00, 0x00, 0x08,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_96, "\\", 1);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_97, "***", 3);
static NIM_CONST tySet_tyChar_nmiMWKVIe46vacnhAFrQvw TM_Xuc9bgVTDeYXjwnCJIlXSig_98 = {
0x00, 0x00, 0x00, 0x00, 0x86, 0xF2, 0x00, 0xCC,
0x00, 0x00, 0x00, 0xB0, 0x00, 0x00, 0x00, 0x20,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_99, "``", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_100, "\\\\", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_101, " ", 1);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_103, "**", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_104, "```", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_105, "`", 1);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_106, "_", 1);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_107, "__", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_108, ">", 1);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_109, "<", 1);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_110, "idx", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_111, "literal", 7);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_112, "strong", 6);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_113, "emphasis", 8);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_114, "sub", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_115, "subscript", 9);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_116, "sup", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_117, "supscript", 9);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_118, ":D", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_119, "icon_e_biggrin", 14);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_120, ":-D", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_121, ":)", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_122, "icon_e_smile", 12);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_123, ":-)", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_124, ";)", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_125, "icon_e_wink", 11);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_126, ";-)", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_127, ":(", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_128, "icon_e_sad", 10);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_129, ":-(", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_130, ":o", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_131, "icon_e_surprised", 16);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_132, ":-o", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_133, ":shock:", 7);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_134, "icon_eek", 8);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_135, ":\?", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_136, "icon_e_confused", 15);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_137, ":-\?", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_138, ":-/", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_139, "8-)", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_140, "icon_cool", 9);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_141, ":lol:", 5);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_142, "icon_lol", 8);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_143, ":x", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_144, "icon_mad", 8);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_145, ":-x", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_146, ":P", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_147, "icon_razz", 9);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_148, ":-P", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_149, ":oops:", 6);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_150, "icon_redface", 12);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_151, ":cry:", 5);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_152, "icon_cry", 8);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_153, ":evil:", 6);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_154, "icon_evil", 9);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_155, ":twisted:", 9);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_156, "icon_twisted", 12);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_157, ":roll:", 6);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_158, "icon_rolleyes", 13);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_159, ":!:", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_160, "icon_exclaim", 12);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_161, ":\?:", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_162, "icon_question", 13);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_163, ":idea:", 6);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_164, "icon_idea", 9);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_165, ":arrow:", 7);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_166, "icon_arrow", 10);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_167, ":|", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_168, "icon_neutral", 12);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_169, ":-|", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_170, ":mrgreen:", 9);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_171, "icon_mrgreen", 12);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_172, ":geek:", 6);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_173, "icon_e_geek", 11);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_174, ":ugeek:", 7);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_175, "icon_e_ugeek", 12);
NIM_CONST tyArray_EH7g9cw9ce5QW4p9ba9aZKF51w Smilies_SYSLsVVVluSGVNR9bBZRLmw = {{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_118),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_119)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_120),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_119)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_121),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_122)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_123),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_122)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_124),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_125)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_126),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_125)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_127),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_128)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_129),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_128)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_130),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_131)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_132),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_131)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_133),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_134)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_135),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_136)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_137),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_136)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_138),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_136)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_139),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_140)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_141),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_142)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_143),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_144)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_145),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_144)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_146),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_147)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_148),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_147)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_149),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_150)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_151),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_152)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_153),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_154)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_155),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_156)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_157),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_158)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_159),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_160)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_161),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_162)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_163),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_164)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_165),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_166)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_167),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_168)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_169),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_168)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_170),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_171)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_172),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_173)}
,
{((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_174),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_175)}
}
;
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_176, ":", 1);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_177, "//", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_179, "http", 4);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_180, "https", 5);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_181, "ftp", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_182, "telnet", 6);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_183, "file", 4);
NIM_CONST tyArray_haiLFy0nBviVTKFGuwztzQ TM_Xuc9bgVTDeYXjwnCJIlXSig_178 = {((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_179),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_180),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_181),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_182),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_183)}
;
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_185, "html", 4);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_186, "latex", 5);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_187, "default-language", 16);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_188, "Nim", 3);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_189, " _", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_190, " |", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_191, "replace", 7);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_192, " [", 2);
STRING_LITERAL(TM_Xuc9bgVTDeYXjwnCJIlXSig_193, "]", 1);
NIM_CONST tyArray_24KAM9afIUgUaqBaEBB6r9bg wildcards_5kEOJmMIHJwM9bdkjg2VUFA = {((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_74),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_81),
((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_82)}
;
NIM_CONST tyArray_Bd4h7Ocx9bGTvrKzPIWNlHw wildpos_RI9ctKY8oNc1o4L2ZEqAzyg = {((NI) 1),
((NI) 0),
((NI) 0)}
;

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_E1xtACub5WcDa3vbrIXbwgsystem)(void* dest, void* source, NI size) {
	nimCopyMem(dest, source, size);
}

static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
	{
		if (!!((src == NIM_NIL))) goto LA3_;
		copyMem_E1xtACub5WcDa3vbrIXbwgsystem(((void*) ((&(*dest).data[((*dest).Sup.len)- 0]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
		(*dest).Sup.len += (*src).Sup.len;
	}
	LA3_: ;
}

N_LIB_PRIVATE N_NIMCALL(void, rstnodeToRefnameAux_fRcVoF5ybMIo51oOh9bIX9aw)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n, NimStringDesc** r, NIM_BOOL* b) {
{	{
		if (!(n == NIM_NIL)) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		if (!((*n).kind == ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64))) goto LA7_;
		{
			NI i;
			NI colontmp_;
			NI res;
			i = (NI)0;
			colontmp_ = (NI)0;
			colontmp_ = (NI)(((*n).text ? (*n).text->Sup.len : 0) - ((NI) 1));
			res = ((NI) 0);
			{
				while (1) {
					if (!(res <= colontmp_)) goto LA11;
					i = res;
					switch (((NU8)((*n).text->data[i]))) {
					case 48 ... 57:
					{
						{
							if (!(*b)) goto LA15_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA15_: ;
						{
							if (!(((*r) ? (*r)->Sup.len : 0) == ((NI) 0))) goto LA19_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 90));
						}
						LA19_: ;
						unsureAsgnRef((void**) (&(*r)), addChar((*r), (*n).text->data[i]));
					}
					break;
					case 97 ... 122:
					case 128 ... 255:
					{
						{
							if (!(*b)) goto LA24_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA24_: ;
						unsureAsgnRef((void**) (&(*r)), addChar((*r), (*n).text->data[i]));
					}
					break;
					case 65 ... 90:
					{
						{
							if (!(*b)) goto LA29_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA29_: ;
						unsureAsgnRef((void**) (&(*r)), addChar((*r), ((NIM_CHAR) (((NI) ((NI)((NI)(((NU8)((*n).text->data[i])) - ((NI) 65)) + ((NI) 97))))))));
					}
					break;
					case 36:
					{
						{
							if (!(*b)) goto LA34_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA34_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 6));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_7));
					}
					break;
					case 37:
					{
						{
							if (!(*b)) goto LA39_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA39_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 7));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_8));
					}
					break;
					case 38:
					{
						{
							if (!(*b)) goto LA44_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA44_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 3));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_9));
					}
					break;
					case 94:
					{
						{
							if (!(*b)) goto LA49_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA49_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 4));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_10));
					}
					break;
					case 33:
					{
						{
							if (!(*b)) goto LA54_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA54_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 5));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_11));
					}
					break;
					case 63:
					{
						{
							if (!(*b)) goto LA59_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA59_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 5));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_12));
					}
					break;
					case 42:
					{
						{
							if (!(*b)) goto LA64_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA64_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 4));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_13));
					}
					break;
					case 43:
					{
						{
							if (!(*b)) goto LA69_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA69_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 4));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_14));
					}
					break;
					case 45:
					{
						{
							if (!(*b)) goto LA74_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA74_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 5));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_15));
					}
					break;
					case 47:
					{
						{
							if (!(*b)) goto LA79_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA79_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 5));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_16));
					}
					break;
					case 92:
					{
						{
							if (!(*b)) goto LA84_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA84_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 9));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_17));
					}
					break;
					case 61:
					{
						{
							if (!(*b)) goto LA89_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA89_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 2));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_18));
					}
					break;
					case 60:
					{
						{
							if (!(*b)) goto LA94_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA94_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 2));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_19));
					}
					break;
					case 62:
					{
						{
							if (!(*b)) goto LA99_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA99_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 2));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_20));
					}
					break;
					case 126:
					{
						{
							if (!(*b)) goto LA104_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA104_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 5));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_21));
					}
					break;
					case 58:
					{
						{
							if (!(*b)) goto LA109_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA109_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 5));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_22));
					}
					break;
					case 46:
					{
						{
							if (!(*b)) goto LA114_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA114_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 3));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_23));
					}
					break;
					case 64:
					{
						{
							if (!(*b)) goto LA119_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA119_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 2));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_24));
					}
					break;
					case 124:
					{
						{
							if (!(*b)) goto LA124_;
							unsureAsgnRef((void**) (&(*r)), addChar((*r), 45));
							(*b) = NIM_FALSE;
						}
						LA124_: ;
						unsureAsgnRef((void**) (&(*r)), resizeString((*r), 3));
appendString((*r), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_25));
					}
					break;
					default:
					{
						{
							if (!(((NI) 0) < ((*r) ? (*r)->Sup.len : 0))) goto LA129_;
							(*b) = NIM_TRUE;
						}
						LA129_: ;
					}
					break;
					}
					res += ((NI) 1);
				} LA11: ;
			}
		}
	}
	goto LA5_;
	LA7_: ;
	{
		{
			NI i_2;
			NI colontmp__2;
			NI T133_;
			NI res_2;
			i_2 = (NI)0;
			colontmp__2 = (NI)0;
			T133_ = (NI)0;
			T133_ = len_7sZ6jl1AobLSRAIdrbIp6A(n);
			colontmp__2 = (NI)(T133_ - ((NI) 1));
			res_2 = ((NI) 0);
			{
				while (1) {
					if (!(res_2 <= colontmp__2)) goto LA135;
					i_2 = res_2;
					rstnodeToRefnameAux_fRcVoF5ybMIo51oOh9bIX9aw((*n).sons->data[i_2], r, b);
					res_2 += ((NI) 1);
				} LA135: ;
			}
		}
	}
	LA5_: ;
	}BeforeRet_: ;
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rstnodeToRefname_8c8VtfxgpCNHWO7JhFDeLQ)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n) {
	NimStringDesc* result;
	NIM_BOOL b;
	result = (NimStringDesc*)0;
	result = ((NimStringDesc*) NIM_NIL);
	b = NIM_FALSE;
	rstnodeToRefnameAux_fRcVoF5ybMIo51oOh9bIX9aw(n, (&result), (&b));
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, addNodesAux_ToaqO1cN3a5AvyVuMh9bYTA)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n, NimStringDesc** result) {
	{
		if (!((*n).kind == ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64))) goto LA3_;
		unsureAsgnRef((void**) (&(*result)), resizeString((*result), ((*n).text ? (*n).text->Sup.len : 0) + 0));
appendString((*result), (*n).text);
	}
	goto LA1_;
	LA3_: ;
	{
		{
			NI i;
			NI colontmp_;
			NI T7_;
			NI res;
			i = (NI)0;
			colontmp_ = (NI)0;
			T7_ = (NI)0;
			T7_ = len_7sZ6jl1AobLSRAIdrbIp6A(n);
			colontmp_ = (NI)(T7_ - ((NI) 1));
			res = ((NI) 0);
			{
				while (1) {
					if (!(res <= colontmp_)) goto LA9;
					i = res;
					addNodesAux_ToaqO1cN3a5AvyVuMh9bYTA((*n).sons->data[i], result);
					res += ((NI) 1);
				} LA9: ;
			}
		}
	}
	LA1_: ;
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, addNodes_8c8VtfxgpCNHWO7JhFDeLQ_2)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	result = ((NimStringDesc*) NIM_NIL);
	addNodesAux_ToaqO1cN3a5AvyVuMh9bYTA(n, (&result));
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getArgument_8c8VtfxgpCNHWO7JhFDeLQ_3)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	{
		if (!((*n).sons->data[((NI) 0)] == NIM_NIL)) goto LA3_;
		result = ((NimStringDesc*) NIM_NIL);
	}
	goto LA1_;
	LA3_: ;
	{
		result = addNodes_8c8VtfxgpCNHWO7JhFDeLQ_2((*n).sons->data[((NI) 0)]);
	}
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getFieldValue_VjyjaK09b2brDmklydzzMGg)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n, NimStringDesc* fieldname) {
	NimStringDesc* result;
{	result = (NimStringDesc*)0;
	result = ((NimStringDesc*) NIM_NIL);
	{
		if (!((*n).sons->data[((NI) 1)] == NIM_NIL)) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		if (!!(((*(*n).sons->data[((NI) 1)]).kind == ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 13)))) goto LA7_;
		goto BeforeRet_;
	}
	LA7_: ;
	{
		NI i;
		NI colontmp_;
		NI T10_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		T10_ = (NI)0;
		T10_ = len_7sZ6jl1AobLSRAIdrbIp6A((*n).sons->data[((NI) 1)]);
		colontmp_ = (NI)(T10_ - ((NI) 1));
		res = ((NI) 0);
		{
			while (1) {
				tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* f;
				if (!(res <= colontmp_)) goto LA12;
				i = res;
				f = (*(*n).sons->data[((NI) 1)]).sons->data[i];
				{
					NimStringDesc* T15_;
					NI T16_;
					T15_ = (NimStringDesc*)0;
					T15_ = addNodes_8c8VtfxgpCNHWO7JhFDeLQ_2((*f).sons->data[((NI) 0)]);
					T16_ = (NI)0;
					T16_ = nsuCmpIgnoreStyle(T15_, fieldname);
					if (!(T16_ == ((NI) 0))) goto LA17_;
					result = addNodes_8c8VtfxgpCNHWO7JhFDeLQ_2((*f).sons->data[((NI) 1)]);
					{
						if (!((result ? result->Sup.len : 0) == 0)) goto LA21_;
						result = copyString(((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_26));
					}
					LA21_: ;
					goto BeforeRet_;
				}
				LA17_: ;
				res += ((NI) 1);
			} LA12: ;
		}
	}
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getFieldValue_8c8VtfxgpCNHWO7JhFDeLQ_4)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n) {
	NimStringDesc* result;
	NimStringDesc* T1_;
	result = (NimStringDesc*)0;
	T1_ = (NimStringDesc*)0;
	T1_ = addNodes_8c8VtfxgpCNHWO7JhFDeLQ_2((*n).sons->data[((NI) 1)]);
	result = nsuStrip(T1_, NIM_TRUE, NIM_TRUE, TM_Xuc9bgVTDeYXjwnCJIlXSig_27);
	return result;
}

static N_INLINE(void, nimSetMem_cNwQQ4PlSJsZSwvoN5Uafwsystem)(void* a, int v, NI size) {
	void* T1_;
	T1_ = (void*)0;
	T1_ = memset(a, v, ((size_t) (size)));
}

static N_INLINE(void, nimZeroMem)(void* p, NI size) {
	nimSetMem_cNwQQ4PlSJsZSwvoN5Uafwsystem(p, ((int) 0), size);
}
static N_NIMCALL(void, Marker_tySequence_P8hOR7sdW9cxlcQApQ4kJNA)(void* p, NI op) {
	tySequence_P8hOR7sdW9cxlcQApQ4kJNA* a;
	NI T1_;
	a = (tySequence_P8hOR7sdW9cxlcQApQ4kJNA*)p;
	T1_ = (NI)0;
	for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
	nimGCvisit((void*)a->data[T1_].symbol, op);
	}
}
static N_NIMCALL(void, Marker_tySequence_KttZgRE9cmIMvHjR6Gj9a89ag)(void* p, NI op) {
	tySequence_KttZgRE9cmIMvHjR6Gj9a89ag* a;
	NI T1_;
	a = (tySequence_KttZgRE9cmIMvHjR6Gj9a89ag*)p;
	T1_ = (NI)0;
	for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
	nimGCvisit((void*)a->data[T1_].key, op);
	nimGCvisit((void*)a->data[T1_].value, op);
	}
}
static N_NIMCALL(void, Marker_tyRef_NOd8Bhkha1yAk19cIRBRUeg)(void* p, NI op) {
	tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw* a;
	NI T1_;
	NI T2_;
	a = (tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw*)p;
	nimGCvisit((void*)(*a).subs, op);
	nimGCvisit((void*)(*a).refs, op);
	T1_ = (NI)0;
	T2_ = (NI)0;
	nimGCvisit((void*)(*a).msgHandler.ClE_0, op);
	nimGCvisit((void*)(*a).findFile.ClE_0, op);
}

N_LIB_PRIVATE N_NIMCALL(void, initParser_HuwafTNovlAXYbimnFS9cmQ)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw* sharedState) {
	genericSeqAssign((&(*p).indentStack), TM_Xuc9bgVTDeYXjwnCJIlXSig_35, (&NTI_qwqHTkRvwhrRyENtudHQ7g_));
	unsureAsgnRef((void**) (&(*p).tok), NIM_NIL);
	(*p).idx = ((NI) 0);
	unsureAsgnRef((void**) (&(*p).filename), ((NimStringDesc*) NIM_NIL));
	(*p).hasToc = NIM_FALSE;
	(*p).col = ((NI) 0);
	(*p).line = ((NI) 1);
	unsureAsgnRef((void**) (&(*p).s), sharedState);
}

static N_INLINE(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem)(void* usr) {
	tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* result;
	result = (tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
	result = ((tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*) ((NI)((NU64)(((NI) (ptrdiff_t) (usr))) - (NU64)(((NI)sizeof(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g))))));
	return result;
}

static N_INLINE(void, rtlAddZCT_MV4BBk6J1qu70IbBxwEn4w_2system)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c) {
	addZCT_fCDI7oO1NNVXXURtxSzsRw((&gch_IcYaEuuWivYAS86vFMTS3Q.zct), c);
}

static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
	tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c;
	c = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem(p);
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU64)((*c).refcount) < (NU64)(((NI) 8)))) goto LA3_;
		rtlAddZCT_MV4BBk6J1qu70IbBxwEn4w_2system(c);
	}
	LA3_: ;
}

static N_INLINE(void, incRef_9cAA5YuQAAC3MVbnGeV86swsystem)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c) {
	(*c).refcount = (NI)((NU64)((*c).refcount) + (NU64)(((NI) 8)));
}

static N_INLINE(void, decRef_MV4BBk6J1qu70IbBxwEn4wsystem)(tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c) {
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU64)((*c).refcount) < (NU64)(((NI) 8)))) goto LA3_;
		rtlAddZCT_MV4BBk6J1qu70IbBxwEn4w_2system(c);
	}
	LA3_: ;
}

static N_INLINE(void, asgnRef)(void** dest, void* src) {
	{
		tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* T5_;
		if (!!((src == NIM_NIL))) goto LA3_;
		T5_ = (tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
		T5_ = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem(src);
		incRef_9cAA5YuQAAC3MVbnGeV86swsystem(T5_);
	}
	LA3_: ;
	{
		tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* T10_;
		if (!!(((*dest) == NIM_NIL))) goto LA8_;
		T10_ = (tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g*)0;
		T10_ = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem((*dest));
		decRef_MV4BBk6J1qu70IbBxwEn4wsystem(T10_);
	}
	LA8_: ;
	(*dest) = src;
}

N_LIB_PRIVATE N_NIMCALL(tyEnum_MsgClass_dpFtqOEOsRL1xyFiV7JAeA, whichMsgClass_mIrax4TkIL3n9aR0qTXZubQ)(tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ k) {
	tyEnum_MsgClass_dpFtqOEOsRL1xyFiV7JAeA result;
	result = (tyEnum_MsgClass_dpFtqOEOsRL1xyFiV7JAeA)0;
	switch (((NU8)(reprEnum((NI)k, (&NTI_iviJnHlj9acPYlnNRbd9bhkQ_))->data[((NI) 1)]))) {
	case 101:
	case 69:
	{
		result = ((tyEnum_MsgClass_dpFtqOEOsRL1xyFiV7JAeA) 2);
	}
	break;
	case 119:
	case 87:
	{
		result = ((tyEnum_MsgClass_dpFtqOEOsRL1xyFiV7JAeA) 1);
	}
	break;
	case 104:
	case 72:
	{
		result = ((tyEnum_MsgClass_dpFtqOEOsRL1xyFiV7JAeA) 0);
	}
	break;
	default:
	{
	}
	break;
	}
	return result;
}
static N_NIMCALL(void, Marker_tyRef_CW9bDgGqFzztMZpOn1dc0CA)(void* p, NI op) {
	tyObject_EParseError_oatMhswPFBMju9bx0AewlSA* a;
	a = (tyObject_EParseError_oatMhswPFBMju9bx0AewlSA*)p;
	nimGCvisit((void*)(*a).Sup.Sup.Sup.parent, op);
	nimGCvisit((void*)(*a).Sup.Sup.Sup.message, op);
	nimGCvisit((void*)(*a).Sup.Sup.Sup.trace, op);
	nimGCvisit((void*)(*a).Sup.Sup.Sup.up, op);
}

static N_INLINE(void, writeLine_rBQVO3cm3BhnA9aEFD7PG6Qmsgs)(FILE* f, NimStringDesc** x, NI xLen_0) {
	{
		NimStringDesc* i;
		NI i_2;
		i = (NimStringDesc*)0;
		i_2 = ((NI) 0);
		{
			while (1) {
				if (!(i_2 < xLen_0)) goto LA3;
				i = x[i_2];
				write_c4mGyJBvK73pdM22jiweKQ(f, i);
				i_2 += ((NI) 1);
			} LA3: ;
		}
	}
	write_c4mGyJBvK73pdM22jiweKQ(f, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_54));
}

N_LIB_PRIVATE N_NIMCALL(void, defaultMsgHandler_R4H9bbQuYGj9a69baLZpBlgUg)(NimStringDesc* filename, NI line, NI col, tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ msgkind, NimStringDesc* arg) {
	tyEnum_MsgClass_dpFtqOEOsRL1xyFiV7JAeA mc;
	NimStringDesc* a;
	NimStringDesc* message;
	tyArray_haiLFy0nBviVTKFGuwztzQ T1_;
	mc = whichMsgClass_mIrax4TkIL3n9aR0qTXZubQ(msgkind);
	a = nsuFormatSingleElem(messages_okdnljkz3SS9cWSzLJyhjhA[(msgkind)- 0], arg);
	nimZeroMem((void*)T1_, sizeof(tyArray_haiLFy0nBviVTKFGuwztzQ));
	T1_[0] = copyString(filename);
	T1_[1] = nimIntToStr(line);
	T1_[2] = nimIntToStr(col);
	T1_[3] = reprEnum((NI)mc, (&NTI_dpFtqOEOsRL1xyFiV7JAeA_));
	T1_[4] = copyString(a);
	message = nsuFormatOpenArray(((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_50), T1_, 5);
	{
		tyObject_EParseError_oatMhswPFBMju9bx0AewlSA* e;
		NimStringDesc* T6_;
		if (!(mc == ((tyEnum_MsgClass_dpFtqOEOsRL1xyFiV7JAeA) 2))) goto LA4_;
		e = (tyObject_EParseError_oatMhswPFBMju9bx0AewlSA*)0;
		e = (tyObject_EParseError_oatMhswPFBMju9bx0AewlSA*) newObj((&NTI_CW9bDgGqFzztMZpOn1dc0CA_), sizeof(tyObject_EParseError_oatMhswPFBMju9bx0AewlSA));
		(*e).Sup.Sup.Sup.Sup.m_type = (&NTI_oatMhswPFBMju9bx0AewlSA_);
		T6_ = (NimStringDesc*)0;
		T6_ = (*e).Sup.Sup.Sup.message; (*e).Sup.Sup.Sup.message = copyStringRC1(message);
		if (T6_) nimGCunrefNoCycle(T6_);
		asgnRef((void**) (&(*e).Sup.Sup.Sup.parent), NIM_NIL);
		raiseException((Exception*)e, "EParseError");
	}
	goto LA2_;
	LA4_: ;
	{
		tyArray_nHXaesL0DJZHyVS07ARPRA T8_;
		nimZeroMem((void*)T8_, sizeof(tyArray_nHXaesL0DJZHyVS07ARPRA));
		T8_[0] = copyString(message);
		writeLine_rBQVO3cm3BhnA9aEFD7PG6Qmsgs(stdout, T8_, 1);
	}
	LA2_: ;
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, defaultFindFile_DZ45uznxnUhA07wPfOlbWg)(NimStringDesc* filename) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = nosexistsFile(filename);
		if (!T3_) goto LA4_;
		result = copyString(filename);
	}
	goto LA1_;
	LA4_: ;
	{
		result = ((NimStringDesc*) NIM_NIL);
	}
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw*, newSharedState_XecOuoaPTKhpoNl8h9b9coRQ)(tySet_tyEnum_RstParseOption_fiZmsylYkyh6nEciRZcPsw options, tyProc_lRW9cfxqfm1ql4gkxfLReYg findFile, tyProc_r4CIWZzpiVlkxuVaaDT8Lw msgHandler) {
	tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw* result;
	result = (tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw*)0;
	result = (tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw*) newObj((&NTI_NOd8Bhkha1yAk19cIRBRUeg_), sizeof(tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw));
	if ((*result).subs) { nimGCunrefNoCycle((*result).subs); (*result).subs = NIM_NIL; }
	if ((*result).refs) { nimGCunrefNoCycle((*result).refs); (*result).refs = NIM_NIL; }
	(*result).options = options;
	{
		if (!!((msgHandler.ClP_0 == 0))) goto LA3_;
		asgnRef((void**) (&(*result).msgHandler.ClE_0), msgHandler.ClE_0);
		(*result).msgHandler.ClP_0 = msgHandler.ClP_0;
	}
	goto LA1_;
	LA3_: ;
	{
		tyProc_r4CIWZzpiVlkxuVaaDT8Lw T6_;
		nimZeroMem((void*)(&T6_), sizeof(tyProc_r4CIWZzpiVlkxuVaaDT8Lw));
		T6_.ClP_0 = ((TM_Xuc9bgVTDeYXjwnCJIlXSig_55) (defaultMsgHandler_R4H9bbQuYGj9a69baLZpBlgUg)); T6_.ClE_0 = NIM_NIL;
		asgnRef((void**) (&(*result).msgHandler.ClE_0), T6_.ClE_0);
		(*result).msgHandler.ClP_0 = T6_.ClP_0;
	}
	LA1_: ;
	{
		if (!!((findFile.ClP_0 == 0))) goto LA9_;
		asgnRef((void**) (&(*result).findFile.ClE_0), findFile.ClE_0);
		(*result).findFile.ClP_0 = findFile.ClP_0;
	}
	goto LA7_;
	LA9_: ;
	{
		tyProc_lRW9cfxqfm1ql4gkxfLReYg T12_;
		nimZeroMem((void*)(&T12_), sizeof(tyProc_lRW9cfxqfm1ql4gkxfLReYg));
		T12_.ClP_0 = ((TM_Xuc9bgVTDeYXjwnCJIlXSig_56) (defaultFindFile_DZ45uznxnUhA07wPfOlbWg)); T12_.ClE_0 = NIM_NIL;
		asgnRef((void**) (&(*result).findFile.ClE_0), T12_.ClE_0);
		(*result).findFile.ClP_0 = T12_.ClP_0;
	}
	LA7_: ;
	return result;
}

static N_INLINE(NCSTRING, nimToCStringConv)(NimStringDesc* s) {
	NCSTRING result;
	result = (NCSTRING)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = (s == NIM_NIL);
		if (T3_) goto LA4_;
		T3_ = ((*s).Sup.len == ((NI) 0));
		LA4_: ;
		if (!T3_) goto LA5_;
		result = "";
	}
	goto LA1_;
	LA5_: ;
	{
		result = ((NCSTRING) ((*s).data));
	}
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, getThing_8M0TlDXoTX9aBofTtx4xsfA)(tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA* L, tyObject_Token_9cnCC036DOlVv9c9aESuaQcBw* tok, tySet_tyChar_nmiMWKVIe46vacnhAFrQvw s) {
	NI pos;
	(*tok).kind = ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 3);
	(*tok).line = (*L).line;
	(*tok).col = (*L).col;
	pos = (*L).bufpos;
	{
		while (1) {
			unsureAsgnRef((void**) (&(*tok).symbol), addChar((*tok).symbol, (*L).buf[pos]));
			pos += ((NI) 1);
			{
				if (!!(((s[(NU)(((NU8)((*L).buf[pos])))>>3] &(1U<<((NU)(((NU8)((*L).buf[pos])))&7U)))!=0))) goto LA5_;
				goto LA1;
			}
			LA5_: ;
		}
	} LA1: ;
	(*L).col += (NI)(pos - (*L).bufpos);
	(*L).bufpos = pos;
}

N_LIB_PRIVATE N_NIMCALL(NI, getIndentAux_eO19cWCG9cb8BWjIrW9aB2SyQ)(tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA* L, NI start) {
	NI result;
	NI pos;
	NCSTRING buf;
	result = (NI)0;
	pos = start;
	buf = (*L).buf;
	{
		if (!((NU8)(buf[pos]) == (NU8)(13))) goto LA3_;
		{
			if (!((NU8)(buf[(NI)(pos + ((NI) 1))]) == (NU8)(10))) goto LA7_;
			pos += ((NI) 2);
		}
		goto LA5_;
		LA7_: ;
		{
			pos += ((NI) 1);
		}
		LA5_: ;
	}
	goto LA1_;
	LA3_: ;
	{
		if (!((NU8)(buf[pos]) == (NU8)(10))) goto LA11_;
		pos += ((NI) 1);
	}
	goto LA1_;
	LA11_: ;
	LA1_: ;
	{
		if (!(*L).skipPounds) goto LA15_;
		{
			if (!((NU8)(buf[pos]) == (NU8)(35))) goto LA19_;
			pos += ((NI) 1);
		}
		LA19_: ;
		{
			if (!((NU8)(buf[pos]) == (NU8)(35))) goto LA23_;
			pos += ((NI) 1);
		}
		LA23_: ;
	}
	LA15_: ;
	{
		while (1) {
			switch (((NU8)(buf[pos]))) {
			case 32:
			case 11:
			case 12:
			{
				pos += ((NI) 1);
				result += ((NI) 1);
			}
			break;
			case 9:
			{
				pos += ((NI) 1);
				result = (NI)((NI)(result - (NI)(result % ((NI) 8))) + ((NI) 8));
			}
			break;
			default:
			{
				goto LA25;
			}
			break;
			}
		}
	} LA25: ;
	{
		if (!((NU8)(buf[pos]) == (NU8)(0))) goto LA32_;
		result = ((NI) 0);
	}
	goto LA30_;
	LA32_: ;
	{
		NIM_BOOL T35_;
		T35_ = (NIM_BOOL)0;
		T35_ = ((NU8)(buf[pos]) == (NU8)(10));
		if (T35_) goto LA36_;
		T35_ = ((NU8)(buf[pos]) == (NU8)(13));
		LA36_: ;
		if (!T35_) goto LA37_;
		result = getIndentAux_eO19cWCG9cb8BWjIrW9aB2SyQ(L, pos);
	}
	goto LA30_;
	LA37_: ;
	LA30_: ;
	(*L).bufpos = pos;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, getIndent_4VsDraoQNkNBLXrfN3dpZg_2)(tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA* L, tyObject_Token_9cnCC036DOlVv9c9aESuaQcBw* tok) {
	NimStringDesc* T1_;
	NimStringDesc* T2_;
	(*tok).col = ((NI) 0);
	(*tok).kind = ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1);
	(*tok).ival = getIndentAux_eO19cWCG9cb8BWjIrW9aB2SyQ(L, (*L).bufpos);
	(*L).line += ((NI) 1);
	(*tok).line = (*L).line;
	(*L).col = (*tok).ival;
	(*tok).ival = (((NI)((*tok).ival - (*L).baseIndent) >= ((NI) 0)) ? (NI)((*tok).ival - (*L).baseIndent) : ((NI) 0));
	T1_ = (NimStringDesc*)0;
	T2_ = (NimStringDesc*)0;
	T2_ = nsuRepeatChar(32, ((NI) ((*tok).ival)));
	T1_ = rawNewString((T2_ ? T2_->Sup.len : 0) + 1);
appendString(T1_, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_54));
appendString(T1_, T2_);
	unsureAsgnRef((void**) (&(*tok).symbol), T1_);
}

N_LIB_PRIVATE N_NIMCALL(void, getAdornment_4VsDraoQNkNBLXrfN3dpZg_3)(tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA* L, tyObject_Token_9cnCC036DOlVv9c9aESuaQcBw* tok) {
	NI pos;
	NIM_CHAR c;
	(*tok).kind = ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 4);
	(*tok).line = (*L).line;
	(*tok).col = (*L).col;
	pos = (*L).bufpos;
	c = (*L).buf[pos];
	{
		while (1) {
			unsureAsgnRef((void**) (&(*tok).symbol), addChar((*tok).symbol, (*L).buf[pos]));
			pos += ((NI) 1);
			{
				if (!!(((NU8)((*L).buf[pos]) == (NU8)(c)))) goto LA5_;
				goto LA1;
			}
			LA5_: ;
		}
	} LA1: ;
	(*L).col += (NI)(pos - (*L).bufpos);
	(*L).bufpos = pos;
}

N_LIB_PRIVATE N_NIMCALL(void, rawGetTok_4VsDraoQNkNBLXrfN3dpZg)(tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA* L, tyObject_Token_9cnCC036DOlVv9c9aESuaQcBw* tok) {
	NIM_CHAR c;
	unsureAsgnRef((void**) (&(*tok).symbol), ((NimStringDesc*) NIM_NIL));
	(*tok).ival = ((NI) 0);
	c = (*L).buf[(*L).bufpos];
	switch (((NU8)(c))) {
	case 97 ... 122:
	case 65 ... 90:
	case 128 ... 255:
	case 48 ... 57:
	{
		getThing_8M0TlDXoTX9aBofTtx4xsfA(L, tok, TM_Xuc9bgVTDeYXjwnCJIlXSig_58);
	}
	break;
	case 32:
	case 9:
	case 11:
	case 12:
	{
		getThing_8M0TlDXoTX9aBofTtx4xsfA(L, tok, TM_Xuc9bgVTDeYXjwnCJIlXSig_59);
		(*tok).kind = ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2);
		{
			if (!(((NU8)((*L).buf[(*L).bufpos])) == ((NU8)(13)) || ((NU8)((*L).buf[(*L).bufpos])) == ((NU8)(10)))) goto LA5_;
			rawGetTok_4VsDraoQNkNBLXrfN3dpZg(L, tok);
		}
		LA5_: ;
	}
	break;
	case 13:
	case 10:
	{
		getIndent_4VsDraoQNkNBLXrfN3dpZg_2(L, tok);
	}
	break;
	case 33:
	case 34:
	case 35:
	case 36:
	case 37:
	case 38:
	case 39:
	case 40:
	case 41:
	case 42:
	case 43:
	case 44:
	case 45:
	case 46:
	case 47:
	case 58:
	case 59:
	case 60:
	case 61:
	case 62:
	case 63:
	case 64:
	case 91:
	case 92:
	case 93:
	case 94:
	case 95:
	case 96:
	case 123:
	case 124:
	case 125:
	case 126:
	{
		getAdornment_4VsDraoQNkNBLXrfN3dpZg_3(L, tok);
		{
			if (!(((*tok).symbol ? (*tok).symbol->Sup.len : 0) <= ((NI) 3))) goto LA11_;
			(*tok).kind = ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 5);
		}
		LA11_: ;
	}
	break;
	default:
	{
		(*tok).line = (*L).line;
		(*tok).col = (*L).col;
		{
			if (!((NU8)(c) == (NU8)(0))) goto LA16_;
			(*tok).kind = ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 0);
		}
		goto LA14_;
		LA16_: ;
		{
			(*tok).kind = ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 6);
			unsureAsgnRef((void**) (&(*tok).symbol), addChar((*tok).symbol, c));
			(*L).bufpos += ((NI) 1);
			(*L).col += ((NI) 1);
		}
		LA14_: ;
	}
	break;
	}
	(*tok).col = (((NI)((*tok).col - (*L).baseIndent) >= ((NI) 0)) ? (NI)((*tok).col - (*L).baseIndent) : ((NI) 0));
}

N_LIB_PRIVATE N_NIMCALL(NI, getTokens_9bP24k7EPS6mr3BYA8XjYyA)(NimStringDesc* buffer, NIM_BOOL skipPounds, tySequence_P8hOR7sdW9cxlcQApQ4kJNA** tokens) {
	NI result;
	tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA L;
	NI length;
	NI T1_;
	result = (NI)0;
	nimZeroMem((void*)(&L), sizeof(tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA));
	L.Sup.m_type = (&NTI_5boGUNyj9cHomWCEznBP3KA_);
	T1_ = ((*tokens) ? (*tokens)->Sup.len : 0);
	length = T1_;
	L.buf = nimToCStringConv(buffer);
	L.line = ((NI) 0);
	{
		NIM_BOOL T4_;
		NIM_BOOL T5_;
		T4_ = (NIM_BOOL)0;
		T5_ = (NIM_BOOL)0;
		T5_ = ((NU8)(L.buf[((NI) 0)]) == (NU8)(239));
		if (!(T5_)) goto LA6_;
		T5_ = ((NU8)(L.buf[((NI) 1)]) == (NU8)(187));
		LA6_: ;
		T4_ = T5_;
		if (!(T4_)) goto LA7_;
		T4_ = ((NU8)(L.buf[((NI) 2)]) == (NU8)(191));
		LA7_: ;
		if (!T4_) goto LA8_;
		L.bufpos += ((NI) 3);
	}
	LA8_: ;
	L.skipPounds = skipPounds;
	{
		if (!skipPounds) goto LA12_;
		{
			if (!((NU8)(L.buf[L.bufpos]) == (NU8)(35))) goto LA16_;
			L.bufpos += ((NI) 1);
			result += ((NI) 1);
		}
		LA16_: ;
		{
			if (!((NU8)(L.buf[L.bufpos]) == (NU8)(35))) goto LA20_;
			L.bufpos += ((NI) 1);
			result += ((NI) 1);
		}
		LA20_: ;
		L.baseIndent = ((NI) 0);
		{
			while (1) {
				if (!((NU8)(L.buf[L.bufpos]) == (NU8)(32))) goto LA23;
				L.bufpos += ((NI) 1);
				L.baseIndent += ((NI) 1);
				result += ((NI) 1);
			} LA23: ;
		}
	}
	LA12_: ;
	{
		while (1) {
			length += ((NI) 1);
			unsureAsgnRef((void**) (&(*tokens)), (tySequence_P8hOR7sdW9cxlcQApQ4kJNA*) setLengthSeqV2(&((*tokens))->Sup, (&NTI_P8hOR7sdW9cxlcQApQ4kJNA_), ((NI) (length))));
			rawGetTok_4VsDraoQNkNBLXrfN3dpZg((&L), (&(*tokens)->data[(NI)(length - ((NI) 1))]));
			{
				if (!((*tokens)->data[(NI)(length - ((NI) 1))].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 0))) goto LA28_;
				goto LA24;
			}
			LA28_: ;
		}
	} LA24: ;
	{
		if (!((*tokens)->data[((NI) 0)].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2))) goto LA32_;
		(*tokens)->data[((NI) 0)].ival = ((*tokens)->data[((NI) 0)].symbol ? (*tokens)->data[((NI) 0)].symbol->Sup.len : 0);
		(*tokens)->data[((NI) 0)].kind = ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1);
	}
	LA32_: ;
	return result;
}

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_fmeFeLBvgmAHG9bC8ETS9bYQropes)(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)(NimStringDesc* a, NimStringDesc* b) {
	NIM_BOOL result;
	NI alen;
	NI blen;
{	result = (NIM_BOOL)0;
	alen = (a ? a->Sup.len : 0);
	blen = (b ? b->Sup.len : 0);
	{
		if (!(alen == blen)) goto LA3_;
		{
			if (!(alen == ((NI) 0))) goto LA7_;
			result = NIM_TRUE;
			goto BeforeRet_;
		}
		LA7_: ;
		result = equalMem_fmeFeLBvgmAHG9bC8ETS9bYQropes(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen)));
		goto BeforeRet_;
	}
	LA3_: ;
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NI, findSub_2m00yOgdbAI0bOTeFwYPzQ)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n) {
	NI result;
	NimStringDesc* key;
{	result = (NI)0;
	key = addNodes_8c8VtfxgpCNHWO7JhFDeLQ_2(n);
	{
		NI i;
		NI colontmp_;
		NI T2_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		T2_ = (((*(*p).s).subs ? (*(*p).s).subs->Sup.len : 0)-1);
		colontmp_ = T2_;
		res = ((NI) 0);
		{
			while (1) {
				if (!(res <= colontmp_)) goto LA4;
				i = res;
				{
					if (!eqStrings(key, (*(*p).s).subs->data[i].key)) goto LA7_;
					result = i;
					goto BeforeRet_;
				}
				LA7_: ;
				res += ((NI) 1);
			} LA4: ;
		}
	}
	{
		NI i_2;
		NI colontmp__2;
		NI T10_;
		NI res_2;
		i_2 = (NI)0;
		colontmp__2 = (NI)0;
		T10_ = (((*(*p).s).subs ? (*(*p).s).subs->Sup.len : 0)-1);
		colontmp__2 = T10_;
		res_2 = ((NI) 0);
		{
			while (1) {
				if (!(res_2 <= colontmp__2)) goto LA12;
				i_2 = res_2;
				{
					NI T15_;
					T15_ = (NI)0;
					T15_ = nsuCmpIgnoreStyle(key, (*(*p).s).subs->data[i_2].key);
					if (!(T15_ == ((NI) 0))) goto LA16_;
					result = i_2;
					goto BeforeRet_;
				}
				LA16_: ;
				res_2 += ((NI) 1);
			} LA12: ;
		}
	}
	result = ((NI) -1);
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, rstMessage_1lITOefsdDjHpFYeqWT9aow)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ msgKind, NimStringDesc* arg) {
	(*(*p).s).msgHandler.ClE_0? (*(*p).s).msgHandler.ClP_0((*p).filename, (NI)((*p).line + (*p).tok->data[(*p).idx].line), (NI)((*p).col + (*p).tok->data[(*p).idx].col), msgKind, arg, (*(*p).s).msgHandler.ClE_0):((TM_Xuc9bgVTDeYXjwnCJIlXSig_60)((*(*p).s).msgHandler.ClP_0))((*p).filename, (NI)((*p).line + (*p).tok->data[(*p).idx].line), (NI)((*p).col + (*p).tok->data[(*p).idx].col), msgKind, arg);
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, findRef_OnV0ECf14r9arlhPL5Gz26A)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NimStringDesc* key) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
{	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	{
		NI i;
		NI colontmp_;
		NI T2_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		T2_ = (((*(*p).s).refs ? (*(*p).s).refs->Sup.len : 0)-1);
		colontmp_ = T2_;
		res = ((NI) 0);
		{
			while (1) {
				if (!(res <= colontmp_)) goto LA4;
				i = res;
				{
					if (!eqStrings(key, (*(*p).s).refs->data[i].key)) goto LA7_;
					result = (*(*p).s).refs->data[i].value;
					goto BeforeRet_;
				}
				LA7_: ;
				res += ((NI) 1);
			} LA4: ;
		}
	}
	}BeforeRet_: ;
	return result;
}

static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src) {
	{
		tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c;
		if (!!((src == NIM_NIL))) goto LA3_;
		c = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem(src);
		(*c).refcount += ((NI) 8);
	}
	LA3_: ;
	{
		tyObject_Cell_1zcF9cV8XIAtbN8h5HRUB8g* c_2;
		if (!!(((*dest) == NIM_NIL))) goto LA7_;
		c_2 = usrToCell_yB9aH5WIlwd0xkYrcdPeXrQsystem((*dest));
		{
			(*c_2).refcount -= ((NI) 8);
			if (!((NU64)((*c_2).refcount) < (NU64)(((NI) 8)))) goto LA11_;
			rtlAddZCT_MV4BBk6J1qu70IbBxwEn4w_2system(c_2);
		}
		LA11_: ;
	}
	LA7_: ;
	(*dest) = src;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, resolveSubs_zjrO69bNk4zafyWr1c8BsDw)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
{	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = n;
	{
		if (!(n == NIM_NIL)) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	switch ((*n).kind) {
	case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 62):
	{
		NI x;
		x = findSub_2m00yOgdbAI0bOTeFwYPzQ(p, n);
		{
			if (!(((NI) 0) <= x)) goto LA8_;
			result = (*(*p).s).subs->data[x].value;
		}
		goto LA6_;
		LA8_: ;
		{
			NimStringDesc* key;
			NimStringDesc* e;
			key = addNodes_8c8VtfxgpCNHWO7JhFDeLQ_2(n);
			e = getEnv_9b1nh9cAHhSLlHOPz8lCk5FA(key, ((NimStringDesc*) NIM_NIL));
			{
				if (!!(((e ? e->Sup.len : 0) == 0))) goto LA13_;
				result = newRstNode_5U9cRbUMTUnFZvEj9bgqsRSg(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64), e);
			}
			goto LA11_;
			LA13_: ;
			{
				rstMessage_1lITOefsdDjHpFYeqWT9aow((&(*p)), ((tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ) 7), key);
			}
			LA11_: ;
		}
		LA6_: ;
	}
	break;
	case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 39):
	{
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* y;
		NimStringDesc* T17_;
		T17_ = (NimStringDesc*)0;
		T17_ = rstnodeToRefname_8c8VtfxgpCNHWO7JhFDeLQ(n);
		y = findRef_OnV0ECf14r9arlhPL5Gz26A(p, T17_);
		{
			if (!!((y == NIM_NIL))) goto LA20_;
			result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 38));
			(*n).kind = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 0);
			add_ZvlV89auQrVc4pTJdjhNQiQ(result, n);
			add_ZvlV89auQrVc4pTJdjhNQiQ(result, y);
		}
		LA20_: ;
	}
	break;
	case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64):
	{
	}
	break;
	case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 44):
	{
		(*p).hasToc = NIM_TRUE;
	}
	break;
	default:
	{
		{
			NI i;
			NI colontmp_;
			NI T26_;
			NI res;
			i = (NI)0;
			colontmp_ = (NI)0;
			T26_ = (NI)0;
			T26_ = len_7sZ6jl1AobLSRAIdrbIp6A(n);
			colontmp_ = (NI)(T26_ - ((NI) 1));
			res = ((NI) 0);
			{
				while (1) {
					if (!(res <= colontmp_)) goto LA28;
					i = res;
					asgnRefNoCycle((void**) (&(*n).sons->data[i]), resolveSubs_zjrO69bNk4zafyWr1c8BsDw(p, (*n).sons->data[i]));
					res += ((NI) 1);
				} LA28: ;
			}
		}
	}
	break;
	}
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NI, currInd_xUb9bp9aN3qua9bQob6ivKMSg)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	NI result;
	NI T1_;
	result = (NI)0;
	T1_ = (((*p).indentStack ? (*p).indentStack->Sup.len : 0)-1);
	result = (*p).indentStack->data[T1_];
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, pushInd_Xbq51oVyRO7PZZ4xLvVYsA)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NI ind) {
	NI T1_;
	unsureAsgnRef((void**) (&(*p).indentStack), (tySequence_qwqHTkRvwhrRyENtudHQ7g*) incrSeqV3(&((*p).indentStack)->Sup, (&NTI_qwqHTkRvwhrRyENtudHQ7g_)));
	T1_ = (*p).indentStack->Sup.len++;
	(*p).indentStack->data[T1_] = ind;
}

N_LIB_PRIVATE N_NIMCALL(void, popInd_xyvnfvy5mhKB22A7n5qS7g)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	{
		NI T3_;
		NI T6_;
		T3_ = ((*p).indentStack ? (*p).indentStack->Sup.len : 0);
		if (!(((NI) 1) < T3_)) goto LA4_;
		T6_ = ((*p).indentStack ? (*p).indentStack->Sup.len : 0);
		unsureAsgnRef((void**) (&(*p).indentStack), (tySequence_qwqHTkRvwhrRyENtudHQ7g*) setLengthSeqV2(&((*p).indentStack)->Sup, (&NTI_qwqHTkRvwhrRyENtudHQ7g_), ((NI) ((NI)(T6_ - ((NI) 1))))));
	}
	LA4_: ;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, match_BA0Thy4zmrgaRNWWKGQ79cg)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NI start, NimStringDesc* expr) {
	NIM_BOOL result;
	NI i;
	NI j;
	NI last;
{	result = (NIM_BOOL)0;
	i = ((NI) 0);
	j = start;
	last = (NI)((expr ? expr->Sup.len : 0) - ((NI) 1));
	{
		while (1) {
			if (!(i <= last)) goto LA2;
			switch (((NU8)(expr->data[i]))) {
			case 119:
			{
				result = ((*p).tok->data[j].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 3));
			}
			break;
			case 32:
			{
				result = ((*p).tok->data[j].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2));
			}
			break;
			case 105:
			{
				result = ((*p).tok->data[j].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1));
			}
			break;
			case 112:
			{
				result = ((*p).tok->data[j].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 5));
			}
			break;
			case 97:
			{
				result = ((*p).tok->data[j].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 4));
			}
			break;
			case 111:
			{
				result = ((*p).tok->data[j].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 6));
			}
			break;
			case 84:
			{
				result = NIM_TRUE;
			}
			break;
			case 69:
			{
				result = ((7 &(1U<<((NU)((*p).tok->data[j].kind)&7U)))!=0);
			}
			break;
			case 101:
			{
				NIM_BOOL T12_;
				T12_ = (NIM_BOOL)0;
				T12_ = ((*p).tok->data[j].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 3));
				if (T12_) goto LA13_;
				T12_ = eqStrings((*p).tok->data[j].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_61));
				LA13_: ;
				result = T12_;
				{
					if (!result) goto LA16_;
					switch (((NU8)((*p).tok->data[j].symbol->data[((NI) 0)]))) {
					case 97 ... 122:
					case 65 ... 90:
					{
						result = (((*p).tok->data[j].symbol ? (*p).tok->data[j].symbol->Sup.len : 0) == ((NI) 1));
					}
					break;
					case 48 ... 57:
					{
						result = allCharsInSet_wVfr4F6j4mVzI8ggLoMVdw((*p).tok->data[j].symbol, TM_Xuc9bgVTDeYXjwnCJIlXSig_62);
					}
					break;
					default:
					{
					}
					break;
					}
				}
				LA16_: ;
			}
			break;
			default:
			{
				NIM_CHAR c;
				NI length;
				NIM_BOOL T26_;
				NIM_BOOL T27_;
				c = expr->data[i];
				length = ((NI) 0);
				{
					while (1) {
						NIM_BOOL T24_;
						T24_ = (NIM_BOOL)0;
						T24_ = (i <= last);
						if (!(T24_)) goto LA25_;
						T24_ = ((NU8)(expr->data[i]) == (NU8)(c));
						LA25_: ;
						if (!T24_) goto LA23;
						i += ((NI) 1);
						length += ((NI) 1);
					} LA23: ;
				}
				i -= ((NI) 1);
				T26_ = (NIM_BOOL)0;
				T27_ = (NIM_BOOL)0;
				T27_ = ((48 &(1U<<((NU)((*p).tok->data[j].kind)&7U)))!=0);
				if (!(T27_)) goto LA28_;
				T27_ = (((*p).tok->data[j].symbol ? (*p).tok->data[j].symbol->Sup.len : 0) == length);
				LA28_: ;
				T26_ = T27_;
				if (!(T26_)) goto LA29_;
				T26_ = ((NU8)((*p).tok->data[j].symbol->data[((NI) 0)]) == (NU8)(c));
				LA29_: ;
				result = T26_;
			}
			break;
			}
			{
				if (!!(result)) goto LA32_;
				goto BeforeRet_;
			}
			LA32_: ;
			j += ((NI) 1);
			i += ((NI) 1);
		} LA2: ;
	}
	result = NIM_TRUE;
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NI, tokenAfterNewline_xUb9bp9aN3qua9bQob6ivKMSg_2)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	NI result;
	result = (NI)0;
	result = (*p).idx;
	{
		while (1) {
			switch ((*p).tok->data[result].kind) {
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 0):
			{
				goto LA1;
			}
			break;
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1):
			{
				result += ((NI) 1);
				goto LA1;
			}
			break;
			default:
			{
				result += ((NI) 1);
			}
			break;
			}
		}
	} LA1: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, predNL_UhneQZ7gHdgvtKQt0amgjQ)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	NIM_BOOL result;
	result = (NIM_BOOL)0;
	result = NIM_TRUE;
	{
		NIM_BOOL T5_;
		NI T7_;
		if (!(((NI) 0) < (*p).idx)) goto LA3_;
		T5_ = (NIM_BOOL)0;
		T5_ = ((*p).tok->data[(NI)((*p).idx - ((NI) 1))].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1));
		if (!(T5_)) goto LA6_;
		T7_ = (NI)0;
		T7_ = currInd_xUb9bp9aN3qua9bQob6ivKMSg(p);
		T5_ = ((*p).tok->data[(NI)((*p).idx - ((NI) 1))].ival == T7_);
		LA6_: ;
		result = T5_;
	}
	LA3_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isLineBlock_UhneQZ7gHdgvtKQt0amgjQ_2)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	NIM_BOOL result;
	NI j;
	NIM_BOOL T1_;
	NIM_BOOL T2_;
	result = (NIM_BOOL)0;
	j = tokenAfterNewline_xUb9bp9aN3qua9bQob6ivKMSg_2(p);
	T1_ = (NIM_BOOL)0;
	T2_ = (NIM_BOOL)0;
	T2_ = ((*p).tok->data[(*p).idx].col == (*p).tok->data[j].col);
	if (!(T2_)) goto LA3_;
	T2_ = eqStrings((*p).tok->data[j].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_71));
	LA3_: ;
	T1_ = T2_;
	if (T1_) goto LA4_;
	T1_ = ((*p).tok->data[(*p).idx].col < (*p).tok->data[j].col);
	LA4_: ;
	result = T1_;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, rstMessage_010ZyRRb5239bB1tvVcSjvg)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ msgKind) {
	(*(*p).s).msgHandler.ClE_0? (*(*p).s).msgHandler.ClP_0((*p).filename, (NI)((*p).line + (*p).tok->data[(*p).idx].line), (NI)((*p).col + (*p).tok->data[(*p).idx].col), msgKind, (*p).tok->data[(*p).idx].symbol, (*(*p).s).msgHandler.ClE_0):((TM_Xuc9bgVTDeYXjwnCJIlXSig_76)((*(*p).s).msgHandler.ClP_0))((*p).filename, (NI)((*p).line + (*p).tok->data[(*p).idx].line), (NI)((*p).col + (*p).tok->data[(*p).idx].col), msgKind, (*p).tok->data[(*p).idx].symbol);
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isDefList_UhneQZ7gHdgvtKQt0amgjQ_3)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	NIM_BOOL result;
	NI j;
	NIM_BOOL T1_;
	NIM_BOOL T2_;
	result = (NIM_BOOL)0;
	j = tokenAfterNewline_xUb9bp9aN3qua9bQob6ivKMSg_2(p);
	T1_ = (NIM_BOOL)0;
	T2_ = (NIM_BOOL)0;
	T2_ = ((*p).tok->data[(*p).idx].col < (*p).tok->data[j].col);
	if (!(T2_)) goto LA3_;
	T2_ = ((104 &(1U<<((NU)((*p).tok->data[j].kind)&7U)))!=0);
	LA3_: ;
	T1_ = T2_;
	if (!(T1_)) goto LA4_;
	T1_ = !(eqStrings((*p).tok->data[(NI)(j - ((NI) 2))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_67)));
	LA4_: ;
	result = T1_;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isOptionList_UhneQZ7gHdgvtKQt0amgjQ_4)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	NIM_BOOL result;
	NIM_BOOL T1_;
	NIM_BOOL T2_;
	NIM_BOOL T3_;
	result = (NIM_BOOL)0;
	T1_ = (NIM_BOOL)0;
	T2_ = (NIM_BOOL)0;
	T3_ = (NIM_BOOL)0;
	T3_ = match_BA0Thy4zmrgaRNWWKGQ79cg(p, (*p).idx, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_77));
	if (T3_) goto LA4_;
	T3_ = match_BA0Thy4zmrgaRNWWKGQ79cg(p, (*p).idx, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_78));
	LA4_: ;
	T2_ = T3_;
	if (T2_) goto LA5_;
	T2_ = match_BA0Thy4zmrgaRNWWKGQ79cg(p, (*p).idx, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_79));
	LA5_: ;
	T1_ = T2_;
	if (T1_) goto LA6_;
	T1_ = match_BA0Thy4zmrgaRNWWKGQ79cg(p, (*p).idx, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_80));
	LA6_: ;
	result = T1_;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg, whichSection_fKdIux7luKc8K63j1aCSGA)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg result;
	result = (tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg)0;
	switch ((*p).tok->data[(*p).idx].kind) {
	case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 4):
	{
		{
			NIM_BOOL T4_;
			T4_ = (NIM_BOOL)0;
			T4_ = match_BA0Thy4zmrgaRNWWKGQ79cg(p, (NI)((*p).idx + ((NI) 1)), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_63));
			if (!T4_) goto LA5_;
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 3);
		}
		goto LA2_;
		LA5_: ;
		{
			NIM_BOOL T8_;
			T8_ = (NIM_BOOL)0;
			T8_ = match_BA0Thy4zmrgaRNWWKGQ79cg(p, (NI)((*p).idx + ((NI) 1)), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_64));
			if (!T8_) goto LA9_;
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 29);
		}
		goto LA2_;
		LA9_: ;
		{
			NIM_BOOL T12_;
			T12_ = (NIM_BOOL)0;
			T12_ = match_BA0Thy4zmrgaRNWWKGQ79cg(p, (NI)((*p).idx + ((NI) 1)), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_65));
			if (!T12_) goto LA13_;
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 2);
		}
		goto LA2_;
		LA13_: ;
		{
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64);
		}
		LA2_: ;
	}
	break;
	case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 5):
	{
		{
			NI T19_;
			NIM_BOOL T20_;
			T19_ = (NI)0;
			T19_ = tokenAfterNewline_xUb9bp9aN3qua9bQob6ivKMSg_2(p);
			T20_ = (NIM_BOOL)0;
			T20_ = match_BA0Thy4zmrgaRNWWKGQ79cg(p, T19_, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_66));
			if (!T20_) goto LA21_;
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 1);
		}
		goto LA17_;
		LA21_: ;
		{
			if (!eqStrings((*p).tok->data[(*p).idx].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_67))) goto LA24_;
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 24);
		}
		goto LA17_;
		LA24_: ;
		{
			NIM_BOOL T27_;
			NIM_BOOL T28_;
			NIM_BOOL T30_;
			NIM_BOOL T31_;
			T27_ = (NIM_BOOL)0;
			T28_ = (NIM_BOOL)0;
			T28_ = predNL_UhneQZ7gHdgvtKQt0amgjQ(p);
			if (!(T28_)) goto LA29_;
			T30_ = (NIM_BOOL)0;
			T31_ = (NIM_BOOL)0;
			T31_ = eqStrings((*p).tok->data[(*p).idx].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_68));
			if (T31_) goto LA32_;
			T31_ = eqStrings((*p).tok->data[(*p).idx].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_69));
			LA32_: ;
			T30_ = T31_;
			if (T30_) goto LA33_;
			T30_ = eqStrings((*p).tok->data[(*p).idx].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_70));
			LA33_: ;
			T28_ = T30_;
			LA29_: ;
			T27_ = T28_;
			if (!(T27_)) goto LA34_;
			T27_ = ((*p).tok->data[(NI)((*p).idx + ((NI) 1))].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2));
			LA34_: ;
			if (!T27_) goto LA35_;
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 5);
		}
		goto LA17_;
		LA35_: ;
		{
			NIM_BOOL T38_;
			T38_ = (NIM_BOOL)0;
			T38_ = eqStrings((*p).tok->data[(*p).idx].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_71));
			if (!(T38_)) goto LA39_;
			T38_ = isLineBlock_UhneQZ7gHdgvtKQt0amgjQ_2(p);
			LA39_: ;
			if (!T38_) goto LA40_;
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 26);
		}
		goto LA17_;
		LA40_: ;
		{
			NIM_BOOL T43_;
			T43_ = (NIM_BOOL)0;
			T43_ = eqStrings((*p).tok->data[(*p).idx].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_72));
			if (!(T43_)) goto LA44_;
			T43_ = predNL_UhneQZ7gHdgvtKQt0amgjQ(p);
			LA44_: ;
			if (!T43_) goto LA45_;
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 40);
		}
		goto LA17_;
		LA45_: ;
		{
			NIM_BOOL T48_;
			T48_ = (NIM_BOOL)0;
			T48_ = match_BA0Thy4zmrgaRNWWKGQ79cg(p, (*p).idx, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_73));
			if (!(T48_)) goto LA49_;
			T48_ = predNL_UhneQZ7gHdgvtKQt0amgjQ(p);
			LA49_: ;
			if (!T48_) goto LA50_;
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 13);
		}
		goto LA17_;
		LA50_: ;
		{
			NIM_BOOL T53_;
			T53_ = (NIM_BOOL)0;
			T53_ = match_BA0Thy4zmrgaRNWWKGQ79cg(p, (*p).idx, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_74));
			if (!T53_) goto LA54_;
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 7);
		}
		goto LA17_;
		LA54_: ;
		{
			NIM_BOOL T57_;
			T57_ = (NIM_BOOL)0;
			T57_ = match_BA0Thy4zmrgaRNWWKGQ79cg(p, (*p).idx, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_75));
			if (!T57_) goto LA58_;
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 30);
			rstMessage_010ZyRRb5239bB1tvVcSjvg(p, ((tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ) 2));
		}
		goto LA17_;
		LA58_: ;
		{
			NIM_BOOL T61_;
			T61_ = (NIM_BOOL)0;
			T61_ = isDefList_UhneQZ7gHdgvtKQt0amgjQ_3(p);
			if (!T61_) goto LA62_;
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 9);
		}
		goto LA17_;
		LA62_: ;
		{
			NIM_BOOL T65_;
			T65_ = (NIM_BOOL)0;
			T65_ = isOptionList_UhneQZ7gHdgvtKQt0amgjQ_4(p);
			if (!T65_) goto LA66_;
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 17);
		}
		goto LA17_;
		LA66_: ;
		{
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 4);
		}
		LA17_: ;
	}
	break;
	case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 3):
	case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 6):
	case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2):
	{
		{
			NI T72_;
			NIM_BOOL T73_;
			T72_ = (NI)0;
			T72_ = tokenAfterNewline_xUb9bp9aN3qua9bQob6ivKMSg_2(p);
			T73_ = (NIM_BOOL)0;
			T73_ = match_BA0Thy4zmrgaRNWWKGQ79cg(p, T72_, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_66));
			if (!T73_) goto LA74_;
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 1);
		}
		goto LA70_;
		LA74_: ;
		{
			NIM_BOOL T77_;
			T77_ = (NIM_BOOL)0;
			T77_ = match_BA0Thy4zmrgaRNWWKGQ79cg(p, (*p).idx, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_81));
			if (T77_) goto LA78_;
			T77_ = match_BA0Thy4zmrgaRNWWKGQ79cg(p, (*p).idx, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_82));
			LA78_: ;
			if (!T77_) goto LA79_;
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 7);
		}
		goto LA70_;
		LA79_: ;
		{
			NIM_BOOL T82_;
			T82_ = (NIM_BOOL)0;
			T82_ = isDefList_UhneQZ7gHdgvtKQt0amgjQ_3(p);
			if (!T82_) goto LA83_;
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 9);
		}
		goto LA70_;
		LA83_: ;
		{
			result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 4);
		}
		LA70_: ;
	}
	break;
	default:
	{
		result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64);
	}
	break;
	}
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseLiteralBlock_7GQctOJZjer320oBsVuaZw)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 24));
	n = newRstNode_5U9cRbUMTUnFZvEj9bgqsRSg(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64), ((NimStringDesc*) NIM_NIL));
	{
		NI indent;
		if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1))) goto LA3_;
		indent = (*p).tok->data[(*p).idx].ival;
		(*p).idx += ((NI) 1);
		{
			while (1) {
				switch ((*p).tok->data[(*p).idx].kind) {
				case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 0):
				{
					goto LA5;
				}
				break;
				case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1):
				{
					{
						if (!((*p).tok->data[(*p).idx].ival < indent)) goto LA11_;
						goto LA5;
					}
					goto LA9_;
					LA11_: ;
					{
						NimStringDesc* T14_;
						asgnRefNoCycle((void**) (&(*n).text), resizeString((*n).text, 1));
appendString((*n).text, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_54));
						T14_ = (NimStringDesc*)0;
						T14_ = nsuRepeatChar(32, ((NI) ((NI)((*p).tok->data[(*p).idx].ival - indent))));
						asgnRefNoCycle((void**) (&(*n).text), resizeString((*n).text, (T14_ ? T14_->Sup.len : 0) + 0));
appendString((*n).text, T14_);
						(*p).idx += ((NI) 1);
					}
					LA9_: ;
				}
				break;
				default:
				{
					asgnRefNoCycle((void**) (&(*n).text), resizeString((*n).text, ((*p).tok->data[(*p).idx].symbol ? (*p).tok->data[(*p).idx].symbol->Sup.len : 0) + 0));
appendString((*n).text, (*p).tok->data[(*p).idx].symbol);
					(*p).idx += ((NI) 1);
				}
				break;
				}
			}
		} LA5: ;
	}
	goto LA1_;
	LA3_: ;
	{
		{
			while (1) {
				if (!!(((3 &(1U<<((NU)((*p).tok->data[(*p).idx].kind)&7U)))!=0))) goto LA18;
				asgnRefNoCycle((void**) (&(*n).text), resizeString((*n).text, ((*p).tok->data[(*p).idx].symbol ? (*p).tok->data[(*p).idx].symbol->Sup.len : 0) + 0));
appendString((*n).text, (*p).tok->data[(*p).idx].symbol);
				(*p).idx += ((NI) 1);
			} LA18: ;
		}
	}
	LA1_: ;
	add_ZvlV89auQrVc4pTJdjhNQiQ(result, n);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseBulletList_8ck1a1XOjHiLTWDzHt9czmQ_3)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = NIM_NIL;
	{
		NimStringDesc* bullet;
		NI col;
		if (!((*p).tok->data[(NI)((*p).idx + ((NI) 1))].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2))) goto LA3_;
		bullet = copyString((*p).tok->data[(*p).idx].symbol);
		col = (*p).tok->data[(*p).idx].col;
		result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 5));
		pushInd_Xbq51oVyRO7PZZ4xLvVYsA(p, (*p).tok->data[(NI)((*p).idx + ((NI) 2))].col);
		(*p).idx += ((NI) 2);
		{
			while (1) {
				tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* item;
				item = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 6));
				parseSection_57GOaTSPSkCmogVitCR7Og(p, item);
				add_ZvlV89auQrVc4pTJdjhNQiQ(result, item);
				{
					NIM_BOOL T9_;
					NIM_BOOL T10_;
					NIM_BOOL T11_;
					T9_ = (NIM_BOOL)0;
					T10_ = (NIM_BOOL)0;
					T11_ = (NIM_BOOL)0;
					T11_ = ((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1));
					if (!(T11_)) goto LA12_;
					T11_ = ((*p).tok->data[(*p).idx].ival == col);
					LA12_: ;
					T10_ = T11_;
					if (!(T10_)) goto LA13_;
					T10_ = eqStrings((*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol, bullet);
					LA13_: ;
					T9_ = T10_;
					if (!(T9_)) goto LA14_;
					T9_ = ((*p).tok->data[(NI)((*p).idx + ((NI) 2))].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2));
					LA14_: ;
					if (!T9_) goto LA15_;
					(*p).idx += ((NI) 3);
				}
				goto LA7_;
				LA15_: ;
				{
					goto LA5;
				}
				LA7_: ;
			}
		} LA5: ;
		popInd_xyvnfvy5mhKB22A7n5qS7g(p);
	}
	LA3_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseLineBlock_8ck1a1XOjHiLTWDzHt9czmQ_4)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = NIM_NIL;
	{
		NI col;
		if (!((*p).tok->data[(NI)((*p).idx + ((NI) 1))].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2))) goto LA3_;
		col = (*p).tok->data[(*p).idx].col;
		result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 26));
		pushInd_Xbq51oVyRO7PZZ4xLvVYsA(p, (*p).tok->data[(NI)((*p).idx + ((NI) 2))].col);
		(*p).idx += ((NI) 2);
		{
			while (1) {
				tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* item;
				item = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 27));
				parseSection_57GOaTSPSkCmogVitCR7Og(p, item);
				add_ZvlV89auQrVc4pTJdjhNQiQ(result, item);
				{
					NIM_BOOL T9_;
					NIM_BOOL T10_;
					NIM_BOOL T11_;
					T9_ = (NIM_BOOL)0;
					T10_ = (NIM_BOOL)0;
					T11_ = (NIM_BOOL)0;
					T11_ = ((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1));
					if (!(T11_)) goto LA12_;
					T11_ = ((*p).tok->data[(*p).idx].ival == col);
					LA12_: ;
					T10_ = T11_;
					if (!(T10_)) goto LA13_;
					T10_ = eqStrings((*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_71));
					LA13_: ;
					T9_ = T10_;
					if (!(T9_)) goto LA14_;
					T9_ = ((*p).tok->data[(NI)((*p).idx + ((NI) 2))].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2));
					LA14_: ;
					if (!T9_) goto LA15_;
					(*p).idx += ((NI) 3);
				}
				goto LA7_;
				LA15_: ;
				{
					goto LA5;
				}
				LA7_: ;
			}
		} LA5: ;
		popInd_xyvnfvy5mhKB22A7n5qS7g(p);
	}
	LA3_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getDirective_GnDFZULSR7G7ehC8vbQq8g)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	NimStringDesc* result;
	result = (NimStringDesc*)0;
	{
		NIM_BOOL T3_;
		NI j;
		T3_ = (NIM_BOOL)0;
		T3_ = ((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2));
		if (!(T3_)) goto LA4_;
		T3_ = ((*p).tok->data[(NI)((*p).idx + ((NI) 1))].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 3));
		LA4_: ;
		if (!T3_) goto LA5_;
		j = (*p).idx;
		(*p).idx += ((NI) 1);
		result = copyString((*p).tok->data[(*p).idx].symbol);
		(*p).idx += ((NI) 1);
		{
			while (1) {
				if (!((120 &(1U<<((NU)((*p).tok->data[(*p).idx].kind)&7U)))!=0)) goto LA8;
				{
					if (!eqStrings((*p).tok->data[(*p).idx].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_67))) goto LA11_;
					goto LA7;
				}
				LA11_: ;
				result = resizeString(result, ((*p).tok->data[(*p).idx].symbol ? (*p).tok->data[(*p).idx].symbol->Sup.len : 0) + 0);
appendString(result, (*p).tok->data[(*p).idx].symbol);
				(*p).idx += ((NI) 1);
			} LA8: ;
		} LA7: ;
		{
			if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2))) goto LA15_;
			(*p).idx += ((NI) 1);
		}
		LA15_: ;
		{
			if (!eqStrings((*p).tok->data[(*p).idx].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_67))) goto LA19_;
			(*p).idx += ((NI) 1);
			{
				if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2))) goto LA23_;
				(*p).idx += ((NI) 1);
			}
			LA23_: ;
		}
		goto LA17_;
		LA19_: ;
		{
			(*p).idx = j;
			result = ((NimStringDesc*) NIM_NIL);
		}
		LA17_: ;
	}
	goto LA1_;
	LA5_: ;
	{
		result = ((NimStringDesc*) NIM_NIL);
	}
	LA1_: ;
	return result;
}

static N_INLINE(NI, find_WIHmYlNa9bE7UygcMeOWFFwrst)(tyArray_pq8mfSp9bT2PbH9bKmz9cdOdA a, NimStringDesc* item) {
	NI result;
{	result = (NI)0;
	{
		NimStringDesc* i;
		NI i_2;
		i = (NimStringDesc*)0;
		i_2 = ((NI) 0);
		{
			if (!(((NI) (i_2)) <= ((NI) 12))) goto LA4_;
			{
				while (1) {
					i = a[(i_2)- 0];
					{
						if (!eqStrings(i, item)) goto LA10_;
						goto BeforeRet_;
					}
					LA10_: ;
					result += ((NI) 1);
					{
						if (!(((NI) 12) <= ((NI) (i_2)))) goto LA14_;
						goto LA6;
					}
					LA14_: ;
					i_2 += ((NI) 1);
				}
			} LA6: ;
		}
		LA4_: ;
	}
	result = ((NI) -1);
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q, getDirKind_mWUS0gkH9a9b9aw0vnkK9ajU2A)(NimStringDesc* s) {
	tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q result;
	NI i;
	result = (tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q)0;
	i = find_WIHmYlNa9bE7UygcMeOWFFwrst(DirIds_8wMg8PYAAl38ckLcA5VjCA, s);
	{
		if (!(((NI) 0) <= i)) goto LA3_;
		result = ((tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q) (i));
	}
	goto LA1_;
	LA3_: ;
	{
		result = ((tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q) 0);
	}
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, newLeaf_7GQctOJZjer320oBsVuaZw_2)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = newRstNode_5U9cRbUMTUnFZvEj9bgqsRSg(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64), (*p).tok->data[(*p).idx].symbol);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isInlineMarkupStart_Fdq2EHyFyJnaA4KSrbjzwg)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NimStringDesc* markup) {
	NIM_BOOL result;
	NIM_CHAR d;
	NIM_BOOL T5_;
	NIM_BOOL T6_;
{	result = (NIM_BOOL)0;
	d = (NIM_CHAR)0;
	result = eqStrings((*p).tok->data[(*p).idx].symbol, markup);
	{
		if (!!(result)) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	T5_ = (NIM_BOOL)0;
	T6_ = (NIM_BOOL)0;
	T6_ = ((*p).idx == ((NI) 0));
	if (T6_) goto LA7_;
	T6_ = ((6 &(1U<<((NU)((*p).tok->data[(NI)((*p).idx - ((NI) 1))].kind)&7U)))!=0);
	LA7_: ;
	T5_ = T6_;
	if (T5_) goto LA8_;
	T5_ = ((TM_Xuc9bgVTDeYXjwnCJIlXSig_95[(NU)(((NU8)((*p).tok->data[(NI)((*p).idx - ((NI) 1))].symbol->data[((NI) 0)])))>>3] &(1U<<((NU)(((NU8)((*p).tok->data[(NI)((*p).idx - ((NI) 1))].symbol->data[((NI) 0)])))&7U)))!=0);
	LA8_: ;
	result = T5_;
	{
		if (!!(result)) goto LA11_;
		goto BeforeRet_;
	}
	LA11_: ;
	result = !(((7 &(1U<<((NU)((*p).tok->data[(NI)((*p).idx + ((NI) 1))].kind)&7U)))!=0));
	{
		if (!!(result)) goto LA15_;
		goto BeforeRet_;
	}
	LA15_: ;
	{
		if (!(((NI) 0) < (*p).idx)) goto LA19_;
		{
			if (!eqStrings((*p).tok->data[(NI)((*p).idx - ((NI) 1))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_96))) goto LA23_;
			result = NIM_FALSE;
		}
		goto LA21_;
		LA23_: ;
		{
			NIM_CHAR c;
			c = (*p).tok->data[(NI)((*p).idx - ((NI) 1))].symbol->data[((NI) 0)];
			switch (((NU8)(c))) {
			case 39:
			case 34:
			{
				d = c;
			}
			break;
			case 40:
			{
				d = 41;
			}
			break;
			case 91:
			{
				d = 93;
			}
			break;
			case 123:
			{
				d = 125;
			}
			break;
			case 60:
			{
				d = 62;
			}
			break;
			default:
			{
				d = 0;
			}
			break;
			}
			{
				if (!!(((NU8)(d) == (NU8)(0)))) goto LA34_;
				result = !(((NU8)((*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol->data[((NI) 0)]) == (NU8)(d)));
			}
			LA34_: ;
		}
		LA21_: ;
	}
	LA19_: ;
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isInlineMarkupEnd_Fdq2EHyFyJnaA4KSrbjzwg_2)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NimStringDesc* markup) {
	NIM_BOOL result;
	NIM_BOOL T9_;
{	result = (NIM_BOOL)0;
	result = eqStrings((*p).tok->data[(*p).idx].symbol, markup);
	{
		if (!!(result)) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	result = !(((6 &(1U<<((NU)((*p).tok->data[(NI)((*p).idx - ((NI) 1))].kind)&7U)))!=0));
	{
		if (!!(result)) goto LA7_;
		goto BeforeRet_;
	}
	LA7_: ;
	T9_ = (NIM_BOOL)0;
	T9_ = ((7 &(1U<<((NU)((*p).tok->data[(NI)((*p).idx + ((NI) 1))].kind)&7U)))!=0);
	if (T9_) goto LA10_;
	T9_ = ((TM_Xuc9bgVTDeYXjwnCJIlXSig_98[(NU)(((NU8)((*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol->data[((NI) 0)])))>>3] &(1U<<((NU)(((NU8)((*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol->data[((NI) 0)])))&7U)))!=0);
	LA10_: ;
	result = T9_;
	{
		if (!!(result)) goto LA13_;
		goto BeforeRet_;
	}
	LA13_: ;
	{
		if (!(((NI) 0) < (*p).idx)) goto LA17_;
		{
			NIM_BOOL T21_;
			T21_ = (NIM_BOOL)0;
			T21_ = !(eqStrings(markup, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_99)));
			if (!(T21_)) goto LA22_;
			T21_ = eqStrings((*p).tok->data[(NI)((*p).idx - ((NI) 1))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_96));
			LA22_: ;
			if (!T21_) goto LA23_;
			result = NIM_FALSE;
		}
		LA23_: ;
	}
	LA17_: ;
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, parseBackslash_RwTEadQq45h66VRoByZYcw_3)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* father) {
	{
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T5_;
		if (!eqStrings((*p).tok->data[(*p).idx].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_100))) goto LA3_;
		T5_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
		T5_ = newRstNode_5U9cRbUMTUnFZvEj9bgqsRSg(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_96));
		add_ZvlV89auQrVc4pTJdjhNQiQ(father, T5_);
		(*p).idx += ((NI) 1);
	}
	goto LA1_;
	LA3_: ;
	{
		if (!eqStrings((*p).tok->data[(*p).idx].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_96))) goto LA7_;
		(*p).idx += ((NI) 1);
		{
			tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T13_;
			if (!!(((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2)))) goto LA11_;
			T13_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
			T13_ = newLeaf_7GQctOJZjer320oBsVuaZw_2(p);
			add_ZvlV89auQrVc4pTJdjhNQiQ(father, T13_);
		}
		LA11_: ;
		{
			if (!!(((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 0)))) goto LA16_;
			(*p).idx += ((NI) 1);
		}
		LA16_: ;
	}
	goto LA1_;
	LA7_: ;
	{
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T19_;
		T19_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
		T19_ = newLeaf_7GQctOJZjer320oBsVuaZw_2(p);
		add_ZvlV89auQrVc4pTJdjhNQiQ(father, T19_);
		(*p).idx += ((NI) 1);
	}
	LA1_: ;
}

N_LIB_PRIVATE N_NIMCALL(void, rstMessage_mhhFjkt6NSmoSVxWhEjg1Q)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ msgKind, NimStringDesc* arg, NI line, NI col) {
	(*(*p).s).msgHandler.ClE_0? (*(*p).s).msgHandler.ClP_0((*p).filename, (NI)((*p).line + line), (NI)((*p).col + col), msgKind, arg, (*(*p).s).msgHandler.ClE_0):((TM_Xuc9bgVTDeYXjwnCJIlXSig_102)((*(*p).s).msgHandler.ClP_0))((*p).filename, (NI)((*p).line + line), (NI)((*p).col + col), msgKind, arg);
}

N_LIB_PRIVATE N_NIMCALL(void, parseUntil_BtNLsoboZYu9a5AP1vqQAuQ)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* father, NimStringDesc* postfix, NIM_BOOL interpretBackslash) {
	NI line;
	NI col;
	line = (*p).tok->data[(*p).idx].line;
	col = (*p).tok->data[(*p).idx].col;
	(*p).idx += ((NI) 1);
	{
		while (1) {
			switch ((*p).tok->data[(*p).idx].kind) {
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 5):
			{
				{
					NIM_BOOL T6_;
					T6_ = (NIM_BOOL)0;
					T6_ = isInlineMarkupEnd_Fdq2EHyFyJnaA4KSrbjzwg_2((&(*p)), postfix);
					if (!T6_) goto LA7_;
					(*p).idx += ((NI) 1);
					goto LA1;
				}
				goto LA4_;
				LA7_: ;
				{
					if (!interpretBackslash) goto LA10_;
					parseBackslash_RwTEadQq45h66VRoByZYcw_3(p, father);
				}
				goto LA4_;
				LA10_: ;
				{
					tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T13_;
					T13_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
					T13_ = newLeaf_7GQctOJZjer320oBsVuaZw_2(p);
					add_ZvlV89auQrVc4pTJdjhNQiQ(father, T13_);
					(*p).idx += ((NI) 1);
				}
				LA4_: ;
			}
			break;
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 4):
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 3):
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 6):
			{
				tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T15_;
				T15_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
				T15_ = newLeaf_7GQctOJZjer320oBsVuaZw_2(p);
				add_ZvlV89auQrVc4pTJdjhNQiQ(father, T15_);
				(*p).idx += ((NI) 1);
			}
			break;
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1):
			{
				tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T17_;
				T17_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
				T17_ = newRstNode_5U9cRbUMTUnFZvEj9bgqsRSg(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_101));
				add_ZvlV89auQrVc4pTJdjhNQiQ(father, T17_);
				(*p).idx += ((NI) 1);
				{
					if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1))) goto LA20_;
					rstMessage_mhhFjkt6NSmoSVxWhEjg1Q((&(*p)), ((tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ) 1), postfix, line, col);
					goto LA1;
				}
				LA20_: ;
			}
			break;
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2):
			{
				tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T23_;
				T23_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
				T23_ = newRstNode_5U9cRbUMTUnFZvEj9bgqsRSg(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_101));
				add_ZvlV89auQrVc4pTJdjhNQiQ(father, T23_);
				(*p).idx += ((NI) 1);
			}
			break;
			default:
			{
				rstMessage_mhhFjkt6NSmoSVxWhEjg1Q((&(*p)), ((tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ) 1), postfix, line, col);
			}
			break;
			}
		}
	} LA1: ;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseMarkdownCodeblock_7GQctOJZjer320oBsVuaZw_3)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* args;
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n;
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* lb;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	args = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 41));
	{
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T5_;
		if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 3))) goto LA3_;
		T5_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
		T5_ = newLeaf_7GQctOJZjer320oBsVuaZw_2(p);
		add_ZvlV89auQrVc4pTJdjhNQiQ(args, T5_);
		(*p).idx += ((NI) 1);
	}
	goto LA1_;
	LA3_: ;
	{
		args = NIM_NIL;
	}
	LA1_: ;
	n = newRstNode_5U9cRbUMTUnFZvEj9bgqsRSg(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64), ((NimStringDesc*) NIM_NIL));
	{
		while (1) {
			switch ((*p).tok->data[(*p).idx].kind) {
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 0):
			{
				rstMessage_1lITOefsdDjHpFYeqWT9aow((&(*p)), ((tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ) 1), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_104));
				goto LA7;
			}
			break;
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 5):
			{
				{
					if (!eqStrings((*p).tok->data[(*p).idx].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_104))) goto LA13_;
					(*p).idx += ((NI) 1);
					goto LA7;
				}
				goto LA11_;
				LA13_: ;
				{
					asgnRefNoCycle((void**) (&(*n).text), resizeString((*n).text, ((*p).tok->data[(*p).idx].symbol ? (*p).tok->data[(*p).idx].symbol->Sup.len : 0) + 0));
appendString((*n).text, (*p).tok->data[(*p).idx].symbol);
					(*p).idx += ((NI) 1);
				}
				LA11_: ;
			}
			break;
			default:
			{
				asgnRefNoCycle((void**) (&(*n).text), resizeString((*n).text, ((*p).tok->data[(*p).idx].symbol ? (*p).tok->data[(*p).idx].symbol->Sup.len : 0) + 0));
appendString((*n).text, (*p).tok->data[(*p).idx].symbol);
				(*p).idx += ((NI) 1);
			}
			break;
			}
		}
	} LA7: ;
	lb = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 24));
	add_ZvlV89auQrVc4pTJdjhNQiQ(lb, n);
	result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 47));
	add_ZvlV89auQrVc4pTJdjhNQiQ(result, args);
	add_ZvlV89auQrVc4pTJdjhNQiQ(result, NIM_NIL);
	add_ZvlV89auQrVc4pTJdjhNQiQ(result, lb);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, fixupEmbeddedRef_o9cPR0t0VD2GJKQdN29cvNEg)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* a, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* b) {
	NI sep;
	NI incr;
	sep = ((NI) -1);
	{
		NI i;
		NI colontmp_;
		NI T2_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		T2_ = (NI)0;
		T2_ = len_7sZ6jl1AobLSRAIdrbIp6A(n);
		colontmp_ = (NI)(T2_ - ((NI) 2));
		res = colontmp_;
		{
			while (1) {
				if (!(((NI) 0) <= res)) goto LA4;
				i = res;
				{
					if (!eqStrings((*(*n).sons->data[i]).text, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_109))) goto LA7_;
					sep = i;
					goto LA1;
				}
				LA7_: ;
				res -= ((NI) 1);
			} LA4: ;
		}
	} LA1: ;
	{
		NIM_BOOL T11_;
		T11_ = (NIM_BOOL)0;
		T11_ = (((NI) 0) < sep);
		if (!(T11_)) goto LA12_;
		T11_ = ((NU8)((*(*n).sons->data[(NI)(sep - ((NI) 1))]).text->data[((NI) 0)]) == (NU8)(32));
		LA12_: ;
		if (!T11_) goto LA13_;
		incr = ((NI) 2);
	}
	goto LA9_;
	LA13_: ;
	{
		incr = ((NI) 1);
	}
	LA9_: ;
	{
		NI i_2;
		NI colontmp__2;
		NI res_2;
		i_2 = (NI)0;
		colontmp__2 = (NI)0;
		colontmp__2 = (NI)(sep - incr);
		res_2 = ((NI) 0);
		{
			while (1) {
				if (!(res_2 <= colontmp__2)) goto LA18;
				i_2 = res_2;
				add_ZvlV89auQrVc4pTJdjhNQiQ(a, (*n).sons->data[i_2]);
				res_2 += ((NI) 1);
			} LA18: ;
		}
	}
	{
		NI i_3;
		NI colontmp__3;
		NI colontmp__4;
		NI T20_;
		NI res_3;
		i_3 = (NI)0;
		colontmp__3 = (NI)0;
		colontmp__4 = (NI)0;
		colontmp__3 = (NI)(sep + ((NI) 1));
		T20_ = (NI)0;
		T20_ = len_7sZ6jl1AobLSRAIdrbIp6A(n);
		colontmp__4 = (NI)(T20_ - ((NI) 2));
		res_3 = colontmp__3;
		{
			while (1) {
				if (!(res_3 <= colontmp__4)) goto LA22;
				i_3 = res_3;
				add_ZvlV89auQrVc4pTJdjhNQiQ(b, (*n).sons->data[i_3]);
				res_3 += ((NI) 1);
			} LA22: ;
		}
	}
}

N_LIB_PRIVATE N_NIMCALL(void, setRef_gETA39blU8f52O3OaqIzozQ)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NimStringDesc* key, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* value) {
	NI length;
	NI T1_;
	NimStringDesc* T15_;
{	T1_ = ((*(*p).s).refs ? (*(*p).s).refs->Sup.len : 0);
	length = T1_;
	{
		NI i;
		NI colontmp_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = (NI)(length - ((NI) 1));
		res = ((NI) 0);
		{
			while (1) {
				if (!(res <= colontmp_)) goto LA4;
				i = res;
				{
					if (!eqStrings(key, (*(*p).s).refs->data[i].key)) goto LA7_;
					{
						NimStringDesc* T11_;
						NimStringDesc* T12_;
						T11_ = (NimStringDesc*)0;
						T11_ = addNodes_8c8VtfxgpCNHWO7JhFDeLQ_2((*(*p).s).refs->data[i].value);
						T12_ = (NimStringDesc*)0;
						T12_ = addNodes_8c8VtfxgpCNHWO7JhFDeLQ_2(value);
						if (!!(eqStrings(T11_, T12_))) goto LA13_;
						rstMessage_1lITOefsdDjHpFYeqWT9aow((&(*p)), ((tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ) 6), key);
					}
					LA13_: ;
					asgnRefNoCycle((void**) (&(*(*p).s).refs->data[i].value), value);
					goto BeforeRet_;
				}
				LA7_: ;
				res += ((NI) 1);
			} LA4: ;
		}
	}
	asgnRefNoCycle((void**) (&(*(*p).s).refs), (tySequence_KttZgRE9cmIMvHjR6Gj9a89ag*) setLengthSeqV2(&((*(*p).s).refs)->Sup, (&NTI_KttZgRE9cmIMvHjR6Gj9a89ag_), ((NI) ((NI)(length + ((NI) 1))))));
	T15_ = (NimStringDesc*)0;
	T15_ = (*(*p).s).refs->data[length].key; (*(*p).s).refs->data[length].key = copyStringRC1(key);
	if (T15_) nimGCunrefNoCycle(T15_);
	asgnRefNoCycle((void**) (&(*(*p).s).refs->data[length].value), value);
	}BeforeRet_: ;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parsePostfix_ZjYecsvZp4m8HGNuDVxbEQ)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = n;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = isInlineMarkupEnd_Fdq2EHyFyJnaA4KSrbjzwg_2((&(*p)), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_106));
		if (T3_) goto LA4_;
		T3_ = isInlineMarkupEnd_Fdq2EHyFyJnaA4KSrbjzwg_2((&(*p)), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_107));
		LA4_: ;
		if (!T3_) goto LA5_;
		(*p).idx += ((NI) 1);
		{
			NIM_BOOL T9_;
			tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* a;
			tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* b;
			T9_ = (NIM_BOOL)0;
			T9_ = eqStrings((*p).tok->data[(NI)((*p).idx - ((NI) 2))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_105));
			if (!(T9_)) goto LA10_;
			T9_ = eqStrings((*p).tok->data[(NI)((*p).idx - ((NI) 3))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_108));
			LA10_: ;
			if (!T9_) goto LA11_;
			a = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 0));
			b = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 0));
			fixupEmbeddedRef_o9cPR0t0VD2GJKQdN29cvNEg(n, a, b);
			{
				NI T15_;
				T15_ = (NI)0;
				T15_ = len_7sZ6jl1AobLSRAIdrbIp6A(a);
				if (!(T15_ == ((NI) 0))) goto LA16_;
				result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 37));
				add_ZvlV89auQrVc4pTJdjhNQiQ(result, b);
			}
			goto LA13_;
			LA16_: ;
			{
				NimStringDesc* T19_;
				result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 38));
				add_ZvlV89auQrVc4pTJdjhNQiQ(result, a);
				add_ZvlV89auQrVc4pTJdjhNQiQ(result, b);
				T19_ = (NimStringDesc*)0;
				T19_ = rstnodeToRefname_8c8VtfxgpCNHWO7JhFDeLQ(a);
				setRef_gETA39blU8f52O3OaqIzozQ(p, T19_, b);
			}
			LA13_: ;
		}
		goto LA7_;
		LA11_: ;
		{
			if (!((*n).kind == ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 60))) goto LA21_;
			(*n).kind = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 39);
		}
		goto LA7_;
		LA21_: ;
		{
			result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 39));
			add_ZvlV89auQrVc4pTJdjhNQiQ(result, n);
		}
		LA7_: ;
	}
	goto LA1_;
	LA5_: ;
	{
		NIM_BOOL T25_;
		T25_ = (NIM_BOOL)0;
		T25_ = match_BA0Thy4zmrgaRNWWKGQ79cg((&(*p)), (*p).idx, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_73));
		if (!T25_) goto LA26_;
		{
			if (!eqStrings((*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_110))) goto LA30_;
			(*n).kind = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 56);
		}
		goto LA28_;
		LA30_: ;
		{
			if (!eqStrings((*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_111))) goto LA33_;
			(*n).kind = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 61);
		}
		goto LA28_;
		LA33_: ;
		{
			if (!eqStrings((*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_112))) goto LA36_;
			(*n).kind = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 58);
		}
		goto LA28_;
		LA36_: ;
		{
			if (!eqStrings((*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_113))) goto LA39_;
			(*n).kind = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 57);
		}
		goto LA28_;
		LA39_: ;
		{
			NIM_BOOL T42_;
			T42_ = (NIM_BOOL)0;
			T42_ = eqStrings((*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_114));
			if (T42_) goto LA43_;
			T42_ = eqStrings((*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_115));
			LA43_: ;
			if (!T42_) goto LA44_;
			(*n).kind = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 54);
		}
		goto LA28_;
		LA44_: ;
		{
			NIM_BOOL T47_;
			T47_ = (NIM_BOOL)0;
			T47_ = eqStrings((*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_116));
			if (T47_) goto LA48_;
			T47_ = eqStrings((*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_117));
			LA48_: ;
			if (!T47_) goto LA49_;
			(*n).kind = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 55);
		}
		goto LA28_;
		LA49_: ;
		{
			tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T52_;
			result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 53));
			(*n).kind = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 0);
			add_ZvlV89auQrVc4pTJdjhNQiQ(result, n);
			T52_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
			T52_ = newRstNode_5U9cRbUMTUnFZvEj9bgqsRSg(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64), (*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol);
			add_ZvlV89auQrVc4pTJdjhNQiQ(result, T52_);
		}
		LA28_: ;
		(*p).idx += ((NI) 3);
	}
	goto LA1_;
	LA26_: ;
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NI, matchVerbatim_PMZ9ayTOY27Iin9aVJca9cHCQ)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NI start, NimStringDesc* expr) {
	NI result;
	NI j;
	result = (NI)0;
	result = start;
	j = ((NI) 0);
	{
		while (1) {
			NIM_BOOL T3_;
			NIM_BOOL T4_;
			NI T6_;
			T3_ = (NIM_BOOL)0;
			T4_ = (NIM_BOOL)0;
			T4_ = (j < (expr ? expr->Sup.len : 0));
			if (!(T4_)) goto LA5_;
			T6_ = ((*p).tok ? (*p).tok->Sup.len : 0);
			T4_ = (result < T6_);
			LA5_: ;
			T3_ = T4_;
			if (!(T3_)) goto LA7_;
			T3_ = nsuContinuesWith(expr, (*p).tok->data[result].symbol, ((NI) (j)));
			LA7_: ;
			if (!T3_) goto LA2;
			j += ((*p).tok->data[result].symbol ? (*p).tok->data[result].symbol->Sup.len : 0);
			result += ((NI) 1);
		} LA2: ;
	}
	{
		if (!(j < (expr ? expr->Sup.len : 0))) goto LA10_;
		result = ((NI) 0);
	}
	LA10_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseSmiley_7GQctOJZjer320oBsVuaZw_4)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
{	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	{
		if (!!((((NU8)((*p).tok->data[(*p).idx].symbol->data[((NI) 0)])) == ((NU8)(58)) || ((NU8)((*p).tok->data[(*p).idx].symbol->data[((NI) 0)])) == ((NU8)(59)) || ((NU8)((*p).tok->data[(*p).idx].symbol->data[((NI) 0)])) == ((NU8)(56))))) goto LA3_;
		goto BeforeRet_;
	}
	LA3_: ;
	{
		NimStringDesc* key;
		NimStringDesc* val;
		NI i;
		key = (NimStringDesc*)0;
		val = (NimStringDesc*)0;
		i = ((NI) 0);
		{
			if (!(((NI) (i)) <= ((NI) 33))) goto LA8_;
			{
				while (1) {
					NI m;
					key = copyString(Smilies_SYSLsVVVluSGVNR9bBZRLmw[(i)- 0].Field0);
					val = copyString(Smilies_SYSLsVVVluSGVNR9bBZRLmw[(i)- 0].Field1);
					m = matchVerbatim_PMZ9ayTOY27Iin9aVJca9cHCQ((&(*p)), (*p).idx, key);
					{
						NimStringDesc* T16_;
						if (!(((NI) 0) < m)) goto LA14_;
						(*p).idx = m;
						result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 63));
						T16_ = (NimStringDesc*)0;
						T16_ = (*result).text; (*result).text = copyStringRC1(val);
						if (T16_) nimGCunrefNoCycle(T16_);
						goto BeforeRet_;
					}
					LA14_: ;
					{
						if (!(((NI) 33) <= ((NI) (i)))) goto LA19_;
						goto LA10;
					}
					LA19_: ;
					i += ((NI) 1);
				}
			} LA10: ;
		}
		LA8_: ;
	}
	}BeforeRet_: ;
	return result;
}

static N_INLINE(NI, find_9basNl9bVqn7SOf9bgUeI8TEQparseopt)(NimStringDesc** a, NI aLen_0, NimStringDesc* item) {
	NI result;
{	result = (NI)0;
	{
		NimStringDesc* i;
		NI i_2;
		i = (NimStringDesc*)0;
		i_2 = ((NI) 0);
		{
			while (1) {
				if (!(i_2 < aLen_0)) goto LA3;
				i = a[i_2];
				{
					if (!eqStrings(i, item)) goto LA6_;
					goto BeforeRet_;
				}
				LA6_: ;
				result += ((NI) 1);
				i_2 += ((NI) 1);
			} LA3: ;
		}
	}
	result = ((NI) -1);
	}BeforeRet_: ;
	return result;
}

static N_INLINE(NIM_BOOL, contains_jPdUhZfr9a8sH2V3ZBDljzwparseopt)(NimStringDesc** a, NI aLen_0, NimStringDesc* item) {
	NIM_BOOL result;
	NI T1_;
{	result = (NIM_BOOL)0;
	T1_ = (NI)0;
	T1_ = find_9basNl9bVqn7SOf9bgUeI8TEQparseopt(a, aLen_0, item);
	result = (((NI) 0) <= T1_);
	goto BeforeRet_;
	}BeforeRet_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isUrl_zsH3uf9bT9be6bzdf2Nbb3uA)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NI i) {
	NIM_BOOL result;
	NIM_BOOL T1_;
	NIM_BOOL T2_;
	NIM_BOOL T3_;
	result = (NIM_BOOL)0;
	T1_ = (NIM_BOOL)0;
	T2_ = (NIM_BOOL)0;
	T3_ = (NIM_BOOL)0;
	T3_ = eqStrings((*p).tok->data[(NI)(i + ((NI) 1))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_176));
	if (!(T3_)) goto LA4_;
	T3_ = eqStrings((*p).tok->data[(NI)(i + ((NI) 2))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_177));
	LA4_: ;
	T2_ = T3_;
	if (!(T2_)) goto LA5_;
	T2_ = ((*p).tok->data[(NI)(i + ((NI) 3))].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 3));
	LA5_: ;
	T1_ = T2_;
	if (!(T1_)) goto LA6_;
	T1_ = contains_jPdUhZfr9a8sH2V3ZBDljzwparseopt(TM_Xuc9bgVTDeYXjwnCJIlXSig_178, 5, (*p).tok->data[i].symbol);
	LA6_: ;
	result = T1_;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, parseUrl_RwTEadQq45h66VRoByZYcw_4)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* father) {
	{
		NIM_BOOL T3_;
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n;
		T3_ = (NIM_BOOL)0;
		T3_ = isUrl_zsH3uf9bT9be6bzdf2Nbb3uA((&(*p)), (*p).idx);
		if (!T3_) goto LA4_;
		n = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 37));
		{
			while (1) {
				tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T15_;
				switch ((*p).tok->data[(*p).idx].kind) {
				case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 3):
				case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 4):
				case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 6):
				{
				}
				break;
				case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 5):
				{
					{
						if (!!(((120 &(1U<<((NU)((*p).tok->data[(NI)((*p).idx + ((NI) 1))].kind)&7U)))!=0))) goto LA12_;
						goto LA6;
					}
					LA12_: ;
				}
				break;
				default:
				{
					goto LA6;
				}
				break;
				}
				T15_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
				T15_ = newLeaf_7GQctOJZjer320oBsVuaZw_2(p);
				add_ZvlV89auQrVc4pTJdjhNQiQ(n, T15_);
				(*p).idx += ((NI) 1);
			}
		} LA6: ;
		add_ZvlV89auQrVc4pTJdjhNQiQ(father, n);
	}
	goto LA1_;
	LA4_: ;
	{
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n_2;
		n_2 = newLeaf_7GQctOJZjer320oBsVuaZw_2(p);
		(*p).idx += ((NI) 1);
		{
			if (!eqStrings((*p).tok->data[(*p).idx].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_106))) goto LA19_;
			n_2 = parsePostfix_ZjYecsvZp4m8HGNuDVxbEQ(p, n_2);
		}
		LA19_: ;
		add_ZvlV89auQrVc4pTJdjhNQiQ(father, n_2);
	}
	LA1_: ;
}

N_LIB_PRIVATE N_NIMCALL(void, parseInline_RwTEadQq45h66VRoByZYcw_2)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* father) {
{	switch ((*p).tok->data[(*p).idx].kind) {
	case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 5):
	{
		{
			NIM_BOOL T4_;
			tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n;
			T4_ = (NIM_BOOL)0;
			T4_ = isInlineMarkupStart_Fdq2EHyFyJnaA4KSrbjzwg((&(*p)), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_97));
			if (!T4_) goto LA5_;
			n = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 59));
			parseUntil_BtNLsoboZYu9a5AP1vqQAuQ(p, n, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_97), NIM_TRUE);
			add_ZvlV89auQrVc4pTJdjhNQiQ(father, n);
		}
		goto LA2_;
		LA5_: ;
		{
			NIM_BOOL T8_;
			tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n_2;
			T8_ = (NIM_BOOL)0;
			T8_ = isInlineMarkupStart_Fdq2EHyFyJnaA4KSrbjzwg((&(*p)), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_103));
			if (!T8_) goto LA9_;
			n_2 = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 58));
			parseUntil_BtNLsoboZYu9a5AP1vqQAuQ(p, n_2, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_103), NIM_TRUE);
			add_ZvlV89auQrVc4pTJdjhNQiQ(father, n_2);
		}
		goto LA2_;
		LA9_: ;
		{
			NIM_BOOL T12_;
			tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n_3;
			T12_ = (NIM_BOOL)0;
			T12_ = isInlineMarkupStart_Fdq2EHyFyJnaA4KSrbjzwg((&(*p)), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_69));
			if (!T12_) goto LA13_;
			n_3 = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 57));
			parseUntil_BtNLsoboZYu9a5AP1vqQAuQ(p, n_3, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_69), NIM_TRUE);
			add_ZvlV89auQrVc4pTJdjhNQiQ(father, n_3);
		}
		goto LA2_;
		LA13_: ;
		{
			NIM_BOOL T16_;
			tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T20_;
			T16_ = (NIM_BOOL)0;
			T16_ = (((*(*p).s).options &(1U<<((NU)(((tyEnum_RstParseOption_fiZmsylYkyh6nEciRZcPsw) 3))&7U)))!=0);
			if (!(T16_)) goto LA17_;
			T16_ = eqStrings((*p).tok->data[(*p).idx].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_104));
			LA17_: ;
			if (!T16_) goto LA18_;
			(*p).idx += ((NI) 1);
			T20_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
			T20_ = parseMarkdownCodeblock_7GQctOJZjer320oBsVuaZw_3(p);
			add_ZvlV89auQrVc4pTJdjhNQiQ(father, T20_);
		}
		goto LA2_;
		LA18_: ;
		{
			NIM_BOOL T22_;
			tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n_4;
			T22_ = (NIM_BOOL)0;
			T22_ = isInlineMarkupStart_Fdq2EHyFyJnaA4KSrbjzwg((&(*p)), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_99));
			if (!T22_) goto LA23_;
			n_4 = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 61));
			parseUntil_BtNLsoboZYu9a5AP1vqQAuQ(p, n_4, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_99), NIM_FALSE);
			add_ZvlV89auQrVc4pTJdjhNQiQ(father, n_4);
		}
		goto LA2_;
		LA23_: ;
		{
			NIM_BOOL T26_;
			tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n_5;
			T26_ = (NIM_BOOL)0;
			T26_ = isInlineMarkupStart_Fdq2EHyFyJnaA4KSrbjzwg((&(*p)), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_105));
			if (!T26_) goto LA27_;
			n_5 = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 60));
			parseUntil_BtNLsoboZYu9a5AP1vqQAuQ(p, n_5, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_105), NIM_TRUE);
			n_5 = parsePostfix_ZjYecsvZp4m8HGNuDVxbEQ(p, n_5);
			add_ZvlV89auQrVc4pTJdjhNQiQ(father, n_5);
		}
		goto LA2_;
		LA27_: ;
		{
			NIM_BOOL T30_;
			tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n_6;
			T30_ = (NIM_BOOL)0;
			T30_ = isInlineMarkupStart_Fdq2EHyFyJnaA4KSrbjzwg((&(*p)), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_71));
			if (!T30_) goto LA31_;
			n_6 = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 62));
			parseUntil_BtNLsoboZYu9a5AP1vqQAuQ(p, n_6, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_71), NIM_FALSE);
			add_ZvlV89auQrVc4pTJdjhNQiQ(father, n_6);
		}
		goto LA2_;
		LA31_: ;
		{
			{
				tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n_7;
				if (!(((*(*p).s).options &(1U<<((NU)(((tyEnum_RstParseOption_fiZmsylYkyh6nEciRZcPsw) 1))&7U)))!=0)) goto LA36_;
				n_7 = parseSmiley_7GQctOJZjer320oBsVuaZw_4(p);
				{
					if (!!((n_7 == NIM_NIL))) goto LA40_;
					add_ZvlV89auQrVc4pTJdjhNQiQ(father, n_7);
					goto BeforeRet_;
				}
				LA40_: ;
			}
			LA36_: ;
			parseBackslash_RwTEadQq45h66VRoByZYcw_3(p, father);
		}
		LA2_: ;
	}
	break;
	case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 3):
	{
		{
			tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n_8;
			if (!(((*(*p).s).options &(1U<<((NU)(((tyEnum_RstParseOption_fiZmsylYkyh6nEciRZcPsw) 1))&7U)))!=0)) goto LA45_;
			n_8 = parseSmiley_7GQctOJZjer320oBsVuaZw_4(p);
			{
				if (!!((n_8 == NIM_NIL))) goto LA49_;
				add_ZvlV89auQrVc4pTJdjhNQiQ(father, n_8);
				goto BeforeRet_;
			}
			LA49_: ;
		}
		LA45_: ;
		parseUrl_RwTEadQq45h66VRoByZYcw_4(p, father);
	}
	break;
	case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 4):
	case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 6):
	case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2):
	{
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T60_;
		{
			tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n_9;
			if (!(((*(*p).s).options &(1U<<((NU)(((tyEnum_RstParseOption_fiZmsylYkyh6nEciRZcPsw) 1))&7U)))!=0)) goto LA54_;
			n_9 = parseSmiley_7GQctOJZjer320oBsVuaZw_4(p);
			{
				if (!!((n_9 == NIM_NIL))) goto LA58_;
				add_ZvlV89auQrVc4pTJdjhNQiQ(father, n_9);
				goto BeforeRet_;
			}
			LA58_: ;
		}
		LA54_: ;
		T60_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
		T60_ = newLeaf_7GQctOJZjer320oBsVuaZw_2(p);
		add_ZvlV89auQrVc4pTJdjhNQiQ(father, T60_);
		(*p).idx += ((NI) 1);
	}
	break;
	default:
	{
	}
	break;
	}
	}BeforeRet_: ;
}

N_LIB_PRIVATE N_NIMCALL(void, parseLine_RwTEadQq45h66VRoByZYcw)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* father) {
	{
		while (1) {
			switch ((*p).tok->data[(*p).idx].kind) {
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2):
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 3):
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 6):
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 5):
			{
				parseInline_RwTEadQq45h66VRoByZYcw_2(p, father);
			}
			break;
			default:
			{
				goto LA1;
			}
			break;
			}
		}
	} LA1: ;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseField_8ck1a1XOjHiLTWDzHt9czmQ_8)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	NI col;
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* fieldname;
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* fieldbody;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 14));
	col = (*p).tok->data[(*p).idx].col;
	fieldname = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 15));
	parseUntil_BtNLsoboZYu9a5AP1vqQAuQ(p, fieldname, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_176), NIM_FALSE);
	fieldbody = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 16));
	{
		if (!!(((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1)))) goto LA3_;
		parseLine_RwTEadQq45h66VRoByZYcw(p, fieldbody);
	}
	LA3_: ;
	{
		NI indent;
		if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1))) goto LA7_;
		indent = (*p).tok->data[(*p).idx].ival;
		{
			if (!(col < indent)) goto LA11_;
			pushInd_Xbq51oVyRO7PZZ4xLvVYsA(p, indent);
			parseSection_57GOaTSPSkCmogVitCR7Og(p, fieldbody);
			popInd_xyvnfvy5mhKB22A7n5qS7g(p);
		}
		LA11_: ;
	}
	LA7_: ;
	add_ZvlV89auQrVc4pTJdjhNQiQ(result, fieldname);
	add_ZvlV89auQrVc4pTJdjhNQiQ(result, fieldbody);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseFields_8ck1a1XOjHiLTWDzHt9czmQ_7)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	NIM_BOOL atStart;
	NIM_BOOL T1_;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = NIM_NIL;
	T1_ = (NIM_BOOL)0;
	T1_ = ((*p).idx == ((NI) 0));
	if (!(T1_)) goto LA2_;
	T1_ = eqStrings((*p).tok->data[((NI) 0)].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_176));
	LA2_: ;
	atStart = T1_;
	{
		NIM_BOOL T5_;
		NIM_BOOL T6_;
		NI col;
		T5_ = (NIM_BOOL)0;
		T6_ = (NIM_BOOL)0;
		T6_ = ((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1));
		if (!(T6_)) goto LA7_;
		T6_ = eqStrings((*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_176));
		LA7_: ;
		T5_ = T6_;
		if (T5_) goto LA8_;
		T5_ = atStart;
		LA8_: ;
		if (!T5_) goto LA9_;
		{
			if (!atStart) goto LA13_;
			col = (*p).tok->data[(*p).idx].col;
		}
		goto LA11_;
		LA13_: ;
		{
			col = (*p).tok->data[(*p).idx].ival;
		}
		LA11_: ;
		result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 13));
		{
			if (!!(atStart)) goto LA18_;
			(*p).idx += ((NI) 1);
		}
		LA18_: ;
		{
			while (1) {
				tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T22_;
				T22_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
				T22_ = parseField_8ck1a1XOjHiLTWDzHt9czmQ_8(p);
				add_ZvlV89auQrVc4pTJdjhNQiQ(result, T22_);
				{
					NIM_BOOL T25_;
					NIM_BOOL T26_;
					T25_ = (NIM_BOOL)0;
					T26_ = (NIM_BOOL)0;
					T26_ = ((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1));
					if (!(T26_)) goto LA27_;
					T26_ = ((*p).tok->data[(*p).idx].ival == col);
					LA27_: ;
					T25_ = T26_;
					if (!(T25_)) goto LA28_;
					T25_ = eqStrings((*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_176));
					LA28_: ;
					if (!T25_) goto LA29_;
					(*p).idx += ((NI) 1);
				}
				goto LA23_;
				LA29_: ;
				{
					goto LA20;
				}
				LA23_: ;
			}
		} LA20: ;
	}
	LA9_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseDirective_vIwPF9cQ209aAiAXMag3Hs1A)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tySet_tyEnum_DirFlag_719asfClbt5VSsDXq5URv9aw flags) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* args;
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* options;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 40));
	args = NIM_NIL;
	options = NIM_NIL;
	{
		if (!((flags &(1U<<((NU)(((tyEnum_DirFlag_719asfClbt5VSsDXq5URv9aw) 0))&7U)))!=0)) goto LA3_;
		args = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 41));
		{
			if (!((flags &(1U<<((NU)(((tyEnum_DirFlag_719asfClbt5VSsDXq5URv9aw) 2))&7U)))!=0)) goto LA7_;
			{
				while (1) {
					switch ((*p).tok->data[(*p).idx].kind) {
					case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 3):
					case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 6):
					case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 5):
					case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 4):
					{
						tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T12_;
						T12_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
						T12_ = newLeaf_7GQctOJZjer320oBsVuaZw_2(p);
						add_ZvlV89auQrVc4pTJdjhNQiQ(args, T12_);
						(*p).idx += ((NI) 1);
					}
					break;
					default:
					{
						goto LA9;
					}
					break;
					}
				}
			} LA9: ;
		}
		goto LA5_;
		LA7_: ;
		{
			if (!((flags &(1U<<((NU)(((tyEnum_DirFlag_719asfClbt5VSsDXq5URv9aw) 3))&7U)))!=0)) goto LA15_;
			{
				while (1) {
					if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2))) goto LA18;
					(*p).idx += ((NI) 1);
				} LA18: ;
			}
			{
				tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T23_;
				if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 3))) goto LA21_;
				T23_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
				T23_ = newLeaf_7GQctOJZjer320oBsVuaZw_2(p);
				add_ZvlV89auQrVc4pTJdjhNQiQ(args, T23_);
				(*p).idx += ((NI) 1);
			}
			goto LA19_;
			LA21_: ;
			{
				args = NIM_NIL;
			}
			LA19_: ;
		}
		goto LA5_;
		LA15_: ;
		{
			parseLine_RwTEadQq45h66VRoByZYcw(p, args);
		}
		LA5_: ;
	}
	LA3_: ;
	add_ZvlV89auQrVc4pTJdjhNQiQ(result, args);
	{
		if (!((flags &(1U<<((NU)(((tyEnum_DirFlag_719asfClbt5VSsDXq5URv9aw) 1))&7U)))!=0)) goto LA28_;
		{
			NIM_BOOL T32_;
			NIM_BOOL T33_;
			T32_ = (NIM_BOOL)0;
			T33_ = (NIM_BOOL)0;
			T33_ = ((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1));
			if (!(T33_)) goto LA34_;
			T33_ = (((NI) 3) <= (*p).tok->data[(*p).idx].ival);
			LA34_: ;
			T32_ = T33_;
			if (!(T32_)) goto LA35_;
			T32_ = eqStrings((*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_176));
			LA35_: ;
			if (!T32_) goto LA36_;
			options = parseFields_8ck1a1XOjHiLTWDzHt9czmQ_7(p);
		}
		LA36_: ;
	}
	LA28_: ;
	add_ZvlV89auQrVc4pTJdjhNQiQ(result, options);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, indFollows_UhneQZ7gHdgvtKQt0amgjQ_5)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	NIM_BOOL result;
	NIM_BOOL T1_;
	NI T3_;
	result = (NIM_BOOL)0;
	T1_ = (NIM_BOOL)0;
	T1_ = ((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1));
	if (!(T1_)) goto LA2_;
	T3_ = (NI)0;
	T3_ = currInd_xUb9bp9aN3qua9bQob6ivKMSg(p);
	T1_ = (T3_ < (*p).tok->data[(*p).idx].ival);
	LA2_: ;
	result = T1_;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseDirective_rYJEOR7md5rqjdwiI3p75Q)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tySet_tyEnum_DirFlag_719asfClbt5VSsDXq5URv9aw flags, tyProc_Q29aqoKZ5tpbCgFkRsNjLwA contentParser) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = parseDirective_vIwPF9cQ209aAiAXMag3Hs1A(p, flags);
	{
		NIM_BOOL T3_;
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* content;
		T3_ = (NIM_BOOL)0;
		T3_ = !((contentParser == 0));
		if (!(T3_)) goto LA4_;
		T3_ = indFollows_UhneQZ7gHdgvtKQt0amgjQ_5((&(*p)));
		LA4_: ;
		if (!T3_) goto LA5_;
		pushInd_Xbq51oVyRO7PZZ4xLvVYsA(p, (*p).tok->data[(*p).idx].ival);
		content = contentParser(p);
		popInd_xyvnfvy5mhKB22A7n5qS7g(p);
		add_ZvlV89auQrVc4pTJdjhNQiQ(result, content);
	}
	goto LA1_;
	LA5_: ;
	{
		add_ZvlV89auQrVc4pTJdjhNQiQ(result, NIM_NIL);
	}
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, findRelativeFile_9ciSlBZxSBNpnBDvhQYTm1g)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NimStringDesc* filename) {
	NimStringDesc* result;
	tyTuple_7q7q3E6Oj24ZNVJb9aonhAg T1_;
	result = (NimStringDesc*)0;
	nimZeroMem((void*)(&T1_), sizeof(tyTuple_7q7q3E6Oj24ZNVJb9aonhAg));
	nossplitFile((*p).filename, (&T1_));
	result = slash__lXoMhn1ZYc9cAJa9bfA61msg(T1_.Field0, filename);
	{
		NIM_BOOL T4_;
		T4_ = (NIM_BOOL)0;
		T4_ = nosexistsFile(result);
		if (!!(T4_)) goto LA5_;
		result = (*(*p).s).findFile.ClE_0? (*(*p).s).findFile.ClP_0(filename, (*(*p).s).findFile.ClE_0):((TM_Xuc9bgVTDeYXjwnCJIlXSig_184)((*(*p).s).findFile.ClP_0))(filename);
	}
	LA5_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, dirInclude_8ck1a1XOjHiLTWDzHt9czmQ_6)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n;
	NimStringDesc* filename;
	NimStringDesc* T1_;
	NimStringDesc* path;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = NIM_NIL;
	n = parseDirective_rYJEOR7md5rqjdwiI3p75Q(p, 7, NIM_NIL);
	T1_ = (NimStringDesc*)0;
	T1_ = addNodes_8c8VtfxgpCNHWO7JhFDeLQ_2((*n).sons->data[((NI) 0)]);
	filename = nsuStrip(T1_, NIM_TRUE, NIM_TRUE, TM_Xuc9bgVTDeYXjwnCJIlXSig_27);
	path = findRelativeFile_9ciSlBZxSBNpnBDvhQYTm1g((&(*p)), filename);
	{
		if (!((path ? path->Sup.len : 0) == 0)) goto LA4_;
		rstMessage_1lITOefsdDjHpFYeqWT9aow((&(*p)), ((tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ) 0), filename);
	}
	goto LA2_;
	LA4_: ;
	{
		{
			NimStringDesc* T9_;
			NimStringDesc* T12_;
			tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T13_;
			T9_ = (NimStringDesc*)0;
			T9_ = getFieldValue_VjyjaK09b2brDmklydzzMGg(n, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_111));
			if (!!(((T9_ ? T9_->Sup.len : 0) == 0))) goto LA10_;
			result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 24));
			T12_ = (NimStringDesc*)0;
			T12_ = readFile_T9cm5LIRX2tKEH9aREBZ8A0w(path);
			T13_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
			T13_ = newRstNode_5U9cRbUMTUnFZvEj9bgqsRSg(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64), T12_);
			add_ZvlV89auQrVc4pTJdjhNQiQ(result, T13_);
		}
		goto LA7_;
		LA10_: ;
		{
			tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg q;
			NimStringDesc* T15_;
			NI T16_;
			nimZeroMem((void*)(&q), sizeof(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg));
			q.Sup.m_type = (&NTI_DC0I80p3rKpwC6ms59ctfpg_);
			initParser_HuwafTNovlAXYbimnFS9cmQ((&q), (*p).s);
			q.filename = copyString(path);
			T15_ = (NimStringDesc*)0;
			T15_ = readFile_T9cm5LIRX2tKEH9aREBZ8A0w(path);
			T16_ = (NI)0;
			T16_ = getTokens_9bP24k7EPS6mr3BYA8XjYyA(T15_, NIM_FALSE, (&q.tok));
			q.col += T16_;
			result = parseDoc_8ck1a1XOjHiLTWDzHt9czmQ((&q));
		}
		LA7_: ;
	}
	LA2_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, dirImage_8ck1a1XOjHiLTWDzHt9czmQ_9)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = parseDirective_rYJEOR7md5rqjdwiI3p75Q(p, 7, NIM_NIL);
	(*result).kind = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 45);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, dirFigure_8ck1a1XOjHiLTWDzHt9czmQ_10)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = parseDirective_rYJEOR7md5rqjdwiI3p75Q(p, 7, parseSectionWrapper_8ck1a1XOjHiLTWDzHt9czmQ_2);
	(*result).kind = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 46);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, dirTitle_8ck1a1XOjHiLTWDzHt9czmQ_11)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = parseDirective_rYJEOR7md5rqjdwiI3p75Q(p, 1, NIM_NIL);
	(*result).kind = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 43);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, dirContainer_8ck1a1XOjHiLTWDzHt9czmQ_12)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = parseDirective_rYJEOR7md5rqjdwiI3p75Q(p, 1, parseSectionWrapper_8ck1a1XOjHiLTWDzHt9czmQ_2);
	(*result).kind = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 50);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, dirContents_8ck1a1XOjHiLTWDzHt9czmQ_13)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = parseDirective_rYJEOR7md5rqjdwiI3p75Q(p, 1, NIM_NIL);
	(*result).kind = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 44);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseDirBody_9b4ZJe4sQVN8ZeQTMtFtvYA)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyProc_Q29aqoKZ5tpbCgFkRsNjLwA contentParser) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	{
		NIM_BOOL T3_;
		T3_ = (NIM_BOOL)0;
		T3_ = indFollows_UhneQZ7gHdgvtKQt0amgjQ_5((&(*p)));
		if (!T3_) goto LA4_;
		pushInd_Xbq51oVyRO7PZZ4xLvVYsA(p, (*p).tok->data[(*p).idx].ival);
		result = contentParser(p);
		popInd_xyvnfvy5mhKB22A7n5qS7g(p);
	}
	LA4_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, dirRawAux_Q43SdkrkIoF0CM9aXxMgx1g)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg** result, tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg kind, tyProc_Q29aqoKZ5tpbCgFkRsNjLwA contentParser) {
	NimStringDesc* filename;
	filename = getFieldValue_VjyjaK09b2brDmklydzzMGg((*result), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_183));
	{
		NimStringDesc* path;
		if (!(((NI) 0) < (filename ? filename->Sup.len : 0))) goto LA3_;
		path = findRelativeFile_9ciSlBZxSBNpnBDvhQYTm1g((&(*p)), filename);
		{
			if (!((path ? path->Sup.len : 0) == ((NI) 0))) goto LA7_;
			rstMessage_1lITOefsdDjHpFYeqWT9aow((&(*p)), ((tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ) 0), filename);
		}
		goto LA5_;
		LA7_: ;
		{
			NimStringDesc* f;
			tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T10_;
			f = readFile_T9cm5LIRX2tKEH9aREBZ8A0w(path);
			unsureAsgnRef((void**) (&(*result)), newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(kind));
			T10_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
			T10_ = newRstNode_5U9cRbUMTUnFZvEj9bgqsRSg(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64), f);
			add_ZvlV89auQrVc4pTJdjhNQiQ((*result), T10_);
		}
		LA5_: ;
	}
	goto LA1_;
	LA3_: ;
	{
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T12_;
		(*(*result)).kind = kind;
		T12_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
		T12_ = parseDirBody_9b4ZJe4sQVN8ZeQTMtFtvYA(p, contentParser);
		add_ZvlV89auQrVc4pTJdjhNQiQ((*result), T12_);
	}
	LA1_: ;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, dirRaw_8ck1a1XOjHiLTWDzHt9czmQ_14)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = parseDirective_vIwPF9cQ209aAiAXMag3Hs1A(p, 11);
	{
		if (!!(((*result).sons->data[((NI) 0)] == NIM_NIL))) goto LA3_;
		{
			NI T7_;
			T7_ = (NI)0;
			T7_ = nsuCmpIgnoreCase((*(*(*result).sons->data[((NI) 0)]).sons->data[((NI) 0)]).text, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_185));
			if (!(T7_ == ((NI) 0))) goto LA8_;
			dirRawAux_Q43SdkrkIoF0CM9aXxMgx1g(p, &result, ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 48), parseLiteralBlock_7GQctOJZjer320oBsVuaZw);
		}
		goto LA5_;
		LA8_: ;
		{
			NI T11_;
			T11_ = (NI)0;
			T11_ = nsuCmpIgnoreCase((*(*(*result).sons->data[((NI) 0)]).sons->data[((NI) 0)]).text, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_186));
			if (!(T11_ == ((NI) 0))) goto LA12_;
			dirRawAux_Q43SdkrkIoF0CM9aXxMgx1g(p, &result, ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 49), parseLiteralBlock_7GQctOJZjer320oBsVuaZw);
		}
		goto LA5_;
		LA12_: ;
		{
			rstMessage_1lITOefsdDjHpFYeqWT9aow((&(*p)), ((tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ) 5), (*(*(*result).sons->data[((NI) 0)]).sons->data[((NI) 0)]).text);
		}
		LA5_: ;
	}
	goto LA1_;
	LA3_: ;
	{
		dirRawAux_Q43SdkrkIoF0CM9aXxMgx1g(p, &result, ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 42), parseSectionWrapper_8ck1a1XOjHiLTWDzHt9czmQ_2);
	}
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, dirCodeBlock_J3PEXzsDBBAcewCCKZ9b7rQ)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NIM_BOOL nimExtension) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	NimStringDesc* filename;
	NimStringDesc* T1_;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = parseDirective_rYJEOR7md5rqjdwiI3p75Q(p, 3, parseLiteralBlock_7GQctOJZjer320oBsVuaZw);
	T1_ = (NimStringDesc*)0;
	T1_ = getFieldValue_VjyjaK09b2brDmklydzzMGg(result, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_183));
	filename = nsuStrip(T1_, NIM_TRUE, NIM_TRUE, TM_Xuc9bgVTDeYXjwnCJIlXSig_27);
	{
		NimStringDesc* path;
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* n;
		NimStringDesc* T10_;
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T11_;
		if (!!(((filename ? filename->Sup.len : 0) == 0))) goto LA4_;
		path = findRelativeFile_9ciSlBZxSBNpnBDvhQYTm1g((&(*p)), filename);
		{
			if (!((path ? path->Sup.len : 0) == 0)) goto LA8_;
			rstMessage_1lITOefsdDjHpFYeqWT9aow((&(*p)), ((tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ) 0), filename);
		}
		LA8_: ;
		n = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 24));
		T10_ = (NimStringDesc*)0;
		T10_ = readFile_T9cm5LIRX2tKEH9aREBZ8A0w(path);
		T11_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
		T11_ = newRstNode_5U9cRbUMTUnFZvEj9bgqsRSg(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64), T10_);
		add_ZvlV89auQrVc4pTJdjhNQiQ(n, T11_);
		asgnRefNoCycle((void**) (&(*result).sons->data[((NI) 2)]), n);
	}
	LA4_: ;
	{
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* extraNode;
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T20_;
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T21_;
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T22_;
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T23_;
		if (!nimExtension) goto LA14_;
		{
			if (!((*result).sons->data[((NI) 1)] == 0)) goto LA18_;
			asgnRefNoCycle((void**) (&(*result).sons->data[((NI) 1)]), newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 13)));
		}
		LA18_: ;
		extraNode = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 14));
		T20_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
		T20_ = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 15));
		add_ZvlV89auQrVc4pTJdjhNQiQ(extraNode, T20_);
		T21_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
		T21_ = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 16));
		add_ZvlV89auQrVc4pTJdjhNQiQ(extraNode, T21_);
		T22_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
		T22_ = newRstNode_5U9cRbUMTUnFZvEj9bgqsRSg(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_187));
		add_ZvlV89auQrVc4pTJdjhNQiQ((*extraNode).sons->data[((NI) 0)], T22_);
		T23_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
		T23_ = newRstNode_5U9cRbUMTUnFZvEj9bgqsRSg(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_188));
		add_ZvlV89auQrVc4pTJdjhNQiQ((*extraNode).sons->data[((NI) 1)], T23_);
		add_ZvlV89auQrVc4pTJdjhNQiQ((*result).sons->data[((NI) 1)], extraNode);
	}
	LA14_: ;
	(*result).kind = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 47);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, dirIndex_8ck1a1XOjHiLTWDzHt9czmQ_15)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = parseDirective_rYJEOR7md5rqjdwiI3p75Q(p, 0, parseSectionWrapper_8ck1a1XOjHiLTWDzHt9czmQ_2);
	(*result).kind = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 51);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, getReferenceName_AVSTre5dnQwCbfOgxAPy6w)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NimStringDesc* endStr) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* res;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	res = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 0));
	{
		while (1) {
			switch ((*p).tok->data[(*p).idx].kind) {
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 3):
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 6):
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2):
			{
				tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T4_;
				T4_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
				T4_ = newLeaf_7GQctOJZjer320oBsVuaZw_2(p);
				add_ZvlV89auQrVc4pTJdjhNQiQ(res, T4_);
			}
			break;
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 5):
			{
				{
					if (!eqStrings((*p).tok->data[(*p).idx].symbol, endStr)) goto LA8_;
					(*p).idx += ((NI) 1);
					goto LA1;
				}
				goto LA6_;
				LA8_: ;
				{
					tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T11_;
					T11_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
					T11_ = newLeaf_7GQctOJZjer320oBsVuaZw_2(p);
					add_ZvlV89auQrVc4pTJdjhNQiQ(res, T11_);
				}
				LA6_: ;
			}
			break;
			default:
			{
				rstMessage_1lITOefsdDjHpFYeqWT9aow((&(*p)), ((tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ) 1), endStr);
				goto LA1;
			}
			break;
			}
			(*p).idx += ((NI) 1);
		}
	} LA1: ;
	result = res;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, untilEol_7GQctOJZjer320oBsVuaZw_5)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 0));
	{
		while (1) {
			tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T3_;
			if (!!(((3 &(1U<<((NU)((*p).tok->data[(*p).idx].kind)&7U)))!=0))) goto LA2;
			T3_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
			T3_ = newLeaf_7GQctOJZjer320oBsVuaZw_2(p);
			add_ZvlV89auQrVc4pTJdjhNQiQ(result, T3_);
			(*p).idx += ((NI) 1);
		} LA2: ;
	}
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, expect_YkpvExpe30tC3Aqpaqep4g)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NimStringDesc* tok) {
	{
		if (!eqStrings((*p).tok->data[(*p).idx].symbol, tok)) goto LA3_;
		(*p).idx += ((NI) 1);
	}
	goto LA1_;
	LA3_: ;
	{
		rstMessage_1lITOefsdDjHpFYeqWT9aow((&(*p)), ((tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ) 1), tok);
	}
	LA1_: ;
}

N_LIB_PRIVATE N_NIMCALL(void, setSub_gETA39blU8f52O3OaqIzozQ_2)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, NimStringDesc* key, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* value) {
	NI length;
	NI T1_;
	NimStringDesc* T9_;
{	T1_ = ((*(*p).s).subs ? (*(*p).s).subs->Sup.len : 0);
	length = T1_;
	{
		NI i;
		NI colontmp_;
		NI res;
		i = (NI)0;
		colontmp_ = (NI)0;
		colontmp_ = (NI)(length - ((NI) 1));
		res = ((NI) 0);
		{
			while (1) {
				if (!(res <= colontmp_)) goto LA4;
				i = res;
				{
					if (!eqStrings(key, (*(*p).s).subs->data[i].key)) goto LA7_;
					asgnRefNoCycle((void**) (&(*(*p).s).subs->data[i].value), value);
					goto BeforeRet_;
				}
				LA7_: ;
				res += ((NI) 1);
			} LA4: ;
		}
	}
	asgnRefNoCycle((void**) (&(*(*p).s).subs), (tySequence_KttZgRE9cmIMvHjR6Gj9a89ag*) setLengthSeqV2(&((*(*p).s).subs)->Sup, (&NTI_KttZgRE9cmIMvHjR6Gj9a89ag_), ((NI) ((NI)(length + ((NI) 1))))));
	T9_ = (NimStringDesc*)0;
	T9_ = (*(*p).s).subs->data[length].key; (*(*p).s).subs->data[length].key = copyStringRC1(key);
	if (T9_) nimGCunrefNoCycle(T9_);
	asgnRefNoCycle((void**) (&(*(*p).s).subs->data[length].value), value);
	}BeforeRet_: ;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseComment_7GQctOJZjer320oBsVuaZw_6)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	switch ((*p).tok->data[(*p).idx].kind) {
	case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1):
	case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 0):
	{
		{
			NIM_BOOL T4_;
			T4_ = (NIM_BOOL)0;
			T4_ = !(((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 0)));
			if (!(T4_)) goto LA5_;
			T4_ = ((*p).tok->data[(NI)((*p).idx + ((NI) 1))].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1));
			LA5_: ;
			if (!T4_) goto LA6_;
			(*p).idx += ((NI) 1);
		}
		goto LA2_;
		LA6_: ;
		{
			NI indent;
			indent = (*p).tok->data[(*p).idx].ival;
			{
				while (1) {
					switch ((*p).tok->data[(*p).idx].kind) {
					case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 0):
					{
						goto LA9;
					}
					break;
					case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1):
					{
						{
							if (!((*p).tok->data[(*p).idx].ival < indent)) goto LA15_;
							goto LA9;
						}
						LA15_: ;
					}
					break;
					default:
					{
					}
					break;
					}
					(*p).idx += ((NI) 1);
				}
			} LA9: ;
		}
		LA2_: ;
	}
	break;
	default:
	{
		{
			while (1) {
				if (!!(((3 &(1U<<((NU)((*p).tok->data[(*p).idx].kind)&7U)))!=0))) goto LA20;
				(*p).idx += ((NI) 1);
			} LA20: ;
		}
	}
	break;
	}
	result = NIM_NIL;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseDotDot_8ck1a1XOjHiLTWDzHt9czmQ_5)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	NI col;
	NimStringDesc* d;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = NIM_NIL;
	col = (*p).tok->data[(*p).idx].col;
	(*p).idx += ((NI) 1);
	d = getDirective_GnDFZULSR7G7ehC8vbQq8g(p);
	{
		tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q T5_;
		if (!!(((d ? d->Sup.len : 0) == 0))) goto LA3_;
		pushInd_Xbq51oVyRO7PZZ4xLvVYsA(p, col);
		T5_ = (tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q)0;
		T5_ = getDirKind_mWUS0gkH9a9b9aw0vnkK9ajU2A(d);
		switch (T5_) {
		case ((tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q) 9):
		{
			result = dirInclude_8ck1a1XOjHiLTWDzHt9czmQ_6(p);
		}
		break;
		case ((tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q) 8):
		{
			result = dirImage_8ck1a1XOjHiLTWDzHt9czmQ_9(p);
		}
		break;
		case ((tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q) 7):
		{
			result = dirFigure_8ck1a1XOjHiLTWDzHt9czmQ_10(p);
		}
		break;
		case ((tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q) 12):
		{
			result = dirTitle_8ck1a1XOjHiLTWDzHt9czmQ_11(p);
		}
		break;
		case ((tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q) 5):
		{
			result = dirContainer_8ck1a1XOjHiLTWDzHt9czmQ_12(p);
		}
		break;
		case ((tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q) 6):
		{
			result = dirContents_8ck1a1XOjHiLTWDzHt9czmQ_13(p);
		}
		break;
		case ((tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q) 11):
		{
			{
				if (!(((*(*p).s).options &(1U<<((NU)(((tyEnum_RstParseOption_fiZmsylYkyh6nEciRZcPsw) 2))&7U)))!=0)) goto LA15_;
				result = dirRaw_8ck1a1XOjHiLTWDzHt9czmQ_14(p);
			}
			goto LA13_;
			LA15_: ;
			{
				rstMessage_1lITOefsdDjHpFYeqWT9aow((&(*p)), ((tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ) 5), d);
			}
			LA13_: ;
		}
		break;
		case ((tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q) 3):
		{
			result = dirCodeBlock_J3PEXzsDBBAcewCCKZ9b7rQ(p, NIM_FALSE);
		}
		break;
		case ((tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q) 4):
		{
			result = dirCodeBlock_J3PEXzsDBBAcewCCKZ9b7rQ(p, NIM_TRUE);
		}
		break;
		case ((tyEnum_DirKind_Lv8WUxBpQCKnnfG38t4N2Q) 10):
		{
			result = dirIndex_8ck1a1XOjHiLTWDzHt9czmQ_15(p);
		}
		break;
		default:
		{
			rstMessage_1lITOefsdDjHpFYeqWT9aow((&(*p)), ((tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ) 5), d);
		}
		break;
		}
		popInd_xyvnfvy5mhKB22A7n5qS7g(p);
	}
	goto LA1_;
	LA3_: ;
	{
		NIM_BOOL T23_;
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* a;
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* b;
		NimStringDesc* T30_;
		T23_ = (NIM_BOOL)0;
		T23_ = match_BA0Thy4zmrgaRNWWKGQ79cg((&(*p)), (*p).idx, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_189));
		if (!T23_) goto LA24_;
		(*p).idx += ((NI) 2);
		a = getReferenceName_AVSTre5dnQwCbfOgxAPy6w(p, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_176));
		{
			if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2))) goto LA28_;
			(*p).idx += ((NI) 1);
		}
		LA28_: ;
		b = untilEol_7GQctOJZjer320oBsVuaZw_5(p);
		T30_ = (NimStringDesc*)0;
		T30_ = rstnodeToRefname_8c8VtfxgpCNHWO7JhFDeLQ(a);
		setRef_gETA39blU8f52O3OaqIzozQ(p, T30_, b);
	}
	goto LA1_;
	LA24_: ;
	{
		NIM_BOOL T32_;
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* a_2;
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* b_2;
		NimStringDesc* T49_;
		T32_ = (NIM_BOOL)0;
		T32_ = match_BA0Thy4zmrgaRNWWKGQ79cg((&(*p)), (*p).idx, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_190));
		if (!T32_) goto LA33_;
		(*p).idx += ((NI) 2);
		a_2 = getReferenceName_AVSTre5dnQwCbfOgxAPy6w(p, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_71));
		b_2 = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
		{
			if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2))) goto LA37_;
			(*p).idx += ((NI) 1);
		}
		LA37_: ;
		{
			NI T41_;
			T41_ = (NI)0;
			T41_ = nsuCmpIgnoreStyle((*p).tok->data[(*p).idx].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_191));
			if (!(T41_ == ((NI) 0))) goto LA42_;
			(*p).idx += ((NI) 1);
			expect_YkpvExpe30tC3Aqpaqep4g(p, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_67));
			b_2 = untilEol_7GQctOJZjer320oBsVuaZw_5(p);
		}
		goto LA39_;
		LA42_: ;
		{
			NI T45_;
			T45_ = (NI)0;
			T45_ = nsuCmpIgnoreStyle((*p).tok->data[(*p).idx].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_90));
			if (!(T45_ == ((NI) 0))) goto LA46_;
			(*p).idx += ((NI) 1);
			b_2 = dirImage_8ck1a1XOjHiLTWDzHt9czmQ_9(p);
		}
		goto LA39_;
		LA46_: ;
		{
			rstMessage_1lITOefsdDjHpFYeqWT9aow((&(*p)), ((tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ) 5), (*p).tok->data[(*p).idx].symbol);
		}
		LA39_: ;
		T49_ = (NimStringDesc*)0;
		T49_ = addNodes_8c8VtfxgpCNHWO7JhFDeLQ_2(a_2);
		setSub_gETA39blU8f52O3OaqIzozQ_2(p, T49_, b_2);
	}
	goto LA1_;
	LA33_: ;
	{
		NIM_BOOL T51_;
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* a_3;
		tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* b_3;
		NimStringDesc* T58_;
		T51_ = (NIM_BOOL)0;
		T51_ = match_BA0Thy4zmrgaRNWWKGQ79cg((&(*p)), (*p).idx, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_192));
		if (!T51_) goto LA52_;
		(*p).idx += ((NI) 2);
		a_3 = getReferenceName_AVSTre5dnQwCbfOgxAPy6w(p, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_193));
		{
			if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2))) goto LA56_;
			(*p).idx += ((NI) 1);
		}
		LA56_: ;
		b_3 = untilEol_7GQctOJZjer320oBsVuaZw_5(p);
		T58_ = (NimStringDesc*)0;
		T58_ = rstnodeToRefname_8c8VtfxgpCNHWO7JhFDeLQ(a_3);
		setRef_gETA39blU8f52O3OaqIzozQ(p, T58_, b_3);
	}
	goto LA1_;
	LA52_: ;
	{
		result = parseComment_7GQctOJZjer320oBsVuaZw_6(p);
	}
	LA1_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseEnumList_8ck1a1XOjHiLTWDzHt9czmQ_16)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	NI w;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = NIM_NIL;
	w = ((NI) 0);
	{
		while (1) {
			if (!(w <= ((NI) 2))) goto LA2;
			{
				NIM_BOOL T5_;
				T5_ = (NIM_BOOL)0;
				T5_ = match_BA0Thy4zmrgaRNWWKGQ79cg((&(*p)), (*p).idx, wildcards_5kEOJmMIHJwM9bdkjg2VUFA[(w)- 0]);
				if (!T5_) goto LA6_;
				goto LA1;
			}
			LA6_: ;
			w += ((NI) 1);
		} LA2: ;
	} LA1: ;
	{
		NI col;
		NI j;
		if (!(w <= ((NI) 2))) goto LA10_;
		col = (*p).tok->data[(*p).idx].col;
		result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 7));
		(*p).idx += (NI)(wildpos_RI9ctKY8oNc1o4L2ZEqAzyg[(w)- 0] + ((NI) 3));
		j = tokenAfterNewline_xUb9bp9aN3qua9bQob6ivKMSg_2((&(*p)));
		{
			NIM_BOOL T14_;
			T14_ = (NIM_BOOL)0;
			T14_ = ((*p).tok->data[j].col == (*p).tok->data[(*p).idx].col);
			if (T14_) goto LA15_;
			T14_ = match_BA0Thy4zmrgaRNWWKGQ79cg((&(*p)), j, wildcards_5kEOJmMIHJwM9bdkjg2VUFA[(w)- 0]);
			LA15_: ;
			if (!T14_) goto LA16_;
			pushInd_Xbq51oVyRO7PZZ4xLvVYsA(p, (*p).tok->data[(*p).idx].col);
			{
				while (1) {
					tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* item;
					item = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 8));
					parseSection_57GOaTSPSkCmogVitCR7Og(p, item);
					add_ZvlV89auQrVc4pTJdjhNQiQ(result, item);
					{
						NIM_BOOL T22_;
						NIM_BOOL T23_;
						T22_ = (NIM_BOOL)0;
						T23_ = (NIM_BOOL)0;
						T23_ = ((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1));
						if (!(T23_)) goto LA24_;
						T23_ = ((*p).tok->data[(*p).idx].ival == col);
						LA24_: ;
						T22_ = T23_;
						if (!(T22_)) goto LA25_;
						T22_ = match_BA0Thy4zmrgaRNWWKGQ79cg((&(*p)), (NI)((*p).idx + ((NI) 1)), wildcards_5kEOJmMIHJwM9bdkjg2VUFA[(w)- 0]);
						LA25_: ;
						if (!T22_) goto LA26_;
						(*p).idx += (NI)(wildpos_RI9ctKY8oNc1o4L2ZEqAzyg[(w)- 0] + ((NI) 4));
					}
					goto LA20_;
					LA26_: ;
					{
						goto LA18;
					}
					LA20_: ;
				}
			} LA18: ;
			popInd_xyvnfvy5mhKB22A7n5qS7g(p);
		}
		goto LA12_;
		LA16_: ;
		{
			(*p).idx -= (NI)(wildpos_RI9ctKY8oNc1o4L2ZEqAzyg[(w)- 0] + ((NI) 3));
			result = NIM_NIL;
		}
		LA12_: ;
	}
	LA10_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseDefinitionList_8ck1a1XOjHiLTWDzHt9czmQ_17)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	NI j;
	NI T1_;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = NIM_NIL;
	T1_ = (NI)0;
	T1_ = tokenAfterNewline_xUb9bp9aN3qua9bQob6ivKMSg_2((&(*p)));
	j = (NI)(T1_ - ((NI) 1));
	{
		NIM_BOOL T4_;
		NIM_BOOL T5_;
		NIM_BOOL T6_;
		NI T9_;
		NI col;
		T4_ = (NIM_BOOL)0;
		T5_ = (NIM_BOOL)0;
		T6_ = (NIM_BOOL)0;
		T6_ = (((NI) 1) <= j);
		if (!(T6_)) goto LA7_;
		T6_ = ((*p).tok->data[j].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1));
		LA7_: ;
		T5_ = T6_;
		if (!(T5_)) goto LA8_;
		T9_ = (NI)0;
		T9_ = currInd_xUb9bp9aN3qua9bQob6ivKMSg((&(*p)));
		T5_ = (T9_ < (*p).tok->data[j].ival);
		LA8_: ;
		T4_ = T5_;
		if (!(T4_)) goto LA10_;
		T4_ = !(eqStrings((*p).tok->data[(NI)(j - ((NI) 1))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_67)));
		LA10_: ;
		if (!T4_) goto LA11_;
		col = (*p).tok->data[(*p).idx].col;
		result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 9));
		{
			while (1) {
				tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* a;
				j = (*p).idx;
				a = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 11));
				parseLine_RwTEadQq45h66VRoByZYcw(p, a);
				{
					NIM_BOOL T17_;
					NIM_BOOL T18_;
					NIM_BOOL T19_;
					NI T21_;
					tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* b;
					tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* c;
					T17_ = (NIM_BOOL)0;
					T18_ = (NIM_BOOL)0;
					T19_ = (NIM_BOOL)0;
					T19_ = ((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1));
					if (!(T19_)) goto LA20_;
					T21_ = (NI)0;
					T21_ = currInd_xUb9bp9aN3qua9bQob6ivKMSg((&(*p)));
					T19_ = (T21_ < (*p).tok->data[(*p).idx].ival);
					LA20_: ;
					T18_ = T19_;
					if (!(T18_)) goto LA22_;
					T18_ = !(eqStrings((*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_67)));
					LA22_: ;
					T17_ = T18_;
					if (!(T17_)) goto LA23_;
					T17_ = !(((3 &(1U<<((NU)((*p).tok->data[(NI)((*p).idx + ((NI) 1))].kind)&7U)))!=0));
					LA23_: ;
					if (!T17_) goto LA24_;
					pushInd_Xbq51oVyRO7PZZ4xLvVYsA(p, (*p).tok->data[(*p).idx].ival);
					b = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 12));
					parseSection_57GOaTSPSkCmogVitCR7Og(p, b);
					c = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 10));
					add_ZvlV89auQrVc4pTJdjhNQiQ(c, a);
					add_ZvlV89auQrVc4pTJdjhNQiQ(c, b);
					add_ZvlV89auQrVc4pTJdjhNQiQ(result, c);
					popInd_xyvnfvy5mhKB22A7n5qS7g(p);
				}
				goto LA15_;
				LA24_: ;
				{
					(*p).idx = j;
					goto LA13;
				}
				LA15_: ;
				{
					NIM_BOOL T29_;
					NI T33_;
					T29_ = (NIM_BOOL)0;
					T29_ = ((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1));
					if (!(T29_)) goto LA30_;
					T29_ = ((*p).tok->data[(*p).idx].ival == col);
					LA30_: ;
					if (!T29_) goto LA31_;
					(*p).idx += ((NI) 1);
					T33_ = (NI)0;
					T33_ = tokenAfterNewline_xUb9bp9aN3qua9bQob6ivKMSg_2((&(*p)));
					j = (NI)(T33_ - ((NI) 1));
					{
						NIM_BOOL T36_;
						NIM_BOOL T37_;
						NIM_BOOL T38_;
						NIM_BOOL T39_;
						T36_ = (NIM_BOOL)0;
						T37_ = (NIM_BOOL)0;
						T38_ = (NIM_BOOL)0;
						T39_ = (NIM_BOOL)0;
						T39_ = (((NI) 1) <= j);
						if (!(T39_)) goto LA40_;
						T39_ = ((*p).tok->data[j].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1));
						LA40_: ;
						T38_ = T39_;
						if (!(T38_)) goto LA41_;
						T38_ = (col < (*p).tok->data[j].ival);
						LA41_: ;
						T37_ = T38_;
						if (!(T37_)) goto LA42_;
						T37_ = !(eqStrings((*p).tok->data[(NI)(j - ((NI) 1))].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_67)));
						LA42_: ;
						T36_ = T37_;
						if (!(T36_)) goto LA43_;
						T36_ = !(((*p).tok->data[(NI)(j + ((NI) 1))].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1)));
						LA43_: ;
						if (!T36_) goto LA44_;
					}
					goto LA34_;
					LA44_: ;
					{
						goto LA13;
					}
					LA34_: ;
				}
				LA31_: ;
			}
		} LA13: ;
		{
			NI T49_;
			T49_ = (NI)0;
			T49_ = len_7sZ6jl1AobLSRAIdrbIp6A(result);
			if (!(T49_ == ((NI) 0))) goto LA50_;
			result = NIM_NIL;
		}
		LA50_: ;
	}
	LA11_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseTransition_7GQctOJZjer320oBsVuaZw_7)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 3));
	(*p).idx += ((NI) 1);
	{
		if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1))) goto LA3_;
		(*p).idx += ((NI) 1);
	}
	LA3_: ;
	{
		if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1))) goto LA7_;
		(*p).idx += ((NI) 1);
	}
	LA7_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, parseUntilNewline_RwTEadQq45h66VRoByZYcw_5)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* father) {
	{
		while (1) {
			switch ((*p).tok->data[(*p).idx].kind) {
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2):
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 3):
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 4):
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 6):
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 5):
			{
				parseInline_RwTEadQq45h66VRoByZYcw_2(p, father);
			}
			break;
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 0):
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1):
			{
				goto LA1;
			}
			break;
			}
		}
	} LA1: ;
}

N_LIB_PRIVATE N_NIMCALL(NI, getLevel_9aJvMfKP5OqRobNt9bt9arAHg)(NI* map, NI* lvl, NIM_CHAR c) {
	NI result;
	result = (NI)0;
	{
		if (!(map[(((NU8)(c)))- 0] == ((NI) 0))) goto LA3_;
		(*lvl) += ((NI) 1);
		map[(((NU8)(c)))- 0] = (*lvl);
	}
	LA3_: ;
	result = map[(((NU8)(c)))- 0];
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseHeadline_7GQctOJZjer320oBsVuaZw_8)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	NIM_CHAR c;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 1));
	parseUntilNewline_RwTEadQq45h66VRoByZYcw_5(p, result);
	c = (*p).tok->data[(NI)((*p).idx + ((NI) 1))].symbol->data[((NI) 0)];
	(*p).idx += ((NI) 2);
	(*result).level = getLevel_9aJvMfKP5OqRobNt9bt9arAHg((*(*p).s).underlineToLevel, (&(*(*p).s).uLevel), c);
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseOverline_7GQctOJZjer320oBsVuaZw_9)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	NIM_CHAR c;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	c = (*p).tok->data[(*p).idx].symbol->data[((NI) 0)];
	(*p).idx += ((NI) 2);
	result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 2));
	{
		while (1) {
			parseUntilNewline_RwTEadQq45h66VRoByZYcw_5(p, result);
			{
				if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1))) goto LA5_;
				(*p).idx += ((NI) 1);
				{
					NI T9_;
					tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T12_;
					T9_ = (NI)0;
					T9_ = currInd_xUb9bp9aN3qua9bQob6ivKMSg((&(*p)));
					if (!(T9_ < (*p).tok->data[(NI)((*p).idx - ((NI) 1))].ival)) goto LA10_;
					T12_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
					T12_ = newRstNode_5U9cRbUMTUnFZvEj9bgqsRSg(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_101));
					add_ZvlV89auQrVc4pTJdjhNQiQ(result, T12_);
				}
				goto LA7_;
				LA10_: ;
				{
					goto LA1;
				}
				LA7_: ;
			}
			goto LA3_;
			LA5_: ;
			{
				goto LA1;
			}
			LA3_: ;
		}
	} LA1: ;
	(*result).level = getLevel_9aJvMfKP5OqRobNt9bt9arAHg((*(*p).s).overlineToLevel, (&(*(*p).s).oLevel), c);
	{
		if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 4))) goto LA17_;
		(*p).idx += ((NI) 1);
		{
			if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1))) goto LA21_;
			(*p).idx += ((NI) 1);
		}
		LA21_: ;
	}
	LA17_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(NI, tokEnd_xUb9bp9aN3qua9bQob6ivKMSg_3)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	NI result;
	result = (NI)0;
	result = (NI)((NI)((*p).tok->data[(*p).idx].col + ((*p).tok->data[(*p).idx].symbol ? (*p).tok->data[(*p).idx].symbol->Sup.len : 0)) - ((NI) 1));
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, getColumns_G9ad7ZHBPISMg52wH4Z9awLA)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tySequence_qwqHTkRvwhrRyENtudHQ7g** cols) {
	NI L;
	L = ((NI) 0);
	{
		while (1) {
			L += ((NI) 1);
			unsureAsgnRef((void**) (&(*cols)), (tySequence_qwqHTkRvwhrRyENtudHQ7g*) setLengthSeqV2(&((*cols))->Sup, (&NTI_qwqHTkRvwhrRyENtudHQ7g_), ((NI) (L))));
			(*cols)->data[(NI)(L - ((NI) 1))] = tokEnd_xUb9bp9aN3qua9bQob6ivKMSg_3((&(*p)));
			(*p).idx += ((NI) 1);
			{
				if (!!(((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2)))) goto LA5_;
				goto LA1;
			}
			LA5_: ;
			(*p).idx += ((NI) 1);
			{
				if (!!(((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 4)))) goto LA9_;
				goto LA1;
			}
			LA9_: ;
		}
	} LA1: ;
	{
		if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1))) goto LA13_;
		(*p).idx += ((NI) 1);
	}
	LA13_: ;
	(*cols)->data[(NI)(L - ((NI) 1))] = ((NI) 32000);
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseSimpleTable_8ck1a1XOjHiLTWDzHt9czmQ_18)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	tySequence_qwqHTkRvwhrRyENtudHQ7g* cols;
	tySequence_sM4lkSb7zS6F7OVMvW9cffQ* row;
	NI i;
	NI last;
	NI line;
	NIM_CHAR c;
	tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg q;
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* a;
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* b;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	cols = (tySequence_qwqHTkRvwhrRyENtudHQ7g*)0;
	row = (tySequence_sM4lkSb7zS6F7OVMvW9cffQ*)0;
	i = (NI)0;
	last = (NI)0;
	line = (NI)0;
	c = (NIM_CHAR)0;
	nimZeroMem((void*)(&q), sizeof(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg));
	q.Sup.m_type = (&NTI_DC0I80p3rKpwC6ms59ctfpg_);
	a = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	b = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 29));
	cols = NIM_NIL;
	row = NIM_NIL;
	a = NIM_NIL;
	c = (*p).tok->data[(*p).idx].symbol->data[((NI) 0)];
	{
		while (1) {
			{
				NI T11_;
				if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 4))) goto LA5_;
				last = tokenAfterNewline_xUb9bp9aN3qua9bQob6ivKMSg_2((&(*p)));
				{
					if (!((3 &(1U<<((NU)((*p).tok->data[last].kind)&7U)))!=0)) goto LA9_;
					(*p).idx = last;
					goto LA1;
				}
				LA9_: ;
				getColumns_G9ad7ZHBPISMg52wH4Z9awLA(p, (&cols));
				T11_ = (cols ? cols->Sup.len : 0);
				row = (tySequence_sM4lkSb7zS6F7OVMvW9cffQ*) setLengthSeqV2(&(row)->Sup, (&NTI_sM4lkSb7zS6F7OVMvW9cffQ_), ((NI) (T11_)));
				{
					if (!!((a == NIM_NIL))) goto LA14_;
					{
						NI j;
						NI colontmp_;
						NI T17_;
						NI res;
						j = (NI)0;
						colontmp_ = (NI)0;
						T17_ = (NI)0;
						T17_ = len_7sZ6jl1AobLSRAIdrbIp6A(a);
						colontmp_ = (NI)(T17_ - ((NI) 1));
						res = ((NI) 0);
						{
							while (1) {
								if (!(res <= colontmp_)) goto LA19;
								j = res;
								(*(*a).sons->data[j]).kind = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 32);
								res += ((NI) 1);
							} LA19: ;
						}
					}
				}
				LA14_: ;
			}
			LA5_: ;
			{
				if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 0))) goto LA22_;
				goto LA1;
			}
			LA22_: ;
			{
				NI j_2;
				NI colontmp__2;
				NI T25_;
				NI res_2;
				j_2 = (NI)0;
				colontmp__2 = (NI)0;
				T25_ = ((row ? row->Sup.len : 0)-1);
				colontmp__2 = T25_;
				res_2 = ((NI) 0);
				{
					while (1) {
						if (!(res_2 <= colontmp__2)) goto LA27;
						j_2 = res_2;
						asgnRefNoCycle((void**) (&row->data[j_2]), ((NimStringDesc*) NIM_NIL));
						res_2 += ((NI) 1);
					} LA27: ;
				}
			}
			line = (*p).tok->data[(*p).idx].line;
			{
				while (1) {
					i = ((NI) 0);
					{
						while (1) {
							if (!!(((3 &(1U<<((NU)((*p).tok->data[(*p).idx].kind)&7U)))!=0))) goto LA31;
							{
								NI T34_;
								T34_ = (NI)0;
								T34_ = tokEnd_xUb9bp9aN3qua9bQob6ivKMSg_3((&(*p)));
								if (!(T34_ <= cols->data[i])) goto LA35_;
								asgnRefNoCycle((void**) (&row->data[i]), resizeString(row->data[i], ((*p).tok->data[(*p).idx].symbol ? (*p).tok->data[(*p).idx].symbol->Sup.len : 0) + 0));
appendString(row->data[i], (*p).tok->data[(*p).idx].symbol);
								(*p).idx += ((NI) 1);
							}
							goto LA32_;
							LA35_: ;
							{
								{
									if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2))) goto LA40_;
									(*p).idx += ((NI) 1);
								}
								LA40_: ;
								i += ((NI) 1);
							}
							LA32_: ;
						} LA31: ;
					}
					{
						if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1))) goto LA44_;
						(*p).idx += ((NI) 1);
					}
					LA44_: ;
					{
						NI T48_;
						T48_ = (NI)0;
						T48_ = tokEnd_xUb9bp9aN3qua9bQob6ivKMSg_3((&(*p)));
						if (!(T48_ <= cols->data[((NI) 0)])) goto LA49_;
						goto LA28;
					}
					LA49_: ;
					{
						if (!((17 &(1U<<((NU)((*p).tok->data[(*p).idx].kind)&7U)))!=0)) goto LA53_;
						goto LA28;
					}
					LA53_: ;
					{
						NI j_3;
						NI colontmp__3;
						NI T56_;
						NI res_3;
						j_3 = (NI)0;
						colontmp__3 = (NI)0;
						T56_ = ((row ? row->Sup.len : 0)-1);
						colontmp__3 = T56_;
						res_3 = ((NI) 1);
						{
							while (1) {
								if (!(res_3 <= colontmp__3)) goto LA58;
								j_3 = res_3;
								asgnRefNoCycle((void**) (&row->data[j_3]), addChar(row->data[j_3], 10));
								res_3 += ((NI) 1);
							} LA58: ;
						}
					}
				}
			} LA28: ;
			a = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 31));
			{
				NI j_4;
				NI colontmp__4;
				NI T60_;
				NI res_4;
				j_4 = (NI)0;
				colontmp__4 = (NI)0;
				T60_ = ((row ? row->Sup.len : 0)-1);
				colontmp__4 = T60_;
				res_4 = ((NI) 0);
				{
					while (1) {
						NI T63_;
						tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T64_;
						if (!(res_4 <= colontmp__4)) goto LA62;
						j_4 = res_4;
						initParser_HuwafTNovlAXYbimnFS9cmQ((&q), (*p).s);
						q.col = cols->data[j_4];
						q.line = (NI)(line - ((NI) 1));
						q.filename = copyString((*p).filename);
						T63_ = (NI)0;
						T63_ = getTokens_9bP24k7EPS6mr3BYA8XjYyA(row->data[j_4], NIM_FALSE, (&q.tok));
						q.col += T63_;
						b = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 33));
						T64_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
						T64_ = parseDoc_8ck1a1XOjHiLTWDzHt9czmQ((&q));
						add_ZvlV89auQrVc4pTJdjhNQiQ(b, T64_);
						add_ZvlV89auQrVc4pTJdjhNQiQ(a, b);
						res_4 += ((NI) 1);
					} LA62: ;
				}
			}
			add_ZvlV89auQrVc4pTJdjhNQiQ(result, a);
		}
	} LA1: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseOptionList_8ck1a1XOjHiLTWDzHt9czmQ_19)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 17));
	{
		while (1) {
			{
				NIM_BOOL T5_;
				tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* a;
				tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* b;
				tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* c;
				NI j;
				T5_ = (NIM_BOOL)0;
				T5_ = isOptionList_UhneQZ7gHdgvtKQt0amgjQ_4((&(*p)));
				if (!T5_) goto LA6_;
				a = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 19));
				b = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 23));
				c = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 18));
				{
					NIM_BOOL T10_;
					T10_ = (NIM_BOOL)0;
					T10_ = match_BA0Thy4zmrgaRNWWKGQ79cg((&(*p)), (*p).idx, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_80));
					if (!T10_) goto LA11_;
					(*p).idx += ((NI) 1);
				}
				LA11_: ;
				{
					while (1) {
						tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T21_;
						if (!!(((3 &(1U<<((NU)((*p).tok->data[(*p).idx].kind)&7U)))!=0))) goto LA14;
						{
							NIM_BOOL T17_;
							T17_ = (NIM_BOOL)0;
							T17_ = ((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2));
							if (!(T17_)) goto LA18_;
							T17_ = (((NI) 1) < ((*p).tok->data[(*p).idx].symbol ? (*p).tok->data[(*p).idx].symbol->Sup.len : 0));
							LA18_: ;
							if (!T17_) goto LA19_;
							(*p).idx += ((NI) 1);
							goto LA13;
						}
						LA19_: ;
						T21_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
						T21_ = newLeaf_7GQctOJZjer320oBsVuaZw_2(p);
						add_ZvlV89auQrVc4pTJdjhNQiQ(a, T21_);
						(*p).idx += ((NI) 1);
					} LA14: ;
				} LA13: ;
				j = tokenAfterNewline_xUb9bp9aN3qua9bQob6ivKMSg_2((&(*p)));
				{
					NIM_BOOL T24_;
					NIM_BOOL T25_;
					NI T28_;
					T24_ = (NIM_BOOL)0;
					T25_ = (NIM_BOOL)0;
					T25_ = (((NI) 0) < j);
					if (!(T25_)) goto LA26_;
					T25_ = ((*p).tok->data[(NI)(j - ((NI) 1))].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1));
					LA26_: ;
					T24_ = T25_;
					if (!(T24_)) goto LA27_;
					T28_ = (NI)0;
					T28_ = currInd_xUb9bp9aN3qua9bQob6ivKMSg((&(*p)));
					T24_ = (T28_ < (*p).tok->data[(NI)(j - ((NI) 1))].ival);
					LA27_: ;
					if (!T24_) goto LA29_;
					pushInd_Xbq51oVyRO7PZZ4xLvVYsA(p, (*p).tok->data[(NI)(j - ((NI) 1))].ival);
					parseSection_57GOaTSPSkCmogVitCR7Og(p, b);
					popInd_xyvnfvy5mhKB22A7n5qS7g(p);
				}
				goto LA22_;
				LA29_: ;
				{
					parseLine_RwTEadQq45h66VRoByZYcw(p, b);
				}
				LA22_: ;
				{
					if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1))) goto LA34_;
					(*p).idx += ((NI) 1);
				}
				LA34_: ;
				add_ZvlV89auQrVc4pTJdjhNQiQ(c, a);
				add_ZvlV89auQrVc4pTJdjhNQiQ(c, b);
				add_ZvlV89auQrVc4pTJdjhNQiQ(result, c);
			}
			goto LA3_;
			LA6_: ;
			{
				goto LA1;
			}
			LA3_: ;
		}
	} LA1: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, parseParagraph_57GOaTSPSkCmogVitCR7Og_2)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result) {
	{
		while (1) {
			switch ((*p).tok->data[(*p).idx].kind) {
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1):
			{
				{
					if (!((*p).tok->data[(NI)((*p).idx + ((NI) 1))].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1))) goto LA6_;
					(*p).idx += ((NI) 1);
					goto LA1;
				}
				goto LA4_;
				LA6_: ;
				{
					NI T9_;
					tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg T12_;
					T9_ = (NI)0;
					T9_ = currInd_xUb9bp9aN3qua9bQob6ivKMSg((&(*p)));
					if (!((*p).tok->data[(*p).idx].ival == T9_)) goto LA10_;
					(*p).idx += ((NI) 1);
					T12_ = (tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg)0;
					T12_ = whichSection_fKdIux7luKc8K63j1aCSGA((&(*p)));
					switch (T12_) {
					case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 4):
					case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64):
					case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 1):
					case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 2):
					case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 40):
					{
						tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T14_;
						T14_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
						T14_ = newRstNode_5U9cRbUMTUnFZvEj9bgqsRSg(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_101));
						add_ZvlV89auQrVc4pTJdjhNQiQ(result, T14_);
					}
					break;
					case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 26):
					{
						tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T16_;
						T16_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
						T16_ = parseLineBlock_8ck1a1XOjHiLTWDzHt9czmQ_4(p);
						addIfNotNil_ZvlV89auQrVc4pTJdjhNQiQ_2(result, T16_);
					}
					break;
					default:
					{
						goto LA1;
					}
					break;
					}
				}
				goto LA4_;
				LA10_: ;
				{
					goto LA1;
				}
				LA4_: ;
			}
			break;
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 5):
			{
				{
					NIM_BOOL T22_;
					NIM_BOOL T23_;
					NI T26_;
					tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T29_;
					tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T30_;
					T22_ = (NIM_BOOL)0;
					T23_ = (NIM_BOOL)0;
					T23_ = eqStrings((*p).tok->data[(*p).idx].symbol, ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_67));
					if (!(T23_)) goto LA24_;
					T23_ = ((*p).tok->data[(NI)((*p).idx + ((NI) 1))].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1));
					LA24_: ;
					T22_ = T23_;
					if (!(T22_)) goto LA25_;
					T26_ = (NI)0;
					T26_ = currInd_xUb9bp9aN3qua9bQob6ivKMSg((&(*p)));
					T22_ = (T26_ < (*p).tok->data[(NI)((*p).idx + ((NI) 1))].ival);
					LA25_: ;
					if (!T22_) goto LA27_;
					T29_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
					T29_ = newRstNode_5U9cRbUMTUnFZvEj9bgqsRSg(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64), ((NimStringDesc*) &TM_Xuc9bgVTDeYXjwnCJIlXSig_176));
					add_ZvlV89auQrVc4pTJdjhNQiQ(result, T29_);
					(*p).idx += ((NI) 1);
					T30_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
					T30_ = parseLiteralBlock_7GQctOJZjer320oBsVuaZw(p);
					add_ZvlV89auQrVc4pTJdjhNQiQ(result, T30_);
					goto LA1;
				}
				goto LA20_;
				LA27_: ;
				{
					parseInline_RwTEadQq45h66VRoByZYcw_2(p, result);
				}
				LA20_: ;
			}
			break;
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 2):
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 3):
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 4):
			case ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 6):
			{
				parseInline_RwTEadQq45h66VRoByZYcw_2(p, result);
			}
			break;
			default:
			{
				goto LA1;
			}
			break;
			}
		}
	} LA1: ;
}

N_LIB_PRIVATE N_NIMCALL(tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg, sonKind_QCqcDn9bQhfi1BMn0kOshuw)(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* father, NI i) {
	tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg result;
	result = (tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg)0;
	result = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64);
	{
		NI T3_;
		T3_ = (NI)0;
		T3_ = len_7sZ6jl1AobLSRAIdrbIp6A(father);
		if (!(i < T3_)) goto LA4_;
		result = (*(*father).sons->data[i]).kind;
	}
	LA4_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(void, parseSection_57GOaTSPSkCmogVitCR7Og)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p, tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result) {
	{
		while (1) {
			NIM_BOOL leave;
			tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* a_2;
			tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg k;
			leave = NIM_FALSE;
			{
				while (1) {
					if (!((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 1))) goto LA4;
					{
						NI T7_;
						T7_ = (NI)0;
						T7_ = currInd_xUb9bp9aN3qua9bQob6ivKMSg((&(*p)));
						if (!(T7_ == (*p).tok->data[(*p).idx].ival)) goto LA8_;
						(*p).idx += ((NI) 1);
					}
					goto LA5_;
					LA8_: ;
					{
						NI T11_;
						tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* a;
						T11_ = (NI)0;
						T11_ = currInd_xUb9bp9aN3qua9bQob6ivKMSg((&(*p)));
						if (!(T11_ < (*p).tok->data[(*p).idx].ival)) goto LA12_;
						pushInd_Xbq51oVyRO7PZZ4xLvVYsA(p, (*p).tok->data[(*p).idx].ival);
						a = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 28));
						parseSection_57GOaTSPSkCmogVitCR7Og(p, a);
						add_ZvlV89auQrVc4pTJdjhNQiQ(result, a);
						popInd_xyvnfvy5mhKB22A7n5qS7g(p);
					}
					goto LA5_;
					LA12_: ;
					{
						leave = NIM_TRUE;
						goto LA3;
					}
					LA5_: ;
				} LA4: ;
			} LA3: ;
			{
				NIM_BOOL T17_;
				T17_ = (NIM_BOOL)0;
				T17_ = leave;
				if (T17_) goto LA18_;
				T17_ = ((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 0));
				LA18_: ;
				if (!T17_) goto LA19_;
				goto LA1;
			}
			LA19_: ;
			a_2 = NIM_NIL;
			k = whichSection_fKdIux7luKc8K63j1aCSGA((&(*p)));
			switch (k) {
			case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 24):
			{
				(*p).idx += ((NI) 1);
				a_2 = parseLiteralBlock_7GQctOJZjer320oBsVuaZw(p);
			}
			break;
			case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 5):
			{
				a_2 = parseBulletList_8ck1a1XOjHiLTWDzHt9czmQ_3(p);
			}
			break;
			case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 26):
			{
				a_2 = parseLineBlock_8ck1a1XOjHiLTWDzHt9czmQ_4(p);
			}
			break;
			case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 40):
			{
				a_2 = parseDotDot_8ck1a1XOjHiLTWDzHt9czmQ_5(p);
			}
			break;
			case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 7):
			{
				a_2 = parseEnumList_8ck1a1XOjHiLTWDzHt9czmQ_16(p);
			}
			break;
			case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 64):
			{
				rstMessage_010ZyRRb5239bB1tvVcSjvg((&(*p)), ((tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ) 3));
			}
			break;
			case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 4):
			{
			}
			break;
			case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 9):
			{
				a_2 = parseDefinitionList_8ck1a1XOjHiLTWDzHt9czmQ_17(p);
			}
			break;
			case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 13):
			{
				{
					if (!(((NI) 0) < (*p).idx)) goto LA32_;
					(*p).idx -= ((NI) 1);
				}
				LA32_: ;
				a_2 = parseFields_8ck1a1XOjHiLTWDzHt9czmQ_7(p);
			}
			break;
			case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 3):
			{
				a_2 = parseTransition_7GQctOJZjer320oBsVuaZw_7(p);
			}
			break;
			case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 1):
			{
				a_2 = parseHeadline_7GQctOJZjer320oBsVuaZw_8(p);
			}
			break;
			case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 2):
			{
				a_2 = parseOverline_7GQctOJZjer320oBsVuaZw_9(p);
			}
			break;
			case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 29):
			{
				a_2 = parseSimpleTable_8ck1a1XOjHiLTWDzHt9czmQ_18(p);
			}
			break;
			case ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 17):
			{
				a_2 = parseOptionList_8ck1a1XOjHiLTWDzHt9czmQ_19(p);
			}
			break;
			default:
			{
			}
			break;
			}
			{
				NIM_BOOL T42_;
				T42_ = (NIM_BOOL)0;
				T42_ = (a_2 == NIM_NIL);
				if (!(T42_)) goto LA43_;
				T42_ = !((k == ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 40)));
				LA43_: ;
				if (!T42_) goto LA44_;
				a_2 = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 4));
				parseParagraph_57GOaTSPSkCmogVitCR7Og_2(p, a_2);
			}
			LA44_: ;
			addIfNotNil_ZvlV89auQrVc4pTJdjhNQiQ_2(result, a_2);
		}
	} LA1: ;
	{
		NIM_BOOL T48_;
		tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg T49_;
		tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg T51_;
		T48_ = (NIM_BOOL)0;
		T49_ = (tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg)0;
		T49_ = sonKind_QCqcDn9bQhfi1BMn0kOshuw(result, ((NI) 0));
		T48_ = (T49_ == ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 4));
		if (!(T48_)) goto LA50_;
		T51_ = (tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg)0;
		T51_ = sonKind_QCqcDn9bQhfi1BMn0kOshuw(result, ((NI) 1));
		T48_ = !((T51_ == ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 4)));
		LA50_: ;
		if (!T48_) goto LA52_;
		(*(*result).sons->data[((NI) 0)]).kind = ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 0);
	}
	LA52_: ;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseSectionWrapper_8ck1a1XOjHiLTWDzHt9czmQ_2)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = newRstNode_a0gNerhK9cSe5kzN5MHB6OQ(((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 0));
	parseSection_57GOaTSPSkCmogVitCR7Og(p, result);
	{
		while (1) {
			NIM_BOOL T3_;
			NI T5_;
			T3_ = (NIM_BOOL)0;
			T3_ = ((*result).kind == ((tyEnum_RstNodeKind_Q1jM9a8f0MKlvbLZpipB3qg) 0));
			if (!(T3_)) goto LA4_;
			T5_ = (NI)0;
			T5_ = len_7sZ6jl1AobLSRAIdrbIp6A(result);
			T3_ = (T5_ == ((NI) 1));
			LA4_: ;
			if (!T3_) goto LA2;
			result = (*result).sons->data[((NI) 0)];
		} LA2: ;
	}
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, parseDoc_8ck1a1XOjHiLTWDzHt9czmQ)(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg* p) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	result = parseSectionWrapper_8ck1a1XOjHiLTWDzHt9czmQ_2(p);
	{
		if (!!(((*p).tok->data[(*p).idx].kind == ((tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ) 0)))) goto LA3_;
		rstMessage_010ZyRRb5239bB1tvVcSjvg((&(*p)), ((tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ) 4));
	}
	LA3_: ;
	return result;
}

N_LIB_PRIVATE N_NIMCALL(tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*, rstParse_shtPTr9b2K0TLErICQEm6GQ)(NimStringDesc* text, NimStringDesc* filename, NI line, NI column, NIM_BOOL* hasToc, tySet_tyEnum_RstParseOption_fiZmsylYkyh6nEciRZcPsw options, tyProc_lRW9cfxqfm1ql4gkxfLReYg findFile, tyProc_r4CIWZzpiVlkxuVaaDT8Lw msgHandler) {
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* result;
	tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg p;
	tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw* T1_;
	NI T2_;
	tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg* T3_;
	result = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	nimZeroMem((void*)(&p), sizeof(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg));
	p.Sup.m_type = (&NTI_DC0I80p3rKpwC6ms59ctfpg_);
	T1_ = (tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw*)0;
	T1_ = newSharedState_XecOuoaPTKhpoNl8h9b9coRQ(options, findFile, msgHandler);
	initParser_HuwafTNovlAXYbimnFS9cmQ((&p), T1_);
	p.filename = copyString(filename);
	p.line = line;
	T2_ = (NI)0;
	T2_ = getTokens_9bP24k7EPS6mr3BYA8XjYyA(text, ((options &(1U<<((NU)(((tyEnum_RstParseOption_fiZmsylYkyh6nEciRZcPsw) 0))&7U)))!=0), (&p.tok));
	p.col = (NI)(column + T2_);
	T3_ = (tyObject_RstNode_CjRS2xrmuD58kdGedE3yyg*)0;
	T3_ = parseDoc_8ck1a1XOjHiLTWDzHt9czmQ((&p));
	result = resolveSubs_zjrO69bNk4zafyWr1c8BsDw((&p), T3_);
	(*hasToc) = p.hasToc;
	return result;
}
N_LIB_PRIVATE N_NIMCALL(void, docutils_rstInit000)(void) {
{
	TFrame FR_; FR_.len = 0;
}
}

N_LIB_PRIVATE N_NIMCALL(void, docutils_rstDatInit000)(void) {
static TNimNode* TM_Xuc9bgVTDeYXjwnCJIlXSig_2[4];
NI TM_Xuc9bgVTDeYXjwnCJIlXSig_4;
static char* NIM_CONST TM_Xuc9bgVTDeYXjwnCJIlXSig_3[4] = {
"roSkipPounds", 
"roSupportSmilies", 
"roSupportRawDirective", 
"roSupportMarkdown"};
static TNimNode* TM_Xuc9bgVTDeYXjwnCJIlXSig_5[2];
static TNimNode* TM_Xuc9bgVTDeYXjwnCJIlXSig_6[2];
static TNimNode* TM_Xuc9bgVTDeYXjwnCJIlXSig_28[8];
static TNimNode* TM_Xuc9bgVTDeYXjwnCJIlXSig_29[5];
static TNimNode* TM_Xuc9bgVTDeYXjwnCJIlXSig_30[7];
NI TM_Xuc9bgVTDeYXjwnCJIlXSig_32;
static char* NIM_CONST TM_Xuc9bgVTDeYXjwnCJIlXSig_31[7] = {
"tkEof", 
"tkIndent", 
"tkWhite", 
"tkWord", 
"tkAdornment", 
"tkPunct", 
"tkOther"};
static TNimNode* TM_Xuc9bgVTDeYXjwnCJIlXSig_33[9];
static TNimNode* TM_Xuc9bgVTDeYXjwnCJIlXSig_34[2];
static TNimNode* TM_Xuc9bgVTDeYXjwnCJIlXSig_37[10];
NI TM_Xuc9bgVTDeYXjwnCJIlXSig_39;
static char* NIM_CONST TM_Xuc9bgVTDeYXjwnCJIlXSig_38[10] = {
"meCannotOpenFile", 
"meExpected", 
"meGridTableNotImplemented", 
"meNewSectionExpected", 
"meGeneralParseError", 
"meInvalidDirective", 
"mwRedefinitionOfLabel", 
"mwUnknownSubstitution", 
"mwUnsupportedLanguage", 
"mwUnsupportedField"};
static TNimNode* TM_Xuc9bgVTDeYXjwnCJIlXSig_51[3];
NI TM_Xuc9bgVTDeYXjwnCJIlXSig_53;
static char* NIM_CONST TM_Xuc9bgVTDeYXjwnCJIlXSig_52[3] = {
"Hint", 
"Warning", 
"Error"};
static TNimNode* TM_Xuc9bgVTDeYXjwnCJIlXSig_57[6];
static TNimNode TM_Xuc9bgVTDeYXjwnCJIlXSig_0[71];
NTI_fiZmsylYkyh6nEciRZcPsw_.size = sizeof(tyEnum_RstParseOption_fiZmsylYkyh6nEciRZcPsw);
NTI_fiZmsylYkyh6nEciRZcPsw_.kind = 14;
NTI_fiZmsylYkyh6nEciRZcPsw_.base = 0;
NTI_fiZmsylYkyh6nEciRZcPsw_.flags = 3;
for (TM_Xuc9bgVTDeYXjwnCJIlXSig_4 = 0; TM_Xuc9bgVTDeYXjwnCJIlXSig_4 < 4; TM_Xuc9bgVTDeYXjwnCJIlXSig_4++) {
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[TM_Xuc9bgVTDeYXjwnCJIlXSig_4+0].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[TM_Xuc9bgVTDeYXjwnCJIlXSig_4+0].offset = TM_Xuc9bgVTDeYXjwnCJIlXSig_4;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[TM_Xuc9bgVTDeYXjwnCJIlXSig_4+0].name = TM_Xuc9bgVTDeYXjwnCJIlXSig_3[TM_Xuc9bgVTDeYXjwnCJIlXSig_4];
TM_Xuc9bgVTDeYXjwnCJIlXSig_2[TM_Xuc9bgVTDeYXjwnCJIlXSig_4] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[TM_Xuc9bgVTDeYXjwnCJIlXSig_4+0];
}
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[4].len = 4; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[4].kind = 2; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[4].sons = &TM_Xuc9bgVTDeYXjwnCJIlXSig_2[0];
NTI_fiZmsylYkyh6nEciRZcPsw_.node = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[4];
NTI_triPNwGxgWAG1ULojVLJPA_.size = sizeof(tySet_tyEnum_RstParseOption_fiZmsylYkyh6nEciRZcPsw);
NTI_triPNwGxgWAG1ULojVLJPA_.kind = 19;
NTI_triPNwGxgWAG1ULojVLJPA_.base = (&NTI_fiZmsylYkyh6nEciRZcPsw_);
NTI_triPNwGxgWAG1ULojVLJPA_.flags = 3;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[5].len = 0; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[5].kind = 0;
NTI_triPNwGxgWAG1ULojVLJPA_.node = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[5];
NTI_lRW9cfxqfm1ql4gkxfLReYg_.size = sizeof(tyTuple_WCz3Z7at9aJyVFSh5OmwJNg);
NTI_lRW9cfxqfm1ql4gkxfLReYg_.kind = 18;
NTI_lRW9cfxqfm1ql4gkxfLReYg_.base = 0;
TM_Xuc9bgVTDeYXjwnCJIlXSig_5[0] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[7];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[7].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[7].offset = offsetof(tyTuple_WCz3Z7at9aJyVFSh5OmwJNg, Field0);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[7].typ = (&NTI_vr5DoT1jILTGdRlYv1OYpw_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[7].name = "Field0";
TM_Xuc9bgVTDeYXjwnCJIlXSig_5[1] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[8];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[8].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[8].offset = offsetof(tyTuple_WCz3Z7at9aJyVFSh5OmwJNg, Field1);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[8].typ = (&NTI_qs7rcJOE2Bz63jdUEPJtIg_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[8].name = "Field1";
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[6].len = 2; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[6].kind = 2; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[6].sons = &TM_Xuc9bgVTDeYXjwnCJIlXSig_5[0];
NTI_lRW9cfxqfm1ql4gkxfLReYg_.node = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[6];
NTI_r4CIWZzpiVlkxuVaaDT8Lw_.size = sizeof(tyTuple_WCz3Z7at9aJyVFSh5OmwJNg);
NTI_r4CIWZzpiVlkxuVaaDT8Lw_.kind = 18;
NTI_r4CIWZzpiVlkxuVaaDT8Lw_.base = 0;
TM_Xuc9bgVTDeYXjwnCJIlXSig_6[0] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[10];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[10].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[10].offset = offsetof(tyTuple_WCz3Z7at9aJyVFSh5OmwJNg, Field0);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[10].typ = (&NTI_vr5DoT1jILTGdRlYv1OYpw_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[10].name = "Field0";
TM_Xuc9bgVTDeYXjwnCJIlXSig_6[1] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[11];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[11].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[11].offset = offsetof(tyTuple_WCz3Z7at9aJyVFSh5OmwJNg, Field1);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[11].typ = (&NTI_qs7rcJOE2Bz63jdUEPJtIg_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[11].name = "Field1";
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[9].len = 2; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[9].kind = 2; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[9].sons = &TM_Xuc9bgVTDeYXjwnCJIlXSig_6[0];
NTI_r4CIWZzpiVlkxuVaaDT8Lw_.node = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[9];
NTI_DC0I80p3rKpwC6ms59ctfpg_.size = sizeof(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg);
NTI_DC0I80p3rKpwC6ms59ctfpg_.kind = 17;
NTI_DC0I80p3rKpwC6ms59ctfpg_.base = (&NTI_ytyiCJqK439aF9cIibuRVpAg_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_28[0] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[13];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[13].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[13].offset = offsetof(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg, idx);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[13].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[13].name = "idx";
TM_Xuc9bgVTDeYXjwnCJIlXSig_28[1] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[14];
NTI_9cnCC036DOlVv9c9aESuaQcBw_.size = sizeof(tyObject_Token_9cnCC036DOlVv9c9aESuaQcBw);
NTI_9cnCC036DOlVv9c9aESuaQcBw_.kind = 18;
NTI_9cnCC036DOlVv9c9aESuaQcBw_.base = 0;
NTI_9cnCC036DOlVv9c9aESuaQcBw_.flags = 2;
TM_Xuc9bgVTDeYXjwnCJIlXSig_29[0] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[16];
NTI_G7B8aJ8qgyXs01CE89bLriQ_.size = sizeof(tyEnum_TokType_G7B8aJ8qgyXs01CE89bLriQ);
NTI_G7B8aJ8qgyXs01CE89bLriQ_.kind = 14;
NTI_G7B8aJ8qgyXs01CE89bLriQ_.base = 0;
NTI_G7B8aJ8qgyXs01CE89bLriQ_.flags = 3;
for (TM_Xuc9bgVTDeYXjwnCJIlXSig_32 = 0; TM_Xuc9bgVTDeYXjwnCJIlXSig_32 < 7; TM_Xuc9bgVTDeYXjwnCJIlXSig_32++) {
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[TM_Xuc9bgVTDeYXjwnCJIlXSig_32+17].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[TM_Xuc9bgVTDeYXjwnCJIlXSig_32+17].offset = TM_Xuc9bgVTDeYXjwnCJIlXSig_32;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[TM_Xuc9bgVTDeYXjwnCJIlXSig_32+17].name = TM_Xuc9bgVTDeYXjwnCJIlXSig_31[TM_Xuc9bgVTDeYXjwnCJIlXSig_32];
TM_Xuc9bgVTDeYXjwnCJIlXSig_30[TM_Xuc9bgVTDeYXjwnCJIlXSig_32] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[TM_Xuc9bgVTDeYXjwnCJIlXSig_32+17];
}
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[24].len = 7; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[24].kind = 2; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[24].sons = &TM_Xuc9bgVTDeYXjwnCJIlXSig_30[0];
NTI_G7B8aJ8qgyXs01CE89bLriQ_.node = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[24];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[16].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[16].offset = offsetof(tyObject_Token_9cnCC036DOlVv9c9aESuaQcBw, kind);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[16].typ = (&NTI_G7B8aJ8qgyXs01CE89bLriQ_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[16].name = "kind";
TM_Xuc9bgVTDeYXjwnCJIlXSig_29[1] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[25];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[25].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[25].offset = offsetof(tyObject_Token_9cnCC036DOlVv9c9aESuaQcBw, ival);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[25].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[25].name = "ival";
TM_Xuc9bgVTDeYXjwnCJIlXSig_29[2] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[26];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[26].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[26].offset = offsetof(tyObject_Token_9cnCC036DOlVv9c9aESuaQcBw, symbol);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[26].typ = (&NTI_77mFvmsOLKik79ci2hXkHEg_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[26].name = "symbol";
TM_Xuc9bgVTDeYXjwnCJIlXSig_29[3] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[27];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[27].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[27].offset = offsetof(tyObject_Token_9cnCC036DOlVv9c9aESuaQcBw, line);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[27].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[27].name = "line";
TM_Xuc9bgVTDeYXjwnCJIlXSig_29[4] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[28];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[28].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[28].offset = offsetof(tyObject_Token_9cnCC036DOlVv9c9aESuaQcBw, col);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[28].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[28].name = "col";
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[15].len = 5; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[15].kind = 2; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[15].sons = &TM_Xuc9bgVTDeYXjwnCJIlXSig_29[0];
NTI_9cnCC036DOlVv9c9aESuaQcBw_.node = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[15];
NTI_P8hOR7sdW9cxlcQApQ4kJNA_.size = sizeof(tySequence_P8hOR7sdW9cxlcQApQ4kJNA*);
NTI_P8hOR7sdW9cxlcQApQ4kJNA_.kind = 24;
NTI_P8hOR7sdW9cxlcQApQ4kJNA_.base = (&NTI_9cnCC036DOlVv9c9aESuaQcBw_);
NTI_P8hOR7sdW9cxlcQApQ4kJNA_.flags = 2;
NTI_P8hOR7sdW9cxlcQApQ4kJNA_.marker = Marker_tySequence_P8hOR7sdW9cxlcQApQ4kJNA;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[14].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[14].offset = offsetof(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg, tok);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[14].typ = (&NTI_P8hOR7sdW9cxlcQApQ4kJNA_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[14].name = "tok";
TM_Xuc9bgVTDeYXjwnCJIlXSig_28[2] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[29];
NTI_Nr0J1e0ojmHBVIgRtvSZjw_.size = sizeof(tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw);
NTI_Nr0J1e0ojmHBVIgRtvSZjw_.kind = 18;
NTI_Nr0J1e0ojmHBVIgRtvSZjw_.base = 0;
TM_Xuc9bgVTDeYXjwnCJIlXSig_33[0] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[31];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[31].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[31].offset = offsetof(tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw, options);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[31].typ = (&NTI_triPNwGxgWAG1ULojVLJPA_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[31].name = "options";
TM_Xuc9bgVTDeYXjwnCJIlXSig_33[1] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[32];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[32].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[32].offset = offsetof(tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw, uLevel);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[32].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[32].name = "uLevel";
TM_Xuc9bgVTDeYXjwnCJIlXSig_33[2] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[33];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[33].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[33].offset = offsetof(tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw, oLevel);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[33].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[33].name = "oLevel";
TM_Xuc9bgVTDeYXjwnCJIlXSig_33[3] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[34];
NTI_WneU8C8OSOpUr8oGzt2hBA_.size = sizeof(tyObject_Substitution_WneU8C8OSOpUr8oGzt2hBA);
NTI_WneU8C8OSOpUr8oGzt2hBA_.kind = 18;
NTI_WneU8C8OSOpUr8oGzt2hBA_.base = 0;
NTI_WneU8C8OSOpUr8oGzt2hBA_.flags = 2;
TM_Xuc9bgVTDeYXjwnCJIlXSig_34[0] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[36];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[36].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[36].offset = offsetof(tyObject_Substitution_WneU8C8OSOpUr8oGzt2hBA, key);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[36].typ = (&NTI_77mFvmsOLKik79ci2hXkHEg_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[36].name = "key";
TM_Xuc9bgVTDeYXjwnCJIlXSig_34[1] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[37];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[37].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[37].offset = offsetof(tyObject_Substitution_WneU8C8OSOpUr8oGzt2hBA, value);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[37].typ = (&NTI_eiDrOE3AS6QEbCsY2gtdWQ_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[37].name = "value";
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[35].len = 2; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[35].kind = 2; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[35].sons = &TM_Xuc9bgVTDeYXjwnCJIlXSig_34[0];
NTI_WneU8C8OSOpUr8oGzt2hBA_.node = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[35];
NTI_KttZgRE9cmIMvHjR6Gj9a89ag_.size = sizeof(tySequence_KttZgRE9cmIMvHjR6Gj9a89ag*);
NTI_KttZgRE9cmIMvHjR6Gj9a89ag_.kind = 24;
NTI_KttZgRE9cmIMvHjR6Gj9a89ag_.base = (&NTI_WneU8C8OSOpUr8oGzt2hBA_);
NTI_KttZgRE9cmIMvHjR6Gj9a89ag_.flags = 2;
NTI_KttZgRE9cmIMvHjR6Gj9a89ag_.marker = Marker_tySequence_KttZgRE9cmIMvHjR6Gj9a89ag;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[34].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[34].offset = offsetof(tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw, subs);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[34].typ = (&NTI_KttZgRE9cmIMvHjR6Gj9a89ag_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[34].name = "subs";
TM_Xuc9bgVTDeYXjwnCJIlXSig_33[4] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[38];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[38].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[38].offset = offsetof(tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw, refs);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[38].typ = (&NTI_KttZgRE9cmIMvHjR6Gj9a89ag_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[38].name = "refs";
TM_Xuc9bgVTDeYXjwnCJIlXSig_33[5] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[39];
NTI_9cc9aPiDa8VaWjVcFLabEDZQ_.size = sizeof(tyArray_9cc9aPiDa8VaWjVcFLabEDZQ);
NTI_9cc9aPiDa8VaWjVcFLabEDZQ_.kind = 16;
NTI_9cc9aPiDa8VaWjVcFLabEDZQ_.base = (&NTI_rR5Bzr1D5krxoo1NcNyeMA_);
NTI_9cc9aPiDa8VaWjVcFLabEDZQ_.flags = 3;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[39].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[39].offset = offsetof(tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw, underlineToLevel);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[39].typ = (&NTI_9cc9aPiDa8VaWjVcFLabEDZQ_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[39].name = "underlineToLevel";
TM_Xuc9bgVTDeYXjwnCJIlXSig_33[6] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[40];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[40].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[40].offset = offsetof(tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw, overlineToLevel);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[40].typ = (&NTI_9cc9aPiDa8VaWjVcFLabEDZQ_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[40].name = "overlineToLevel";
TM_Xuc9bgVTDeYXjwnCJIlXSig_33[7] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[41];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[41].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[41].offset = offsetof(tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw, msgHandler);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[41].typ = (&NTI_r4CIWZzpiVlkxuVaaDT8Lw_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[41].name = "msgHandler";
TM_Xuc9bgVTDeYXjwnCJIlXSig_33[8] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[42];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[42].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[42].offset = offsetof(tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw, findFile);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[42].typ = (&NTI_lRW9cfxqfm1ql4gkxfLReYg_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[42].name = "findFile";
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[30].len = 9; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[30].kind = 2; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[30].sons = &TM_Xuc9bgVTDeYXjwnCJIlXSig_33[0];
NTI_Nr0J1e0ojmHBVIgRtvSZjw_.node = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[30];
NTI_NOd8Bhkha1yAk19cIRBRUeg_.size = sizeof(tyObject_SharedState_Nr0J1e0ojmHBVIgRtvSZjw*);
NTI_NOd8Bhkha1yAk19cIRBRUeg_.kind = 22;
NTI_NOd8Bhkha1yAk19cIRBRUeg_.base = (&NTI_Nr0J1e0ojmHBVIgRtvSZjw_);
NTI_NOd8Bhkha1yAk19cIRBRUeg_.marker = Marker_tyRef_NOd8Bhkha1yAk19cIRBRUeg;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[29].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[29].offset = offsetof(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg, s);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[29].typ = (&NTI_NOd8Bhkha1yAk19cIRBRUeg_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[29].name = "s";
TM_Xuc9bgVTDeYXjwnCJIlXSig_28[3] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[43];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[43].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[43].offset = offsetof(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg, indentStack);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[43].typ = (&NTI_qwqHTkRvwhrRyENtudHQ7g_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[43].name = "indentStack";
TM_Xuc9bgVTDeYXjwnCJIlXSig_28[4] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[44];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[44].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[44].offset = offsetof(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg, filename);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[44].typ = (&NTI_77mFvmsOLKik79ci2hXkHEg_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[44].name = "filename";
TM_Xuc9bgVTDeYXjwnCJIlXSig_28[5] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[45];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[45].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[45].offset = offsetof(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg, line);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[45].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[45].name = "line";
TM_Xuc9bgVTDeYXjwnCJIlXSig_28[6] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[46];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[46].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[46].offset = offsetof(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg, col);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[46].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[46].name = "col";
TM_Xuc9bgVTDeYXjwnCJIlXSig_28[7] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[47];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[47].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[47].offset = offsetof(tyObject_RstParser_DC0I80p3rKpwC6ms59ctfpg, hasToc);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[47].typ = (&NTI_VaVACK0bpYmqIQ0mKcHfQQ_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[47].name = "hasToc";
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[12].len = 8; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[12].kind = 2; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[12].sons = &TM_Xuc9bgVTDeYXjwnCJIlXSig_28[0];
NTI_DC0I80p3rKpwC6ms59ctfpg_.node = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[12];
NTI_iviJnHlj9acPYlnNRbd9bhkQ_.size = sizeof(tyEnum_MsgKind_iviJnHlj9acPYlnNRbd9bhkQ);
NTI_iviJnHlj9acPYlnNRbd9bhkQ_.kind = 14;
NTI_iviJnHlj9acPYlnNRbd9bhkQ_.base = 0;
NTI_iviJnHlj9acPYlnNRbd9bhkQ_.flags = 3;
for (TM_Xuc9bgVTDeYXjwnCJIlXSig_39 = 0; TM_Xuc9bgVTDeYXjwnCJIlXSig_39 < 10; TM_Xuc9bgVTDeYXjwnCJIlXSig_39++) {
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[TM_Xuc9bgVTDeYXjwnCJIlXSig_39+48].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[TM_Xuc9bgVTDeYXjwnCJIlXSig_39+48].offset = TM_Xuc9bgVTDeYXjwnCJIlXSig_39;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[TM_Xuc9bgVTDeYXjwnCJIlXSig_39+48].name = TM_Xuc9bgVTDeYXjwnCJIlXSig_38[TM_Xuc9bgVTDeYXjwnCJIlXSig_39];
TM_Xuc9bgVTDeYXjwnCJIlXSig_37[TM_Xuc9bgVTDeYXjwnCJIlXSig_39] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[TM_Xuc9bgVTDeYXjwnCJIlXSig_39+48];
}
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[58].len = 10; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[58].kind = 2; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[58].sons = &TM_Xuc9bgVTDeYXjwnCJIlXSig_37[0];
NTI_iviJnHlj9acPYlnNRbd9bhkQ_.node = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[58];
NTI_dpFtqOEOsRL1xyFiV7JAeA_.size = sizeof(tyEnum_MsgClass_dpFtqOEOsRL1xyFiV7JAeA);
NTI_dpFtqOEOsRL1xyFiV7JAeA_.kind = 14;
NTI_dpFtqOEOsRL1xyFiV7JAeA_.base = 0;
NTI_dpFtqOEOsRL1xyFiV7JAeA_.flags = 3;
for (TM_Xuc9bgVTDeYXjwnCJIlXSig_53 = 0; TM_Xuc9bgVTDeYXjwnCJIlXSig_53 < 3; TM_Xuc9bgVTDeYXjwnCJIlXSig_53++) {
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[TM_Xuc9bgVTDeYXjwnCJIlXSig_53+59].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[TM_Xuc9bgVTDeYXjwnCJIlXSig_53+59].offset = TM_Xuc9bgVTDeYXjwnCJIlXSig_53;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[TM_Xuc9bgVTDeYXjwnCJIlXSig_53+59].name = TM_Xuc9bgVTDeYXjwnCJIlXSig_52[TM_Xuc9bgVTDeYXjwnCJIlXSig_53];
TM_Xuc9bgVTDeYXjwnCJIlXSig_51[TM_Xuc9bgVTDeYXjwnCJIlXSig_53] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[TM_Xuc9bgVTDeYXjwnCJIlXSig_53+59];
}
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[62].len = 3; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[62].kind = 2; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[62].sons = &TM_Xuc9bgVTDeYXjwnCJIlXSig_51[0];
NTI_dpFtqOEOsRL1xyFiV7JAeA_.node = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[62];
NTI_oatMhswPFBMju9bx0AewlSA_.size = sizeof(tyObject_EParseError_oatMhswPFBMju9bx0AewlSA);
NTI_oatMhswPFBMju9bx0AewlSA_.kind = 17;
NTI_oatMhswPFBMju9bx0AewlSA_.base = (&NTI_5aqBlilCK53e9cDu4kUyN5Q_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[63].len = 0; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[63].kind = 2;
NTI_oatMhswPFBMju9bx0AewlSA_.node = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[63];
NTI_CW9bDgGqFzztMZpOn1dc0CA_.size = sizeof(tyObject_EParseError_oatMhswPFBMju9bx0AewlSA*);
NTI_CW9bDgGqFzztMZpOn1dc0CA_.kind = 22;
NTI_CW9bDgGqFzztMZpOn1dc0CA_.base = (&NTI_oatMhswPFBMju9bx0AewlSA_);
NTI_CW9bDgGqFzztMZpOn1dc0CA_.marker = Marker_tyRef_CW9bDgGqFzztMZpOn1dc0CA;
NTI_5boGUNyj9cHomWCEznBP3KA_.size = sizeof(tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA);
NTI_5boGUNyj9cHomWCEznBP3KA_.kind = 17;
NTI_5boGUNyj9cHomWCEznBP3KA_.base = (&NTI_ytyiCJqK439aF9cIibuRVpAg_);
NTI_5boGUNyj9cHomWCEznBP3KA_.flags = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_57[0] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[65];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[65].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[65].offset = offsetof(tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA, buf);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[65].typ = (&NTI_S9agCYBinaYZnGWcjTdxclg_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[65].name = "buf";
TM_Xuc9bgVTDeYXjwnCJIlXSig_57[1] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[66];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[66].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[66].offset = offsetof(tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA, bufpos);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[66].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[66].name = "bufpos";
TM_Xuc9bgVTDeYXjwnCJIlXSig_57[2] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[67];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[67].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[67].offset = offsetof(tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA, line);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[67].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[67].name = "line";
TM_Xuc9bgVTDeYXjwnCJIlXSig_57[3] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[68];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[68].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[68].offset = offsetof(tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA, col);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[68].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[68].name = "col";
TM_Xuc9bgVTDeYXjwnCJIlXSig_57[4] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[69];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[69].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[69].offset = offsetof(tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA, baseIndent);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[69].typ = (&NTI_rR5Bzr1D5krxoo1NcNyeMA_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[69].name = "baseIndent";
TM_Xuc9bgVTDeYXjwnCJIlXSig_57[5] = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[70];
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[70].kind = 1;
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[70].offset = offsetof(tyObject_Lexer_5boGUNyj9cHomWCEznBP3KA, skipPounds);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[70].typ = (&NTI_VaVACK0bpYmqIQ0mKcHfQQ_);
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[70].name = "skipPounds";
TM_Xuc9bgVTDeYXjwnCJIlXSig_0[64].len = 6; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[64].kind = 2; TM_Xuc9bgVTDeYXjwnCJIlXSig_0[64].sons = &TM_Xuc9bgVTDeYXjwnCJIlXSig_57[0];
NTI_5boGUNyj9cHomWCEznBP3KA_.node = &TM_Xuc9bgVTDeYXjwnCJIlXSig_0[64];
}

