Files

1840 lines
88 KiB
C

/* Generated by Nim Compiler v1.6.11 */
#define NIM_INTBITS 64
#include "nimbase.h"
#include <string.h>
#include <stdio.h>
#undef LANGUAGE_C
#undef MIPSEB
#undef MIPSEL
#undef PPC
#undef R3000
#undef R4000
#undef i386
#undef linux
#undef mips
#undef near
#undef far
#undef powerpc
#undef unix
# define nimfr_(proc, file) \
TFrame FR_; \
FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_);
# define nimfrs_(proc, file, slots, length) \
struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \
FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_);
# define nimln_(n, file) \
FR_.line = n; FR_.filename = file;
typedef struct tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA;
typedef struct tyObject_HashSet__Aw6ud9bzB8EV26H5bv9bASOQ tyObject_HashSet__Aw6ud9bzB8EV26H5bv9bASOQ;
typedef struct tySequence__9aUBm188mcn7WjIGymvBT5w tySequence__9aUBm188mcn7WjIGymvBT5w;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tyTuple__IO6xTHa6y0i7uNmStF6URw tyTuple__IO6xTHa6y0i7uNmStF6URw;
typedef struct tyTuple__UV3llMMYFckfui8YMBuUZA tyTuple__UV3llMMYFckfui8YMBuUZA;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
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_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA;
typedef struct Exception Exception;
typedef struct RootObj RootObj;
typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
typedef struct tyObject_NimbleError__6rmfqzY5PO7blXdlEs8gjQ tyObject_NimbleError__6rmfqzY5PO7blXdlEs8gjQ;
typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
typedef NU8 tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ;
struct tyObject_HashSet__Aw6ud9bzB8EV26H5bv9bASOQ {
tySequence__9aUBm188mcn7WjIGymvBT5w* data;
NI counter;
};
struct tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA {
tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ level;
tyObject_HashSet__Aw6ud9bzB8EV26H5bv9bASOQ warnings;
NI suppressionCount;
NIM_BOOL showColor;
NIM_BOOL suppressMessages;
};
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;
NI align;
tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
TNimType* base;
TNimNode* node;
void* finalizer;
tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
};
struct TGenericSeq {
NI len;
NI reserved;
};
struct NimStringDesc {
TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct tyTuple__UV3llMMYFckfui8YMBuUZA {
NimStringDesc* Field0;
NimStringDesc* Field1;
};
struct tyTuple__IO6xTHa6y0i7uNmStF6URw {
NI Field0;
tyTuple__UV3llMMYFckfui8YMBuUZA Field1;
};
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
struct TNimNode {
tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
typedef N_NIMCALL_PTR(void, tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ) (void);
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__SPr7N6UKfuF549bNPiUvSRw[256];
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__SPr7N6UKfuF549bNPiUvSRw freeSmallChunks;
NU32 flBitmap;
tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
NI currMem;
NI maxMem;
NI freeMem;
NI occ;
NI lastSize;
tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
NIM_BOOL locked;
NIM_BOOL blockChunkSizeIncrease;
NI nextChunkSize;
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
};
struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {
NI stackScans;
NI cycleCollections;
NI maxThreshold;
NI maxStackSize;
NI maxStackCells;
NI cycleTableSize;
NI64 maxPause;
};
struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {
NI counter;
NI max;
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
};
struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {
tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
NI cycleThreshold;
NI zctThreshold;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
NI recGcLock;
tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
NI gcThreadId;
};
typedef NU8 tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA;
typedef NimStringDesc* tyArray__Re75IspeoxXy2oCZHwcRrA[2];
typedef NU8 tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg;
typedef tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg tyArray__5nVnDZSK89bs9bbdTEhXWPRQ[6];
typedef NU16 tySet_tyEnum_Style__NXKayqTLMsAibFwNceBlpA;
typedef tySet_tyEnum_Style__NXKayqTLMsAibFwNceBlpA tyArray__39cyRC9bqhgJ5KqrFdKVb6rw[4];
typedef NimStringDesc* tyArray__nHXaesL0DJZHyVS07ARPRA[1];
struct RootObj {
TNimType* m_type;
};
struct Exception {
RootObj Sup;
Exception* parent;
NCSTRING name;
NimStringDesc* message;
tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
Exception* up;
};
struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA {
Exception Sup;
};
struct tyObject_NimbleError__6rmfqzY5PO7blXdlEs8gjQ {
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;
NimStringDesc* hint;
};
typedef NU8 tyEnum_ForcePrompt__djMIU0KJ4yj4ST3o49caOhA;
struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {
NCSTRING procname;
NI line;
NCSTRING filename;
};
struct tySequence__9aUBm188mcn7WjIGymvBT5w {
TGenericSeq Sup;
tyTuple__IO6xTHa6y0i7uNmStF6URw data[SEQ_DECL_SIZE];
};
struct tySequence__uB9b75OUPRENsBAu4AnoePA {
TGenericSeq Sup;
tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];
};
N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
static N_NIMCALL(void, Marker_tySequence__9aUBm188mcn7WjIGymvBT5w)(void* p, NI op);
static N_NIMCALL(void, Marker_tyRef__dp5BUYb7mW74OXja5LWEeA)(void* p, NI op);
static N_NIMCALL(void, TM__FcgmG7w9cZrrbXWqFO8NrIw_9)(void);
N_LIB_PRIVATE N_NIMCALL(void, nimRegisterGlobalMarker)(tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ markerProc);
N_LIB_PRIVATE N_NIMCALL(tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA*, newCLI__nimblepkgZcli_64)(void);
N_LIB_PRIVATE N_NOINLINE(void*, newObj)(TNimType* typ, NI size);
static N_INLINE(void, nimFrame)(TFrame* s);
N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_2997)(void);
static N_INLINE(void, popFrame)(void);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incRef__system_5337)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(NI, pluspercent___system_696)(NI x, NI y);
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__system_5299)(void* usr);
static N_INLINE(NI, minuspercent___system_716)(NI x, NI y);
static N_INLINE(void, decRef__system_5344)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
static N_INLINE(NIM_BOOL, ltpercent___system_1005)(NI x, NI y);
static N_INLINE(void, rtlAddZCT__system_5342)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NOINLINE(void, addZCT__system_5293)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
N_LIB_PRIVATE N_NIMCALL(void, displayDetails__nimblepkgZcli_649)(tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* error, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority);
N_LIB_PRIVATE N_NIMCALL(void, displayDetails__nimblepkgZcli_635)(NimStringDesc* message, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority);
N_LIB_PRIVATE N_NIMCALL(void, display__nimblepkgZcli_156)(NimStringDesc* category, NimStringDesc* msg, tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA displayType, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority);
static N_INLINE(void, nimZeroMem)(void* p, NI size);
static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__nimblepkgZcli_180)(tyObject_HashSet__Aw6ud9bzB8EV26H5bv9bASOQ s, tyTuple__UV3llMMYFckfui8YMBuUZA key);
N_LIB_PRIVATE N_NIMCALL(void, incl__nimblepkgZcli_294)(tyObject_HashSet__Aw6ud9bzB8EV26H5bv9bASOQ* s, tyTuple__UV3llMMYFckfui8YMBuUZA key);
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, substr__system_7790)(NimStringDesc* s, NI first, NI last);
N_LIB_PRIVATE N_NIMCALL(void, displayLine__nimblepkgZcli_151)(NimStringDesc* category, NimStringDesc* line, tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA displayType, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isSuppressed__nimblepkgZcli_102)(tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA displayType);
N_LIB_PRIVATE N_NIMCALL(void, displayCategory__nimblepkgZcli_114)(NimStringDesc* category, tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA displayType, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority);
N_LIB_PRIVATE N_NIMCALL(NI, calculateCategoryOffset__nimblepkgZcli_94)(NimStringDesc* category);
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__systemZassertions_56)(NimStringDesc* msg);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuFormatOpenArray)(NimStringDesc* formatstr, NimStringDesc** a, NI aLen_0);
static N_INLINE(NimStringDesc*, spaces__pureZstrutils_1035)(NI n);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuRepeatChar)(NIM_CHAR c, NI count);
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b);
N_LIB_PRIVATE N_NIMCALL(void, setForegroundColor__pureZterminal_370)(FILE* f, tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg fg, NIM_BOOL bright);
N_LIB_PRIVATE N_NIMCALL(void, writeStyled__pureZterminal_339)(NimStringDesc* txt, tySet_tyEnum_Style__NXKayqTLMsAibFwNceBlpA style);
N_LIB_PRIVATE N_NOCONV(void, resetAttributes__pureZterminal_603)(void);
N_LIB_PRIVATE N_NIMCALL(void, write__systemZio_205)(FILE* f, NimStringDesc* s);
N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringDesc** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(void, displayDetails__nimblepkgZcli_657)(tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* error, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isObj)(TNimType* obj, TNimType* subclass);
N_LIB_PRIVATE N_NOINLINE(void, raiseObjectConversionError)(void);
N_LIB_PRIVATE N_NIMCALL(void, displayDetails__nimblepkgZcli_658)(tyObject_NimbleError__6rmfqzY5PO7blXdlEs8gjQ* error, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority);
N_LIB_PRIVATE N_NIMCALL(void, displayHint__nimblepkgZcli_632)(NimStringDesc* message, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority);
N_LIB_PRIVATE N_NIMCALL(void, displayError__nimblepkgZcli_661)(tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* error, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority);
N_LIB_PRIVATE N_NIMCALL(void, displayError__nimblepkgZcli_641)(NimStringDesc* message, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority);
N_LIB_PRIVATE N_NIMCALL(void, displayError__nimblepkgZcli_670)(tyObject_NimbleError__6rmfqzY5PO7blXdlEs8gjQ* error, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority);
N_LIB_PRIVATE N_NIMCALL(void, displayWarning__nimblepkgZcli_673)(tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* error, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority);
N_LIB_PRIVATE N_NIMCALL(void, displayWarning__nimblepkgZcli_629)(NimStringDesc* message, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority);
N_LIB_PRIVATE N_NIMCALL(void, displayWarning__nimblepkgZcli_682)(tyObject_NimbleError__6rmfqzY5PO7blXdlEs8gjQ* error, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority);
N_LIB_PRIVATE N_NIMCALL(void, displayDebug__nimblepkgZcli_694)(NimStringDesc* category, NimStringDesc* msg);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
static N_INLINE(void, copyMem__system_1727)(void* dest, void* source, NI size);
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, readLine__systemZio_271)(FILE* f);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuNormalize)(NimStringDesc* s);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
static N_INLINE(NIM_BOOL, equalMem__system_1735)(void* a, void* b, NI size);
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, promptCustom__nimblepkgZcli_706)(tyEnum_ForcePrompt__djMIU0KJ4yj4ST3o49caOhA forcePrompts, NimStringDesc* question, NimStringDesc* default_0);
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isatty__pureZterminal_485)(FILE* f);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, promptListInteractive__nimblepkgZcli_717)(NimStringDesc* question, NimStringDesc** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(void, cursorUp__pureZterminal_215)(FILE* f, NI count);
N_LIB_PRIVATE N_NIMCALL(void, cursorForward__pureZterminal_231)(FILE* f, NI count);
N_LIB_PRIVATE N_NIMCALL(void, hideCursor__pureZterminal_142)(FILE* f);
N_LIB_PRIVATE N_NIMCALL(void, cursorBackward__pureZterminal_244)(FILE* f, NI count);
N_LIB_PRIVATE N_NIMCALL(void, cursorDown__pureZterminal_218)(FILE* f, NI count);
N_LIB_PRIVATE N_NIMCALL(void, resetAttributes__pureZterminal_263)(FILE* f);
N_LIB_PRIVATE N_NIMCALL(void, flushFile__systemZio_226)(FILE* f);
N_LIB_PRIVATE N_NIMCALL(NIM_CHAR, getch__pureZterminal_559)(void);
N_LIB_PRIVATE N_NOINLINE(void, raiseDivByZero)(void);
N_LIB_PRIVATE N_NIMCALL(void, showCursor__pureZterminal_144)(FILE* f);
N_LIB_PRIVATE N_NIMCALL(tyObject_NimbleError__6rmfqzY5PO7blXdlEs8gjQ*, nimbleError__nimblepkgZcommon_26)(NimStringDesc* msg, NimStringDesc* hint, tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* details);
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
N_LIB_PRIVATE N_NIMCALL(void, eraseLine__pureZterminal_257)(FILE* f);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, promptListFallback__nimblepkgZcli_795)(NimStringDesc* question, NimStringDesc** args, NI argsLen_0);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuJoinSep)(NimStringDesc** a, NI aLen_0, NimStringDesc* sep);
N_LIB_PRIVATE N_NIMCALL(NI, nsuCmpIgnoreCase)(NimStringDesc* a, NimStringDesc* b);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuFormatSingleElem)(NimStringDesc* formatstr, NimStringDesc* a);
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___systemZdollars_3)(NI x);
N_LIB_PRIVATE TNimType NTIcli58objecttype__zzWdjRxgHzN9cx4hdZt1OQA_;
N_LIB_PRIVATE TNimType NTIpriority__8lOyDpa4mymX3OHP5fBsAQ_;
N_LIB_PRIVATE TNimType NTIhashset__Aw6ud9bzB8EV26H5bv9bASOQ_;
N_LIB_PRIVATE TNimType NTIkeyvaluepair__IO6xTHa6y0i7uNmStF6URw_;
extern TNimType NTIint__rR5Bzr1D5krxoo1NcNyeMA_;
N_LIB_PRIVATE TNimType NTILstring_stringT__UV3llMMYFckfui8YMBuUZA_;
extern TNimType NTIstring__77mFvmsOLKik79ci2hXkHEg_;
N_LIB_PRIVATE TNimType NTIkeyvaluepairseq__9aUBm188mcn7WjIGymvBT5w_;
extern TNimType NTIbool__VaVACK0bpYmqIQ0mKcHfQQ_;
N_LIB_PRIVATE TNimType NTIcli__dp5BUYb7mW74OXja5LWEeA_;
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_17, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim(54, 10) `category.len <= longestCategory` ", 97);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_19, "$1$2 ", 5);
N_LIB_PRIVATE NIM_CONST tyArray__5nVnDZSK89bs9bbdTEhXWPRQ foregrounds__nimblepkgZcli_44 = {((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 31),
((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 33),
((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 34),
((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 37),
((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 36),
((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 32)}
;
N_LIB_PRIVATE NIM_CONST tyArray__39cyRC9bqhgJ5KqrFdKVb6rw styles__nimblepkgZcli_45 = {2,
2,
0,
1}
;
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_20, "...", 3);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_22, "Details: ", 9);
extern TNimType NTIcatchableerror__qrLSDoe2oBoAqNtJ9badtnA_;
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_23, "Hint: ", 6);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_24, "Error: ", 7);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_25, "Warning: ", 9);
N_LIB_PRIVATE TNimType NTIforceprompt__djMIU0KJ4yj4ST3o49caOhA_;
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_29, "Info: ", 6);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_30, "Debug:", 6);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_31, "Prompt:", 7);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_32, " -> [forced yes]", 16);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_33, " -> [forced no]", 15);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_34, " [y/N]", 6);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_35, "Answer:", 7);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_36, "y", 1);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_37, "yes", 3);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_38, "n", 1);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_39, "no", 2);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_40, "Success: ", 9);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_41, " -> [forced ", 12);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_42, "]", 1);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_43, " [", 2);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_44, "Select", 6);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_45, "Cycle with \'Tab\', \'Enter\' when done", 35);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_46, "Choices:", 8);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_47, "\012", 1);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_49, "> ", 2);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_50, " <", 2);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_51, " ", 2);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_58, "Keyboard interrupt", 18);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_66, "/", 1);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_68, "$1 messages have been suppressed, use --verbose to show them.", 61);
STRING_LITERAL(TM__FcgmG7w9cZrrbXWqFO8NrIw_69, "Tip:", 4);
N_LIB_PRIVATE tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA* globalCLI__nimblepkgZcli_93;
extern TFrame* framePtr__system_2564;
extern TFrame* framePtr__system_2564;
extern TFrame* framePtr__system_2564;
extern TFrame* framePtr__system_2564;
extern TFrame* framePtr__system_2564;
extern TFrame* framePtr__system_2564;
extern tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__system_5246;
static N_NIMCALL(void, Marker_tySequence__9aUBm188mcn7WjIGymvBT5w)(void* p, NI op) {
tySequence__9aUBm188mcn7WjIGymvBT5w* a;
NI T1_;
a = (tySequence__9aUBm188mcn7WjIGymvBT5w*)p;
T1_ = (NI)0;
for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
nimGCvisit((void*)a->data[T1_].Field1.Field0, op);
nimGCvisit((void*)a->data[T1_].Field1.Field1, op);
}
}
static N_NIMCALL(void, Marker_tyRef__dp5BUYb7mW74OXja5LWEeA)(void* p, NI op) {
tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA* a;
a = (tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA*)p;
nimGCvisit((void*)(*a).warnings.data, op);
}
static N_NIMCALL(void, TM__FcgmG7w9cZrrbXWqFO8NrIw_9)(void) {
nimGCvisit((void*)globalCLI__nimblepkgZcli_93, 0);
}
static N_INLINE(void, nimFrame)(TFrame* s) {
{
if (!(framePtr__system_2564 == ((TFrame*) NIM_NIL))) goto LA3_;
(*s).calldepth = ((NI16) 0);
}
goto LA1_;
LA3_: ;
{
(*s).calldepth = (NI16)((*framePtr__system_2564).calldepth + ((NI16) 1));
}
LA1_: ;
(*s).prev = framePtr__system_2564;
framePtr__system_2564 = s;
{
if (!((*s).calldepth == ((NI16) 2000))) goto LA8_;
callDepthLimitReached__system_2997();
}
LA8_: ;
}
static N_INLINE(void, popFrame)(void) {
framePtr__system_2564 = (*framePtr__system_2564).prev;
}
N_LIB_PRIVATE N_NIMCALL(tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA*, newCLI__nimblepkgZcli_64)(void) {
tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA* result;
tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA* T1_;
nimfr_("newCLI", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
result = NIM_NIL;
nimln_(46, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T1_ = NIM_NIL;
T1_ = (tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA*) newObj((&NTIcli__dp5BUYb7mW74OXja5LWEeA_), sizeof(tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA));
(*T1_).level = ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3);
(*T1_).showColor = NIM_TRUE;
result = T1_;
popFrame();
return result;
}
static N_INLINE(NI, pluspercent___system_696)(NI x, NI y) {
NI result;
nimfr_("+%", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/arithmetics.nim");
result = (NI)0;
nimln_(403, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/arithmetics.nim");
nimln_(407, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/arithmetics.nim");
result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y))))));
popFrame();
return result;
}
static N_INLINE(void, incRef__system_5337)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
nimfr_("incRef", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
nimln_(231, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
(*c).refcount = pluspercent___system_696((*c).refcount, ((NI) 8));
popFrame();
}
static N_INLINE(NI, minuspercent___system_716)(NI x, NI y) {
NI result;
nimfr_("-%", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/arithmetics.nim");
result = (NI)0;
nimln_(414, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/arithmetics.nim");
nimln_(418, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/arithmetics.nim");
result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y))))));
popFrame();
return result;
}
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__system_5299)(void* usr) {
tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result;
NI T1_;
nimfr_("usrToCell", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
nimln_(177, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
T1_ = (NI)0;
T1_ = minuspercent___system_716(((NI) (ptrdiff_t) (usr)), ((NI) 16));
result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_));
popFrame();
return result;
}
static N_INLINE(NIM_BOOL, ltpercent___system_1005)(NI x, NI y) {
NIM_BOOL result;
nimfr_("<%", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/comparisons.nim");
result = (NIM_BOOL)0;
nimln_(186, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/comparisons.nim");
nimln_(188, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/comparisons.nim");
result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y))));
popFrame();
return result;
}
static N_INLINE(void, rtlAddZCT__system_5342)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
nimfr_("rtlAddZCT", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
nimln_(243, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
addZCT__system_5293((&gch__system_5246.zct), c);
popFrame();
}
static N_INLINE(void, decRef__system_5344)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
nimfr_("decRef", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
nimln_(248, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
(*c).refcount = minuspercent___system_716((*c).refcount, ((NI) 8));
nimln_(249, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
{
NIM_BOOL T3_;
T3_ = (NIM_BOOL)0;
T3_ = ltpercent___system_1005((*c).refcount, ((NI) 8));
if (!T3_) goto LA4_;
nimln_(250, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
rtlAddZCT__system_5342(c);
}
LA4_: ;
popFrame();
}
static N_INLINE(void, asgnRef)(void** dest, void* src) {
nimfr_("asgnRef", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
nimln_(286, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
{
tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
if (!!((src == NIM_NIL))) goto LA3_;
T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
T5_ = usrToCell__system_5299(src);
incRef__system_5337(T5_);
}
LA3_: ;
nimln_(287, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
{
tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
if (!!(((*dest) == NIM_NIL))) goto LA8_;
T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
T10_ = usrToCell__system_5299((*dest));
decRef__system_5344(T10_);
}
LA8_: ;
nimln_(288, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
(*dest) = src;
popFrame();
}
static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size) {
void* T1_;
T1_ = (void*)0;
T1_ = memset(a, v, ((size_t) (size)));
}
static N_INLINE(void, nimZeroMem)(void* p, NI size) {
nimSetMem__systemZmemory_7(p, ((int) 0), size);
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isSuppressed__nimblepkgZcli_102)(tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA displayType) {
NIM_BOOL result;
nimfr_("isSuppressed", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{ result = (NIM_BOOL)0;
nimln_(60, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
NIM_BOOL T3_;
NIM_BOOL T4_;
T3_ = (NIM_BOOL)0;
T4_ = (NIM_BOOL)0;
T4_ = (*globalCLI__nimblepkgZcli_93).suppressMessages;
if (!(T4_)) goto LA5_;
T4_ = (((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1) <= displayType);
LA5_: ;
T3_ = T4_;
if (!(T3_)) goto LA6_;
nimln_(61, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T3_ = ((*globalCLI__nimblepkgZcli_93).level == ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
LA6_: ;
if (!T3_) goto LA7_;
nimln_(62, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
result = NIM_TRUE;
goto BeforeRet_;
}
LA7_: ;
}BeforeRet_: ;
popFrame();
return result;
}
N_LIB_PRIVATE N_NIMCALL(NI, calculateCategoryOffset__nimblepkgZcli_94)(NimStringDesc* category) {
NI result;
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_18;
nimfr_("calculateCategoryOffset", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{ result = (NI)0;
nimln_(54, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
if (!!(((category ? category->Sup.len : 0) <= ((NI) 11)))) goto LA3_;
failedAssertImpl__systemZassertions_56(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_17));
}
LA3_: ;
nimln_(55, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
if (nimSubInt(((NI) 11), (category ? category->Sup.len : 0), &TM__FcgmG7w9cZrrbXWqFO8NrIw_18)) { raiseOverflow(); };
result = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_18);
goto BeforeRet_;
}BeforeRet_: ;
popFrame();
return result;
}
static N_INLINE(NimStringDesc*, spaces__pureZstrutils_1035)(NI n) {
NimStringDesc* result;
nimfr_("spaces", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strutils.nim");
result = NIM_NIL;
nimln_(1275, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strutils.nim");
nimln_(1292, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strutils.nim");
result = nsuRepeatChar(32, n);
popFrame();
return result;
}
N_LIB_PRIVATE N_NIMCALL(void, displayCategory__nimblepkgZcli_114)(NimStringDesc* category, tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA displayType, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority) {
NI offset;
NimStringDesc* text;
tyArray__Re75IspeoxXy2oCZHwcRrA T6_;
nimfr_("displayCategory", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{ nimln_(66, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
NIM_BOOL T3_;
T3_ = (NIM_BOOL)0;
T3_ = isSuppressed__nimblepkgZcli_102(displayType);
if (!T3_) goto LA4_;
nimln_(67, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
goto BeforeRet_;
}
LA4_: ;
nimln_(71, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
offset = calculateCategoryOffset__nimblepkgZcli_94(category);
nimln_(74, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimZeroMem((void*)T6_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
if ((offset) < ((NI) 0) || (offset) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(offset, ((NI) 0), ((NI) IL64(9223372036854775807))); }
T6_[0] = spaces__pureZstrutils_1035(((NI) (offset)));
T6_[1] = copyString(category);
text = nsuFormatOpenArray(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_19), T6_, 2);
nimln_(75, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
if (!(*globalCLI__nimblepkgZcli_93).showColor) goto LA9_;
nimln_(76, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
if (!!((priority == ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 0)))) goto LA13_;
nimln_(77, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
setForegroundColor__pureZterminal_370(stdout, foregrounds__nimblepkgZcli_44[(displayType)- 0], NIM_FALSE);
}
LA13_: ;
nimln_(78, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
if ((NU)(priority) > (NU)(3)){ raiseIndexError2(priority, 3); }
writeStyled__pureZterminal_339(text, styles__nimblepkgZcli_45[(priority)- 0]);
nimln_(79, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
resetAttributes__pureZterminal_603();
}
goto LA7_;
LA9_: ;
{
nimln_(81, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
write__systemZio_205(stdout, text);
}
LA7_: ;
}BeforeRet_: ;
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, displayLine__nimblepkgZcli_151)(NimStringDesc* category, NimStringDesc* line, tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA displayType, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority) {
tyArray__nHXaesL0DJZHyVS07ARPRA T6_;
nimfr_("displayLine", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{ nimln_(85, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
NIM_BOOL T3_;
T3_ = (NIM_BOOL)0;
T3_ = isSuppressed__nimblepkgZcli_102(displayType);
if (!T3_) goto LA4_;
nimln_(86, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
goto BeforeRet_;
}
LA4_: ;
nimln_(88, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
displayCategory__nimblepkgZcli_114(category, displayType, priority);
nimln_(91, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimZeroMem((void*)T6_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
T6_[0] = copyString(line);
echoBinSafe(T6_, 1);
}BeforeRet_: ;
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, display__nimblepkgZcli_156)(NimStringDesc* category, NimStringDesc* msg, tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA displayType, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority) {
tyTuple__UV3llMMYFckfui8YMBuUZA warningPair;
NI i;
nimfr_("display", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{ nimZeroMem((void*)(&warningPair), sizeof(tyTuple__UV3llMMYFckfui8YMBuUZA));
nimln_(96, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
warningPair.Field0 = copyString(category);
warningPair.Field1 = copyString(msg);
nimln_(97, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
if (!(displayType == ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1))) goto LA3_;
nimln_(98, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
NIM_BOOL T7_;
T7_ = (NIM_BOOL)0;
T7_ = contains__nimblepkgZcli_180((*globalCLI__nimblepkgZcli_93).warnings, warningPair);
if (!T7_) goto LA8_;
nimln_(99, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
goto BeforeRet_;
}
goto LA5_;
LA8_: ;
{
nimln_(101, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
incl__nimblepkgZcli_294((&(*globalCLI__nimblepkgZcli_93).warnings), warningPair);
}
LA5_: ;
}
LA3_: ;
nimln_(105, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
if (!(priority < (*globalCLI__nimblepkgZcli_93).level)) goto LA13_;
nimln_(106, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_10;
if (!!((priority == ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 0)))) goto LA17_;
nimln_(107, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
if (nimAddInt((*globalCLI__nimblepkgZcli_93).suppressionCount, ((NI) 1), &TM__FcgmG7w9cZrrbXWqFO8NrIw_10)) { raiseOverflow(); };
(*globalCLI__nimblepkgZcli_93).suppressionCount = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_10);
}
LA17_: ;
nimln_(108, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
goto BeforeRet_;
}
LA13_: ;
nimln_(111, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
i = ((NI) 0);
{
NimStringDesc* line;
NI first;
NI last;
NI eolpos;
line = NIM_NIL;
nimln_(629, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strutils.nim");
first = ((NI) 0);
nimln_(630, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strutils.nim");
last = ((NI) 0);
nimln_(631, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strutils.nim");
eolpos = ((NI) 0);
{
nimln_(632, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strutils.nim");
while (1) {
NI T43_;
{
nimln_(633, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strutils.nim");
while (1) {
NIM_BOOL T24_;
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_11;
T24_ = (NIM_BOOL)0;
T24_ = (last < (msg ? msg->Sup.len : 0));
if (!(T24_)) goto LA25_;
if (last < 0 || last >= (msg ? msg->Sup.len : 0)){ raiseIndexError2(last,(msg ? msg->Sup.len : 0)-1); }
T24_ = !((((NU8)(msg->data[last])) == ((NU8)(13)) || ((NU8)(msg->data[last])) == ((NU8)(10))));
LA25_: ;
if (!T24_) goto LA23;
if (nimAddInt(last, ((NI) 1), &TM__FcgmG7w9cZrrbXWqFO8NrIw_11)) { raiseOverflow(); };
last = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_11);
} LA23: ;
}
nimln_(635, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strutils.nim");
eolpos = last;
nimln_(636, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strutils.nim");
{
if (!(last < (msg ? msg->Sup.len : 0))) goto LA28_;
nimln_(637, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strutils.nim");
{
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_12;
if (last < 0 || last >= (msg ? msg->Sup.len : 0)){ raiseIndexError2(last,(msg ? msg->Sup.len : 0)-1); }
if (!((NU8)(msg->data[last]) == (NU8)(10))) goto LA32_;
if (nimAddInt(last, ((NI) 1), &TM__FcgmG7w9cZrrbXWqFO8NrIw_12)) { raiseOverflow(); };
last = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_12);
}
goto LA30_;
LA32_: ;
{
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_13;
nimln_(638, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strutils.nim");
if (last < 0 || last >= (msg ? msg->Sup.len : 0)){ raiseIndexError2(last,(msg ? msg->Sup.len : 0)-1); }
if (!((NU8)(msg->data[last]) == (NU8)(13))) goto LA35_;
nimln_(639, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strutils.nim");
if (nimAddInt(last, ((NI) 1), &TM__FcgmG7w9cZrrbXWqFO8NrIw_13)) { raiseOverflow(); };
last = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_13);
nimln_(640, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strutils.nim");
{
NIM_BOOL T39_;
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_14;
T39_ = (NIM_BOOL)0;
T39_ = (last < (msg ? msg->Sup.len : 0));
if (!(T39_)) goto LA40_;
if (last < 0 || last >= (msg ? msg->Sup.len : 0)){ raiseIndexError2(last,(msg ? msg->Sup.len : 0)-1); }
T39_ = ((NU8)(msg->data[last]) == (NU8)(10));
LA40_: ;
if (!T39_) goto LA41_;
if (nimAddInt(last, ((NI) 1), &TM__FcgmG7w9cZrrbXWqFO8NrIw_14)) { raiseOverflow(); };
last = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_14);
}
LA41_: ;
}
goto LA30_;
LA35_: ;
LA30_: ;
}
LA28_: ;
nimln_(112, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T43_ = (NI)0;
nimln_(642, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strutils.nim");
{
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_15;
if (!NIM_FALSE) goto LA46_;
if (nimSubInt(last, ((NI) 1), &TM__FcgmG7w9cZrrbXWqFO8NrIw_15)) { raiseOverflow(); };
T43_ = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_15);
}
goto LA44_;
LA46_: ;
{
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_16;
if (nimSubInt(eolpos, ((NI) 1), &TM__FcgmG7w9cZrrbXWqFO8NrIw_16)) { raiseOverflow(); };
T43_ = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_16);
}
LA44_: ;
nimln_(112, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
line = substr__system_7790(msg, first, T43_);
{
NimStringDesc* T54_;
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_21;
nimln_(113, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
if (!((line ? line->Sup.len : 0) == ((NI) 0))) goto LA52_;
goto LA49;
}
LA52_: ;
nimln_(114, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T54_ = NIM_NIL;
{
if (!(i == ((NI) 0))) goto LA57_;
T54_ = copyString(category);
}
goto LA55_;
LA57_: ;
{
T54_ = copyString(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_20));
}
LA55_: ;
displayLine__nimblepkgZcli_151(T54_, line, displayType, priority);
nimln_(115, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
if (nimAddInt(i, ((NI) 1), &TM__FcgmG7w9cZrrbXWqFO8NrIw_21)) { raiseOverflow(); };
i = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_21);
} LA49: ;
nimln_(645, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strutils.nim");
{
if (!(eolpos == last)) goto LA62_;
nimln_(646, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strutils.nim");
goto LA20;
}
LA62_: ;
nimln_(648, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strutils.nim");
first = last;
}
} LA20: ;
}
}BeforeRet_: ;
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, displayDetails__nimblepkgZcli_635)(NimStringDesc* message, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority) {
nimfr_("displayDetails", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(124, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
display__nimblepkgZcli_156(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_22), message, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 2), priority);
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, displayDetails__nimblepkgZcli_649)(tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* error, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority) {
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errorIt;
nimfr_("displayDetails", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(138, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
displayDetails__nimblepkgZcli_635((*error).Sup.message, priority);
nimln_(139, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
errorIt = error;
nimln_(140, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
if (!!(((*errorIt).Sup.parent == ((Exception*) NIM_NIL)))) goto LA3_;
nimln_(141, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
if ((*errorIt).Sup.parent && !isObj((*(*errorIt).Sup.parent).Sup.m_type, (&NTIcatchableerror__qrLSDoe2oBoAqNtJ9badtnA_))){ raiseObjectConversionError(); }
displayDetails__nimblepkgZcli_657((*((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA**) (&((*errorIt).Sup.parent)))), priority);
}
LA3_: ;
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, displayHint__nimblepkgZcli_632)(NimStringDesc* message, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority) {
nimfr_("displayHint", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(121, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
display__nimblepkgZcli_156(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_23), message, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 3), priority);
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, displayDetails__nimblepkgZcli_658)(tyObject_NimbleError__6rmfqzY5PO7blXdlEs8gjQ* error, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority) {
nimfr_("displayDetails", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(144, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
displayDetails__nimblepkgZcli_649(&error->Sup, priority);
nimln_(145, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
displayHint__nimblepkgZcli_632((*error).hint, priority);
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, displayError__nimblepkgZcli_641)(NimStringDesc* message, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority) {
nimfr_("displayError", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(130, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
display__nimblepkgZcli_156(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_24), message, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 0), priority);
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, displayError__nimblepkgZcli_661)(tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* error, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority) {
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errorIt;
nimfr_("displayError", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(138, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
displayError__nimblepkgZcli_641((*error).Sup.message, priority);
nimln_(139, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
errorIt = error;
nimln_(140, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
if (!!(((*errorIt).Sup.parent == ((Exception*) NIM_NIL)))) goto LA3_;
nimln_(141, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
if ((*errorIt).Sup.parent && !isObj((*(*errorIt).Sup.parent).Sup.m_type, (&NTIcatchableerror__qrLSDoe2oBoAqNtJ9badtnA_))){ raiseObjectConversionError(); }
displayDetails__nimblepkgZcli_657((*((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA**) (&((*errorIt).Sup.parent)))), priority);
}
LA3_: ;
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, displayError__nimblepkgZcli_670)(tyObject_NimbleError__6rmfqzY5PO7blXdlEs8gjQ* error, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority) {
nimfr_("displayError", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(144, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
displayError__nimblepkgZcli_661(&error->Sup, priority);
nimln_(145, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
displayHint__nimblepkgZcli_632((*error).hint, priority);
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, displayWarning__nimblepkgZcli_629)(NimStringDesc* message, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority) {
nimfr_("displayWarning", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(118, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
display__nimblepkgZcli_156(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_25), message, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1), priority);
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, displayWarning__nimblepkgZcli_673)(tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* error, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority) {
tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* errorIt;
nimfr_("displayWarning", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(138, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
displayWarning__nimblepkgZcli_629((*error).Sup.message, priority);
nimln_(139, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
errorIt = error;
nimln_(140, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
if (!!(((*errorIt).Sup.parent == ((Exception*) NIM_NIL)))) goto LA3_;
nimln_(141, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
if ((*errorIt).Sup.parent && !isObj((*(*errorIt).Sup.parent).Sup.m_type, (&NTIcatchableerror__qrLSDoe2oBoAqNtJ9badtnA_))){ raiseObjectConversionError(); }
displayDetails__nimblepkgZcli_657((*((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA**) (&((*errorIt).Sup.parent)))), priority);
}
LA3_: ;
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, displayWarning__nimblepkgZcli_682)(tyObject_NimbleError__6rmfqzY5PO7blXdlEs8gjQ* error, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority) {
nimfr_("displayWarning", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(144, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
displayWarning__nimblepkgZcli_673(&error->Sup, priority);
nimln_(145, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
displayHint__nimblepkgZcli_632((*error).hint, priority);
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, setVerbosity__nimblepkgZcli_808)(tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ level) {
nimfr_("setVerbosity", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(305, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
(*globalCLI__nimblepkgZcli_93).level = level;
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, setShowColor__nimblepkgZcli_810)(NIM_BOOL val) {
nimfr_("setShowColor", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(308, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
(*globalCLI__nimblepkgZcli_93).showColor = val;
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, displayInfo__nimblepkgZcli_644)(NimStringDesc* message, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority) {
nimfr_("displayInfo", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(133, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
display__nimblepkgZcli_156(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_29), message, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 4), priority);
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, displayDebug__nimblepkgZcli_694)(NimStringDesc* category, NimStringDesc* msg) {
nimfr_("displayDebug", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(153, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
display__nimblepkgZcli_156(category, msg, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 4), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 0));
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, displayDebug__nimblepkgZcli_697)(NimStringDesc* msg) {
nimfr_("displayDebug", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(157, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
displayDebug__nimblepkgZcli_694(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_30), msg);
popFrame();
}
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) {
void* T1_;
T1_ = (void*)0;
T1_ = memcpy(dest, source, ((size_t) (size)));
}
static N_INLINE(void, copyMem__system_1727)(void* dest, void* source, NI size) {
nimCopyMem(dest, source, size);
}
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
{
if (!!((src == ((NimStringDesc*) NIM_NIL)))) goto LA3_;
copyMem__system_1727(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
(*dest).Sup.len += (*src).Sup.len;
}
LA3_: ;
}
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size) {
int result;
result = (int)0;
result = memcmp(a, b, ((size_t) (size)));
return result;
}
static N_INLINE(NIM_BOOL, equalMem__system_1735)(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;
nimfr_("eqStrings", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/strmantle.nim");
{ result = (NIM_BOOL)0;
nimln_(27, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/strmantle.nim");
alen = (a ? a->Sup.len : 0);
nimln_(28, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/strmantle.nim");
blen = (b ? b->Sup.len : 0);
nimln_(29, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/strmantle.nim");
{
if (!(alen == blen)) goto LA3_;
nimln_(30, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/strmantle.nim");
{
if (!(alen == ((NI) 0))) goto LA7_;
result = NIM_TRUE;
goto BeforeRet_;
}
LA7_: ;
nimln_(31, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/strmantle.nim");
result = equalMem__system_1735(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen)));
goto BeforeRet_;
}
LA3_: ;
}BeforeRet_: ;
popFrame();
return result;
}
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, prompt__nimblepkgZcli_701)(tyEnum_ForcePrompt__djMIU0KJ4yj4ST3o49caOhA forcePrompts, NimStringDesc* question) {
NIM_BOOL result;
nimfr_("prompt", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{ result = (NIM_BOOL)0;
nimln_(168, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
switch (forcePrompts) {
case ((tyEnum_ForcePrompt__djMIU0KJ4yj4ST3o49caOhA) 1):
{
NimStringDesc* T2_;
nimln_(170, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T2_ = NIM_NIL;
T2_ = rawNewString((question ? question->Sup.len : 0) + 16);
appendString(T2_, question);
appendString(T2_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_32));
display__nimblepkgZcli_156(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_31), T2_, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
nimln_(171, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
result = NIM_TRUE;
goto BeforeRet_;
}
break;
case ((tyEnum_ForcePrompt__djMIU0KJ4yj4ST3o49caOhA) 2):
{
NimStringDesc* T4_;
nimln_(173, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T4_ = NIM_NIL;
T4_ = rawNewString((question ? question->Sup.len : 0) + 15);
appendString(T4_, question);
appendString(T4_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_33));
display__nimblepkgZcli_156(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_31), T4_, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
nimln_(174, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
result = NIM_FALSE;
goto BeforeRet_;
}
break;
case ((tyEnum_ForcePrompt__djMIU0KJ4yj4ST3o49caOhA) 0):
{
NimStringDesc* T6_;
NimStringDesc* yn;
NimStringDesc* T7_;
nimln_(176, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T6_ = NIM_NIL;
T6_ = rawNewString((question ? question->Sup.len : 0) + 6);
appendString(T6_, question);
appendString(T6_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_34));
display__nimblepkgZcli_156(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_31), T6_, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
nimln_(177, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
displayCategory__nimblepkgZcli_114(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_35), ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
nimln_(178, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
yn = readLine__systemZio_271(stdin);
nimln_(179, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T7_ = NIM_NIL;
T7_ = nsuNormalize(yn);
if (eqStrings(T7_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_36))) goto LA8_;
if (eqStrings(T7_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_37))) goto LA8_;
if (eqStrings(T7_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_38))) goto LA9_;
if (eqStrings(T7_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_39))) goto LA9_;
goto LA10_;
LA8_: ;
{
nimln_(181, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
result = NIM_TRUE;
goto BeforeRet_;
}
goto LA11_;
LA9_: ;
{
nimln_(183, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
result = NIM_FALSE;
goto BeforeRet_;
}
goto LA11_;
LA10_: ;
{
nimln_(185, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
result = NIM_FALSE;
goto BeforeRet_;
}
LA11_: ;
}
break;
}
}BeforeRet_: ;
popFrame();
return result;
}
N_LIB_PRIVATE N_NIMCALL(void, displaySuccess__nimblepkgZcli_638)(NimStringDesc* message, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority) {
nimfr_("displaySuccess", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(127, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
display__nimblepkgZcli_156(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_40), message, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 5), priority);
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, setSuppressMessages__nimblepkgZcli_812)(NIM_BOOL val) {
nimfr_("setSuppressMessages", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(311, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
(*globalCLI__nimblepkgZcli_93).suppressMessages = val;
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, promptCustom__nimblepkgZcli_706)(tyEnum_ForcePrompt__djMIU0KJ4yj4ST3o49caOhA forcePrompts, NimStringDesc* question, NimStringDesc* default_0) {
NimStringDesc* result;
nimfr_("promptCustom", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{ result = NIM_NIL;
nimln_(188, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
switch (forcePrompts) {
case ((tyEnum_ForcePrompt__djMIU0KJ4yj4ST3o49caOhA) 1):
{
NimStringDesc* T2_;
nimln_(190, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T2_ = NIM_NIL;
T2_ = rawNewString((question ? question->Sup.len : 0) + (default_0 ? default_0->Sup.len : 0) + 13);
appendString(T2_, question);
appendString(T2_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_41));
appendString(T2_, default_0);
appendString(T2_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_42));
display__nimblepkgZcli_156(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_31), T2_, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
nimln_(192, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
result = copyString(default_0);
goto BeforeRet_;
}
break;
default:
{
nimln_(194, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
NimStringDesc* user;
if (!((default_0 ? default_0->Sup.len : 0) == 0)) goto LA6_;
nimln_(195, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
display__nimblepkgZcli_156(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_31), question, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
nimln_(196, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
displayCategory__nimblepkgZcli_114(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_35), ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
nimln_(197, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
user = readLine__systemZio_271(stdin);
nimln_(198, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
if (!((user ? user->Sup.len : 0) == ((NI) 0))) goto LA10_;
result = promptCustom__nimblepkgZcli_706(forcePrompts, question, default_0);
goto BeforeRet_;
}
goto LA8_;
LA10_: ;
{
nimln_(199, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
result = copyString(user);
goto BeforeRet_;
}
LA8_: ;
}
goto LA4_;
LA6_: ;
{
NimStringDesc* T14_;
NimStringDesc* user_2;
nimln_(201, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T14_ = NIM_NIL;
T14_ = rawNewString((question ? question->Sup.len : 0) + (default_0 ? default_0->Sup.len : 0) + 3);
appendString(T14_, question);
appendString(T14_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_43));
appendString(T14_, default_0);
appendString(T14_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_42));
display__nimblepkgZcli_156(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_31), T14_, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
nimln_(202, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
displayCategory__nimblepkgZcli_114(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_35), ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
nimln_(203, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
user_2 = readLine__systemZio_271(stdin);
nimln_(204, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
if (!((user_2 ? user_2->Sup.len : 0) == 0)) goto LA17_;
result = copyString(default_0);
goto BeforeRet_;
}
goto LA15_;
LA17_: ;
{
nimln_(205, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
result = copyString(user_2);
goto BeforeRet_;
}
LA15_: ;
}
LA4_: ;
}
break;
}
}BeforeRet_: ;
popFrame();
return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, promptListInteractive__nimblepkgZcli_717)(NimStringDesc* question, NimStringDesc** args, NI argsLen_0) {
NimStringDesc* result;
NI current;
NIM_BOOL selected;
nimfr_("promptListInteractive", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{ result = NIM_NIL;
nimln_(211, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
display__nimblepkgZcli_156(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_31), question, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
nimln_(212, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
display__nimblepkgZcli_156(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_44), ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_45), ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 4), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
nimln_(214, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
displayCategory__nimblepkgZcli_114(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_46), ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
nimln_(216, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
current = ((NI) 0);
nimln_(217, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
selected = NIM_FALSE;
{
NimStringDesc** arg;
NI i;
arg = (NimStringDesc**)0;
nimln_(8, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
i = ((NI) 0);
{
nimln_(9, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
while (1) {
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_48;
if (!(i < argsLen_0)) goto LA3;
nimln_(219, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
if (i < 0 || i >= argsLen_0){ raiseIndexError2(i,argsLen_0-1); }
arg = (&args[i]);
write__systemZio_205(stdout, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_47));
nimln_(11, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
if (nimAddInt(i, ((NI) 1), &TM__FcgmG7w9cZrrbXWqFO8NrIw_48)) { raiseOverflow(); };
i = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_48);
} LA3: ;
}
}
nimln_(222, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
cursorUp__pureZterminal_215(stdout, argsLen_0);
nimln_(223, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
cursorForward__pureZterminal_231(stdout, ((NI) 11));
nimln_(224, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
hideCursor__pureZterminal_142(stdout);
{
nimln_(227, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
while (1) {
if (!!(selected)) goto LA5;
nimln_(228, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
setForegroundColor__pureZterminal_370(stdout, ((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 39), NIM_FALSE);
{
NI i_2;
NimStringDesc* arg_2;
NI i_3;
i_2 = (NI)0;
arg_2 = NIM_NIL;
nimln_(134, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
i_3 = ((NI) 0);
{
nimln_(135, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
while (1) {
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_54;
if (!(i_3 < argsLen_0)) goto LA8;
nimln_(230, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
i_2 = i_3;
if (i_3 < 0 || i_3 >= argsLen_0){ raiseIndexError2(i_3,argsLen_0-1); }
arg_2 = args[i_3];
{
NimStringDesc* T13_;
nimln_(232, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
if (!(i_2 == current)) goto LA11_;
nimln_(233, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T13_ = NIM_NIL;
T13_ = rawNewString((arg_2 ? arg_2->Sup.len : 0) + 4);
appendString(T13_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_49));
appendString(T13_, arg_2);
appendString(T13_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_50));
writeStyled__pureZterminal_339(T13_, 1);
}
goto LA9_;
LA11_: ;
{
NimStringDesc* T15_;
nimln_(235, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T15_ = NIM_NIL;
T15_ = rawNewString((arg_2 ? arg_2->Sup.len : 0) + 4);
appendString(T15_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_51));
appendString(T15_, arg_2);
appendString(T15_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_51));
writeStyled__pureZterminal_339(T15_, 2);
}
LA9_: ;
{
NI s;
NI colontmp_;
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_52;
NI i_4;
s = (NI)0;
colontmp_ = (NI)0;
nimln_(237, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
if (nimAddInt((arg_2 ? arg_2->Sup.len : 0), ((NI) 4), &TM__FcgmG7w9cZrrbXWqFO8NrIw_52)) { raiseOverflow(); };
colontmp_ = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_52);
nimln_(119, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators_1.nim");
i_4 = ((NI) 0);
{
nimln_(120, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators_1.nim");
while (1) {
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_53;
if (!(i_4 < colontmp_)) goto LA18;
nimln_(237, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
s = i_4;
cursorBackward__pureZterminal_244(stdout, ((NI) 1));
nimln_(122, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators_1.nim");
if (nimAddInt(i_4, ((NI) 1), &TM__FcgmG7w9cZrrbXWqFO8NrIw_53)) { raiseOverflow(); };
i_4 = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_53);
} LA18: ;
}
}
nimln_(230, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
cursorDown__pureZterminal_218(stdout, ((NI) 1));
nimln_(137, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
if (nimAddInt(i_3, ((NI) 1), &TM__FcgmG7w9cZrrbXWqFO8NrIw_54)) { raiseOverflow(); };
i_3 = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_54);
} LA8: ;
}
}
{
NI i_5;
NI colontmp__2;
NI i_6;
i_5 = (NI)0;
colontmp__2 = (NI)0;
nimln_(242, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
colontmp__2 = argsLen_0;
nimln_(119, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators_1.nim");
i_6 = ((NI) 0);
{
nimln_(120, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators_1.nim");
while (1) {
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_55;
if (!(i_6 < colontmp__2)) goto LA21;
nimln_(242, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
i_5 = i_6;
cursorUp__pureZterminal_215(stdout, ((NI) 1));
nimln_(122, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators_1.nim");
if (nimAddInt(i_6, ((NI) 1), &TM__FcgmG7w9cZrrbXWqFO8NrIw_55)) { raiseOverflow(); };
i_6 = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_55);
} LA21: ;
}
}
nimln_(244, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
resetAttributes__pureZterminal_263(stdout);
nimln_(247, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
flushFile__systemZio_226(stdout);
{
nimln_(249, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
while (1) {
{
NIM_CHAR T25_;
nimln_(250, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T25_ = (NIM_CHAR)0;
T25_ = getch__pureZterminal_559();
switch (((NU8)(T25_))) {
case 9:
{
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_56;
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_57;
nimln_(252, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
if (nimAddInt(current, ((NI) 1), &TM__FcgmG7w9cZrrbXWqFO8NrIw_56)) { raiseOverflow(); };
if (argsLen_0 == 0){ raiseDivByZero(); }
if (nimModInt((NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_56), argsLen_0, &TM__FcgmG7w9cZrrbXWqFO8NrIw_57)) { raiseOverflow(); };
current = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_57);
nimln_(253, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
goto LA22;
}
break;
case 13:
{
nimln_(255, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
selected = NIM_TRUE;
nimln_(256, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
goto LA22;
}
break;
case 3:
{
tyObject_NimbleError__6rmfqzY5PO7blXdlEs8gjQ* T29_;
nimln_(258, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
showCursor__pureZterminal_144(stdout);
nimln_(259, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T29_ = NIM_NIL;
T29_ = nimbleError__nimblepkgZcommon_26(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_58), ((NimStringDesc*) NIM_NIL), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) NIM_NIL));
raiseExceptionEx((Exception*)T29_, "NimbleError", "promptListInteractive", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim", 259);
}
break;
case 27:
{
NIM_CHAR T36_;
nimln_(261, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
NIM_CHAR T33_;
T33_ = (NIM_CHAR)0;
T33_ = getch__pureZterminal_559();
if (!!(((NU8)(T33_) == (NU8)(91)))) goto LA34_;
goto LA24;
}
LA34_: ;
nimln_(262, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T36_ = (NIM_CHAR)0;
T36_ = getch__pureZterminal_559();
switch (((NU8)(T36_))) {
case 65:
{
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_59;
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_60;
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_61;
nimln_(264, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
if (nimAddInt(argsLen_0, current, &TM__FcgmG7w9cZrrbXWqFO8NrIw_59)) { raiseOverflow(); };
if (nimSubInt((NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_59), ((NI) 1), &TM__FcgmG7w9cZrrbXWqFO8NrIw_60)) { raiseOverflow(); };
if (argsLen_0 == 0){ raiseDivByZero(); }
if (nimModInt((NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_60), argsLen_0, &TM__FcgmG7w9cZrrbXWqFO8NrIw_61)) { raiseOverflow(); };
current = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_61);
nimln_(265, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
goto LA22;
}
break;
case 66:
{
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_62;
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_63;
nimln_(267, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
if (nimAddInt(current, ((NI) 1), &TM__FcgmG7w9cZrrbXWqFO8NrIw_62)) { raiseOverflow(); };
if (argsLen_0 == 0){ raiseDivByZero(); }
if (nimModInt((NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_62), argsLen_0, &TM__FcgmG7w9cZrrbXWqFO8NrIw_63)) { raiseOverflow(); };
current = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_63);
nimln_(268, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
goto LA22;
}
break;
default:
{
}
break;
}
}
break;
default:
{
}
break;
}
} LA24: ;
}
} LA22: ;
} LA5: ;
}
{
NI i_7;
NI colontmp__3;
NI i_8;
i_7 = (NI)0;
colontmp__3 = (NI)0;
nimln_(273, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
colontmp__3 = argsLen_0;
nimln_(119, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators_1.nim");
i_8 = ((NI) 0);
{
nimln_(120, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators_1.nim");
while (1) {
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_64;
if (!(i_8 < colontmp__3)) goto LA43;
nimln_(273, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
i_7 = i_8;
eraseLine__pureZterminal_257(stdout);
cursorDown__pureZterminal_218(stdout, ((NI) 1));
nimln_(122, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators_1.nim");
if (nimAddInt(i_8, ((NI) 1), &TM__FcgmG7w9cZrrbXWqFO8NrIw_64)) { raiseOverflow(); };
i_8 = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_64);
} LA43: ;
}
}
{
NI i_9;
NI colontmp__4;
NI i_10;
i_9 = (NI)0;
colontmp__4 = (NI)0;
nimln_(277, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
colontmp__4 = argsLen_0;
nimln_(119, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators_1.nim");
i_10 = ((NI) 0);
{
nimln_(120, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators_1.nim");
while (1) {
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_65;
if (!(i_10 < colontmp__4)) goto LA46;
nimln_(277, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
i_9 = i_10;
cursorUp__pureZterminal_215(stdout, ((NI) 1));
nimln_(122, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators_1.nim");
if (nimAddInt(i_10, ((NI) 1), &TM__FcgmG7w9cZrrbXWqFO8NrIw_65)) { raiseOverflow(); };
i_10 = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_65);
} LA46: ;
}
}
nimln_(279, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
showCursor__pureZterminal_144(stdout);
nimln_(280, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
if (current < 0 || current >= argsLen_0){ raiseIndexError2(current,argsLen_0-1); }
display__nimblepkgZcli_156(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_35), args[current], ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
nimln_(281, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
if (current < 0 || current >= argsLen_0){ raiseIndexError2(current,argsLen_0-1); }
result = copyString(args[current]);
goto BeforeRet_;
}BeforeRet_: ;
popFrame();
return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, promptListFallback__nimblepkgZcli_795)(NimStringDesc* question, NimStringDesc** args, NI argsLen_0) {
NimStringDesc* result;
NimStringDesc* T1_;
NimStringDesc* T2_;
nimfr_("promptListFallback", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{ result = NIM_NIL;
nimln_(284, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T1_ = NIM_NIL;
T2_ = NIM_NIL;
T2_ = nsuJoinSep(args, argsLen_0, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_66));
T1_ = rawNewString((question ? question->Sup.len : 0) + (T2_ ? T2_->Sup.len : 0) + 3);
appendString(T1_, question);
appendString(T1_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_43));
appendString(T1_, T2_);
appendString(T1_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_42));
display__nimblepkgZcli_156(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_31), T1_, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
nimln_(286, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
displayCategory__nimblepkgZcli_114(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_35), ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
nimln_(287, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
result = readLine__systemZio_271(stdin);
{
NimStringDesc** arg;
NI i;
arg = (NimStringDesc**)0;
nimln_(8, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
i = ((NI) 0);
{
nimln_(9, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
while (1) {
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_67;
if (!(i < argsLen_0)) goto LA5;
nimln_(288, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
if (i < 0 || i >= argsLen_0){ raiseIndexError2(i,argsLen_0-1); }
arg = (&args[i]);
{
NI T8_;
nimln_(289, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T8_ = (NI)0;
T8_ = nsuCmpIgnoreCase((*arg), result);
if (!(T8_ == ((NI) 0))) goto LA9_;
nimln_(290, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
result = copyString((*arg));
goto BeforeRet_;
}
LA9_: ;
nimln_(11, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
if (nimAddInt(i, ((NI) 1), &TM__FcgmG7w9cZrrbXWqFO8NrIw_67)) { raiseOverflow(); };
i = (NI)(TM__FcgmG7w9cZrrbXWqFO8NrIw_67);
} LA5: ;
}
}
}BeforeRet_: ;
popFrame();
return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, promptList__nimblepkgZcli_803)(tyEnum_ForcePrompt__djMIU0KJ4yj4ST3o49caOhA forcePrompts, NimStringDesc* question, NimStringDesc** args, NI argsLen_0) {
NimStringDesc* result;
nimfr_("promptList", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{ result = NIM_NIL;
nimln_(293, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
switch (forcePrompts) {
case ((tyEnum_ForcePrompt__djMIU0KJ4yj4ST3o49caOhA) 1):
{
NimStringDesc* T2_;
nimln_(295, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
if (((NI) 0) < 0 || ((NI) 0) >= argsLen_0){ raiseIndexError2(((NI) 0),argsLen_0-1); }
result = copyString(args[((NI) 0)]);
nimln_(296, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T2_ = NIM_NIL;
T2_ = rawNewString((question ? question->Sup.len : 0) + (result ? result->Sup.len : 0) + 13);
appendString(T2_, question);
appendString(T2_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_41));
appendString(T2_, result);
appendString(T2_, ((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_42));
display__nimblepkgZcli_156(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_31), T2_, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
}
break;
default:
{
nimln_(299, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
NIM_BOOL T6_;
T6_ = (NIM_BOOL)0;
T6_ = isatty__pureZterminal_485(stdout);
if (!T6_) goto LA7_;
nimln_(300, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
result = promptListInteractive__nimblepkgZcli_717(question, args, argsLen_0);
goto BeforeRet_;
}
goto LA4_;
LA7_: ;
{
nimln_(302, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
result = promptListFallback__nimblepkgZcli_795(question, args, argsLen_0);
goto BeforeRet_;
}
LA4_: ;
}
break;
}
}BeforeRet_: ;
popFrame();
return result;
}
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, promptCustom__nimblepkgZcli_713)(NimStringDesc* question, NimStringDesc* default_0) {
NimStringDesc* result;
nimfr_("promptCustom", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{ result = NIM_NIL;
nimln_(208, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
result = promptCustom__nimblepkgZcli_706(((tyEnum_ForcePrompt__djMIU0KJ4yj4ST3o49caOhA) 0), question, default_0);
goto BeforeRet_;
}BeforeRet_: ;
popFrame();
return result;
}
N_LIB_PRIVATE N_NIMCALL(void, displayTip__nimblepkgZcli_699)(void) {
nimfr_("displayTip", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(162, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
{
NimStringDesc* msg;
NimStringDesc* T5_;
if (!(((NI) 0) < (*globalCLI__nimblepkgZcli_93).suppressionCount)) goto LA3_;
nimln_(163, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(164, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
T5_ = NIM_NIL;
T5_ = dollar___systemZdollars_3((*globalCLI__nimblepkgZcli_93).suppressionCount);
nimln_(163, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
msg = nsuFormatSingleElem(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_68), T5_);
nimln_(165, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
display__nimblepkgZcli_156(((NimStringDesc*) &TM__FcgmG7w9cZrrbXWqFO8NrIw_69), msg, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 1), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
}
LA3_: ;
popFrame();
}
N_LIB_PRIVATE N_NIMCALL(void, atmnimblepkgatsclidotnim_Init000)(void) {
{
TFrame FR_; FR_.len = 0;
nimRegisterGlobalMarker(TM__FcgmG7w9cZrrbXWqFO8NrIw_9);
}/* preInitProc end */
{
nimfr_("cli", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
nimln_(51, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/cli.nim");
asgnRef((void**) (&globalCLI__nimblepkgZcli_93), newCLI__nimblepkgZcli_64());
popFrame();
}
}
N_LIB_PRIVATE N_NIMCALL(void, atmnimblepkgatsclidotnim_DatInit000)(void) {
static TNimNode* TM__FcgmG7w9cZrrbXWqFO8NrIw_2_5[5];
static TNimNode* TM__FcgmG7w9cZrrbXWqFO8NrIw_3_5[5];
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_5;
static char* NIM_CONST TM__FcgmG7w9cZrrbXWqFO8NrIw_4[5] = {
"DebugPriority",
"LowPriority",
"MediumPriority",
"HighPriority",
"SilentPriority"};
static TNimNode* TM__FcgmG7w9cZrrbXWqFO8NrIw_6_2[2];
static TNimNode* TM__FcgmG7w9cZrrbXWqFO8NrIw_7_2[2];
static TNimNode* TM__FcgmG7w9cZrrbXWqFO8NrIw_8_2[2];
static TNimNode* TM__FcgmG7w9cZrrbXWqFO8NrIw_26_3[3];
NI TM__FcgmG7w9cZrrbXWqFO8NrIw_28;
static char* NIM_CONST TM__FcgmG7w9cZrrbXWqFO8NrIw_27[3] = {
"dontForcePrompt",
"forcePromptYes",
"forcePromptNo"};
static TNimNode TM__FcgmG7w9cZrrbXWqFO8NrIw_0[25];
NTIcli58objecttype__zzWdjRxgHzN9cx4hdZt1OQA_.size = sizeof(tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA);
NTIcli58objecttype__zzWdjRxgHzN9cx4hdZt1OQA_.align = NIM_ALIGNOF(tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA);
NTIcli58objecttype__zzWdjRxgHzN9cx4hdZt1OQA_.kind = 18;
NTIcli58objecttype__zzWdjRxgHzN9cx4hdZt1OQA_.base = 0;
TM__FcgmG7w9cZrrbXWqFO8NrIw_2_5[0] = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[1];
NTIpriority__8lOyDpa4mymX3OHP5fBsAQ_.size = sizeof(tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ);
NTIpriority__8lOyDpa4mymX3OHP5fBsAQ_.align = NIM_ALIGNOF(tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ);
NTIpriority__8lOyDpa4mymX3OHP5fBsAQ_.kind = 14;
NTIpriority__8lOyDpa4mymX3OHP5fBsAQ_.base = 0;
NTIpriority__8lOyDpa4mymX3OHP5fBsAQ_.flags = 3;
for (TM__FcgmG7w9cZrrbXWqFO8NrIw_5 = 0; TM__FcgmG7w9cZrrbXWqFO8NrIw_5 < 5; TM__FcgmG7w9cZrrbXWqFO8NrIw_5++) {
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[TM__FcgmG7w9cZrrbXWqFO8NrIw_5+2].kind = 1;
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[TM__FcgmG7w9cZrrbXWqFO8NrIw_5+2].offset = TM__FcgmG7w9cZrrbXWqFO8NrIw_5;
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[TM__FcgmG7w9cZrrbXWqFO8NrIw_5+2].name = TM__FcgmG7w9cZrrbXWqFO8NrIw_4[TM__FcgmG7w9cZrrbXWqFO8NrIw_5];
TM__FcgmG7w9cZrrbXWqFO8NrIw_3_5[TM__FcgmG7w9cZrrbXWqFO8NrIw_5] = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[TM__FcgmG7w9cZrrbXWqFO8NrIw_5+2];
}
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[7].len = 5; TM__FcgmG7w9cZrrbXWqFO8NrIw_0[7].kind = 2; TM__FcgmG7w9cZrrbXWqFO8NrIw_0[7].sons = &TM__FcgmG7w9cZrrbXWqFO8NrIw_3_5[0];
NTIpriority__8lOyDpa4mymX3OHP5fBsAQ_.node = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[7];
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[1].kind = 1;
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[1].offset = offsetof(tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA, level);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[1].typ = (&NTIpriority__8lOyDpa4mymX3OHP5fBsAQ_);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[1].name = "level";
TM__FcgmG7w9cZrrbXWqFO8NrIw_2_5[1] = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[8];
NTIhashset__Aw6ud9bzB8EV26H5bv9bASOQ_.size = sizeof(tyObject_HashSet__Aw6ud9bzB8EV26H5bv9bASOQ);
NTIhashset__Aw6ud9bzB8EV26H5bv9bASOQ_.align = NIM_ALIGNOF(tyObject_HashSet__Aw6ud9bzB8EV26H5bv9bASOQ);
NTIhashset__Aw6ud9bzB8EV26H5bv9bASOQ_.kind = 18;
NTIhashset__Aw6ud9bzB8EV26H5bv9bASOQ_.base = 0;
TM__FcgmG7w9cZrrbXWqFO8NrIw_6_2[0] = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[10];
NTIkeyvaluepair__IO6xTHa6y0i7uNmStF6URw_.size = sizeof(tyTuple__IO6xTHa6y0i7uNmStF6URw);
NTIkeyvaluepair__IO6xTHa6y0i7uNmStF6URw_.align = NIM_ALIGNOF(tyTuple__IO6xTHa6y0i7uNmStF6URw);
NTIkeyvaluepair__IO6xTHa6y0i7uNmStF6URw_.kind = 18;
NTIkeyvaluepair__IO6xTHa6y0i7uNmStF6URw_.base = 0;
TM__FcgmG7w9cZrrbXWqFO8NrIw_7_2[0] = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[12];
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[12].kind = 1;
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[12].offset = offsetof(tyTuple__IO6xTHa6y0i7uNmStF6URw, Field0);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[12].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[12].name = "Field0";
TM__FcgmG7w9cZrrbXWqFO8NrIw_7_2[1] = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[13];
NTILstring_stringT__UV3llMMYFckfui8YMBuUZA_.size = sizeof(tyTuple__UV3llMMYFckfui8YMBuUZA);
NTILstring_stringT__UV3llMMYFckfui8YMBuUZA_.align = NIM_ALIGNOF(tyTuple__UV3llMMYFckfui8YMBuUZA);
NTILstring_stringT__UV3llMMYFckfui8YMBuUZA_.kind = 18;
NTILstring_stringT__UV3llMMYFckfui8YMBuUZA_.base = 0;
TM__FcgmG7w9cZrrbXWqFO8NrIw_8_2[0] = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[15];
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[15].kind = 1;
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[15].offset = offsetof(tyTuple__UV3llMMYFckfui8YMBuUZA, Field0);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[15].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[15].name = "Field0";
TM__FcgmG7w9cZrrbXWqFO8NrIw_8_2[1] = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[16];
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[16].kind = 1;
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[16].offset = offsetof(tyTuple__UV3llMMYFckfui8YMBuUZA, Field1);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[16].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[16].name = "Field1";
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[14].len = 2; TM__FcgmG7w9cZrrbXWqFO8NrIw_0[14].kind = 2; TM__FcgmG7w9cZrrbXWqFO8NrIw_0[14].sons = &TM__FcgmG7w9cZrrbXWqFO8NrIw_8_2[0];
NTILstring_stringT__UV3llMMYFckfui8YMBuUZA_.node = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[14];
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[13].kind = 1;
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[13].offset = offsetof(tyTuple__IO6xTHa6y0i7uNmStF6URw, Field1);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[13].typ = (&NTILstring_stringT__UV3llMMYFckfui8YMBuUZA_);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[13].name = "Field1";
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[11].len = 2; TM__FcgmG7w9cZrrbXWqFO8NrIw_0[11].kind = 2; TM__FcgmG7w9cZrrbXWqFO8NrIw_0[11].sons = &TM__FcgmG7w9cZrrbXWqFO8NrIw_7_2[0];
NTIkeyvaluepair__IO6xTHa6y0i7uNmStF6URw_.node = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[11];
NTIkeyvaluepairseq__9aUBm188mcn7WjIGymvBT5w_.size = sizeof(tySequence__9aUBm188mcn7WjIGymvBT5w*);
NTIkeyvaluepairseq__9aUBm188mcn7WjIGymvBT5w_.align = NIM_ALIGNOF(tySequence__9aUBm188mcn7WjIGymvBT5w*);
NTIkeyvaluepairseq__9aUBm188mcn7WjIGymvBT5w_.kind = 24;
NTIkeyvaluepairseq__9aUBm188mcn7WjIGymvBT5w_.base = (&NTIkeyvaluepair__IO6xTHa6y0i7uNmStF6URw_);
NTIkeyvaluepairseq__9aUBm188mcn7WjIGymvBT5w_.marker = Marker_tySequence__9aUBm188mcn7WjIGymvBT5w;
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[10].kind = 1;
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[10].offset = offsetof(tyObject_HashSet__Aw6ud9bzB8EV26H5bv9bASOQ, data);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[10].typ = (&NTIkeyvaluepairseq__9aUBm188mcn7WjIGymvBT5w_);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[10].name = "data";
TM__FcgmG7w9cZrrbXWqFO8NrIw_6_2[1] = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[17];
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[17].kind = 1;
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[17].offset = offsetof(tyObject_HashSet__Aw6ud9bzB8EV26H5bv9bASOQ, counter);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[17].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[17].name = "counter";
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[9].len = 2; TM__FcgmG7w9cZrrbXWqFO8NrIw_0[9].kind = 2; TM__FcgmG7w9cZrrbXWqFO8NrIw_0[9].sons = &TM__FcgmG7w9cZrrbXWqFO8NrIw_6_2[0];
NTIhashset__Aw6ud9bzB8EV26H5bv9bASOQ_.node = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[9];
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[8].kind = 1;
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[8].offset = offsetof(tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA, warnings);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[8].typ = (&NTIhashset__Aw6ud9bzB8EV26H5bv9bASOQ_);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[8].name = "warnings";
TM__FcgmG7w9cZrrbXWqFO8NrIw_2_5[2] = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[18];
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[18].kind = 1;
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[18].offset = offsetof(tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA, suppressionCount);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[18].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[18].name = "suppressionCount";
TM__FcgmG7w9cZrrbXWqFO8NrIw_2_5[3] = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[19];
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[19].kind = 1;
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[19].offset = offsetof(tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA, showColor);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[19].typ = (&NTIbool__VaVACK0bpYmqIQ0mKcHfQQ_);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[19].name = "showColor";
TM__FcgmG7w9cZrrbXWqFO8NrIw_2_5[4] = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[20];
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[20].kind = 1;
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[20].offset = offsetof(tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA, suppressMessages);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[20].typ = (&NTIbool__VaVACK0bpYmqIQ0mKcHfQQ_);
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[20].name = "suppressMessages";
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[0].len = 5; TM__FcgmG7w9cZrrbXWqFO8NrIw_0[0].kind = 2; TM__FcgmG7w9cZrrbXWqFO8NrIw_0[0].sons = &TM__FcgmG7w9cZrrbXWqFO8NrIw_2_5[0];
NTIcli58objecttype__zzWdjRxgHzN9cx4hdZt1OQA_.node = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[0];
NTIcli__dp5BUYb7mW74OXja5LWEeA_.size = sizeof(tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA*);
NTIcli__dp5BUYb7mW74OXja5LWEeA_.align = NIM_ALIGNOF(tyObject_CLIcolonObjectType___zzWdjRxgHzN9cx4hdZt1OQA*);
NTIcli__dp5BUYb7mW74OXja5LWEeA_.kind = 22;
NTIcli__dp5BUYb7mW74OXja5LWEeA_.base = (&NTIcli58objecttype__zzWdjRxgHzN9cx4hdZt1OQA_);
NTIcli__dp5BUYb7mW74OXja5LWEeA_.marker = Marker_tyRef__dp5BUYb7mW74OXja5LWEeA;
NTIforceprompt__djMIU0KJ4yj4ST3o49caOhA_.size = sizeof(tyEnum_ForcePrompt__djMIU0KJ4yj4ST3o49caOhA);
NTIforceprompt__djMIU0KJ4yj4ST3o49caOhA_.align = NIM_ALIGNOF(tyEnum_ForcePrompt__djMIU0KJ4yj4ST3o49caOhA);
NTIforceprompt__djMIU0KJ4yj4ST3o49caOhA_.kind = 14;
NTIforceprompt__djMIU0KJ4yj4ST3o49caOhA_.base = 0;
NTIforceprompt__djMIU0KJ4yj4ST3o49caOhA_.flags = 3;
for (TM__FcgmG7w9cZrrbXWqFO8NrIw_28 = 0; TM__FcgmG7w9cZrrbXWqFO8NrIw_28 < 3; TM__FcgmG7w9cZrrbXWqFO8NrIw_28++) {
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[TM__FcgmG7w9cZrrbXWqFO8NrIw_28+21].kind = 1;
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[TM__FcgmG7w9cZrrbXWqFO8NrIw_28+21].offset = TM__FcgmG7w9cZrrbXWqFO8NrIw_28;
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[TM__FcgmG7w9cZrrbXWqFO8NrIw_28+21].name = TM__FcgmG7w9cZrrbXWqFO8NrIw_27[TM__FcgmG7w9cZrrbXWqFO8NrIw_28];
TM__FcgmG7w9cZrrbXWqFO8NrIw_26_3[TM__FcgmG7w9cZrrbXWqFO8NrIw_28] = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[TM__FcgmG7w9cZrrbXWqFO8NrIw_28+21];
}
TM__FcgmG7w9cZrrbXWqFO8NrIw_0[24].len = 3; TM__FcgmG7w9cZrrbXWqFO8NrIw_0[24].kind = 2; TM__FcgmG7w9cZrrbXWqFO8NrIw_0[24].sons = &TM__FcgmG7w9cZrrbXWqFO8NrIw_26_3[0];
NTIforceprompt__djMIU0KJ4yj4ST3o49caOhA_.node = &TM__FcgmG7w9cZrrbXWqFO8NrIw_0[24];
}