test_copy.c 140 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289
  1. /* Generated by Nim Compiler v1.1.1 */
  2. /* (c) 2020 Andreas Rumpf */
  3. /* The generated code is subject to the original license. */
  4. /* Compiled for: Windows, amd64, gcc */
  5. /* Command for C compiler:
  6. gcc.exe -c -w -mno-ms-bitfields -DWIN32_LEAN_AND_MEAN -O3 -fno-strict-aliasing -fno-ident -IC:\Users\rumpf\projects\nim\lib -IC:\Users\rumpf\projects\nim\lib\wrappers\libffi\common -IC:\Users\rumpf\projects\nim\drnim -o C:\Users\rumpf\nimcache\drnim_r\@m..@scompiler@sastalgo.nim.c.o C:\Users\rumpf\nimcache\drnim_r\@m..@scompiler@sastalgo.nim.c */
  7. #define NIM_INTBITS 64
  8. #include "nimbase.h"
  9. #include <string.h>
  10. #undef LANGUAGE_C
  11. #undef MIPSEB
  12. #undef MIPSEL
  13. #undef PPC
  14. #undef R3000
  15. #undef R4000
  16. #undef i386
  17. #undef linux
  18. #undef mips
  19. #undef near
  20. #undef far
  21. #undef powerpc
  22. #undef unix
  23. #define nimfr_(x, y)
  24. #define nimln_(x, y)
  25. typedef struct tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w;
  26. typedef struct tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw;
  27. typedef struct tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA;
  28. typedef struct tyObject_Table__GpIQt2f0xrasZObyH6X8bg tyObject_Table__GpIQt2f0xrasZObyH6X8bg;
  29. typedef struct tySequence__9chP3SzkaldXzawWQCDsqqg tySequence__9chP3SzkaldXzawWQCDsqqg;
  30. typedef struct NimStringDesc NimStringDesc;
  31. typedef struct TGenericSeq TGenericSeq;
  32. typedef struct TNimType TNimType;
  33. typedef struct TNimNode TNimNode;
  34. typedef struct tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA;
  35. typedef struct RootObj RootObj;
  36. typedef struct tySequence__Ef05srmQTDulnBdXR4Ja6Q tySequence__Ef05srmQTDulnBdXR4Ja6Q;
  37. typedef struct tySequence__DXS6mEo7PVUFJkirsQ9bNQA tySequence__DXS6mEo7PVUFJkirsQ9bNQA;
  38. typedef struct tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw;
  39. typedef struct tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA;
  40. typedef struct tySequence__DfgJFJEYoj4YBAHLZPl5lQ tySequence__DfgJFJEYoj4YBAHLZPl5lQ;
  41. typedef struct tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ;
  42. typedef struct tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA;
  43. typedef struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q;
  44. typedef struct tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA;
  45. typedef struct tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA;
  46. typedef struct tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA;
  47. typedef struct tySequence__MvZmat48bhe9b6x9aUD58D5Q tySequence__MvZmat48bhe9b6x9aUD58D5Q;
  48. typedef struct tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ;
  49. typedef struct tyObject_Target__9abOl5DLX8suLujOaHSvGzw tyObject_Target__9abOl5DLX8suLujOaHSvGzw;
  50. typedef struct tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg;
  51. typedef struct tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A;
  52. typedef struct tySequence__tNFrR3kRuS1FSwuiLGoSSA tySequence__tNFrR3kRuS1FSwuiLGoSSA;
  53. typedef struct tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA;
  54. typedef struct tySequence__7lEisrXlQEzwtUKW5pzRCw tySequence__7lEisrXlQEzwtUKW5pzRCw;
  55. typedef struct tySequence__Zi9cGbCWofbtABoHJ5RbLNQ tySequence__Zi9cGbCWofbtABoHJ5RbLNQ;
  56. typedef struct tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg;
  57. typedef struct tySequence__4eRCaZmrYLLw2k30GPTiMw tySequence__4eRCaZmrYLLw2k30GPTiMw;
  58. typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
  59. typedef struct tySequence__pK3qSsBZwdXd6qyUMkd5Jw tySequence__pK3qSsBZwdXd6qyUMkd5Jw;
  60. typedef struct tyObject_SuggestcolonObjectType___bkMuTTb2G70XfpzAiyNrnQ tyObject_SuggestcolonObjectType___bkMuTTb2G70XfpzAiyNrnQ;
  61. typedef struct tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw;
  62. typedef struct tyObject_TTabIter__VYF5VQsIYEVaBL0fKZJkbg tyObject_TTabIter__VYF5VQsIYEVaBL0fKZJkbg;
  63. typedef struct tyObject_TIdTable__9aiv9bp2t5icFNINcg9c4xi1Q tyObject_TIdTable__9aiv9bp2t5icFNINcg9c4xi1Q;
  64. typedef struct tySequence__Mh9agqM29bm9aP5AUL1x7dZGA tySequence__Mh9agqM29bm9aP5AUL1x7dZGA;
  65. typedef struct tyObject_TIdPair__AdFnD2YdADPeuJbG2YJ4vg tyObject_TIdPair__AdFnD2YdADPeuJbG2YJ4vg;
  66. typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g;
  67. typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w;
  68. typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ;
  69. typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA;
  70. typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg;
  71. typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ;
  72. typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg;
  73. typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw;
  74. typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA;
  75. typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw;
  76. typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw;
  77. typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg;
  78. typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg;
  79. typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg;
  80. typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ;
  81. typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg;
  82. typedef struct tyObject_Int128__9a9axPfb75jdWY25AamJewkA tyObject_Int128__9a9axPfb75jdWY25AamJewkA;
  83. typedef struct tyObject_TIdentIter__Oi4goG2ACEsy9cyTe6OCPrA tyObject_TIdentIter__Oi4goG2ACEsy9cyTe6OCPrA;
  84. typedef struct tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg;
  85. typedef struct tyObject_TIdNodeTable__UWAp0mDjKLG1NEwUafSRhA tyObject_TIdNodeTable__UWAp0mDjKLG1NEwUafSRhA;
  86. typedef struct tySequence__K8W16aeLg4OWxniQxtguMw tySequence__K8W16aeLg4OWxniQxtguMw;
  87. typedef struct tyObject_TIdNodePair__fUuF71MXGqn0RZORg9clE3w tyObject_TIdNodePair__fUuF71MXGqn0RZORg9clE3w;
  88. typedef struct tyTuple__aGv2fk9ceddvdC01ZJC2Q2g tyTuple__aGv2fk9ceddvdC01ZJC2Q2g;
  89. typedef struct tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA;
  90. typedef struct tyTuple__zwpS6d6iewrdlBSTNFoyVA tyTuple__zwpS6d6iewrdlBSTNFoyVA;
  91. typedef struct tyTuple__z822nu9bFF1AlQnLrHjdwpA tyTuple__z822nu9bFF1AlQnLrHjdwpA;
  92. typedef struct tyTuple__xYhUhS7X82rKTqbT9bRfCnw tyTuple__xYhUhS7X82rKTqbT9bRfCnw;
  93. typedef struct tyTuple__QeWl6B6ffS4pU6WWrtcrDw tyTuple__QeWl6B6ffS4pU6WWrtcrDw;
  94. typedef struct tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg;
  95. typedef struct tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ;
  96. typedef struct tySequence__9brg1xNurxcus33lU4IE1Dw tySequence__9brg1xNurxcus33lU4IE1Dw;
  97. struct tyObject_Table__GpIQt2f0xrasZObyH6X8bg {
  98. tySequence__9chP3SzkaldXzawWQCDsqqg* data;
  99. NI counter;
  100. NI countDeleted;
  101. };
  102. struct TGenericSeq {
  103. NI len;
  104. NI reserved;
  105. };
  106. struct NimStringDesc {
  107. TGenericSeq Sup;
  108. NIM_CHAR data[SEQ_DECL_SIZE];
  109. };
  110. struct tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA {
  111. tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf;
  112. tyObject_Table__GpIQt2f0xrasZObyH6X8bg visited;
  113. NIM_BOOL renderSymType;
  114. NI indent;
  115. NI currentLine;
  116. NIM_BOOL firstItem;
  117. NIM_BOOL useColor;
  118. NimStringDesc* res;
  119. };
  120. typedef NU8 tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw;
  121. typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
  122. typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
  123. typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
  124. typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
  125. struct TNimType {
  126. NI size;
  127. tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
  128. tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
  129. TNimType* base;
  130. TNimNode* node;
  131. void* finalizer;
  132. tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
  133. tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
  134. };
  135. typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
  136. struct TNimNode {
  137. tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
  138. NI offset;
  139. TNimType* typ;
  140. NCSTRING name;
  141. NI len;
  142. TNimNode** sons;
  143. };
  144. struct RootObj {
  145. TNimType* m_type;
  146. };
  147. struct tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA {
  148. RootObj Sup;
  149. NI id;
  150. };
  151. struct tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA {
  152. NI counter;
  153. tySequence__DfgJFJEYoj4YBAHLZPl5lQ* data;
  154. };
  155. typedef NU16 tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg;
  156. struct tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q {
  157. NU16 line;
  158. NI16 col;
  159. NI32 fileIndex;
  160. };
  161. typedef NU64 tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw;
  162. typedef NU32 tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg;
  163. typedef NU8 tyEnum_TLocKind__O7PRFZKuiBBWbku09cayVBg;
  164. typedef NU8 tyEnum_TStorageLoc__JK9cKMX3XnqHaUky9b6gkGEw;
  165. typedef NU16 tySet_tyEnum_TLocFlag__o2bqJgR4ceIupnUSpxiudA;
  166. struct tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA {
  167. tyEnum_TLocKind__O7PRFZKuiBBWbku09cayVBg k;
  168. tyEnum_TStorageLoc__JK9cKMX3XnqHaUky9b6gkGEw storage;
  169. tySet_tyEnum_TLocFlag__o2bqJgR4ceIupnUSpxiudA flags;
  170. tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* lode;
  171. tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* r;
  172. };
  173. struct tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w {
  174. tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA Sup;
  175. tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw kind;
  176. union{
  177. struct {tySequence__Ef05srmQTDulnBdXR4Ja6Q* typeInstCache;
  178. } _kind_1;
  179. struct {tySequence__DXS6mEo7PVUFJkirsQ9bNQA* procInstCache;
  180. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* gcUnsafetyReason;
  181. tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* transformedBody;
  182. } _kind_2;
  183. struct {tySequence__DXS6mEo7PVUFJkirsQ9bNQA* usedGenerics;
  184. tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tab;
  185. } _kind_3;
  186. struct {tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* guard;
  187. NI bitsize;
  188. NI alignment;
  189. } _kind_4;
  190. };
  191. tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg magic;
  192. tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typ;
  193. tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* name;
  194. tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info;
  195. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* owner;
  196. tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw flags;
  197. tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* ast;
  198. tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options;
  199. NI position;
  200. NI offset;
  201. tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA loc;
  202. tyObject_TLib__NBMxlJ6g3utqUlplqTTHkA* annex;
  203. tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* constraint;
  204. };
  205. struct tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA {
  206. tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA Sup;
  207. NimStringDesc* s;
  208. tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* next;
  209. NI h;
  210. };
  211. typedef NU8 tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw;
  212. typedef NU8 tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag;
  213. typedef NU8 tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA;
  214. typedef NU64 tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw;
  215. typedef tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* tyArray__PsPyPA45AAjHu4uDGHNjTg[6];
  216. struct tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ {
  217. tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA Sup;
  218. tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag kind;
  219. tyEnum_TCallingConvention__yjAJ8w0h1PBaSwSGJ3P7IA callConv;
  220. tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw flags;
  221. tySequence__Ef05srmQTDulnBdXR4Ja6Q* sons;
  222. tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n;
  223. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* owner;
  224. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* sym;
  225. tyArray__PsPyPA45AAjHu4uDGHNjTg attachedOps;
  226. tySequence__MvZmat48bhe9b6x9aUD58D5Q* methods;
  227. NI64 size;
  228. NI16 align;
  229. NI16 paddingAtEnd;
  230. NI16 lockLevel;
  231. tyObject_TLoc__EtHNvCB0bgfu9bFjzx9cb6aA loc;
  232. tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typeInst;
  233. NI uniqueId;
  234. };
  235. typedef NU8 tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw;
  236. typedef NU8 tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw;
  237. typedef NU32 tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg;
  238. struct tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw {
  239. tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* typ;
  240. tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info;
  241. tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg flags;
  242. tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw kind;
  243. union{
  244. struct {NI64 intVal;
  245. } _kind_1;
  246. struct {NF floatVal;
  247. } _kind_2;
  248. struct {NimStringDesc* strVal;
  249. } _kind_3;
  250. struct {tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* sym;
  251. } _kind_4;
  252. struct {tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* ident;
  253. } _kind_5;
  254. struct {tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ* sons;
  255. } _kind_6;
  256. };
  257. NimStringDesc* comment;
  258. };
  259. struct tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA {
  260. RootObj Sup;
  261. tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* left;
  262. tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* right;
  263. NI L;
  264. NimStringDesc* data;
  265. };
  266. typedef tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* tyArray__wqYjTJU9ab2ZgEFMaQc3vNA[3];
  267. typedef NU8 tyEnum_TSystemCPU__XYDt7D1G3qcClFyZy1Ky9ag;
  268. typedef NU8 tyEnum_TSystemOS__s7Mlr1t66SUqP6BKJMXLaQ;
  269. struct tyObject_Target__9abOl5DLX8suLujOaHSvGzw {
  270. tyEnum_TSystemCPU__XYDt7D1G3qcClFyZy1Ky9ag targetCPU;
  271. tyEnum_TSystemCPU__XYDt7D1G3qcClFyZy1Ky9ag hostCPU;
  272. tyEnum_TSystemOS__s7Mlr1t66SUqP6BKJMXLaQ targetOS;
  273. tyEnum_TSystemOS__s7Mlr1t66SUqP6BKJMXLaQ hostOS;
  274. NI intSize;
  275. NI floatSize;
  276. NI ptrSize;
  277. NimStringDesc* tnl;
  278. };
  279. typedef NU64 tySet_tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw;
  280. typedef NU8 tySet_tyEnum_TErrorOutput__fBf8Teueoz9aAkO5cXaxrpA;
  281. struct tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA {
  282. tySequence__7lEisrXlQEzwtUKW5pzRCw* data;
  283. NI counter;
  284. NI countDeleted;
  285. };
  286. struct tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A {
  287. tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q trackPos;
  288. NIM_BOOL trackPosAttached;
  289. tySet_tyEnum_TErrorOutput__fBf8Teueoz9aAkO5cXaxrpA errorOutputs;
  290. tySequence__tNFrR3kRuS1FSwuiLGoSSA* msgContext;
  291. tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q lastError;
  292. tyObject_Table__Ab4q9c36aMR4mtkEOIBzdzA filenameToIndexTbl;
  293. tySequence__Zi9cGbCWofbtABoHJ5RbLNQ* fileInfos;
  294. NI32 systemFileIdx;
  295. };
  296. typedef NU8 tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw;
  297. typedef NU8 tyEnum_TGCMode__tkz389aDYNd8ykeZszCuBSw;
  298. typedef NU8 tyEnum_ExceptionSystem__1mkAogyaDAT7g9cQjzsgKLQ;
  299. typedef NU8 tyEnum_SymbolFilesOption__gBES9bqm1ru9ape8SeMRAFgQ;
  300. struct tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg {
  301. tySequence__4eRCaZmrYLLw2k30GPTiMw* data;
  302. NI counter;
  303. NI countDeleted;
  304. };
  305. typedef NU16 tySet_tyEnum_Feature__01UoAKYz1MxZiuG1X2VhNQ;
  306. typedef NU8 tySet_tyEnum_LegacyFeature__hGCD9aOrxPvpXn4Ne6W6OVA;
  307. typedef NU8 tyEnum_IdeCmd__1Ced39bl5eePmZ1PKMPXigQ;
  308. typedef NU8 tyEnum_TSystemCC__1eWBJUonHMOnlBwsOvpFmA;
  309. typedef NU8 tySet_tyEnum_TMsgKind__sGclPySrvZyrSWQzDeqlpg[9];
  310. typedef struct {
  311. N_NIMCALL_PTR(void, ClP_0) (tyObject_SuggestcolonObjectType___bkMuTTb2G70XfpzAiyNrnQ* result, void* ClE_0);
  312. void* ClE_0;
  313. } tyProc__QYEVXrYc9beQ379crS3rzqRA;
  314. typedef struct {
  315. N_NIMCALL_PTR(void, ClP_0) (NimStringDesc* output, void* ClE_0);
  316. void* ClE_0;
  317. } tyProc__Q1W5D85O9cNu3iq9cZ9alS9aWA;
  318. typedef NU8 tyEnum_Severity__x5BWBPGAbIH9clm5pmNp5DA;
  319. typedef struct {
  320. N_NIMCALL_PTR(void, ClP_0) (tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* config, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info, NimStringDesc* msg, tyEnum_Severity__x5BWBPGAbIH9clm5pmNp5DA severity, void* ClE_0);
  321. void* ClE_0;
  322. } tyProc__22mgIiTBBoqNe1T0FSw9ahQ;
  323. struct tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw {
  324. tyObject_Target__9abOl5DLX8suLujOaHSvGzw target;
  325. NI linesCompiled;
  326. tySet_tyEnum_TOption__WspMeQySXNP2XoTWR5MTgg options;
  327. tySet_tyEnum_TGlobalOption__RAfAEZqjnKMDumgyKKc1qw globalOptions;
  328. tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* macrosToExpand;
  329. tyObject_MsgConfig__kV7r8HWT0SqOYW2k2ukC6A m;
  330. NI evalTemplateCounter;
  331. NI evalMacroCounter;
  332. NI8 exitcode;
  333. tyEnum_TCommands__VH3ghgQVwLSg3krOAoXigw cmd;
  334. tyEnum_TGCMode__tkz389aDYNd8ykeZszCuBSw selectedGC;
  335. tyEnum_ExceptionSystem__1mkAogyaDAT7g9cQjzsgKLQ exc;
  336. NI verbosity;
  337. NI numberOfProcessors;
  338. NimStringDesc* evalExpr;
  339. NF lastCmdTime;
  340. tyEnum_SymbolFilesOption__gBES9bqm1ru9ape8SeMRAFgQ symbolFiles;
  341. tyObject_HashSet__CD8Dpv0WGmASelVaNSo6zg cppDefines;
  342. NimStringDesc* headerFile;
  343. tySet_tyEnum_Feature__01UoAKYz1MxZiuG1X2VhNQ features;
  344. tySet_tyEnum_LegacyFeature__hGCD9aOrxPvpXn4Ne6W6OVA legacyFeatures;
  345. NimStringDesc* arguments;
  346. tyEnum_IdeCmd__1Ced39bl5eePmZ1PKMPXigQ ideCmd;
  347. NIM_BOOL oldNewlines;
  348. tyEnum_TSystemCC__1eWBJUonHMOnlBwsOvpFmA cCompiler;
  349. tySet_tyEnum_TMsgKind__sGclPySrvZyrSWQzDeqlpg modifiedyNotes;
  350. tySet_tyEnum_TMsgKind__sGclPySrvZyrSWQzDeqlpg cmdlineNotes;
  351. tySet_tyEnum_TMsgKind__sGclPySrvZyrSWQzDeqlpg foreignPackageNotes;
  352. tySet_tyEnum_TMsgKind__sGclPySrvZyrSWQzDeqlpg notes;
  353. tySet_tyEnum_TMsgKind__sGclPySrvZyrSWQzDeqlpg mainPackageNotes;
  354. NI mainPackageId;
  355. NI errorCounter;
  356. NI hintCounter;
  357. NI warnCounter;
  358. NI errorMax;
  359. NI maxLoopIterationsVM;
  360. tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* configVars;
  361. tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* symbols;
  362. tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* packageCache;
  363. tySequence__sM4lkSb7zS6F7OVMvW9cffQ* nimblePaths;
  364. tySequence__sM4lkSb7zS6F7OVMvW9cffQ* searchPaths;
  365. tySequence__sM4lkSb7zS6F7OVMvW9cffQ* lazyPaths;
  366. NimStringDesc* outFile;
  367. NimStringDesc* outDir;
  368. NimStringDesc* prefixDir;
  369. NimStringDesc* libpath;
  370. NimStringDesc* nimcacheDir;
  371. tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* dllOverrides;
  372. tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* moduleOverrides;
  373. tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* cfileSpecificOptions;
  374. NimStringDesc* projectName;
  375. NimStringDesc* projectPath;
  376. NimStringDesc* projectFull;
  377. NIM_BOOL projectIsStdin;
  378. NI32 projectMainIdx;
  379. NimStringDesc* command;
  380. tySequence__sM4lkSb7zS6F7OVMvW9cffQ* commandArgs;
  381. NimStringDesc* commandLine;
  382. tySequence__sM4lkSb7zS6F7OVMvW9cffQ* extraCmds;
  383. NIM_BOOL keepComments;
  384. tySequence__sM4lkSb7zS6F7OVMvW9cffQ* implicitImports;
  385. tySequence__sM4lkSb7zS6F7OVMvW9cffQ* implicitIncludes;
  386. NimStringDesc* docSeeSrcUrl;
  387. NimStringDesc* docRoot;
  388. tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cIncludes;
  389. tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cLibs;
  390. tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cLinkedLibs;
  391. tySequence__sM4lkSb7zS6F7OVMvW9cffQ* externalToLink;
  392. NimStringDesc* linkOptionsCmd;
  393. tySequence__sM4lkSb7zS6F7OVMvW9cffQ* compileOptionsCmd;
  394. NimStringDesc* linkOptions;
  395. NimStringDesc* compileOptions;
  396. NimStringDesc* cCompilerPath;
  397. tySequence__pK3qSsBZwdXd6qyUMkd5Jw* toCompile;
  398. tyProc__QYEVXrYc9beQ379crS3rzqRA suggestionResultHook;
  399. NI suggestVersion;
  400. NI suggestMaxResults;
  401. tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q lastLineInfo;
  402. tyProc__Q1W5D85O9cNu3iq9cZ9alS9aWA writelnHook;
  403. tyProc__22mgIiTBBoqNe1T0FSw9ahQ structuredErrorHook;
  404. NimStringDesc* cppCustomNamespace;
  405. };
  406. struct tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw {
  407. NimStringDesc* fullPath;
  408. NimStringDesc* projPath;
  409. NimStringDesc* shortName;
  410. tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* quotedName;
  411. tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* quotedFullName;
  412. tySequence__sM4lkSb7zS6F7OVMvW9cffQ* lines;
  413. NimStringDesc* dirtyFile;
  414. NimStringDesc* hash;
  415. NIM_BOOL dirty;
  416. };
  417. typedef NU8 tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg;
  418. typedef NU8 tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw[21];
  419. typedef NimStringDesc* tyArray__nHXaesL0DJZHyVS07ARPRA[1];
  420. struct tyObject_TTabIter__VYF5VQsIYEVaBL0fKZJkbg {
  421. NI h;
  422. };
  423. struct tyObject_TIdPair__AdFnD2YdADPeuJbG2YJ4vg {
  424. tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA* key;
  425. RootObj* val;
  426. };
  427. struct tyObject_TIdTable__9aiv9bp2t5icFNINcg9c4xi1Q {
  428. NI counter;
  429. tySequence__Mh9agqM29bm9aP5AUL1x7dZGA* data;
  430. };
  431. struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {
  432. NI refcount;
  433. TNimType* typ;
  434. };
  435. struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {
  436. void* bottom;
  437. };
  438. struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {
  439. NI len;
  440. NI cap;
  441. tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
  442. };
  443. typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SiRwrEKZdLgxqz9a9aoVBglg[512];
  444. typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24];
  445. typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32];
  446. typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24];
  447. typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256];
  448. struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {
  449. tyArray__lh2A89ahMmYg9bCmpVaplLbA data;
  450. };
  451. typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2];
  452. struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {
  453. tyArray__0aOLqZchNi8nWtMTi8ND8w link;
  454. NI key;
  455. NI upperBound;
  456. NI level;
  457. };
  458. struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg {
  459. tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0;
  460. NI Field1;
  461. };
  462. typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30];
  463. struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {
  464. NI len;
  465. tyArray__LzOv2eCDGiceMKQstCLmhw chunks;
  466. tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next;
  467. };
  468. struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {
  469. NI minLargeObj;
  470. NI maxLargeObj;
  471. tyArray__SiRwrEKZdLgxqz9a9aoVBglg freeSmallChunks;
  472. NU32 flBitmap;
  473. tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
  474. tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
  475. tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
  476. NI currMem;
  477. NI maxMem;
  478. NI freeMem;
  479. NI occ;
  480. NI lastSize;
  481. tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
  482. tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
  483. tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
  484. tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
  485. tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
  486. NIM_BOOL locked;
  487. NIM_BOOL blockChunkSizeIncrease;
  488. NI nextChunkSize;
  489. tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
  490. tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
  491. };
  492. struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {
  493. NI stackScans;
  494. NI cycleCollections;
  495. NI maxThreshold;
  496. NI maxStackSize;
  497. NI maxStackCells;
  498. NI cycleTableSize;
  499. NI64 maxPause;
  500. };
  501. struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {
  502. NI counter;
  503. NI max;
  504. tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
  505. tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
  506. };
  507. struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {
  508. tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
  509. NI cycleThreshold;
  510. NI zctThreshold;
  511. tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
  512. tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
  513. tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
  514. NI recGcLock;
  515. tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
  516. tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
  517. tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
  518. tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
  519. NI gcThreadId;
  520. };
  521. typedef NU32 tyArray__FleBT9cC2nxhgiXmSYYnEKA[4];
  522. struct tyObject_Int128__9a9axPfb75jdWY25AamJewkA {
  523. tyArray__FleBT9cC2nxhgiXmSYYnEKA udata;
  524. };
  525. struct tyObject_TIdentIter__Oi4goG2ACEsy9cyTe6OCPrA {
  526. NI h;
  527. tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* name;
  528. };
  529. struct tyObject_TIdNodeTable__UWAp0mDjKLG1NEwUafSRhA {
  530. NI counter;
  531. tySequence__K8W16aeLg4OWxniQxtguMw* data;
  532. };
  533. struct tyObject_TIdNodePair__fUuF71MXGqn0RZORg9clE3w {
  534. tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA* key;
  535. tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* val;
  536. };
  537. typedef NU8 tyEnum_TImplication__t4F29a8ejY1DFQTYTML9c9byA;
  538. struct tyTuple__aGv2fk9ceddvdC01ZJC2Q2g {
  539. NI Field0;
  540. void* Field1;
  541. NI Field2;
  542. };
  543. struct tyTuple__zwpS6d6iewrdlBSTNFoyVA {
  544. NI Field0;
  545. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* Field1;
  546. };
  547. struct tyTuple__z822nu9bFF1AlQnLrHjdwpA {
  548. tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q Field0;
  549. NimStringDesc* Field1;
  550. };
  551. struct tyTuple__xYhUhS7X82rKTqbT9bRfCnw {
  552. NI Field0;
  553. NimStringDesc* Field1;
  554. NI32 Field2;
  555. };
  556. struct tyTuple__QeWl6B6ffS4pU6WWrtcrDw {
  557. NI Field0;
  558. NimStringDesc* Field1;
  559. };
  560. typedef NU8 tySet_tyEnum_CfileFlag__Vl9c9ayddDuXiWtnWTsEYGsA;
  561. struct tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg {
  562. NimStringDesc* nimname;
  563. NimStringDesc* cname;
  564. NimStringDesc* obj;
  565. tySet_tyEnum_CfileFlag__Vl9c9ayddDuXiWtnWTsEYGsA flags;
  566. };
  567. typedef NI tyArray__emiAJ8okywrJw7ZHLzlXbQ[34];
  568. struct tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg {
  569. NI elems;
  570. NI counter;
  571. NI max;
  572. NI countDeleted;
  573. tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ* head;
  574. tySequence__9brg1xNurxcus33lU4IE1Dw* data;
  575. tyArray__emiAJ8okywrJw7ZHLzlXbQ a;
  576. };
  577. struct tySequence__Mh9agqM29bm9aP5AUL1x7dZGA {
  578. TGenericSeq Sup;
  579. tyObject_TIdPair__AdFnD2YdADPeuJbG2YJ4vg data[SEQ_DECL_SIZE];
  580. };
  581. struct tySequence__DfgJFJEYoj4YBAHLZPl5lQ {
  582. TGenericSeq Sup;
  583. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* data[SEQ_DECL_SIZE];
  584. };
  585. struct tySequence__K8W16aeLg4OWxniQxtguMw {
  586. TGenericSeq Sup;
  587. tyObject_TIdNodePair__fUuF71MXGqn0RZORg9clE3w data[SEQ_DECL_SIZE];
  588. };
  589. struct tySequence__9chP3SzkaldXzawWQCDsqqg {
  590. TGenericSeq Sup;
  591. tyTuple__aGv2fk9ceddvdC01ZJC2Q2g data[SEQ_DECL_SIZE];
  592. };
  593. struct tySequence__Ef05srmQTDulnBdXR4Ja6Q {
  594. TGenericSeq Sup;
  595. tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* data[SEQ_DECL_SIZE];
  596. };
  597. struct tySequence__DXS6mEo7PVUFJkirsQ9bNQA {
  598. TGenericSeq Sup;
  599. tyObject_TInstantiation__5LqgVn6Tq9ainQRK7TQAQxA* data[SEQ_DECL_SIZE];
  600. };
  601. struct tySequence__MvZmat48bhe9b6x9aUD58D5Q {
  602. TGenericSeq Sup;
  603. tyTuple__zwpS6d6iewrdlBSTNFoyVA data[SEQ_DECL_SIZE];
  604. };
  605. struct tySequence__ehmV9bTklH2Gt9cXHV9c0HLeQ {
  606. TGenericSeq Sup;
  607. tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* data[SEQ_DECL_SIZE];
  608. };
  609. struct tySequence__tNFrR3kRuS1FSwuiLGoSSA {
  610. TGenericSeq Sup;
  611. tyTuple__z822nu9bFF1AlQnLrHjdwpA data[SEQ_DECL_SIZE];
  612. };
  613. struct tySequence__7lEisrXlQEzwtUKW5pzRCw {
  614. TGenericSeq Sup;
  615. tyTuple__xYhUhS7X82rKTqbT9bRfCnw data[SEQ_DECL_SIZE];
  616. };
  617. struct tySequence__Zi9cGbCWofbtABoHJ5RbLNQ {
  618. TGenericSeq Sup;
  619. tyObject_TFileInfo__GE3hAakXKOEpch4ap3zXAw data[SEQ_DECL_SIZE];
  620. };
  621. struct tySequence__4eRCaZmrYLLw2k30GPTiMw {
  622. TGenericSeq Sup;
  623. tyTuple__QeWl6B6ffS4pU6WWrtcrDw data[SEQ_DECL_SIZE];
  624. };
  625. struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ {
  626. TGenericSeq Sup;
  627. NimStringDesc* data[SEQ_DECL_SIZE];
  628. };
  629. struct tySequence__pK3qSsBZwdXd6qyUMkd5Jw {
  630. TGenericSeq Sup;
  631. tyObject_Cfile__i9cKq1ZGd1wgagjUEHLVFtg data[SEQ_DECL_SIZE];
  632. };
  633. struct tySequence__9brg1xNurxcus33lU4IE1Dw {
  634. TGenericSeq Sup;
  635. tyObject_Trunk__ul49aWfv9aes8cutmeltT3gQ* data[SEQ_DECL_SIZE];
  636. };
  637. N_LIB_PRIVATE N_NIMCALL(void, debugSym)(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* n, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
  638. static N_INLINE(void, nimZeroMem)(void* p, NI size);
  639. static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
  640. N_LIB_PRIVATE N_NIMCALL(void, initTable__avINVlbIK12XSqjy8oSlzg)(NI initialSize, tyObject_Table__GpIQt2f0xrasZObyH6X8bg* Result);
  641. N_LIB_PRIVATE N_NIMCALL(void, value__WBlS070x2bmiH6WMBydj9bA)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* value);
  642. static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
  643. static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size);
  644. static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
  645. N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
  646. N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
  647. N_LIB_PRIVATE N_NIMCALL(NI, getOrDefault__ucLvuteXMiAMAvKs77J1uw)(tyObject_Table__GpIQt2f0xrasZObyH6X8bg t, void* key, NI default_0);
  648. N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___7nUN9bEb8it8esEzVF54z3Q)(tyObject_Table__GpIQt2f0xrasZObyH6X8bg* t, void* key, NI val);
  649. N_LIB_PRIVATE N_NIMCALL(void, addInt__mftMOxbyu0h4yByfs3sqjA)(NimStringDesc** result, NI64 x);
  650. N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
  651. N_LIB_PRIVATE N_NIMCALL(void, openCurly__EAEW3Bgfb2rBayBNQm2DKA)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0);
  652. N_LIB_PRIVATE N_NIMCALL(void, indentMore__EAEW3Bgfb2rBayBNQm2DKA_2)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0);
  653. N_LIB_PRIVATE N_NIMCALL(void, key__phacdxUw7oWjcmjWuQy9bkg)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, NimStringDesc* key);
  654. N_LIB_PRIVATE N_NIMCALL(void, newlineAndIndent__EAEW3Bgfb2rBayBNQm2DKA_3)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0);
  655. N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
  656. N_LIB_PRIVATE N_NIMCALL(void, value__IoQuLXtIJvnyXSTPrJspcg)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw value);
  657. N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ);
  658. N_LIB_PRIVATE N_NIMCALL(void, value__FzAGrI1bDlDZrjbkaI7wWw)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, NimStringDesc* value);
  659. N_LIB_PRIVATE N_NIMCALL(void, value__llsVIlOlOqDWZCDMxDvp3Q)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, NI64 value);
  660. static N_INLINE(NI, countBits64)(NU64 n);
  661. N_LIB_PRIVATE N_NIMCALL(void, value__Hzb0vPKN9benEkKQu05NCSQ)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw value);
  662. N_LIB_PRIVATE N_NIMCALL(void, openBracket__EAEW3Bgfb2rBayBNQm2DKA_4)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0);
  663. N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b);
  664. N_LIB_PRIVATE N_NIMCALL(void, value__ruLxBJWmZYZuNJ1guCKmNQ)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw value);
  665. N_LIB_PRIVATE N_NIMCALL(void, comma__EAEW3Bgfb2rBayBNQm2DKA_5)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0);
  666. N_LIB_PRIVATE N_NIMCALL(void, closeBracket__EAEW3Bgfb2rBayBNQm2DKA_6)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0);
  667. N_LIB_PRIVATE N_NIMCALL(void, value__uX2gdSRLzvWLVnXyqz6jsg)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* value);
  668. N_LIB_PRIVATE N_NIMCALL(void, value__kpJVt9cnR9aTcWW9bP5ctpOcA)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag value);
  669. N_LIB_PRIVATE N_NIMCALL(void, value__aJLEBHPURIT7szTDyvtBUA)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw value);
  670. N_LIB_PRIVATE N_NIMCALL(void, value__Hsy1hoKfET3FAJnWke3a8w)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw value);
  671. N_LIB_PRIVATE N_NIMCALL(void, value__PG3EgA9a9albKasBOYELDF6A)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* value);
  672. N_LIB_PRIVATE N_NIMCALL(void, value__KUWb6zp2ipm1IVHDVNcPJQ)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw value);
  673. N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___mZ66tEveFIQokq3arf8Klw)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* r);
  674. N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, lineInfoToStr__o5OvO09cfEJ7lAWvUTH12Yw)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
  675. N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, percent___UQfMnMPks8jKz20fTXQy9bQ)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** args, NI argsLen_0);
  676. N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, makeYamlString__P4HN4Rp9arTWym9cdDnUDu8Q)(NimStringDesc* s);
  677. N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
  678. N_LIB_PRIVATE N_NOINLINE(void, raiseDivByZero)(void);
  679. N_LIB_PRIVATE N_NIMCALL(void, add__IM4kcMNkkOLJtqdEqSxR8A)(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA** a, tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* b);
  680. N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, rope__yShmEg9cffWxI7s5XzEKBow)(NimStringDesc* s);
  681. N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toYamlChar__WyTOYiqdW29blXR7k3pjktw)(NIM_CHAR c);
  682. N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuToHex)(NI64 x, NI len);
  683. N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
  684. static N_INLINE(void, appendChar)(NimStringDesc* dest, NIM_CHAR c);
  685. N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimCharToStr)(NIM_CHAR x);
  686. N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
  687. N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, rope__KOisMGxcPhz6CcSmxgwEQQ)(NI64 i);
  688. static N_INLINE(NI, toLinenumber__6D4Rmpw7LpcRI1j7CMqEsAmsgs)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
  689. static N_INLINE(NI, toColumn__6D4Rmpw7LpcRI1j7CMqEsA_2msgs)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info);
  690. N_LIB_PRIVATE N_NIMCALL(NI, countBits32)(NU32 n);
  691. N_LIB_PRIVATE N_NIMCALL(void, value__22GsmbrIt7ciZ1zdjy1Jvg)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg value);
  692. N_LIB_PRIVATE N_NIMCALL(void, value__RbCM2UXVLll9cN4eZagDG6A)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg value);
  693. N_LIB_PRIVATE N_NOINLINE(void, raiseFieldError)(NimStringDesc* f);
  694. N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toStrMaxPrecision__ayHojnbqAtgkZF8TXMNMzg)(NF f, NimStringDesc* literalPostfix);
  695. static N_INLINE(NI, len__P89cqdlERShb9alU3iC0yj8wast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
  696. N_LIB_PRIVATE N_NIMCALL(void, closeCurly__EAEW3Bgfb2rBayBNQm2DKA_7)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0);
  697. N_LIB_PRIVATE N_NIMCALL(void, indentLess__EAEW3Bgfb2rBayBNQm2DKA_8)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0);
  698. static N_INLINE(NI, len__5mJADrRYkP3r9auuiuDZN9cQast)(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* n);
  699. N_LIB_PRIVATE N_NIMCALL(void, echoBinSafe)(NimStringDesc** args, NI argsLen_0);
  700. N_LIB_PRIVATE N_NIMCALL(void, debugType)(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* n, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
  701. N_LIB_PRIVATE N_NIMCALL(void, debugNode)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf);
  702. N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, nextIter__Ag5U6LHpF7iSy3G6AzXM9cw_2)(tyObject_TTabIter__VYF5VQsIYEVaBL0fKZJkbg* ti, tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tab);
  703. N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg);
  704. N_LIB_PRIVATE N_NIMCALL(NI, idTableRawGet__SaVgzV5UjaVvopbOluf3NA)(tyObject_TIdTable__9aiv9bp2t5icFNINcg9c4xi1Q t, NI key);
  705. static N_INLINE(NI, nextTry__9bzOSawou0eb9apAqvIEoEGgastalgo)(NI h, NI maxHash);
  706. static N_INLINE(void, asgnRef)(void** dest, void* src);
  707. static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
  708. static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y);
  709. static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
  710. static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y);
  711. static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
  712. static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y);
  713. static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
  714. N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
  715. N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, mustRehash__B5utQwGyZRj1lQY2mjeMBw)(NI length, NI counter);
  716. N_LIB_PRIVATE N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
  717. N_LIB_PRIVATE N_NIMCALL(void, idTableRawInsert__psi7yP9bBH1cFhQHDpcKjQA)(tySequence__Mh9agqM29bm9aP5AUL1x7dZGA** data, tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA* key, RootObj* val);
  718. N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasEmptySlot__zswB1qD49cE19bQ8jMzjXQtQ)(tySequence__Mh9agqM29bm9aP5AUL1x7dZGA* data);
  719. N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, eqeq___7c5Zw7H31uJfWmmhZe9aEqw)(tyObject_Int128__9a9axPfb75jdWY25AamJewkA a, tyObject_Int128__9a9axPfb75jdWY25AamJewkA b);
  720. N_LIB_PRIVATE N_NIMCALL(tyObject_Int128__9a9axPfb75jdWY25AamJewkA, getInt__Ml9bTZ5dXYSLBfnGRkErokw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a);
  721. static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
  722. static N_INLINE(NIM_BOOL, equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size);
  723. static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
  724. N_LIB_PRIVATE N_NIMCALL(void, strTableEnlarge__CVRANnnfZDXMACWb4B1HCA)(tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA* t);
  725. N_LIB_PRIVATE N_NIMCALL(void, strTableRawInsert__SHWbts1Rvx7KpPzj7sTOjw)(tySequence__DfgJFJEYoj4YBAHLZPl5lQ** data, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* n);
  726. N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, sameIgnoreBacktickGensymInfo__79a58vqHQbOF5NzKLzjPg9aA)(NimStringDesc* a, NimStringDesc* b);
  727. N_LIB_PRIVATE N_NIMCALL(NIM_CHAR, nsuToLowerAsciiChar)(NIM_CHAR c);
  728. N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, nextIdentIter__9bSCoSykDuXHhkzoBXiof6Q)(tyObject_TIdentIter__Oi4goG2ACEsy9cyTe6OCPrA* ti, tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tab);
  729. N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, nextIdentExcluding__nWv58txbq3B5NUvjC6qnSA)(tyObject_TIdentIter__Oi4goG2ACEsy9cyTe6OCPrA* ti, tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tab, tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg* excluding);
  730. N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__R6uRTGpl30Ofaw4Ni3vawA)(tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg* s, NI key);
  731. N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, lookupInRecord__gYQxUKQhlRY6yBu3Ll2TYg)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* field);
  732. N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, lastSon__UPSW0jLTX5qJL51YMUAHgw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n);
  733. N_LIB_PRIVATE N_NIMCALL(NI, idNodeTableRawGet__gZVj7dpnZcnics5OMZbxkA)(tyObject_TIdNodeTable__UWAp0mDjKLG1NEwUafSRhA t, tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA* key);
  734. N_LIB_PRIVATE N_NIMCALL(void, idNodeTableRawInsert__6GKldMfzTVg8s9bklGSGKAQ)(tySequence__K8W16aeLg4OWxniQxtguMw** data, tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA* key, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* val);
  735. N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, lteq___7c5Zw7H31uJfWmmhZe9aEqw_3)(tyObject_Int128__9a9axPfb75jdWY25AamJewkA a, tyObject_Int128__9a9axPfb75jdWY25AamJewkA b);
  736. static N_INLINE(NI, cmpStrings)(NimStringDesc* a, NimStringDesc* b);
  737. N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, leValue__uOYuOsiCZAbEPMGwBL8r8g_2)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* b);
  738. N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, strTableInclReportConflict__tsV7rrfL6ZnfCXBjJk0jUA)(tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA* t, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* n, NIM_BOOL onConflictKeepOld);
  739. N_LIB_PRIVATE N_NIMCALL(void, symTabReplaceRaw__78XM8LhJNkBJHwAWBX5Rog)(tySequence__DfgJFJEYoj4YBAHLZPl5lQ** data, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* prevSym, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* newSym);
  740. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_2, "null", 4);
  741. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_3, "\033[90m", 5);
  742. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_4, "<defined ", 9);
  743. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_6, " lines upwards>", 15);
  744. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_7, "\033[0m", 4);
  745. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_8, "{", 1);
  746. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_10, ",", 1);
  747. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_11, "\012", 1);
  748. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_14, "\"", 1);
  749. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_15, "\": ", 3);
  750. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_16, "kind", 4);
  751. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_17, "\033[34m", 5);
  752. extern TNimType NTI__cNCW9acsSznmEccl1fgQwkw_;
  753. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_18, "name", 4);
  754. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_19, "\033[32m", 5);
  755. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_20, "id", 2);
  756. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_21, "\033[33m", 5);
  757. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_22, "position", 8);
  758. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_23, "flags", 5);
  759. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_24, "[", 1);
  760. extern TNimType NTI__K9ay6LWMat9bUiT9bIbMxpDHw_;
  761. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_26, ", ", 2);
  762. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_29, "]", 1);
  763. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_30, "typ", 3);
  764. extern TNimType NTI__9a3YiReNVD0IJHWFKgXRe9ag_;
  765. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_32, "sym", 3);
  766. extern TNimType NTI__x2m5g1NpbmDig4wLT3Ylhw_;
  767. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_36, "n", 1);
  768. extern TNimType NTI__G4E4Gxe7oI2Cm03rkiOzQw_;
  769. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_38, "info", 4);
  770. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_41, "\\u", 2);
  771. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_43, "command line", 12);
  772. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_44, "\?\?\?", 3);
  773. extern TNimType NTI__jyh9acXHkhZANSSvPIY7ZLg_;
  774. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_48, "intVal", 6);
  775. static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__uRgrUHgaDgkYkoMPsaodqw_49 = {
  776. 0xe0, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  777. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  778. 0x00, 0x00, 0x00, 0x00, 0x00}
  779. ;
  780. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_50, "\'intVal\' is not accessible using discriminant \'kind\' of type \'T"
  781. "Node\'", 68);
  782. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_51, "floatVal", 8);
  783. static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__uRgrUHgaDgkYkoMPsaodqw_52 = {
  784. 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00,
  785. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  786. 0x00, 0x00, 0x00, 0x00, 0x00}
  787. ;
  788. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_53, "\'floatVal\' is not accessible using discriminant \'kind\' of type "
  789. "\'TNode\'", 70);
  790. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_54, "strVal", 6);
  791. static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__uRgrUHgaDgkYkoMPsaodqw_55 = {
  792. 0x00, 0x00, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00,
  793. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  794. 0x00, 0x00, 0x00, 0x00, 0x00}
  795. ;
  796. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_56, "\'strVal\' is not accessible using discriminant \'kind\' of type \'T"
  797. "Node\'", 68);
  798. static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__uRgrUHgaDgkYkoMPsaodqw_57 = {
  799. 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  800. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  801. 0x00, 0x00, 0x00, 0x00, 0x00}
  802. ;
  803. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_58, "\'sym\' is not accessible using discriminant \'kind\' of type \'TNod"
  804. "e\'", 65);
  805. static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__uRgrUHgaDgkYkoMPsaodqw_59 = {
  806. 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  807. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  808. 0x00, 0x00, 0x00, 0x00, 0x00}
  809. ;
  810. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_60, "\'ident\' is not accessible using discriminant \'kind\' of type \'TN"
  811. "ode\'", 67);
  812. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_61, "ident", 5);
  813. static NIM_CONST tySet_tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw TM__uRgrUHgaDgkYkoMPsaodqw_62 = {
  814. 0xec, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00,
  815. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  816. 0x00, 0x00, 0x00, 0x00, 0x00}
  817. ;
  818. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_63, "\'sons\' is not accessible using discriminant \'kind\' of type \'TNo"
  819. "de\'", 66);
  820. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_64, "sons", 4);
  821. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_68, "}", 1);
  822. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_72, "astalgo.nim(182, 9) `(result.kind == skModule) or (result.owner"
  823. " != result)` ", 76);
  824. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_75, "astalgo.nim(930, 11) `t.data[index].key != nil` ", 48);
  825. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_76, "astalgo.nim(238, 9) `length > counter` ", 39);
  826. extern TNimType NTI__Mh9agqM29bm9aP5AUL1x7dZGA_;
  827. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_81, "astalgo.nim(918, 11) `data[h].key.id != key.id` ", 48);
  828. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_82, "astalgo.nim(920, 9) `data[h].key == nil` ", 41);
  829. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_85, "astalgo.nim(938, 13) `hasEmptySlot(n)` ", 39);
  830. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_87, "astalgo.nim(758, 10) `n.name != nil` ", 37);
  831. extern TNimType NTI__DfgJFJEYoj4YBAHLZPl5lQ_;
  832. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_89, "astalgo.nim(725, 9) `data[h] == nil` ", 37);
  833. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_91, "astalgo.nim(780, 11) `t.data[h] == nil` ", 40);
  834. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_103, "astalgo.nim(975, 11) `t.data[index].key != nil` ", 48);
  835. extern TNimType NTI__K8W16aeLg4OWxniQxtguMw_;
  836. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_105, "astalgo.nim(966, 11) `data[h].key.id != key.id` ", 48);
  837. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_106, "astalgo.nim(968, 9) `data[h].key == nil` ", 41);
  838. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_110, "astalgo.nim(729, 10) `prevSym.name.h == newSym.name.h` ", 55);
  839. STRING_LITERAL(TM__uRgrUHgaDgkYkoMPsaodqw_111, "astalgo.nim(736, 10) `false` ", 29);
  840. extern tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
  841. static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) {
  842. void* T1_;
  843. T1_ = (void*)0;
  844. T1_ = memset(a, v, ((size_t) (size)));
  845. }
  846. static N_INLINE(void, nimZeroMem)(void* p, NI size) {
  847. nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size);
  848. }
  849. static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) {
  850. void* T1_;
  851. T1_ = (void*)0;
  852. T1_ = memcpy(dest, source, ((size_t) (size)));
  853. }
  854. static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size) {
  855. nimCopyMem(dest, source, size);
  856. }
  857. static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
  858. {
  859. if (!!((src == NIM_NIL))) goto LA3_;
  860. copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
  861. (*dest).Sup.len += (*src).Sup.len;
  862. }
  863. LA3_: ;
  864. }
  865. N_LIB_PRIVATE N_NIMCALL(void, indentMore__EAEW3Bgfb2rBayBNQm2DKA_2)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0) {
  866. NI TM__uRgrUHgaDgkYkoMPsaodqw_9;
  867. if (nimAddInt((*this_0).indent, ((NI) 2), &TM__uRgrUHgaDgkYkoMPsaodqw_9)) { raiseOverflow(); };
  868. (*this_0).indent = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_9);
  869. }
  870. N_LIB_PRIVATE N_NIMCALL(void, openCurly__EAEW3Bgfb2rBayBNQm2DKA)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0) {
  871. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  872. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_8));
  873. indentMore__EAEW3Bgfb2rBayBNQm2DKA_2(this_0);
  874. (*this_0).firstItem = NIM_TRUE;
  875. }
  876. N_LIB_PRIVATE N_NIMCALL(void, newlineAndIndent__EAEW3Bgfb2rBayBNQm2DKA_3)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0) {
  877. NI TM__uRgrUHgaDgkYkoMPsaodqw_12;
  878. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  879. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_11));
  880. if (nimAddInt((*this_0).currentLine, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_12)) { raiseOverflow(); };
  881. (*this_0).currentLine = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_12);
  882. {
  883. NI i;
  884. NI i_2;
  885. i = (NI)0;
  886. i_2 = ((NI) 0);
  887. {
  888. while (1) {
  889. NI TM__uRgrUHgaDgkYkoMPsaodqw_13;
  890. if (!(i_2 < (*this_0).indent)) goto LA3;
  891. i = i_2;
  892. unsureAsgnRef((void**) (&(*this_0).res), addChar((*this_0).res, 32));
  893. if (nimAddInt(i_2, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_13)) { raiseOverflow(); };
  894. i_2 = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_13);
  895. } LA3: ;
  896. }
  897. }
  898. }
  899. N_LIB_PRIVATE N_NIMCALL(void, key__phacdxUw7oWjcmjWuQy9bkg)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, NimStringDesc* key) {
  900. {
  901. if (!!((*this_0).firstItem)) goto LA3_;
  902. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  903. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_10));
  904. }
  905. LA3_: ;
  906. (*this_0).firstItem = NIM_FALSE;
  907. newlineAndIndent__EAEW3Bgfb2rBayBNQm2DKA_3(this_0);
  908. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  909. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_14));
  910. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, (key ? key->Sup.len : 0) + 0));
  911. appendString((*this_0).res, key);
  912. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 3));
  913. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_15));
  914. }
  915. N_LIB_PRIVATE N_NIMCALL(void, value__IoQuLXtIJvnyXSTPrJspcg)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw value) {
  916. {
  917. if (!(*this_0).useColor) goto LA3_;
  918. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 5));
  919. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_17));
  920. }
  921. LA3_: ;
  922. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  923. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_14));
  924. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, (reprEnum((NI)value, (&NTI__cNCW9acsSznmEccl1fgQwkw_)) ? reprEnum((NI)value, (&NTI__cNCW9acsSznmEccl1fgQwkw_))->Sup.len : 0) + 0));
  925. appendString((*this_0).res, reprEnum((NI)value, (&NTI__cNCW9acsSznmEccl1fgQwkw_)));
  926. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  927. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_14));
  928. {
  929. if (!(*this_0).useColor) goto LA7_;
  930. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 4));
  931. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_7));
  932. }
  933. LA7_: ;
  934. }
  935. N_LIB_PRIVATE N_NIMCALL(void, value__FzAGrI1bDlDZrjbkaI7wWw)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, NimStringDesc* value) {
  936. {
  937. if (!(*this_0).useColor) goto LA3_;
  938. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 5));
  939. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_19));
  940. }
  941. LA3_: ;
  942. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  943. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_14));
  944. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, (value ? value->Sup.len : 0) + 0));
  945. appendString((*this_0).res, value);
  946. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  947. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_14));
  948. {
  949. if (!(*this_0).useColor) goto LA7_;
  950. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 4));
  951. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_7));
  952. }
  953. LA7_: ;
  954. }
  955. N_LIB_PRIVATE N_NIMCALL(void, value__llsVIlOlOqDWZCDMxDvp3Q)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, NI64 value) {
  956. {
  957. if (!(*this_0).useColor) goto LA3_;
  958. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 5));
  959. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_21));
  960. }
  961. LA3_: ;
  962. addInt__mftMOxbyu0h4yByfs3sqjA((&(*this_0).res), value);
  963. {
  964. if (!(*this_0).useColor) goto LA7_;
  965. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 4));
  966. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_7));
  967. }
  968. LA7_: ;
  969. }
  970. static N_INLINE(NI, countBits64)(NU64 n) {
  971. NI result;
  972. NU64 v;
  973. result = (NI)0;
  974. v = n;
  975. v = (NU64)((NU64)(v) - (NU64)((NU64)((NU64)((NU64)(v) >> (NU64)(1ULL)) & 6148914691236517205ULL)));
  976. v = (NU64)((NU64)((NU64)(v & 3689348814741910323ULL)) + (NU64)((NU64)((NU64)((NU64)(v) >> (NU64)(2ULL)) & 3689348814741910323ULL)));
  977. v = (NU64)((NU64)((NU64)(v) + (NU64)((NU64)((NU64)(v) >> (NU64)(4ULL)))) & 1085102592571150095ULL);
  978. result = ((NI) ((NU64)((NU64)((NU64)((NU64)(v) * (NU64)(72340172838076673ULL))) >> (NU64)(56ULL))));
  979. return result;
  980. }
  981. N_LIB_PRIVATE N_NIMCALL(void, openBracket__EAEW3Bgfb2rBayBNQm2DKA_4)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0) {
  982. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  983. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_24));
  984. }
  985. N_LIB_PRIVATE N_NIMCALL(void, value__ruLxBJWmZYZuNJ1guCKmNQ)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw value) {
  986. {
  987. if (!(*this_0).useColor) goto LA3_;
  988. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 5));
  989. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_17));
  990. }
  991. LA3_: ;
  992. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  993. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_14));
  994. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, (reprEnum((NI)value, (&NTI__K9ay6LWMat9bUiT9bIbMxpDHw_)) ? reprEnum((NI)value, (&NTI__K9ay6LWMat9bUiT9bIbMxpDHw_))->Sup.len : 0) + 0));
  995. appendString((*this_0).res, reprEnum((NI)value, (&NTI__K9ay6LWMat9bUiT9bIbMxpDHw_)));
  996. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  997. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_14));
  998. {
  999. if (!(*this_0).useColor) goto LA7_;
  1000. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 4));
  1001. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_7));
  1002. }
  1003. LA7_: ;
  1004. }
  1005. N_LIB_PRIVATE N_NIMCALL(void, comma__EAEW3Bgfb2rBayBNQm2DKA_5)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0) {
  1006. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 2));
  1007. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_26));
  1008. }
  1009. N_LIB_PRIVATE N_NIMCALL(void, closeBracket__EAEW3Bgfb2rBayBNQm2DKA_6)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0) {
  1010. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  1011. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_29));
  1012. }
  1013. N_LIB_PRIVATE N_NIMCALL(void, value__Hzb0vPKN9benEkKQu05NCSQ)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tySet_tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw value) {
  1014. NI high;
  1015. NI TM__uRgrUHgaDgkYkoMPsaodqw_25;
  1016. NI i;
  1017. openBracket__EAEW3Bgfb2rBayBNQm2DKA_4(this_0);
  1018. if (nimSubInt(countBits64(value), ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_25)) { raiseOverflow(); };
  1019. high = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_25);
  1020. i = ((NI) 0);
  1021. {
  1022. tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw v;
  1023. NI i_2;
  1024. v = (tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw)0;
  1025. i_2 = ((NI) 0);
  1026. {
  1027. while (1) {
  1028. NI TM__uRgrUHgaDgkYkoMPsaodqw_28;
  1029. if (!(i_2 <= ((NI) 41))) goto LA3;
  1030. {
  1031. NI TM__uRgrUHgaDgkYkoMPsaodqw_27;
  1032. if ((i_2) < ((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 0) || (i_2) > ((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 41)){ raiseRangeErrorI(i_2, ((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 0), ((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 41)); }
  1033. if (!((value &((NU64)1<<((NU)(((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) (i_2)))&63U)))!=0)) goto LA6_;
  1034. if ((i_2) < ((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 0) || (i_2) > ((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 41)){ raiseRangeErrorI(i_2, ((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 0), ((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) 41)); }
  1035. v = ((tyEnum_TSymFlag__K9ay6LWMat9bUiT9bIbMxpDHw) (i_2));
  1036. value__ruLxBJWmZYZuNJ1guCKmNQ(this_0, v);
  1037. {
  1038. if (!!((i == high))) goto LA10_;
  1039. comma__EAEW3Bgfb2rBayBNQm2DKA_5(this_0);
  1040. }
  1041. LA10_: ;
  1042. if (nimAddInt(i, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_27)) { raiseOverflow(); };
  1043. i = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_27);
  1044. }
  1045. LA6_: ;
  1046. if (nimAddInt(i_2, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_28)) { raiseOverflow(); };
  1047. i_2 = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_28);
  1048. } LA3: ;
  1049. }
  1050. }
  1051. closeBracket__EAEW3Bgfb2rBayBNQm2DKA_6(this_0);
  1052. }
  1053. N_LIB_PRIVATE N_NIMCALL(void, value__kpJVt9cnR9aTcWW9bP5ctpOcA)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tyEnum_TTypeKind__9a3YiReNVD0IJHWFKgXRe9ag value) {
  1054. {
  1055. if (!(*this_0).useColor) goto LA3_;
  1056. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 5));
  1057. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_17));
  1058. }
  1059. LA3_: ;
  1060. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  1061. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_14));
  1062. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, (reprEnum((NI)value, (&NTI__9a3YiReNVD0IJHWFKgXRe9ag_)) ? reprEnum((NI)value, (&NTI__9a3YiReNVD0IJHWFKgXRe9ag_))->Sup.len : 0) + 0));
  1063. appendString((*this_0).res, reprEnum((NI)value, (&NTI__9a3YiReNVD0IJHWFKgXRe9ag_)));
  1064. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  1065. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_14));
  1066. {
  1067. if (!(*this_0).useColor) goto LA7_;
  1068. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 4));
  1069. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_7));
  1070. }
  1071. LA7_: ;
  1072. }
  1073. N_LIB_PRIVATE N_NIMCALL(void, value__Hsy1hoKfET3FAJnWke3a8w)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw value) {
  1074. {
  1075. if (!(*this_0).useColor) goto LA3_;
  1076. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 5));
  1077. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_17));
  1078. }
  1079. LA3_: ;
  1080. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  1081. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_14));
  1082. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, (reprEnum((NI)value, (&NTI__x2m5g1NpbmDig4wLT3Ylhw_)) ? reprEnum((NI)value, (&NTI__x2m5g1NpbmDig4wLT3Ylhw_))->Sup.len : 0) + 0));
  1083. appendString((*this_0).res, reprEnum((NI)value, (&NTI__x2m5g1NpbmDig4wLT3Ylhw_)));
  1084. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  1085. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_14));
  1086. {
  1087. if (!(*this_0).useColor) goto LA7_;
  1088. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 4));
  1089. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_7));
  1090. }
  1091. LA7_: ;
  1092. }
  1093. N_LIB_PRIVATE N_NIMCALL(void, value__aJLEBHPURIT7szTDyvtBUA)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tySet_tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw value) {
  1094. NI high;
  1095. NI TM__uRgrUHgaDgkYkoMPsaodqw_33;
  1096. NI i;
  1097. openBracket__EAEW3Bgfb2rBayBNQm2DKA_4(this_0);
  1098. if (nimSubInt(countBits64(value), ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_33)) { raiseOverflow(); };
  1099. high = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_33);
  1100. i = ((NI) 0);
  1101. {
  1102. tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw v;
  1103. NI i_2;
  1104. v = (tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw)0;
  1105. i_2 = ((NI) 0);
  1106. {
  1107. while (1) {
  1108. NI TM__uRgrUHgaDgkYkoMPsaodqw_35;
  1109. if (!(i_2 <= ((NI) 39))) goto LA3;
  1110. {
  1111. NI TM__uRgrUHgaDgkYkoMPsaodqw_34;
  1112. if ((i_2) < ((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 0) || (i_2) > ((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 39)){ raiseRangeErrorI(i_2, ((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 0), ((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 39)); }
  1113. if (!((value &((NU64)1<<((NU)(((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) (i_2)))&63U)))!=0)) goto LA6_;
  1114. if ((i_2) < ((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 0) || (i_2) > ((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 39)){ raiseRangeErrorI(i_2, ((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 0), ((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) 39)); }
  1115. v = ((tyEnum_TTypeFlag__x2m5g1NpbmDig4wLT3Ylhw) (i_2));
  1116. value__Hsy1hoKfET3FAJnWke3a8w(this_0, v);
  1117. {
  1118. if (!!((i == high))) goto LA10_;
  1119. comma__EAEW3Bgfb2rBayBNQm2DKA_5(this_0);
  1120. }
  1121. LA10_: ;
  1122. if (nimAddInt(i, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_34)) { raiseOverflow(); };
  1123. i = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_34);
  1124. }
  1125. LA6_: ;
  1126. if (nimAddInt(i_2, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_35)) { raiseOverflow(); };
  1127. i_2 = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_35);
  1128. } LA3: ;
  1129. }
  1130. }
  1131. closeBracket__EAEW3Bgfb2rBayBNQm2DKA_6(this_0);
  1132. }
  1133. N_LIB_PRIVATE N_NIMCALL(void, value__KUWb6zp2ipm1IVHDVNcPJQ)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw value) {
  1134. {
  1135. if (!(*this_0).useColor) goto LA3_;
  1136. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 5));
  1137. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_17));
  1138. }
  1139. LA3_: ;
  1140. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  1141. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_14));
  1142. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, (reprEnum((NI)value, (&NTI__G4E4Gxe7oI2Cm03rkiOzQw_)) ? reprEnum((NI)value, (&NTI__G4E4Gxe7oI2Cm03rkiOzQw_))->Sup.len : 0) + 0));
  1143. appendString((*this_0).res, reprEnum((NI)value, (&NTI__G4E4Gxe7oI2Cm03rkiOzQw_)));
  1144. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  1145. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_14));
  1146. {
  1147. if (!(*this_0).useColor) goto LA7_;
  1148. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 4));
  1149. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_7));
  1150. }
  1151. LA7_: ;
  1152. }
  1153. static N_INLINE(void, appendChar)(NimStringDesc* dest, NIM_CHAR c) {
  1154. (*dest).data[(*dest).Sup.len] = c;
  1155. (*dest).data[(NI)((*dest).Sup.len + ((NI) 1))] = 0;
  1156. (*dest).Sup.len += ((NI) 1);
  1157. }
  1158. N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, toYamlChar__WyTOYiqdW29blXR7k3pjktw)(NIM_CHAR c) {
  1159. NimStringDesc* result;
  1160. result = (NimStringDesc*)0;
  1161. switch (((NU8)(c))) {
  1162. case 0 ... 31:
  1163. case 127 ... 255:
  1164. {
  1165. NimStringDesc* T2_;
  1166. NimStringDesc* T3_;
  1167. T2_ = (NimStringDesc*)0;
  1168. T3_ = (NimStringDesc*)0;
  1169. T3_ = nsuToHex(((NI64) (((NU8)(c)))), ((NI) 4));
  1170. T2_ = rawNewString((T3_ ? T3_->Sup.len : 0) + 2);
  1171. appendString(T2_, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_41));
  1172. appendString(T2_, T3_);
  1173. result = T2_;
  1174. }
  1175. break;
  1176. case 39:
  1177. case 34:
  1178. case 92:
  1179. {
  1180. NimStringDesc* T5_;
  1181. T5_ = (NimStringDesc*)0;
  1182. T5_ = rawNewString(2);
  1183. appendChar(T5_, 92);
  1184. appendChar(T5_, c);
  1185. result = T5_;
  1186. }
  1187. break;
  1188. default:
  1189. {
  1190. result = nimCharToStr(c);
  1191. }
  1192. break;
  1193. }
  1194. return result;
  1195. }
  1196. N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, makeYamlString__P4HN4Rp9arTWym9cdDnUDu8Q)(NimStringDesc* s) {
  1197. tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* result;
  1198. NimStringDesc* res;
  1199. tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T10_;
  1200. result = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
  1201. result = NIM_NIL;
  1202. res = copyString(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_14));
  1203. {
  1204. NI i;
  1205. NI colontmp_;
  1206. NI i_2;
  1207. i = (NI)0;
  1208. colontmp_ = (NI)0;
  1209. colontmp_ = (s ? s->Sup.len : 0);
  1210. i_2 = ((NI) 0);
  1211. {
  1212. while (1) {
  1213. NimStringDesc* T9_;
  1214. NI TM__uRgrUHgaDgkYkoMPsaodqw_42;
  1215. if (!(i_2 < colontmp_)) goto LA3;
  1216. i = i_2;
  1217. {
  1218. NI TM__uRgrUHgaDgkYkoMPsaodqw_39;
  1219. NI TM__uRgrUHgaDgkYkoMPsaodqw_40;
  1220. tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T8_;
  1221. if (nimAddInt(i, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_39)) { raiseOverflow(); };
  1222. if (((NI) 64) == 0){ raiseDivByZero(); }
  1223. if (nimModInt((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_39), ((NI) 64), &TM__uRgrUHgaDgkYkoMPsaodqw_40)) { raiseOverflow(); };
  1224. if (!((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_40) == ((NI) 0))) goto LA6_;
  1225. res = addChar(res, 34);
  1226. res = resizeString(res, 1);
  1227. appendString(res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_11));
  1228. T8_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
  1229. T8_ = rope__yShmEg9cffWxI7s5XzEKBow(res);
  1230. add__IM4kcMNkkOLJtqdEqSxR8A(&result, T8_);
  1231. res = copyString(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_14));
  1232. }
  1233. LA6_: ;
  1234. if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); }
  1235. T9_ = (NimStringDesc*)0;
  1236. T9_ = toYamlChar__WyTOYiqdW29blXR7k3pjktw(s->data[i]);
  1237. res = resizeString(res, (T9_ ? T9_->Sup.len : 0) + 0);
  1238. appendString(res, T9_);
  1239. if (nimAddInt(i_2, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_42)) { raiseOverflow(); };
  1240. i_2 = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_42);
  1241. } LA3: ;
  1242. }
  1243. }
  1244. res = addChar(res, 34);
  1245. T10_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
  1246. T10_ = rope__yShmEg9cffWxI7s5XzEKBow(res);
  1247. add__IM4kcMNkkOLJtqdEqSxR8A(&result, T10_);
  1248. return result;
  1249. }
  1250. static N_INLINE(NI, toLinenumber__6D4Rmpw7LpcRI1j7CMqEsAmsgs)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
  1251. NI result;
  1252. result = (NI)0;
  1253. result = ((NI) (info.line));
  1254. return result;
  1255. }
  1256. static N_INLINE(NI, toColumn__6D4Rmpw7LpcRI1j7CMqEsA_2msgs)(tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
  1257. NI result;
  1258. result = (NI)0;
  1259. result = ((NI) (info.col));
  1260. return result;
  1261. }
  1262. N_LIB_PRIVATE N_NIMCALL(tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*, lineInfoToStr__o5OvO09cfEJ7lAWvUTH12Yw)(tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf, tyObject_TLineInfo__WGx4rAexNXnczy1Avn646Q info) {
  1263. tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* result;
  1264. tyArray__wqYjTJU9ab2ZgEFMaQc3vNA T1_;
  1265. NimStringDesc* T2_;
  1266. NI T15_;
  1267. NI T16_;
  1268. result = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
  1269. nimZeroMem((void*)T1_, sizeof(tyArray__wqYjTJU9ab2ZgEFMaQc3vNA));
  1270. T2_ = (NimStringDesc*)0;
  1271. {
  1272. NIM_BOOL T5_;
  1273. T5_ = (NIM_BOOL)0;
  1274. T5_ = (info.fileIndex < ((NI32) 0));
  1275. if (T5_) goto LA6_;
  1276. T5_ = (conf == NIM_NIL);
  1277. LA6_: ;
  1278. if (!T5_) goto LA7_;
  1279. {
  1280. if (!(info.fileIndex == ((NI32) -3))) goto LA11_;
  1281. T2_ = copyString(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_43));
  1282. }
  1283. goto LA9_;
  1284. LA11_: ;
  1285. {
  1286. T2_ = copyString(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_44));
  1287. }
  1288. LA9_: ;
  1289. }
  1290. goto LA3_;
  1291. LA7_: ;
  1292. {
  1293. if ((NU)(info.fileIndex) >= (NU)((*conf).m.fileInfos ? (*conf).m.fileInfos->Sup.len : 0)){ raiseIndexError2(info.fileIndex,((*conf).m.fileInfos ? (*conf).m.fileInfos->Sup.len : 0)-1); }
  1294. T2_ = copyString((*conf).m.fileInfos->data[info.fileIndex].shortName);
  1295. }
  1296. LA3_: ;
  1297. T1_[0] = makeYamlString__P4HN4Rp9arTWym9cdDnUDu8Q(T2_);
  1298. T15_ = (NI)0;
  1299. T15_ = toLinenumber__6D4Rmpw7LpcRI1j7CMqEsAmsgs(info);
  1300. T1_[1] = rope__KOisMGxcPhz6CcSmxgwEQQ(((NI64) (T15_)));
  1301. T16_ = (NI)0;
  1302. T16_ = toColumn__6D4Rmpw7LpcRI1j7CMqEsA_2msgs(info);
  1303. T1_[2] = rope__KOisMGxcPhz6CcSmxgwEQQ(((NI64) (T16_)));
  1304. result = percent___UQfMnMPks8jKz20fTXQy9bQ(T1_, 3);
  1305. return result;
  1306. }
  1307. N_LIB_PRIVATE N_NIMCALL(void, value__RbCM2UXVLll9cN4eZagDG6A)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg value) {
  1308. {
  1309. if (!(*this_0).useColor) goto LA3_;
  1310. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 5));
  1311. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_17));
  1312. }
  1313. LA3_: ;
  1314. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  1315. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_14));
  1316. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, (reprEnum((NI)value, (&NTI__jyh9acXHkhZANSSvPIY7ZLg_)) ? reprEnum((NI)value, (&NTI__jyh9acXHkhZANSSvPIY7ZLg_))->Sup.len : 0) + 0));
  1317. appendString((*this_0).res, reprEnum((NI)value, (&NTI__jyh9acXHkhZANSSvPIY7ZLg_)));
  1318. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  1319. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_14));
  1320. {
  1321. if (!(*this_0).useColor) goto LA7_;
  1322. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 4));
  1323. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_7));
  1324. }
  1325. LA7_: ;
  1326. }
  1327. N_LIB_PRIVATE N_NIMCALL(void, value__22GsmbrIt7ciZ1zdjy1Jvg)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tySet_tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg value) {
  1328. NI high;
  1329. NI TM__uRgrUHgaDgkYkoMPsaodqw_45;
  1330. NI i;
  1331. openBracket__EAEW3Bgfb2rBayBNQm2DKA_4(this_0);
  1332. if (nimSubInt(countBits32(value), ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_45)) { raiseOverflow(); };
  1333. high = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_45);
  1334. i = ((NI) 0);
  1335. {
  1336. tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg v;
  1337. NI i_2;
  1338. v = (tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg)0;
  1339. i_2 = ((NI) 0);
  1340. {
  1341. while (1) {
  1342. NI TM__uRgrUHgaDgkYkoMPsaodqw_47;
  1343. if (!(i_2 <= ((NI) 20))) goto LA3;
  1344. {
  1345. NI TM__uRgrUHgaDgkYkoMPsaodqw_46;
  1346. if ((i_2) < ((tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg) 0) || (i_2) > ((tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg) 20)){ raiseRangeErrorI(i_2, ((tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg) 0), ((tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg) 20)); }
  1347. if (!((value &(1U<<((NU)(((tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg) (i_2)))&31U)))!=0)) goto LA6_;
  1348. if ((i_2) < ((tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg) 0) || (i_2) > ((tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg) 20)){ raiseRangeErrorI(i_2, ((tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg) 0), ((tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg) 20)); }
  1349. v = ((tyEnum_TNodeFlag__jyh9acXHkhZANSSvPIY7ZLg) (i_2));
  1350. value__RbCM2UXVLll9cN4eZagDG6A(this_0, v);
  1351. {
  1352. if (!!((i == high))) goto LA10_;
  1353. comma__EAEW3Bgfb2rBayBNQm2DKA_5(this_0);
  1354. }
  1355. LA10_: ;
  1356. if (nimAddInt(i, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_46)) { raiseOverflow(); };
  1357. i = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_46);
  1358. }
  1359. LA6_: ;
  1360. if (nimAddInt(i_2, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_47)) { raiseOverflow(); };
  1361. i_2 = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_47);
  1362. } LA3: ;
  1363. }
  1364. }
  1365. closeBracket__EAEW3Bgfb2rBayBNQm2DKA_6(this_0);
  1366. }
  1367. static N_INLINE(NI, len__P89cqdlERShb9alU3iC0yj8wast)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
  1368. NI result;
  1369. NI T1_;
  1370. result = (NI)0;
  1371. if (((TM__uRgrUHgaDgkYkoMPsaodqw_62[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_63)); }
  1372. T1_ = ((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0);
  1373. result = T1_;
  1374. return result;
  1375. }
  1376. N_LIB_PRIVATE N_NIMCALL(void, indentLess__EAEW3Bgfb2rBayBNQm2DKA_8)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0) {
  1377. NI TM__uRgrUHgaDgkYkoMPsaodqw_67;
  1378. if (nimSubInt((*this_0).indent, ((NI) 2), &TM__uRgrUHgaDgkYkoMPsaodqw_67)) { raiseOverflow(); };
  1379. (*this_0).indent = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_67);
  1380. }
  1381. N_LIB_PRIVATE N_NIMCALL(void, closeCurly__EAEW3Bgfb2rBayBNQm2DKA_7)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0) {
  1382. indentLess__EAEW3Bgfb2rBayBNQm2DKA_8(this_0);
  1383. newlineAndIndent__EAEW3Bgfb2rBayBNQm2DKA_3(this_0);
  1384. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 1));
  1385. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_68));
  1386. }
  1387. N_LIB_PRIVATE N_NIMCALL(void, value__PG3EgA9a9albKasBOYELDF6A)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* value) {
  1388. NI indexX60gensym20555028_;
  1389. { {
  1390. if (!(value == NIM_NIL)) goto LA3_;
  1391. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 4));
  1392. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_2));
  1393. goto BeforeRet_;
  1394. }
  1395. LA3_: ;
  1396. indexX60gensym20555028_ = getOrDefault__ucLvuteXMiAMAvKs77J1uw((*this_0).visited, ((void*) (value)), ((NI) -1));
  1397. {
  1398. if (!(indexX60gensym20555028_ < ((NI) 0))) goto LA7_;
  1399. X5BX5Deq___7nUN9bEb8it8esEzVF54z3Q((&(*this_0).visited), ((void*) (value)), (*this_0).currentLine);
  1400. }
  1401. goto LA5_;
  1402. LA7_: ;
  1403. {
  1404. NI TM__uRgrUHgaDgkYkoMPsaodqw_37;
  1405. {
  1406. if (!(*this_0).useColor) goto LA12_;
  1407. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 5));
  1408. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_3));
  1409. }
  1410. LA12_: ;
  1411. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 9));
  1412. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_4));
  1413. if (nimSubInt((*this_0).currentLine, indexX60gensym20555028_, &TM__uRgrUHgaDgkYkoMPsaodqw_37)) { raiseOverflow(); };
  1414. addInt__mftMOxbyu0h4yByfs3sqjA((&(*this_0).res), ((NI64) ((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_37))));
  1415. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 15));
  1416. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_6));
  1417. {
  1418. if (!(*this_0).useColor) goto LA16_;
  1419. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 4));
  1420. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_7));
  1421. }
  1422. LA16_: ;
  1423. goto BeforeRet_;
  1424. }
  1425. LA5_: ;
  1426. openCurly__EAEW3Bgfb2rBayBNQm2DKA(this_0);
  1427. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_16));
  1428. value__KUWb6zp2ipm1IVHDVNcPJQ(this_0, (*value).kind);
  1429. {
  1430. tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA* T22_;
  1431. NimStringDesc* T23_;
  1432. if (!!(((*this_0).conf == NIM_NIL))) goto LA20_;
  1433. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_38));
  1434. T22_ = (tyObject_RopeObj__OFzf0kSiPTcNreUIeJgWVA*)0;
  1435. T22_ = lineInfoToStr__o5OvO09cfEJ7lAWvUTH12Yw((*this_0).conf, (*value).info);
  1436. T23_ = (NimStringDesc*)0;
  1437. T23_ = dollar___mZ66tEveFIQokq3arf8Klw(T22_);
  1438. value__FzAGrI1bDlDZrjbkaI7wWw(this_0, T23_);
  1439. }
  1440. LA20_: ;
  1441. {
  1442. if (!(((NI) 0) < countBits32((*value).flags))) goto LA26_;
  1443. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_23));
  1444. value__22GsmbrIt7ciZ1zdjy1Jvg(this_0, (*value).flags);
  1445. }
  1446. LA26_: ;
  1447. switch ((*value).kind) {
  1448. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 5) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 15):
  1449. {
  1450. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_48));
  1451. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_49[(NU)((*value).kind)>>3] &(1U<<((NU)((*value).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_50)); }
  1452. value__llsVIlOlOqDWZCDMxDvp3Q(this_0, (*value)._kind_1.intVal);
  1453. }
  1454. break;
  1455. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 16):
  1456. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 17):
  1457. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 18):
  1458. {
  1459. NimStringDesc* T30_;
  1460. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_51));
  1461. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_52[(NU)((*value).kind)>>3] &(1U<<((NU)((*value).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_53)); }
  1462. T30_ = (NimStringDesc*)0;
  1463. T30_ = toStrMaxPrecision__ayHojnbqAtgkZF8TXMNMzg((*value)._kind_2.floatVal, ((NimStringDesc*) NIM_NIL));
  1464. value__FzAGrI1bDlDZrjbkaI7wWw(this_0, T30_);
  1465. }
  1466. break;
  1467. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 22):
  1468. {
  1469. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_54));
  1470. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_55[(NU)((*value).kind)>>3] &(1U<<((NU)((*value).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_56)); }
  1471. value__FzAGrI1bDlDZrjbkaI7wWw(this_0, (*value)._kind_3.strVal);
  1472. }
  1473. break;
  1474. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3):
  1475. {
  1476. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_32));
  1477. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_57[(NU)((*value).kind)>>3] &(1U<<((NU)((*value).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_58)); }
  1478. value__WBlS070x2bmiH6WMBydj9bA(this_0, (*value)._kind_4.sym);
  1479. }
  1480. break;
  1481. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 2):
  1482. {
  1483. {
  1484. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_59[(NU)((*value).kind)>>3] &(1U<<((NU)((*value).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_60)); }
  1485. if (!!(((*value)._kind_5.ident == NIM_NIL))) goto LA36_;
  1486. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_61));
  1487. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_59[(NU)((*value).kind)>>3] &(1U<<((NU)((*value).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_60)); }
  1488. value__FzAGrI1bDlDZrjbkaI7wWw(this_0, (*(*value)._kind_5.ident).s);
  1489. }
  1490. LA36_: ;
  1491. }
  1492. break;
  1493. default:
  1494. {
  1495. {
  1496. NIM_BOOL T41_;
  1497. T41_ = (NIM_BOOL)0;
  1498. T41_ = (*this_0).renderSymType;
  1499. if (!(T41_)) goto LA42_;
  1500. T41_ = !(((*value).typ == NIM_NIL));
  1501. LA42_: ;
  1502. if (!T41_) goto LA43_;
  1503. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_30));
  1504. value__uX2gdSRLzvWLVnXyqz6jsg(this_0, (*value).typ);
  1505. }
  1506. LA43_: ;
  1507. {
  1508. NI T47_;
  1509. T47_ = (NI)0;
  1510. T47_ = len__P89cqdlERShb9alU3iC0yj8wast(value);
  1511. if (!(((NI) 0) < T47_)) goto LA48_;
  1512. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_64));
  1513. openBracket__EAEW3Bgfb2rBayBNQm2DKA_4(this_0);
  1514. {
  1515. NI i;
  1516. NI colontmp_;
  1517. NI i_2;
  1518. i = (NI)0;
  1519. colontmp_ = (NI)0;
  1520. colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(value);
  1521. i_2 = ((NI) 0);
  1522. {
  1523. while (1) {
  1524. NI TM__uRgrUHgaDgkYkoMPsaodqw_66;
  1525. if (!(i_2 < colontmp_)) goto LA52;
  1526. i = i_2;
  1527. if (((TM__uRgrUHgaDgkYkoMPsaodqw_62[(NU)((*value).kind)>>3] &(1U<<((NU)((*value).kind)&7U)))!=0)){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_63)); }
  1528. if ((NU)(i) >= (NU)((*value)._kind_6.sons ? (*value)._kind_6.sons->Sup.len : 0)){ raiseIndexError2(i,((*value)._kind_6.sons ? (*value)._kind_6.sons->Sup.len : 0)-1); }
  1529. value__PG3EgA9a9albKasBOYELDF6A(this_0, (*value)._kind_6.sons->data[i]);
  1530. {
  1531. NI T55_;
  1532. NI TM__uRgrUHgaDgkYkoMPsaodqw_65;
  1533. T55_ = (NI)0;
  1534. T55_ = len__P89cqdlERShb9alU3iC0yj8wast(value);
  1535. if (nimSubInt(T55_, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_65)) { raiseOverflow(); };
  1536. if (!!((i == (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_65)))) goto LA56_;
  1537. comma__EAEW3Bgfb2rBayBNQm2DKA_5(this_0);
  1538. }
  1539. LA56_: ;
  1540. if (nimAddInt(i_2, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_66)) { raiseOverflow(); };
  1541. i_2 = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_66);
  1542. } LA52: ;
  1543. }
  1544. }
  1545. closeBracket__EAEW3Bgfb2rBayBNQm2DKA_6(this_0);
  1546. }
  1547. LA48_: ;
  1548. }
  1549. break;
  1550. }
  1551. closeCurly__EAEW3Bgfb2rBayBNQm2DKA_7(this_0);
  1552. }BeforeRet_: ;
  1553. }
  1554. static N_INLINE(NI, len__5mJADrRYkP3r9auuiuDZN9cQast)(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* n) {
  1555. NI result;
  1556. NI T1_;
  1557. result = (NI)0;
  1558. T1_ = ((*n).sons ? (*n).sons->Sup.len : 0);
  1559. result = T1_;
  1560. return result;
  1561. }
  1562. N_LIB_PRIVATE N_NIMCALL(void, value__uX2gdSRLzvWLVnXyqz6jsg)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* value) {
  1563. NI indexX60gensym20510030_;
  1564. { {
  1565. if (!(value == NIM_NIL)) goto LA3_;
  1566. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 4));
  1567. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_2));
  1568. goto BeforeRet_;
  1569. }
  1570. LA3_: ;
  1571. indexX60gensym20510030_ = getOrDefault__ucLvuteXMiAMAvKs77J1uw((*this_0).visited, ((void*) (value)), ((NI) -1));
  1572. {
  1573. if (!(indexX60gensym20510030_ < ((NI) 0))) goto LA7_;
  1574. X5BX5Deq___7nUN9bEb8it8esEzVF54z3Q((&(*this_0).visited), ((void*) (value)), (*this_0).currentLine);
  1575. }
  1576. goto LA5_;
  1577. LA7_: ;
  1578. {
  1579. NI TM__uRgrUHgaDgkYkoMPsaodqw_31;
  1580. {
  1581. if (!(*this_0).useColor) goto LA12_;
  1582. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 5));
  1583. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_3));
  1584. }
  1585. LA12_: ;
  1586. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 9));
  1587. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_4));
  1588. if (nimSubInt((*this_0).currentLine, indexX60gensym20510030_, &TM__uRgrUHgaDgkYkoMPsaodqw_31)) { raiseOverflow(); };
  1589. addInt__mftMOxbyu0h4yByfs3sqjA((&(*this_0).res), ((NI64) ((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_31))));
  1590. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 15));
  1591. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_6));
  1592. {
  1593. if (!(*this_0).useColor) goto LA16_;
  1594. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 4));
  1595. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_7));
  1596. }
  1597. LA16_: ;
  1598. goto BeforeRet_;
  1599. }
  1600. LA5_: ;
  1601. openCurly__EAEW3Bgfb2rBayBNQm2DKA(this_0);
  1602. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_16));
  1603. value__kpJVt9cnR9aTcWW9bP5ctpOcA(this_0, (*value).kind);
  1604. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_20));
  1605. value__llsVIlOlOqDWZCDMxDvp3Q(this_0, ((NI64) ((*value).Sup.id)));
  1606. {
  1607. if (!!(((*value).sym == NIM_NIL))) goto LA20_;
  1608. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_32));
  1609. value__WBlS070x2bmiH6WMBydj9bA(this_0, (*value).sym);
  1610. }
  1611. LA20_: ;
  1612. {
  1613. if (!(((NI) 0) < countBits64((*value).flags))) goto LA24_;
  1614. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_23));
  1615. value__aJLEBHPURIT7szTDyvtBUA(this_0, (*value).flags);
  1616. }
  1617. LA24_: ;
  1618. {
  1619. NIM_BOOL T28_;
  1620. T28_ = (NIM_BOOL)0;
  1621. T28_ = ((IL64(35182224621574) &((NU64)1<<((NU)((*value).kind)&63U)))!=0);
  1622. if (!(T28_)) goto LA29_;
  1623. T28_ = !(((*value).n == NIM_NIL));
  1624. LA29_: ;
  1625. if (!T28_) goto LA30_;
  1626. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_36));
  1627. value__PG3EgA9a9albKasBOYELDF6A(this_0, (*value).n);
  1628. }
  1629. LA30_: ;
  1630. {
  1631. NI T34_;
  1632. T34_ = (NI)0;
  1633. T34_ = len__5mJADrRYkP3r9auuiuDZN9cQast(value);
  1634. if (!(((NI) 0) < T34_)) goto LA35_;
  1635. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_64));
  1636. openBracket__EAEW3Bgfb2rBayBNQm2DKA_4(this_0);
  1637. {
  1638. NI i;
  1639. NI colontmp_;
  1640. NI i_2;
  1641. i = (NI)0;
  1642. colontmp_ = (NI)0;
  1643. colontmp_ = len__5mJADrRYkP3r9auuiuDZN9cQast(value);
  1644. i_2 = ((NI) 0);
  1645. {
  1646. while (1) {
  1647. NI TM__uRgrUHgaDgkYkoMPsaodqw_70;
  1648. if (!(i_2 < colontmp_)) goto LA39;
  1649. i = i_2;
  1650. if ((NU)(i) >= (NU)((*value).sons ? (*value).sons->Sup.len : 0)){ raiseIndexError2(i,((*value).sons ? (*value).sons->Sup.len : 0)-1); }
  1651. value__uX2gdSRLzvWLVnXyqz6jsg(this_0, (*value).sons->data[i]);
  1652. {
  1653. NI T42_;
  1654. NI TM__uRgrUHgaDgkYkoMPsaodqw_69;
  1655. T42_ = (NI)0;
  1656. T42_ = len__5mJADrRYkP3r9auuiuDZN9cQast(value);
  1657. if (nimSubInt(T42_, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_69)) { raiseOverflow(); };
  1658. if (!!((i == (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_69)))) goto LA43_;
  1659. comma__EAEW3Bgfb2rBayBNQm2DKA_5(this_0);
  1660. }
  1661. LA43_: ;
  1662. if (nimAddInt(i_2, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_70)) { raiseOverflow(); };
  1663. i_2 = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_70);
  1664. } LA39: ;
  1665. }
  1666. }
  1667. closeBracket__EAEW3Bgfb2rBayBNQm2DKA_6(this_0);
  1668. }
  1669. LA35_: ;
  1670. {
  1671. if (!!(((*value).n == NIM_NIL))) goto LA47_;
  1672. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_36));
  1673. value__PG3EgA9a9albKasBOYELDF6A(this_0, (*value).n);
  1674. }
  1675. LA47_: ;
  1676. closeCurly__EAEW3Bgfb2rBayBNQm2DKA_7(this_0);
  1677. }BeforeRet_: ;
  1678. }
  1679. N_LIB_PRIVATE N_NIMCALL(void, value__WBlS070x2bmiH6WMBydj9bA)(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA* this_0, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* value) {
  1680. NI indexX60gensym20410441_;
  1681. { {
  1682. if (!(value == NIM_NIL)) goto LA3_;
  1683. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 4));
  1684. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_2));
  1685. goto BeforeRet_;
  1686. }
  1687. LA3_: ;
  1688. indexX60gensym20410441_ = getOrDefault__ucLvuteXMiAMAvKs77J1uw((*this_0).visited, ((void*) (value)), ((NI) -1));
  1689. {
  1690. if (!(indexX60gensym20410441_ < ((NI) 0))) goto LA7_;
  1691. X5BX5Deq___7nUN9bEb8it8esEzVF54z3Q((&(*this_0).visited), ((void*) (value)), (*this_0).currentLine);
  1692. }
  1693. goto LA5_;
  1694. LA7_: ;
  1695. {
  1696. NI TM__uRgrUHgaDgkYkoMPsaodqw_5;
  1697. {
  1698. if (!(*this_0).useColor) goto LA12_;
  1699. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 5));
  1700. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_3));
  1701. }
  1702. LA12_: ;
  1703. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 9));
  1704. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_4));
  1705. if (nimSubInt((*this_0).currentLine, indexX60gensym20410441_, &TM__uRgrUHgaDgkYkoMPsaodqw_5)) { raiseOverflow(); };
  1706. addInt__mftMOxbyu0h4yByfs3sqjA((&(*this_0).res), ((NI64) ((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_5))));
  1707. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 15));
  1708. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_6));
  1709. {
  1710. if (!(*this_0).useColor) goto LA16_;
  1711. unsureAsgnRef((void**) (&(*this_0).res), resizeString((*this_0).res, 4));
  1712. appendString((*this_0).res, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_7));
  1713. }
  1714. LA16_: ;
  1715. goto BeforeRet_;
  1716. }
  1717. LA5_: ;
  1718. openCurly__EAEW3Bgfb2rBayBNQm2DKA(this_0);
  1719. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_16));
  1720. value__IoQuLXtIJvnyXSTPrJspcg(this_0, (*value).kind);
  1721. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_18));
  1722. value__FzAGrI1bDlDZrjbkaI7wWw(this_0, (*(*value).name).s);
  1723. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_20));
  1724. value__llsVIlOlOqDWZCDMxDvp3Q(this_0, ((NI64) ((*value).Sup.id)));
  1725. {
  1726. if (!((1572872 &(1U<<((NU)((*value).kind)&31U)))!=0)) goto LA20_;
  1727. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_22));
  1728. value__llsVIlOlOqDWZCDMxDvp3Q(this_0, ((NI64) ((*value).position)));
  1729. }
  1730. LA20_: ;
  1731. {
  1732. if (!(((NI) 0) < countBits64((*value).flags))) goto LA24_;
  1733. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_23));
  1734. value__Hzb0vPKN9benEkKQu05NCSQ(this_0, (*value).flags);
  1735. }
  1736. LA24_: ;
  1737. {
  1738. NIM_BOOL T28_;
  1739. T28_ = (NIM_BOOL)0;
  1740. T28_ = (*this_0).renderSymType;
  1741. if (!(T28_)) goto LA29_;
  1742. T28_ = !(((*value).typ == NIM_NIL));
  1743. LA29_: ;
  1744. if (!T28_) goto LA30_;
  1745. key__phacdxUw7oWjcmjWuQy9bkg(this_0, ((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_30));
  1746. value__uX2gdSRLzvWLVnXyqz6jsg(this_0, (*value).typ);
  1747. }
  1748. LA30_: ;
  1749. closeCurly__EAEW3Bgfb2rBayBNQm2DKA_7(this_0);
  1750. }BeforeRet_: ;
  1751. }
  1752. N_LIB_PRIVATE N_NIMCALL(void, debugSym)(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* n, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {
  1753. tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA this_1;
  1754. tyArray__nHXaesL0DJZHyVS07ARPRA T1_;
  1755. nimZeroMem((void*)(&this_1), sizeof(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA));
  1756. initTable__avINVlbIK12XSqjy8oSlzg(((NI) 64), (&this_1.visited));
  1757. this_1.renderSymType = NIM_TRUE;
  1758. this_1.useColor = NIM_FALSE;
  1759. value__WBlS070x2bmiH6WMBydj9bA((&this_1), n);
  1760. nimZeroMem((void*)T1_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
  1761. T1_[0] = copyString(this_1.res);
  1762. echoBinSafe(T1_, 1);
  1763. }
  1764. N_LIB_PRIVATE N_NIMCALL(void, debugType)(tyObject_TType__v9ae2Dpu13OW2ZJ2U9bNMd9cQ* n, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {
  1765. tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA this_1;
  1766. tyArray__nHXaesL0DJZHyVS07ARPRA T1_;
  1767. nimZeroMem((void*)(&this_1), sizeof(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA));
  1768. initTable__avINVlbIK12XSqjy8oSlzg(((NI) 64), (&this_1.visited));
  1769. this_1.renderSymType = NIM_TRUE;
  1770. this_1.useColor = NIM_FALSE;
  1771. value__uX2gdSRLzvWLVnXyqz6jsg((&this_1), n);
  1772. nimZeroMem((void*)T1_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
  1773. T1_[0] = copyString(this_1.res);
  1774. echoBinSafe(T1_, 1);
  1775. }
  1776. N_LIB_PRIVATE N_NIMCALL(void, debugNode)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_ConfigRefcolonObjectType___LaK09ayL9alwKUad7rts0rTw* conf) {
  1777. tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA this_1;
  1778. tyArray__nHXaesL0DJZHyVS07ARPRA T1_;
  1779. nimZeroMem((void*)(&this_1), sizeof(tyObject_DebugPrinter__a6duEI3KVtgLLu9cNBssigA));
  1780. initTable__avINVlbIK12XSqjy8oSlzg(((NI) 64), (&this_1.visited));
  1781. this_1.useColor = NIM_FALSE;
  1782. value__PG3EgA9a9albKasBOYELDF6A((&this_1), n);
  1783. nimZeroMem((void*)T1_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA));
  1784. T1_[0] = copyString(this_1.res);
  1785. echoBinSafe(T1_, 1);
  1786. }
  1787. N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, nextIter__Ag5U6LHpF7iSy3G6AzXM9cw_2)(tyObject_TTabIter__VYF5VQsIYEVaBL0fKZJkbg* ti, tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tab) {
  1788. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* result;
  1789. result = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
  1790. result = NIM_NIL;
  1791. {
  1792. while (1) {
  1793. NI T3_;
  1794. NI TM__uRgrUHgaDgkYkoMPsaodqw_71;
  1795. T3_ = ((tab.data ? tab.data->Sup.len : 0)-1);
  1796. if (!((*ti).h <= T3_)) goto LA2;
  1797. if ((NU)((*ti).h) >= (NU)(tab.data ? tab.data->Sup.len : 0)){ raiseIndexError2((*ti).h,(tab.data ? tab.data->Sup.len : 0)-1); }
  1798. result = tab.data->data[(*ti).h];
  1799. if (nimAddInt((*ti).h, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_71)) { raiseOverflow(); };
  1800. (*ti).h = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_71);
  1801. {
  1802. if (!!((result == NIM_NIL))) goto LA6_;
  1803. goto LA1;
  1804. }
  1805. LA6_: ;
  1806. } LA2: ;
  1807. } LA1: ;
  1808. return result;
  1809. }
  1810. N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, initTabIter__Ag5U6LHpF7iSy3G6AzXM9cw)(tyObject_TTabIter__VYF5VQsIYEVaBL0fKZJkbg* ti, tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tab) {
  1811. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* result;
  1812. result = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
  1813. (*ti).h = ((NI) 0);
  1814. {
  1815. if (!(tab.counter == ((NI) 0))) goto LA3_;
  1816. result = NIM_NIL;
  1817. }
  1818. goto LA1_;
  1819. LA3_: ;
  1820. {
  1821. result = nextIter__Ag5U6LHpF7iSy3G6AzXM9cw_2(ti, tab);
  1822. }
  1823. LA1_: ;
  1824. return result;
  1825. }
  1826. N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, getModule__xfh8ar7fDxVX2A4OO9b5sqQ)(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* s) {
  1827. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* result;
  1828. result = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
  1829. result = s;
  1830. {
  1831. NIM_BOOL T3_;
  1832. T3_ = (NIM_BOOL)0;
  1833. T3_ = ((*result).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6));
  1834. if (T3_) goto LA4_;
  1835. T3_ = !(((*result).owner == result));
  1836. LA4_: ;
  1837. if (!!(T3_)) goto LA5_;
  1838. failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_72));
  1839. }
  1840. LA5_: ;
  1841. {
  1842. while (1) {
  1843. NIM_BOOL T9_;
  1844. T9_ = (NIM_BOOL)0;
  1845. T9_ = !((result == NIM_NIL));
  1846. if (!(T9_)) goto LA10_;
  1847. T9_ = !(((*result).kind == ((tyEnum_TSymKind__cNCW9acsSznmEccl1fgQwkw) 6)));
  1848. LA10_: ;
  1849. if (!T9_) goto LA8;
  1850. result = (*result).owner;
  1851. } LA8: ;
  1852. }
  1853. return result;
  1854. }
  1855. static N_INLINE(NI, nextTry__9bzOSawou0eb9apAqvIEoEGgastalgo)(NI h, NI maxHash) {
  1856. NI result;
  1857. NI TM__uRgrUHgaDgkYkoMPsaodqw_73;
  1858. NI TM__uRgrUHgaDgkYkoMPsaodqw_74;
  1859. result = (NI)0;
  1860. if (nimMulInt(((NI) 5), h, &TM__uRgrUHgaDgkYkoMPsaodqw_73)) { raiseOverflow(); };
  1861. if (nimAddInt((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_73), ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_74)) { raiseOverflow(); };
  1862. result = (NI)((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_74) & maxHash);
  1863. return result;
  1864. }
  1865. N_LIB_PRIVATE N_NIMCALL(NI, idTableRawGet__SaVgzV5UjaVvopbOluf3NA)(tyObject_TIdTable__9aiv9bp2t5icFNINcg9c4xi1Q t, NI key) {
  1866. NI result;
  1867. NI h;
  1868. NI T1_;
  1869. { result = (NI)0;
  1870. h = (NI)0;
  1871. T1_ = ((t.data ? t.data->Sup.len : 0)-1);
  1872. h = (NI)(key & T1_);
  1873. {
  1874. while (1) {
  1875. NI T8_;
  1876. if ((NU)(h) >= (NU)(t.data ? t.data->Sup.len : 0)){ raiseIndexError2(h,(t.data ? t.data->Sup.len : 0)-1); }
  1877. if (!!((t.data->data[h].key == NIM_NIL))) goto LA3;
  1878. {
  1879. if ((NU)(h) >= (NU)(t.data ? t.data->Sup.len : 0)){ raiseIndexError2(h,(t.data ? t.data->Sup.len : 0)-1); }
  1880. if (!((*t.data->data[h].key).id == key)) goto LA6_;
  1881. result = h;
  1882. goto BeforeRet_;
  1883. }
  1884. LA6_: ;
  1885. T8_ = ((t.data ? t.data->Sup.len : 0)-1);
  1886. h = nextTry__9bzOSawou0eb9apAqvIEoEGgastalgo(h, T8_);
  1887. } LA3: ;
  1888. }
  1889. result = ((NI) -1);
  1890. }BeforeRet_: ;
  1891. return result;
  1892. }
  1893. static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y) {
  1894. NI result;
  1895. result = (NI)0;
  1896. result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y))))));
  1897. return result;
  1898. }
  1899. static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
  1900. (*c).refcount = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem((*c).refcount, ((NI) 8));
  1901. }
  1902. static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y) {
  1903. NI result;
  1904. result = (NI)0;
  1905. result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y))))));
  1906. return result;
  1907. }
  1908. static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) {
  1909. tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result;
  1910. NI T1_;
  1911. result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
  1912. T1_ = (NI)0;
  1913. T1_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (usr)), ((NI) 16));
  1914. result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_));
  1915. return result;
  1916. }
  1917. static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y) {
  1918. NIM_BOOL result;
  1919. result = (NIM_BOOL)0;
  1920. result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y))));
  1921. return result;
  1922. }
  1923. static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
  1924. addZCT__Y66tOYFjgwJ0k4aLz4bc0Q((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), c);
  1925. }
  1926. static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
  1927. (*c).refcount = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system((*c).refcount, ((NI) 8));
  1928. {
  1929. NIM_BOOL T3_;
  1930. T3_ = (NIM_BOOL)0;
  1931. T3_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*c).refcount, ((NI) 8));
  1932. if (!T3_) goto LA4_;
  1933. rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system(c);
  1934. }
  1935. LA4_: ;
  1936. }
  1937. static N_INLINE(void, asgnRef)(void** dest, void* src) {
  1938. {
  1939. tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
  1940. if (!!((src == NIM_NIL))) goto LA3_;
  1941. T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
  1942. T5_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src);
  1943. incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T5_);
  1944. }
  1945. LA3_: ;
  1946. {
  1947. tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
  1948. if (!!(((*dest) == NIM_NIL))) goto LA8_;
  1949. T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
  1950. T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest));
  1951. decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T10_);
  1952. }
  1953. LA8_: ;
  1954. (*dest) = src;
  1955. }
  1956. N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, mustRehash__B5utQwGyZRj1lQY2mjeMBw)(NI length, NI counter) {
  1957. NIM_BOOL result;
  1958. NIM_BOOL T5_;
  1959. NI TM__uRgrUHgaDgkYkoMPsaodqw_77;
  1960. NI TM__uRgrUHgaDgkYkoMPsaodqw_78;
  1961. NI TM__uRgrUHgaDgkYkoMPsaodqw_79;
  1962. result = (NIM_BOOL)0;
  1963. {
  1964. if (!!((counter < length))) goto LA3_;
  1965. failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_76));
  1966. }
  1967. LA3_: ;
  1968. T5_ = (NIM_BOOL)0;
  1969. if (nimMulInt(length, ((NI) 2), &TM__uRgrUHgaDgkYkoMPsaodqw_77)) { raiseOverflow(); };
  1970. if (nimMulInt(counter, ((NI) 3), &TM__uRgrUHgaDgkYkoMPsaodqw_78)) { raiseOverflow(); };
  1971. T5_ = ((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_77) < (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_78));
  1972. if (T5_) goto LA6_;
  1973. if (nimSubInt(length, counter, &TM__uRgrUHgaDgkYkoMPsaodqw_79)) { raiseOverflow(); };
  1974. T5_ = ((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_79) < ((NI) 4));
  1975. LA6_: ;
  1976. result = T5_;
  1977. return result;
  1978. }
  1979. N_LIB_PRIVATE N_NIMCALL(void, idTableRawInsert__psi7yP9bBH1cFhQHDpcKjQA)(tySequence__Mh9agqM29bm9aP5AUL1x7dZGA** data, tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA* key, RootObj* val) {
  1980. NI h;
  1981. NI T1_;
  1982. h = (NI)0;
  1983. T1_ = (((*data) ? (*data)->Sup.len : 0)-1);
  1984. h = (NI)((*key).id & T1_);
  1985. {
  1986. while (1) {
  1987. NI T8_;
  1988. if ((NU)(h) >= (NU)((*data) ? (*data)->Sup.len : 0)){ raiseIndexError2(h,((*data) ? (*data)->Sup.len : 0)-1); }
  1989. if (!!(((*data)->data[h].key == NIM_NIL))) goto LA3;
  1990. {
  1991. if ((NU)(h) >= (NU)((*data) ? (*data)->Sup.len : 0)){ raiseIndexError2(h,((*data) ? (*data)->Sup.len : 0)-1); }
  1992. if (!!(!(((*(*data)->data[h].key).id == (*key).id)))) goto LA6_;
  1993. failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_81));
  1994. }
  1995. LA6_: ;
  1996. T8_ = (((*data) ? (*data)->Sup.len : 0)-1);
  1997. h = nextTry__9bzOSawou0eb9apAqvIEoEGgastalgo(h, T8_);
  1998. } LA3: ;
  1999. }
  2000. {
  2001. if ((NU)(h) >= (NU)((*data) ? (*data)->Sup.len : 0)){ raiseIndexError2(h,((*data) ? (*data)->Sup.len : 0)-1); }
  2002. if (!!(((*data)->data[h].key == NIM_NIL))) goto LA11_;
  2003. failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_82));
  2004. }
  2005. LA11_: ;
  2006. if ((NU)(h) >= (NU)((*data) ? (*data)->Sup.len : 0)){ raiseIndexError2(h,((*data) ? (*data)->Sup.len : 0)-1); }
  2007. asgnRef((void**) (&(*data)->data[h].key), key);
  2008. if ((NU)(h) >= (NU)((*data) ? (*data)->Sup.len : 0)){ raiseIndexError2(h,((*data) ? (*data)->Sup.len : 0)-1); }
  2009. asgnRef((void**) (&(*data)->data[h].val), val);
  2010. }
  2011. N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasEmptySlot__zswB1qD49cE19bQ8jMzjXQtQ)(tySequence__Mh9agqM29bm9aP5AUL1x7dZGA* data) {
  2012. NIM_BOOL result;
  2013. { result = (NIM_BOOL)0;
  2014. {
  2015. NI h;
  2016. NI colontmp_;
  2017. NI T2_;
  2018. NI res;
  2019. h = (NI)0;
  2020. colontmp_ = (NI)0;
  2021. T2_ = ((data ? data->Sup.len : 0)-1);
  2022. colontmp_ = T2_;
  2023. res = ((NI) 0);
  2024. {
  2025. while (1) {
  2026. NI TM__uRgrUHgaDgkYkoMPsaodqw_84;
  2027. if (!(res <= colontmp_)) goto LA4;
  2028. h = res;
  2029. {
  2030. if ((NU)(h) >= (NU)(data ? data->Sup.len : 0)){ raiseIndexError2(h,(data ? data->Sup.len : 0)-1); }
  2031. if (!(data->data[h].key == NIM_NIL)) goto LA7_;
  2032. result = NIM_TRUE;
  2033. goto BeforeRet_;
  2034. }
  2035. LA7_: ;
  2036. if (nimAddInt(res, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_84)) { raiseOverflow(); };
  2037. res = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_84);
  2038. } LA4: ;
  2039. }
  2040. }
  2041. result = NIM_FALSE;
  2042. }BeforeRet_: ;
  2043. return result;
  2044. }
  2045. N_LIB_PRIVATE N_NIMCALL(void, idTablePut__anELyz7VLsjbCIoxLpxbfQ)(tyObject_TIdTable__9aiv9bp2t5icFNINcg9c4xi1Q* t, tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA* key, RootObj* val) {
  2046. NI index;
  2047. tySequence__Mh9agqM29bm9aP5AUL1x7dZGA* n;
  2048. index = (NI)0;
  2049. n = (tySequence__Mh9agqM29bm9aP5AUL1x7dZGA*)0;
  2050. index = idTableRawGet__SaVgzV5UjaVvopbOluf3NA((*t), (*key).id);
  2051. {
  2052. if (!(((NI) 0) <= index)) goto LA3_;
  2053. {
  2054. if ((NU)(index) >= (NU)((*t).data ? (*t).data->Sup.len : 0)){ raiseIndexError2(index,((*t).data ? (*t).data->Sup.len : 0)-1); }
  2055. if (!!(!(((*t).data->data[index].key == NIM_NIL)))) goto LA7_;
  2056. failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_75));
  2057. }
  2058. LA7_: ;
  2059. if ((NU)(index) >= (NU)((*t).data ? (*t).data->Sup.len : 0)){ raiseIndexError2(index,((*t).data ? (*t).data->Sup.len : 0)-1); }
  2060. asgnRef((void**) (&(*t).data->data[index].val), val);
  2061. }
  2062. goto LA1_;
  2063. LA3_: ;
  2064. {
  2065. NI TM__uRgrUHgaDgkYkoMPsaodqw_86;
  2066. {
  2067. NI T12_;
  2068. NIM_BOOL T13_;
  2069. NI T16_;
  2070. NI TM__uRgrUHgaDgkYkoMPsaodqw_80;
  2071. tySequence__Mh9agqM29bm9aP5AUL1x7dZGA* T30_;
  2072. T12_ = ((*t).data ? (*t).data->Sup.len : 0);
  2073. T13_ = (NIM_BOOL)0;
  2074. T13_ = mustRehash__B5utQwGyZRj1lQY2mjeMBw(T12_, (*t).counter);
  2075. if (!T13_) goto LA14_;
  2076. T16_ = ((*t).data ? (*t).data->Sup.len : 0);
  2077. if (nimMulInt(T16_, ((NI) 2), &TM__uRgrUHgaDgkYkoMPsaodqw_80)) { raiseOverflow(); };
  2078. if (((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_80)) < ((NI) 0) || ((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_80)) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_80), ((NI) 0), ((NI) IL64(9223372036854775807))); }
  2079. n = (tySequence__Mh9agqM29bm9aP5AUL1x7dZGA*) newSeq((&NTI__Mh9agqM29bm9aP5AUL1x7dZGA_), ((NI) ((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_80))));
  2080. {
  2081. NI i;
  2082. NI colontmp_;
  2083. NI T18_;
  2084. NI res;
  2085. i = (NI)0;
  2086. colontmp_ = (NI)0;
  2087. T18_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
  2088. colontmp_ = T18_;
  2089. res = ((NI) 0);
  2090. {
  2091. while (1) {
  2092. NI TM__uRgrUHgaDgkYkoMPsaodqw_83;
  2093. if (!(res <= colontmp_)) goto LA20;
  2094. i = res;
  2095. {
  2096. if ((NU)(i) >= (NU)((*t).data ? (*t).data->Sup.len : 0)){ raiseIndexError2(i,((*t).data ? (*t).data->Sup.len : 0)-1); }
  2097. if (!!(((*t).data->data[i].key == NIM_NIL))) goto LA23_;
  2098. if ((NU)(i) >= (NU)((*t).data ? (*t).data->Sup.len : 0)){ raiseIndexError2(i,((*t).data ? (*t).data->Sup.len : 0)-1); }
  2099. if ((NU)(i) >= (NU)((*t).data ? (*t).data->Sup.len : 0)){ raiseIndexError2(i,((*t).data ? (*t).data->Sup.len : 0)-1); }
  2100. idTableRawInsert__psi7yP9bBH1cFhQHDpcKjQA((&n), (*t).data->data[i].key, (*t).data->data[i].val);
  2101. }
  2102. LA23_: ;
  2103. if (nimAddInt(res, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_83)) { raiseOverflow(); };
  2104. res = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_83);
  2105. } LA20: ;
  2106. }
  2107. }
  2108. {
  2109. NIM_BOOL T27_;
  2110. T27_ = (NIM_BOOL)0;
  2111. T27_ = hasEmptySlot__zswB1qD49cE19bQ8jMzjXQtQ(n);
  2112. if (!!(T27_)) goto LA28_;
  2113. failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_85));
  2114. }
  2115. LA28_: ;
  2116. T30_ = (tySequence__Mh9agqM29bm9aP5AUL1x7dZGA*)0;
  2117. T30_ = (*t).data;
  2118. unsureAsgnRef((void**) (&(*t).data), n);
  2119. n = T30_;
  2120. }
  2121. LA14_: ;
  2122. idTableRawInsert__psi7yP9bBH1cFhQHDpcKjQA((&(*t).data), key, val);
  2123. if (nimAddInt((*t).counter, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_86)) { raiseOverflow(); };
  2124. (*t).counter = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_86);
  2125. }
  2126. LA1_: ;
  2127. }
  2128. N_LIB_PRIVATE N_NIMCALL(RootObj*, idTableGet__K5M5T7J9c0H7M5ahfeRl8xw)(tyObject_TIdTable__9aiv9bp2t5icFNINcg9c4xi1Q t, tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA* key) {
  2129. RootObj* result;
  2130. NI index;
  2131. result = (RootObj*)0;
  2132. index = idTableRawGet__SaVgzV5UjaVvopbOluf3NA(t, (*key).id);
  2133. {
  2134. if (!(((NI) 0) <= index)) goto LA3_;
  2135. if ((NU)(index) >= (NU)(t.data ? t.data->Sup.len : 0)){ raiseIndexError2(index,(t.data ? t.data->Sup.len : 0)-1); }
  2136. result = t.data->data[index].val;
  2137. }
  2138. goto LA1_;
  2139. LA3_: ;
  2140. {
  2141. result = NIM_NIL;
  2142. }
  2143. LA1_: ;
  2144. return result;
  2145. }
  2146. static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size) {
  2147. int result;
  2148. result = (int)0;
  2149. result = memcmp(a, b, ((size_t) (size)));
  2150. return result;
  2151. }
  2152. static N_INLINE(NIM_BOOL, equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size) {
  2153. NIM_BOOL result;
  2154. int T1_;
  2155. result = (NIM_BOOL)0;
  2156. T1_ = (int)0;
  2157. T1_ = nimCmpMem(a, b, size);
  2158. result = (T1_ == ((NI32) 0));
  2159. return result;
  2160. }
  2161. static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) {
  2162. NIM_BOOL result;
  2163. NI alen;
  2164. NI blen;
  2165. { result = (NIM_BOOL)0;
  2166. alen = (a ? a->Sup.len : 0);
  2167. blen = (b ? b->Sup.len : 0);
  2168. {
  2169. if (!(alen == blen)) goto LA3_;
  2170. {
  2171. if (!(alen == ((NI) 0))) goto LA7_;
  2172. result = NIM_TRUE;
  2173. goto BeforeRet_;
  2174. }
  2175. LA7_: ;
  2176. result = equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen)));
  2177. goto BeforeRet_;
  2178. }
  2179. LA3_: ;
  2180. }BeforeRet_: ;
  2181. return result;
  2182. }
  2183. N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, sameValue__uOYuOsiCZAbEPMGwBL8r8g)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* b) {
  2184. NIM_BOOL result;
  2185. result = (NIM_BOOL)0;
  2186. result = NIM_FALSE;
  2187. switch ((*a).kind) {
  2188. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 5) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 15):
  2189. {
  2190. {
  2191. tyObject_Int128__9a9axPfb75jdWY25AamJewkA T6_;
  2192. tyObject_Int128__9a9axPfb75jdWY25AamJewkA T7_;
  2193. if (!((*b).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 5) && (*b).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 15))) goto LA4_;
  2194. T6_ = getInt__Ml9bTZ5dXYSLBfnGRkErokw(a);
  2195. T7_ = getInt__Ml9bTZ5dXYSLBfnGRkErokw(b);
  2196. result = eqeq___7c5Zw7H31uJfWmmhZe9aEqw(T6_, T7_);
  2197. }
  2198. LA4_: ;
  2199. }
  2200. break;
  2201. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 16) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 18):
  2202. {
  2203. {
  2204. if (!((*b).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 16) && (*b).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 18))) goto LA11_;
  2205. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_52[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_53)); }
  2206. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_52[(NU)((*b).kind)>>3] &(1U<<((NU)((*b).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_53)); }
  2207. result = ((*a)._kind_2.floatVal == (*b)._kind_2.floatVal);
  2208. }
  2209. LA11_: ;
  2210. }
  2211. break;
  2212. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 22):
  2213. {
  2214. {
  2215. if (!((*b).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20) && (*b).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 22))) goto LA16_;
  2216. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_55[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_56)); }
  2217. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_55[(NU)((*b).kind)>>3] &(1U<<((NU)((*b).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_56)); }
  2218. result = eqStrings((*a)._kind_3.strVal, (*b)._kind_3.strVal);
  2219. }
  2220. LA16_: ;
  2221. }
  2222. break;
  2223. default:
  2224. {
  2225. }
  2226. break;
  2227. }
  2228. return result;
  2229. }
  2230. N_LIB_PRIVATE N_NIMCALL(void, strTableRawInsert__SHWbts1Rvx7KpPzj7sTOjw)(tySequence__DfgJFJEYoj4YBAHLZPl5lQ** data, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* n) {
  2231. NI h;
  2232. NI T1_;
  2233. { T1_ = (((*data) ? (*data)->Sup.len : 0)-1);
  2234. h = (NI)((*(*n).name).h & T1_);
  2235. {
  2236. while (1) {
  2237. NI T8_;
  2238. if ((NU)(h) >= (NU)((*data) ? (*data)->Sup.len : 0)){ raiseIndexError2(h,((*data) ? (*data)->Sup.len : 0)-1); }
  2239. if (!!(((*data)->data[h] == NIM_NIL))) goto LA3;
  2240. {
  2241. if ((NU)(h) >= (NU)((*data) ? (*data)->Sup.len : 0)){ raiseIndexError2(h,((*data) ? (*data)->Sup.len : 0)-1); }
  2242. if (!((*data)->data[h] == n)) goto LA6_;
  2243. goto BeforeRet_;
  2244. }
  2245. LA6_: ;
  2246. T8_ = (((*data) ? (*data)->Sup.len : 0)-1);
  2247. h = nextTry__9bzOSawou0eb9apAqvIEoEGgastalgo(h, T8_);
  2248. } LA3: ;
  2249. }
  2250. {
  2251. if ((NU)(h) >= (NU)((*data) ? (*data)->Sup.len : 0)){ raiseIndexError2(h,((*data) ? (*data)->Sup.len : 0)-1); }
  2252. if (!!(((*data)->data[h] == NIM_NIL))) goto LA11_;
  2253. failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_89));
  2254. }
  2255. LA11_: ;
  2256. if ((NU)(h) >= (NU)((*data) ? (*data)->Sup.len : 0)){ raiseIndexError2(h,((*data) ? (*data)->Sup.len : 0)-1); }
  2257. asgnRef((void**) (&(*data)->data[h]), n);
  2258. }BeforeRet_: ;
  2259. }
  2260. N_LIB_PRIVATE N_NIMCALL(void, strTableEnlarge__CVRANnnfZDXMACWb4B1HCA)(tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA* t) {
  2261. tySequence__DfgJFJEYoj4YBAHLZPl5lQ* n;
  2262. NI T1_;
  2263. NI TM__uRgrUHgaDgkYkoMPsaodqw_88;
  2264. tySequence__DfgJFJEYoj4YBAHLZPl5lQ* T10_;
  2265. n = (tySequence__DfgJFJEYoj4YBAHLZPl5lQ*)0;
  2266. T1_ = ((*t).data ? (*t).data->Sup.len : 0);
  2267. if (nimMulInt(T1_, ((NI) 2), &TM__uRgrUHgaDgkYkoMPsaodqw_88)) { raiseOverflow(); };
  2268. if (((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_88)) < ((NI) 0) || ((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_88)) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_88), ((NI) 0), ((NI) IL64(9223372036854775807))); }
  2269. n = (tySequence__DfgJFJEYoj4YBAHLZPl5lQ*) newSeq((&NTI__DfgJFJEYoj4YBAHLZPl5lQ_), ((NI) ((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_88))));
  2270. {
  2271. NI i;
  2272. NI colontmp_;
  2273. NI T3_;
  2274. NI res;
  2275. i = (NI)0;
  2276. colontmp_ = (NI)0;
  2277. T3_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
  2278. colontmp_ = T3_;
  2279. res = ((NI) 0);
  2280. {
  2281. while (1) {
  2282. NI TM__uRgrUHgaDgkYkoMPsaodqw_90;
  2283. if (!(res <= colontmp_)) goto LA5;
  2284. i = res;
  2285. {
  2286. if ((NU)(i) >= (NU)((*t).data ? (*t).data->Sup.len : 0)){ raiseIndexError2(i,((*t).data ? (*t).data->Sup.len : 0)-1); }
  2287. if (!!(((*t).data->data[i] == NIM_NIL))) goto LA8_;
  2288. if ((NU)(i) >= (NU)((*t).data ? (*t).data->Sup.len : 0)){ raiseIndexError2(i,((*t).data ? (*t).data->Sup.len : 0)-1); }
  2289. strTableRawInsert__SHWbts1Rvx7KpPzj7sTOjw((&n), (*t).data->data[i]);
  2290. }
  2291. LA8_: ;
  2292. if (nimAddInt(res, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_90)) { raiseOverflow(); };
  2293. res = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_90);
  2294. } LA5: ;
  2295. }
  2296. }
  2297. T10_ = (tySequence__DfgJFJEYoj4YBAHLZPl5lQ*)0;
  2298. T10_ = (*t).data;
  2299. unsureAsgnRef((void**) (&(*t).data), n);
  2300. n = T10_;
  2301. }
  2302. N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, strTableInclReportConflict__tsV7rrfL6ZnfCXBjJk0jUA)(tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA* t, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* n, NIM_BOOL onConflictKeepOld) {
  2303. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* result;
  2304. NI h;
  2305. NI T5_;
  2306. NI replaceSlot;
  2307. NI TM__uRgrUHgaDgkYkoMPsaodqw_92;
  2308. { result = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
  2309. {
  2310. if (!!(!(((*n).name == NIM_NIL)))) goto LA3_;
  2311. failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_87));
  2312. }
  2313. LA3_: ;
  2314. T5_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
  2315. h = (NI)((*(*n).name).h & T5_);
  2316. replaceSlot = ((NI) -1);
  2317. {
  2318. while (1) {
  2319. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* it;
  2320. NI T20_;
  2321. if ((NU)(h) >= (NU)((*t).data ? (*t).data->Sup.len : 0)){ raiseIndexError2(h,((*t).data ? (*t).data->Sup.len : 0)-1); }
  2322. it = (*t).data->data[h];
  2323. {
  2324. if (!(it == NIM_NIL)) goto LA10_;
  2325. goto LA6;
  2326. }
  2327. LA10_: ;
  2328. {
  2329. if (!((*(*it).name).Sup.id == (*(*n).name).Sup.id)) goto LA14_;
  2330. {
  2331. if (!(it == n)) goto LA18_;
  2332. result = NIM_NIL;
  2333. goto BeforeRet_;
  2334. }
  2335. LA18_: ;
  2336. replaceSlot = h;
  2337. }
  2338. LA14_: ;
  2339. T20_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
  2340. h = nextTry__9bzOSawou0eb9apAqvIEoEGgastalgo(h, T20_);
  2341. }
  2342. } LA6: ;
  2343. {
  2344. if (!(((NI) 0) <= replaceSlot)) goto LA23_;
  2345. {
  2346. if (!!(onConflictKeepOld)) goto LA27_;
  2347. if ((NU)(replaceSlot) >= (NU)((*t).data ? (*t).data->Sup.len : 0)){ raiseIndexError2(replaceSlot,((*t).data ? (*t).data->Sup.len : 0)-1); }
  2348. asgnRef((void**) (&(*t).data->data[replaceSlot]), n);
  2349. }
  2350. LA27_: ;
  2351. if ((NU)(replaceSlot) >= (NU)((*t).data ? (*t).data->Sup.len : 0)){ raiseIndexError2(replaceSlot,((*t).data ? (*t).data->Sup.len : 0)-1); }
  2352. result = (*t).data->data[replaceSlot];
  2353. goto BeforeRet_;
  2354. }
  2355. goto LA21_;
  2356. LA23_: ;
  2357. {
  2358. NI T30_;
  2359. NIM_BOOL T31_;
  2360. T30_ = ((*t).data ? (*t).data->Sup.len : 0);
  2361. T31_ = (NIM_BOOL)0;
  2362. T31_ = mustRehash__B5utQwGyZRj1lQY2mjeMBw(T30_, (*t).counter);
  2363. if (!T31_) goto LA32_;
  2364. strTableEnlarge__CVRANnnfZDXMACWb4B1HCA(t);
  2365. strTableRawInsert__SHWbts1Rvx7KpPzj7sTOjw((&(*t).data), n);
  2366. }
  2367. goto LA21_;
  2368. LA32_: ;
  2369. {
  2370. {
  2371. if ((NU)(h) >= (NU)((*t).data ? (*t).data->Sup.len : 0)){ raiseIndexError2(h,((*t).data ? (*t).data->Sup.len : 0)-1); }
  2372. if (!!(((*t).data->data[h] == NIM_NIL))) goto LA37_;
  2373. failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_91));
  2374. }
  2375. LA37_: ;
  2376. if ((NU)(h) >= (NU)((*t).data ? (*t).data->Sup.len : 0)){ raiseIndexError2(h,((*t).data ? (*t).data->Sup.len : 0)-1); }
  2377. asgnRef((void**) (&(*t).data->data[h]), n);
  2378. }
  2379. LA21_: ;
  2380. if (nimAddInt((*t).counter, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_92)) { raiseOverflow(); };
  2381. (*t).counter = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_92);
  2382. result = NIM_NIL;
  2383. }BeforeRet_: ;
  2384. return result;
  2385. }
  2386. N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, strTableGet__2ZDXFT8aKmu3vdgfJFQCgQ)(tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA t, tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* name) {
  2387. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* result;
  2388. NI h;
  2389. NI T1_;
  2390. result = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
  2391. T1_ = ((t.data ? t.data->Sup.len : 0)-1);
  2392. h = (NI)((*name).h & T1_);
  2393. {
  2394. while (1) {
  2395. NI T12_;
  2396. if ((NU)(h) >= (NU)(t.data ? t.data->Sup.len : 0)){ raiseIndexError2(h,(t.data ? t.data->Sup.len : 0)-1); }
  2397. result = t.data->data[h];
  2398. {
  2399. if (!(result == NIM_NIL)) goto LA6_;
  2400. goto LA2;
  2401. }
  2402. LA6_: ;
  2403. {
  2404. if (!((*(*result).name).Sup.id == (*name).Sup.id)) goto LA10_;
  2405. goto LA2;
  2406. }
  2407. LA10_: ;
  2408. T12_ = ((t.data ? t.data->Sup.len : 0)-1);
  2409. h = nextTry__9bzOSawou0eb9apAqvIEoEGgastalgo(h, T12_);
  2410. }
  2411. } LA2: ;
  2412. return result;
  2413. }
  2414. N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, sameIgnoreBacktickGensymInfo__79a58vqHQbOF5NzKLzjPg9aA)(NimStringDesc* a, NimStringDesc* b) {
  2415. NIM_BOOL result;
  2416. NI alen;
  2417. NI TM__uRgrUHgaDgkYkoMPsaodqw_93;
  2418. NI i;
  2419. NI j;
  2420. { result = (NIM_BOOL)0;
  2421. {
  2422. if ((NU)(((NI) 0)) >= (NU)(a ? a->Sup.len : 0)){ raiseIndexError2(((NI) 0),(a ? a->Sup.len : 0)-1); }
  2423. if ((NU)(((NI) 0)) >= (NU)(b ? b->Sup.len : 0)){ raiseIndexError2(((NI) 0),(b ? b->Sup.len : 0)-1); }
  2424. if (!!(((NU8)(a->data[((NI) 0)]) == (NU8)(b->data[((NI) 0)])))) goto LA3_;
  2425. result = NIM_FALSE;
  2426. goto BeforeRet_;
  2427. }
  2428. LA3_: ;
  2429. if (nimSubInt((a ? a->Sup.len : 0), ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_93)) { raiseOverflow(); };
  2430. alen = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_93);
  2431. {
  2432. while (1) {
  2433. NIM_BOOL T7_;
  2434. NI TM__uRgrUHgaDgkYkoMPsaodqw_94;
  2435. T7_ = (NIM_BOOL)0;
  2436. T7_ = (((NI) 0) < alen);
  2437. if (!(T7_)) goto LA8_;
  2438. if ((NU)(alen) >= (NU)(a ? a->Sup.len : 0)){ raiseIndexError2(alen,(a ? a->Sup.len : 0)-1); }
  2439. T7_ = !(((NU8)(a->data[alen]) == (NU8)(96)));
  2440. LA8_: ;
  2441. if (!T7_) goto LA6;
  2442. if (nimSubInt(alen, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_94)) { raiseOverflow(); };
  2443. alen = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_94);
  2444. } LA6: ;
  2445. }
  2446. {
  2447. if (!(alen <= ((NI) 0))) goto LA11_;
  2448. alen = (a ? a->Sup.len : 0);
  2449. }
  2450. LA11_: ;
  2451. i = ((NI) 1);
  2452. j = ((NI) 1);
  2453. {
  2454. while (1) {
  2455. NIM_CHAR aa;
  2456. NIM_CHAR bb;
  2457. NI TM__uRgrUHgaDgkYkoMPsaodqw_97;
  2458. NI TM__uRgrUHgaDgkYkoMPsaodqw_98;
  2459. {
  2460. while (1) {
  2461. NIM_BOOL T17_;
  2462. NI TM__uRgrUHgaDgkYkoMPsaodqw_95;
  2463. T17_ = (NIM_BOOL)0;
  2464. T17_ = (i < alen);
  2465. if (!(T17_)) goto LA18_;
  2466. if ((NU)(i) >= (NU)(a ? a->Sup.len : 0)){ raiseIndexError2(i,(a ? a->Sup.len : 0)-1); }
  2467. T17_ = ((NU8)(a->data[i]) == (NU8)(95));
  2468. LA18_: ;
  2469. if (!T17_) goto LA16;
  2470. if (nimAddInt(i, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_95)) { raiseOverflow(); };
  2471. i = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_95);
  2472. } LA16: ;
  2473. }
  2474. {
  2475. while (1) {
  2476. NIM_BOOL T21_;
  2477. NI TM__uRgrUHgaDgkYkoMPsaodqw_96;
  2478. T21_ = (NIM_BOOL)0;
  2479. T21_ = (j < (b ? b->Sup.len : 0));
  2480. if (!(T21_)) goto LA22_;
  2481. if ((NU)(j) >= (NU)(b ? b->Sup.len : 0)){ raiseIndexError2(j,(b ? b->Sup.len : 0)-1); }
  2482. T21_ = ((NU8)(b->data[j]) == (NU8)(95));
  2483. LA22_: ;
  2484. if (!T21_) goto LA20;
  2485. if (nimAddInt(j, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_96)) { raiseOverflow(); };
  2486. j = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_96);
  2487. } LA20: ;
  2488. }
  2489. {
  2490. if (!(i < alen)) goto LA25_;
  2491. if ((NU)(i) >= (NU)(a ? a->Sup.len : 0)){ raiseIndexError2(i,(a ? a->Sup.len : 0)-1); }
  2492. aa = nsuToLowerAsciiChar(a->data[i]);
  2493. }
  2494. goto LA23_;
  2495. LA25_: ;
  2496. {
  2497. aa = 0;
  2498. }
  2499. LA23_: ;
  2500. {
  2501. if (!(j < (b ? b->Sup.len : 0))) goto LA30_;
  2502. if ((NU)(j) >= (NU)(b ? b->Sup.len : 0)){ raiseIndexError2(j,(b ? b->Sup.len : 0)-1); }
  2503. bb = nsuToLowerAsciiChar(b->data[j]);
  2504. }
  2505. goto LA28_;
  2506. LA30_: ;
  2507. {
  2508. bb = 0;
  2509. }
  2510. LA28_: ;
  2511. {
  2512. if (!!(((NU8)(aa) == (NU8)(bb)))) goto LA35_;
  2513. result = NIM_FALSE;
  2514. goto BeforeRet_;
  2515. }
  2516. LA35_: ;
  2517. {
  2518. if (!(alen <= i)) goto LA39_;
  2519. {
  2520. if (!((b ? b->Sup.len : 0) <= j)) goto LA43_;
  2521. result = NIM_TRUE;
  2522. goto BeforeRet_;
  2523. }
  2524. LA43_: ;
  2525. result = NIM_FALSE;
  2526. goto BeforeRet_;
  2527. }
  2528. goto LA37_;
  2529. LA39_: ;
  2530. {
  2531. if (!((b ? b->Sup.len : 0) <= j)) goto LA46_;
  2532. result = NIM_FALSE;
  2533. goto BeforeRet_;
  2534. }
  2535. goto LA37_;
  2536. LA46_: ;
  2537. LA37_: ;
  2538. if (nimAddInt(i, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_97)) { raiseOverflow(); };
  2539. i = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_97);
  2540. if (nimAddInt(j, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_98)) { raiseOverflow(); };
  2541. j = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_98);
  2542. }
  2543. }
  2544. }BeforeRet_: ;
  2545. return result;
  2546. }
  2547. N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, getNamedParamFromList__AuQyLRN9a3PM9cDeuxoao3hA)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* list, tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* ident) {
  2548. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* result;
  2549. { result = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
  2550. {
  2551. NI i;
  2552. NI colontmp_;
  2553. NI i_2;
  2554. i = (NI)0;
  2555. colontmp_ = (NI)0;
  2556. colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(list);
  2557. i_2 = ((NI) 1);
  2558. {
  2559. while (1) {
  2560. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* it;
  2561. NI TM__uRgrUHgaDgkYkoMPsaodqw_99;
  2562. if (!(i_2 < colontmp_)) goto LA3;
  2563. i = i_2;
  2564. if (((TM__uRgrUHgaDgkYkoMPsaodqw_62[(NU)((*list).kind)>>3] &(1U<<((NU)((*list).kind)&7U)))!=0)){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_63)); }
  2565. if ((NU)(i) >= (NU)((*list)._kind_6.sons ? (*list)._kind_6.sons->Sup.len : 0)){ raiseIndexError2(i,((*list)._kind_6.sons ? (*list)._kind_6.sons->Sup.len : 0)-1); }
  2566. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_57[(NU)((*(*list)._kind_6.sons->data[i]).kind)>>3] &(1U<<((NU)((*(*list)._kind_6.sons->data[i]).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_58)); }
  2567. it = (*(*list)._kind_6.sons->data[i])._kind_4.sym;
  2568. {
  2569. NIM_BOOL T6_;
  2570. T6_ = (NIM_BOOL)0;
  2571. T6_ = ((*(*it).name).Sup.id == (*ident).Sup.id);
  2572. if (T6_) goto LA7_;
  2573. T6_ = sameIgnoreBacktickGensymInfo__79a58vqHQbOF5NzKLzjPg9aA((*(*it).name).s, (*ident).s);
  2574. LA7_: ;
  2575. if (!T6_) goto LA8_;
  2576. result = it;
  2577. goto BeforeRet_;
  2578. }
  2579. LA8_: ;
  2580. if (nimAddInt(i_2, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_99)) { raiseOverflow(); };
  2581. i_2 = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_99);
  2582. } LA3: ;
  2583. }
  2584. }
  2585. }BeforeRet_: ;
  2586. return result;
  2587. }
  2588. N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, nextIdentIter__9bSCoSykDuXHhkzoBXiof6Q)(tyObject_TIdentIter__Oi4goG2ACEsy9cyTe6OCPrA* ti, tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tab) {
  2589. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* result;
  2590. NI h;
  2591. NI T1_;
  2592. NI start;
  2593. NI T13_;
  2594. result = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
  2595. T1_ = ((tab.data ? tab.data->Sup.len : 0)-1);
  2596. h = (NI)((*ti).h & T1_);
  2597. start = h;
  2598. if ((NU)(h) >= (NU)(tab.data ? tab.data->Sup.len : 0)){ raiseIndexError2(h,(tab.data ? tab.data->Sup.len : 0)-1); }
  2599. result = tab.data->data[h];
  2600. {
  2601. while (1) {
  2602. NI T8_;
  2603. if (!!((result == NIM_NIL))) goto LA3;
  2604. {
  2605. if (!((*(*result).name).Sup.id == (*(*ti).name).Sup.id)) goto LA6_;
  2606. goto LA2;
  2607. }
  2608. LA6_: ;
  2609. T8_ = ((tab.data ? tab.data->Sup.len : 0)-1);
  2610. h = nextTry__9bzOSawou0eb9apAqvIEoEGgastalgo(h, T8_);
  2611. {
  2612. if (!(h == start)) goto LA11_;
  2613. result = NIM_NIL;
  2614. goto LA2;
  2615. }
  2616. LA11_: ;
  2617. if ((NU)(h) >= (NU)(tab.data ? tab.data->Sup.len : 0)){ raiseIndexError2(h,(tab.data ? tab.data->Sup.len : 0)-1); }
  2618. result = tab.data->data[h];
  2619. } LA3: ;
  2620. } LA2: ;
  2621. T13_ = ((tab.data ? tab.data->Sup.len : 0)-1);
  2622. (*ti).h = nextTry__9bzOSawou0eb9apAqvIEoEGgastalgo(h, T13_);
  2623. return result;
  2624. }
  2625. N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, initIdentIter__9bOoZ7latEpanbVkjFO7xFQ)(tyObject_TIdentIter__Oi4goG2ACEsy9cyTe6OCPrA* ti, tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tab, tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* s) {
  2626. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* result;
  2627. result = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
  2628. (*ti).h = (*s).h;
  2629. unsureAsgnRef((void**) (&(*ti).name), s);
  2630. {
  2631. if (!(tab.counter == ((NI) 0))) goto LA3_;
  2632. result = NIM_NIL;
  2633. }
  2634. goto LA1_;
  2635. LA3_: ;
  2636. {
  2637. result = nextIdentIter__9bSCoSykDuXHhkzoBXiof6Q(ti, tab);
  2638. }
  2639. LA1_: ;
  2640. return result;
  2641. }
  2642. N_LIB_PRIVATE N_NIMCALL(void, strTableAdd__tyTgUybFIoow4CX2l5beug)(tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA* t, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* n) {
  2643. NI TM__uRgrUHgaDgkYkoMPsaodqw_100;
  2644. {
  2645. NI T3_;
  2646. NIM_BOOL T4_;
  2647. T3_ = ((*t).data ? (*t).data->Sup.len : 0);
  2648. T4_ = (NIM_BOOL)0;
  2649. T4_ = mustRehash__B5utQwGyZRj1lQY2mjeMBw(T3_, (*t).counter);
  2650. if (!T4_) goto LA5_;
  2651. strTableEnlarge__CVRANnnfZDXMACWb4B1HCA(t);
  2652. }
  2653. LA5_: ;
  2654. strTableRawInsert__SHWbts1Rvx7KpPzj7sTOjw((&(*t).data), n);
  2655. if (nimAddInt((*t).counter, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_100)) { raiseOverflow(); };
  2656. (*t).counter = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_100);
  2657. }
  2658. N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, nextIdentExcluding__nWv58txbq3B5NUvjC6qnSA)(tyObject_TIdentIter__Oi4goG2ACEsy9cyTe6OCPrA* ti, tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tab, tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg* excluding) {
  2659. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* result;
  2660. NI h;
  2661. NI T1_;
  2662. NI start;
  2663. NI T16_;
  2664. result = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
  2665. T1_ = ((tab.data ? tab.data->Sup.len : 0)-1);
  2666. h = (NI)((*ti).h & T1_);
  2667. start = h;
  2668. if ((NU)(h) >= (NU)(tab.data ? tab.data->Sup.len : 0)){ raiseIndexError2(h,(tab.data ? tab.data->Sup.len : 0)-1); }
  2669. result = tab.data->data[h];
  2670. {
  2671. while (1) {
  2672. NI T11_;
  2673. if (!!((result == NIM_NIL))) goto LA3;
  2674. {
  2675. NIM_BOOL T6_;
  2676. NIM_BOOL T8_;
  2677. T6_ = (NIM_BOOL)0;
  2678. T6_ = ((*(*result).name).Sup.id == (*(*ti).name).Sup.id);
  2679. if (!(T6_)) goto LA7_;
  2680. T8_ = (NIM_BOOL)0;
  2681. T8_ = contains__R6uRTGpl30Ofaw4Ni3vawA(excluding, (*result).Sup.id);
  2682. T6_ = !(T8_);
  2683. LA7_: ;
  2684. if (!T6_) goto LA9_;
  2685. goto LA2;
  2686. }
  2687. LA9_: ;
  2688. T11_ = ((tab.data ? tab.data->Sup.len : 0)-1);
  2689. h = nextTry__9bzOSawou0eb9apAqvIEoEGgastalgo(h, T11_);
  2690. {
  2691. if (!(h == start)) goto LA14_;
  2692. result = NIM_NIL;
  2693. goto LA2;
  2694. }
  2695. LA14_: ;
  2696. if ((NU)(h) >= (NU)(tab.data ? tab.data->Sup.len : 0)){ raiseIndexError2(h,(tab.data ? tab.data->Sup.len : 0)-1); }
  2697. result = tab.data->data[h];
  2698. } LA3: ;
  2699. } LA2: ;
  2700. T16_ = ((tab.data ? tab.data->Sup.len : 0)-1);
  2701. (*ti).h = nextTry__9bzOSawou0eb9apAqvIEoEGgastalgo(h, T16_);
  2702. {
  2703. NIM_BOOL T19_;
  2704. T19_ = (NIM_BOOL)0;
  2705. T19_ = !((result == NIM_NIL));
  2706. if (!(T19_)) goto LA20_;
  2707. T19_ = contains__R6uRTGpl30Ofaw4Ni3vawA(excluding, (*result).Sup.id);
  2708. LA20_: ;
  2709. if (!T19_) goto LA21_;
  2710. result = NIM_NIL;
  2711. }
  2712. LA21_: ;
  2713. return result;
  2714. }
  2715. N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, firstIdentExcluding__ZgFGN4FdEZomWhiPqs5O3Q)(tyObject_TIdentIter__Oi4goG2ACEsy9cyTe6OCPrA* ti, tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA tab, tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* s, tyObject_IntSet__PQrmFm4BXFkFSVOUl1ojSg* excluding) {
  2716. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* result;
  2717. result = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
  2718. (*ti).h = (*s).h;
  2719. unsureAsgnRef((void**) (&(*ti).name), s);
  2720. {
  2721. if (!(tab.counter == ((NI) 0))) goto LA3_;
  2722. result = NIM_NIL;
  2723. }
  2724. goto LA1_;
  2725. LA3_: ;
  2726. {
  2727. result = nextIdentExcluding__nWv58txbq3B5NUvjC6qnSA(ti, tab, excluding);
  2728. }
  2729. LA1_: ;
  2730. return result;
  2731. }
  2732. N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, lookupInRecord__gYQxUKQhlRY6yBu3Ll2TYg)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n, tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* field) {
  2733. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* result;
  2734. { result = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
  2735. result = NIM_NIL;
  2736. switch ((*n).kind) {
  2737. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 138):
  2738. {
  2739. {
  2740. NI i;
  2741. NI colontmp_;
  2742. NI i_2;
  2743. i = (NI)0;
  2744. colontmp_ = (NI)0;
  2745. colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(n);
  2746. i_2 = ((NI) 0);
  2747. {
  2748. while (1) {
  2749. NI TM__uRgrUHgaDgkYkoMPsaodqw_101;
  2750. if (!(i_2 < colontmp_)) goto LA4;
  2751. i = i_2;
  2752. if (((TM__uRgrUHgaDgkYkoMPsaodqw_62[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_63)); }
  2753. if ((NU)(i) >= (NU)((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0)){ raiseIndexError2(i,((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0)-1); }
  2754. result = lookupInRecord__gYQxUKQhlRY6yBu3Ll2TYg((*n)._kind_6.sons->data[i], field);
  2755. {
  2756. if (!!((result == NIM_NIL))) goto LA7_;
  2757. goto BeforeRet_;
  2758. }
  2759. LA7_: ;
  2760. if (nimAddInt(i_2, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_101)) { raiseOverflow(); };
  2761. i_2 = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_101);
  2762. } LA4: ;
  2763. }
  2764. }
  2765. }
  2766. break;
  2767. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 139):
  2768. {
  2769. {
  2770. if (((TM__uRgrUHgaDgkYkoMPsaodqw_62[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_63)); }
  2771. if ((NU)(((NI) 0)) >= (NU)((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0)){ raiseIndexError2(((NI) 0),((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0)-1); }
  2772. if (!!(((*(*n)._kind_6.sons->data[((NI) 0)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3)))) goto LA12_;
  2773. result = NIM_NIL;
  2774. goto BeforeRet_;
  2775. }
  2776. LA12_: ;
  2777. if (((TM__uRgrUHgaDgkYkoMPsaodqw_62[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_63)); }
  2778. if ((NU)(((NI) 0)) >= (NU)((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0)){ raiseIndexError2(((NI) 0),((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0)-1); }
  2779. result = lookupInRecord__gYQxUKQhlRY6yBu3Ll2TYg((*n)._kind_6.sons->data[((NI) 0)], field);
  2780. {
  2781. if (!!((result == NIM_NIL))) goto LA16_;
  2782. goto BeforeRet_;
  2783. }
  2784. LA16_: ;
  2785. {
  2786. NI i_3;
  2787. NI colontmp__2;
  2788. NI i_4;
  2789. i_3 = (NI)0;
  2790. colontmp__2 = (NI)0;
  2791. colontmp__2 = len__P89cqdlERShb9alU3iC0yj8wast(n);
  2792. i_4 = ((NI) 1);
  2793. {
  2794. while (1) {
  2795. NI TM__uRgrUHgaDgkYkoMPsaodqw_102;
  2796. if (!(i_4 < colontmp__2)) goto LA20;
  2797. i_3 = i_4;
  2798. if (((TM__uRgrUHgaDgkYkoMPsaodqw_62[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_63)); }
  2799. if ((NU)(i_3) >= (NU)((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0)){ raiseIndexError2(i_3,((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0)-1); }
  2800. switch ((*(*n)._kind_6.sons->data[i_3]).kind) {
  2801. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 85):
  2802. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 88):
  2803. {
  2804. tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* T22_;
  2805. if (((TM__uRgrUHgaDgkYkoMPsaodqw_62[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_63)); }
  2806. if ((NU)(i_3) >= (NU)((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0)){ raiseIndexError2(i_3,((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0)-1); }
  2807. T22_ = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
  2808. T22_ = lastSon__UPSW0jLTX5qJL51YMUAHgw((*n)._kind_6.sons->data[i_3]);
  2809. result = lookupInRecord__gYQxUKQhlRY6yBu3Ll2TYg(T22_, field);
  2810. {
  2811. if (!!((result == NIM_NIL))) goto LA25_;
  2812. goto BeforeRet_;
  2813. }
  2814. LA25_: ;
  2815. }
  2816. break;
  2817. default:
  2818. {
  2819. result = NIM_NIL;
  2820. goto BeforeRet_;
  2821. }
  2822. break;
  2823. }
  2824. if (nimAddInt(i_4, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_102)) { raiseOverflow(); };
  2825. i_4 = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_102);
  2826. } LA20: ;
  2827. }
  2828. }
  2829. }
  2830. break;
  2831. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3):
  2832. {
  2833. {
  2834. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_57[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_58)); }
  2835. if (!((*(*(*n)._kind_4.sym).name).Sup.id == (*field).Sup.id)) goto LA31_;
  2836. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_57[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_58)); }
  2837. result = (*n)._kind_4.sym;
  2838. }
  2839. LA31_: ;
  2840. }
  2841. break;
  2842. default:
  2843. {
  2844. result = NIM_NIL;
  2845. goto BeforeRet_;
  2846. }
  2847. break;
  2848. }
  2849. }BeforeRet_: ;
  2850. return result;
  2851. }
  2852. N_LIB_PRIVATE N_NIMCALL(NI, idNodeTableRawGet__gZVj7dpnZcnics5OMZbxkA)(tyObject_TIdNodeTable__UWAp0mDjKLG1NEwUafSRhA t, tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA* key) {
  2853. NI result;
  2854. NI h;
  2855. NI T1_;
  2856. { result = (NI)0;
  2857. h = (NI)0;
  2858. T1_ = ((t.data ? t.data->Sup.len : 0)-1);
  2859. h = (NI)((*key).id & T1_);
  2860. {
  2861. while (1) {
  2862. NI T8_;
  2863. if ((NU)(h) >= (NU)(t.data ? t.data->Sup.len : 0)){ raiseIndexError2(h,(t.data ? t.data->Sup.len : 0)-1); }
  2864. if (!!((t.data->data[h].key == NIM_NIL))) goto LA3;
  2865. {
  2866. if ((NU)(h) >= (NU)(t.data ? t.data->Sup.len : 0)){ raiseIndexError2(h,(t.data ? t.data->Sup.len : 0)-1); }
  2867. if (!((*t.data->data[h].key).id == (*key).id)) goto LA6_;
  2868. result = h;
  2869. goto BeforeRet_;
  2870. }
  2871. LA6_: ;
  2872. T8_ = ((t.data ? t.data->Sup.len : 0)-1);
  2873. h = nextTry__9bzOSawou0eb9apAqvIEoEGgastalgo(h, T8_);
  2874. } LA3: ;
  2875. }
  2876. result = ((NI) -1);
  2877. }BeforeRet_: ;
  2878. return result;
  2879. }
  2880. N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, idNodeTableGet__6wztwviRk10SZ9cTP17EzEQ)(tyObject_TIdNodeTable__UWAp0mDjKLG1NEwUafSRhA t, tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA* key) {
  2881. tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
  2882. NI index;
  2883. result = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
  2884. index = (NI)0;
  2885. index = idNodeTableRawGet__gZVj7dpnZcnics5OMZbxkA(t, key);
  2886. {
  2887. if (!(((NI) 0) <= index)) goto LA3_;
  2888. if ((NU)(index) >= (NU)(t.data ? t.data->Sup.len : 0)){ raiseIndexError2(index,(t.data ? t.data->Sup.len : 0)-1); }
  2889. result = t.data->data[index].val;
  2890. }
  2891. goto LA1_;
  2892. LA3_: ;
  2893. {
  2894. result = NIM_NIL;
  2895. }
  2896. LA1_: ;
  2897. return result;
  2898. }
  2899. N_LIB_PRIVATE N_NIMCALL(void, idNodeTableRawInsert__6GKldMfzTVg8s9bklGSGKAQ)(tySequence__K8W16aeLg4OWxniQxtguMw** data, tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA* key, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* val) {
  2900. NI h;
  2901. NI T1_;
  2902. h = (NI)0;
  2903. T1_ = (((*data) ? (*data)->Sup.len : 0)-1);
  2904. h = (NI)((*key).id & T1_);
  2905. {
  2906. while (1) {
  2907. NI T8_;
  2908. if ((NU)(h) >= (NU)((*data) ? (*data)->Sup.len : 0)){ raiseIndexError2(h,((*data) ? (*data)->Sup.len : 0)-1); }
  2909. if (!!(((*data)->data[h].key == NIM_NIL))) goto LA3;
  2910. {
  2911. if ((NU)(h) >= (NU)((*data) ? (*data)->Sup.len : 0)){ raiseIndexError2(h,((*data) ? (*data)->Sup.len : 0)-1); }
  2912. if (!!(!(((*(*data)->data[h].key).id == (*key).id)))) goto LA6_;
  2913. failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_105));
  2914. }
  2915. LA6_: ;
  2916. T8_ = (((*data) ? (*data)->Sup.len : 0)-1);
  2917. h = nextTry__9bzOSawou0eb9apAqvIEoEGgastalgo(h, T8_);
  2918. } LA3: ;
  2919. }
  2920. {
  2921. if ((NU)(h) >= (NU)((*data) ? (*data)->Sup.len : 0)){ raiseIndexError2(h,((*data) ? (*data)->Sup.len : 0)-1); }
  2922. if (!!(((*data)->data[h].key == NIM_NIL))) goto LA11_;
  2923. failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_106));
  2924. }
  2925. LA11_: ;
  2926. if ((NU)(h) >= (NU)((*data) ? (*data)->Sup.len : 0)){ raiseIndexError2(h,((*data) ? (*data)->Sup.len : 0)-1); }
  2927. asgnRef((void**) (&(*data)->data[h].key), key);
  2928. if ((NU)(h) >= (NU)((*data) ? (*data)->Sup.len : 0)){ raiseIndexError2(h,((*data) ? (*data)->Sup.len : 0)-1); }
  2929. asgnRef((void**) (&(*data)->data[h].val), val);
  2930. }
  2931. N_LIB_PRIVATE N_NIMCALL(void, idNodeTablePut__q49bPlVa9aAaI9bWhgzYAzoBg)(tyObject_TIdNodeTable__UWAp0mDjKLG1NEwUafSRhA* t, tyObject_TIdObj__iIXPrEsiKHiioLj0HSkQhA* key, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* val) {
  2932. NI index;
  2933. index = idNodeTableRawGet__gZVj7dpnZcnics5OMZbxkA((*t), key);
  2934. {
  2935. if (!(((NI) 0) <= index)) goto LA3_;
  2936. {
  2937. if ((NU)(index) >= (NU)((*t).data ? (*t).data->Sup.len : 0)){ raiseIndexError2(index,((*t).data ? (*t).data->Sup.len : 0)-1); }
  2938. if (!!(!(((*t).data->data[index].key == NIM_NIL)))) goto LA7_;
  2939. failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_103));
  2940. }
  2941. LA7_: ;
  2942. if ((NU)(index) >= (NU)((*t).data ? (*t).data->Sup.len : 0)){ raiseIndexError2(index,((*t).data ? (*t).data->Sup.len : 0)-1); }
  2943. asgnRef((void**) (&(*t).data->data[index].val), val);
  2944. }
  2945. goto LA1_;
  2946. LA3_: ;
  2947. {
  2948. NI TM__uRgrUHgaDgkYkoMPsaodqw_108;
  2949. {
  2950. NI T12_;
  2951. NIM_BOOL T13_;
  2952. tySequence__K8W16aeLg4OWxniQxtguMw* n;
  2953. NI T16_;
  2954. NI TM__uRgrUHgaDgkYkoMPsaodqw_104;
  2955. tySequence__K8W16aeLg4OWxniQxtguMw* T25_;
  2956. T12_ = ((*t).data ? (*t).data->Sup.len : 0);
  2957. T13_ = (NIM_BOOL)0;
  2958. T13_ = mustRehash__B5utQwGyZRj1lQY2mjeMBw(T12_, (*t).counter);
  2959. if (!T13_) goto LA14_;
  2960. n = (tySequence__K8W16aeLg4OWxniQxtguMw*)0;
  2961. T16_ = ((*t).data ? (*t).data->Sup.len : 0);
  2962. if (nimMulInt(T16_, ((NI) 2), &TM__uRgrUHgaDgkYkoMPsaodqw_104)) { raiseOverflow(); };
  2963. if (((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_104)) < ((NI) 0) || ((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_104)) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_104), ((NI) 0), ((NI) IL64(9223372036854775807))); }
  2964. n = (tySequence__K8W16aeLg4OWxniQxtguMw*) newSeq((&NTI__K8W16aeLg4OWxniQxtguMw_), ((NI) ((NI)(TM__uRgrUHgaDgkYkoMPsaodqw_104))));
  2965. {
  2966. NI i;
  2967. NI colontmp_;
  2968. NI T18_;
  2969. NI res;
  2970. i = (NI)0;
  2971. colontmp_ = (NI)0;
  2972. T18_ = (((*t).data ? (*t).data->Sup.len : 0)-1);
  2973. colontmp_ = T18_;
  2974. res = ((NI) 0);
  2975. {
  2976. while (1) {
  2977. NI TM__uRgrUHgaDgkYkoMPsaodqw_107;
  2978. if (!(res <= colontmp_)) goto LA20;
  2979. i = res;
  2980. {
  2981. if ((NU)(i) >= (NU)((*t).data ? (*t).data->Sup.len : 0)){ raiseIndexError2(i,((*t).data ? (*t).data->Sup.len : 0)-1); }
  2982. if (!!(((*t).data->data[i].key == NIM_NIL))) goto LA23_;
  2983. if ((NU)(i) >= (NU)((*t).data ? (*t).data->Sup.len : 0)){ raiseIndexError2(i,((*t).data ? (*t).data->Sup.len : 0)-1); }
  2984. if ((NU)(i) >= (NU)((*t).data ? (*t).data->Sup.len : 0)){ raiseIndexError2(i,((*t).data ? (*t).data->Sup.len : 0)-1); }
  2985. idNodeTableRawInsert__6GKldMfzTVg8s9bklGSGKAQ((&n), (*t).data->data[i].key, (*t).data->data[i].val);
  2986. }
  2987. LA23_: ;
  2988. if (nimAddInt(res, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_107)) { raiseOverflow(); };
  2989. res = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_107);
  2990. } LA20: ;
  2991. }
  2992. }
  2993. T25_ = (tySequence__K8W16aeLg4OWxniQxtguMw*)0;
  2994. T25_ = (*t).data;
  2995. unsureAsgnRef((void**) (&(*t).data), n);
  2996. n = T25_;
  2997. }
  2998. LA14_: ;
  2999. idNodeTableRawInsert__6GKldMfzTVg8s9bklGSGKAQ((&(*t).data), key, val);
  3000. if (nimAddInt((*t).counter, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_108)) { raiseOverflow(); };
  3001. (*t).counter = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_108);
  3002. }
  3003. LA1_: ;
  3004. }
  3005. static N_INLINE(NI, cmpStrings)(NimStringDesc* a, NimStringDesc* b) {
  3006. NI result;
  3007. NI alen;
  3008. NI blen;
  3009. NI minlen;
  3010. result = (NI)0;
  3011. alen = (a ? a->Sup.len : 0);
  3012. blen = (b ? b->Sup.len : 0);
  3013. minlen = ((alen <= blen) ? alen : blen);
  3014. {
  3015. int T5_;
  3016. if (!(((NI) 0) < minlen)) goto LA3_;
  3017. T5_ = (int)0;
  3018. T5_ = memcmp(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((size_t) (minlen)));
  3019. result = ((NI) (T5_));
  3020. {
  3021. if (!(result == ((NI) 0))) goto LA8_;
  3022. result = (NI)(alen - blen);
  3023. }
  3024. LA8_: ;
  3025. }
  3026. goto LA1_;
  3027. LA3_: ;
  3028. {
  3029. result = (NI)(alen - blen);
  3030. }
  3031. LA1_: ;
  3032. return result;
  3033. }
  3034. N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, leValue__uOYuOsiCZAbEPMGwBL8r8g_2)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* b) {
  3035. NIM_BOOL result;
  3036. result = (NIM_BOOL)0;
  3037. result = NIM_FALSE;
  3038. switch ((*a).kind) {
  3039. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 5) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 15):
  3040. {
  3041. {
  3042. tyObject_Int128__9a9axPfb75jdWY25AamJewkA T6_;
  3043. tyObject_Int128__9a9axPfb75jdWY25AamJewkA T7_;
  3044. if (!((*b).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 5) && (*b).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 15))) goto LA4_;
  3045. T6_ = getInt__Ml9bTZ5dXYSLBfnGRkErokw(a);
  3046. T7_ = getInt__Ml9bTZ5dXYSLBfnGRkErokw(b);
  3047. result = lteq___7c5Zw7H31uJfWmmhZe9aEqw_3(T6_, T7_);
  3048. }
  3049. LA4_: ;
  3050. }
  3051. break;
  3052. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 16) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 18):
  3053. {
  3054. {
  3055. if (!((*b).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 16) && (*b).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 18))) goto LA11_;
  3056. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_52[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_53)); }
  3057. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_52[(NU)((*b).kind)>>3] &(1U<<((NU)((*b).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_53)); }
  3058. result = ((*a)._kind_2.floatVal <= (*b)._kind_2.floatVal);
  3059. }
  3060. LA11_: ;
  3061. }
  3062. break;
  3063. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 22):
  3064. {
  3065. {
  3066. if (!((*b).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 20) && (*b).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 22))) goto LA16_;
  3067. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_55[(NU)((*a).kind)>>3] &(1U<<((NU)((*a).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_56)); }
  3068. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_55[(NU)((*b).kind)>>3] &(1U<<((NU)((*b).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_56)); }
  3069. result = (cmpStrings((*a)._kind_3.strVal, (*b)._kind_3.strVal) <= 0);
  3070. }
  3071. LA16_: ;
  3072. }
  3073. break;
  3074. default:
  3075. {
  3076. }
  3077. break;
  3078. }
  3079. return result;
  3080. }
  3081. N_LIB_PRIVATE N_NIMCALL(tyEnum_TImplication__t4F29a8ejY1DFQTYTML9c9byA, weakLeValue__u0tFw6hmOCjNH0Gl9c619aMw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* a, tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* b) {
  3082. tyEnum_TImplication__t4F29a8ejY1DFQTYTML9c9byA result;
  3083. result = (tyEnum_TImplication__t4F29a8ejY1DFQTYTML9c9byA)0;
  3084. {
  3085. NIM_BOOL T3_;
  3086. T3_ = (NIM_BOOL)0;
  3087. T3_ = !(((*a).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 5) && (*a).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 22)));
  3088. if (T3_) goto LA4_;
  3089. T3_ = !(((*b).kind >= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 5) && (*b).kind <= ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 22)));
  3090. LA4_: ;
  3091. if (!T3_) goto LA5_;
  3092. result = ((tyEnum_TImplication__t4F29a8ejY1DFQTYTML9c9byA) 0);
  3093. }
  3094. goto LA1_;
  3095. LA5_: ;
  3096. {
  3097. {
  3098. NIM_BOOL T10_;
  3099. T10_ = (NIM_BOOL)0;
  3100. T10_ = leValue__uOYuOsiCZAbEPMGwBL8r8g_2(a, b);
  3101. if (!T10_) goto LA11_;
  3102. result = ((tyEnum_TImplication__t4F29a8ejY1DFQTYTML9c9byA) 2);
  3103. }
  3104. goto LA8_;
  3105. LA11_: ;
  3106. {
  3107. result = ((tyEnum_TImplication__t4F29a8ejY1DFQTYTML9c9byA) 1);
  3108. }
  3109. LA8_: ;
  3110. }
  3111. LA1_: ;
  3112. return result;
  3113. }
  3114. N_LIB_PRIVATE N_NIMCALL(tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*, getSymFromList__aHh3vzt6upPNMkKnONiMRw)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* list, tyObject_TIdent__GufRQq9c0miSybX3zBD4tyA* ident, NI start) {
  3115. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* result;
  3116. { result = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
  3117. {
  3118. NI i;
  3119. NI colontmp_;
  3120. NI i_2;
  3121. i = (NI)0;
  3122. colontmp_ = (NI)0;
  3123. colontmp_ = len__P89cqdlERShb9alU3iC0yj8wast(list);
  3124. i_2 = start;
  3125. {
  3126. while (1) {
  3127. NI TM__uRgrUHgaDgkYkoMPsaodqw_109;
  3128. if (!(i_2 < colontmp_)) goto LA3;
  3129. i = i_2;
  3130. {
  3131. if (((TM__uRgrUHgaDgkYkoMPsaodqw_62[(NU)((*list).kind)>>3] &(1U<<((NU)((*list).kind)&7U)))!=0)){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_63)); }
  3132. if ((NU)(i) >= (NU)((*list)._kind_6.sons ? (*list)._kind_6.sons->Sup.len : 0)){ raiseIndexError2(i,((*list)._kind_6.sons ? (*list)._kind_6.sons->Sup.len : 0)-1); }
  3133. if (!((*(*list)._kind_6.sons->data[i]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3))) goto LA6_;
  3134. if (((TM__uRgrUHgaDgkYkoMPsaodqw_62[(NU)((*list).kind)>>3] &(1U<<((NU)((*list).kind)&7U)))!=0)){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_63)); }
  3135. if ((NU)(i) >= (NU)((*list)._kind_6.sons ? (*list)._kind_6.sons->Sup.len : 0)){ raiseIndexError2(i,((*list)._kind_6.sons ? (*list)._kind_6.sons->Sup.len : 0)-1); }
  3136. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_57[(NU)((*(*list)._kind_6.sons->data[i]).kind)>>3] &(1U<<((NU)((*(*list)._kind_6.sons->data[i]).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_58)); }
  3137. result = (*(*list)._kind_6.sons->data[i])._kind_4.sym;
  3138. {
  3139. if (!((*(*result).name).Sup.id == (*ident).Sup.id)) goto LA10_;
  3140. goto BeforeRet_;
  3141. }
  3142. LA10_: ;
  3143. }
  3144. goto LA4_;
  3145. LA6_: ;
  3146. {
  3147. result = NIM_NIL;
  3148. goto BeforeRet_;
  3149. }
  3150. LA4_: ;
  3151. if (nimAddInt(i_2, ((NI) 1), &TM__uRgrUHgaDgkYkoMPsaodqw_109)) { raiseOverflow(); };
  3152. i_2 = (NI)(TM__uRgrUHgaDgkYkoMPsaodqw_109);
  3153. } LA3: ;
  3154. }
  3155. }
  3156. result = NIM_NIL;
  3157. }BeforeRet_: ;
  3158. return result;
  3159. }
  3160. N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, strTableIncl__4C9ciVlXutN6a0CSSeSkVDA)(tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA* t, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* n, NIM_BOOL onConflictKeepOld) {
  3161. NIM_BOOL result;
  3162. tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* T1_;
  3163. result = (NIM_BOOL)0;
  3164. T1_ = (tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w*)0;
  3165. T1_ = strTableInclReportConflict__tsV7rrfL6ZnfCXBjJk0jUA(t, n, onConflictKeepOld);
  3166. result = !((T1_ == NIM_NIL));
  3167. return result;
  3168. }
  3169. N_LIB_PRIVATE N_NIMCALL(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*, skipConvAndClosure__esBhdYyFV8ZlnsxfarHAfQ)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
  3170. tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* result;
  3171. result = (tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw*)0;
  3172. result = n;
  3173. {
  3174. while (1) {
  3175. switch ((*result).kind) {
  3176. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 67):
  3177. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 66):
  3178. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 70):
  3179. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 68):
  3180. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 69):
  3181. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 155):
  3182. {
  3183. if (((TM__uRgrUHgaDgkYkoMPsaodqw_62[(NU)((*result).kind)>>3] &(1U<<((NU)((*result).kind)&7U)))!=0)){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_63)); }
  3184. if ((NU)(((NI) 0)) >= (NU)((*result)._kind_6.sons ? (*result)._kind_6.sons->Sup.len : 0)){ raiseIndexError2(((NI) 0),((*result)._kind_6.sons ? (*result)._kind_6.sons->Sup.len : 0)-1); }
  3185. result = (*result)._kind_6.sons->data[((NI) 0)];
  3186. }
  3187. break;
  3188. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 58):
  3189. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 59):
  3190. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 60):
  3191. {
  3192. if (((TM__uRgrUHgaDgkYkoMPsaodqw_62[(NU)((*result).kind)>>3] &(1U<<((NU)((*result).kind)&7U)))!=0)){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_63)); }
  3193. if ((NU)(((NI) 1)) >= (NU)((*result)._kind_6.sons ? (*result)._kind_6.sons->Sup.len : 0)){ raiseIndexError2(((NI) 1),((*result)._kind_6.sons ? (*result)._kind_6.sons->Sup.len : 0)-1); }
  3194. result = (*result)._kind_6.sons->data[((NI) 1)];
  3195. }
  3196. break;
  3197. default:
  3198. {
  3199. goto LA1;
  3200. }
  3201. break;
  3202. }
  3203. }
  3204. } LA1: ;
  3205. return result;
  3206. }
  3207. N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isAddrNode__OTZyO2oJpdYpHVBZuRXuRQ)(tyObject_TNode__bROa11lyF5vxEN9aYNbHmhw* n) {
  3208. NIM_BOOL result;
  3209. result = (NIM_BOOL)0;
  3210. switch ((*n).kind) {
  3211. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 63):
  3212. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 64):
  3213. {
  3214. result = NIM_TRUE;
  3215. }
  3216. break;
  3217. case ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 26) ... ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 32):
  3218. {
  3219. {
  3220. NIM_BOOL T5_;
  3221. T5_ = (NIM_BOOL)0;
  3222. if (((TM__uRgrUHgaDgkYkoMPsaodqw_62[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_63)); }
  3223. if ((NU)(((NI) 0)) >= (NU)((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0)){ raiseIndexError2(((NI) 0),((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0)-1); }
  3224. T5_ = ((*(*n)._kind_6.sons->data[((NI) 0)]).kind == ((tyEnum_TNodeKind__G4E4Gxe7oI2Cm03rkiOzQw) 3));
  3225. if (!(T5_)) goto LA6_;
  3226. if (((TM__uRgrUHgaDgkYkoMPsaodqw_62[(NU)((*n).kind)>>3] &(1U<<((NU)((*n).kind)&7U)))!=0)){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_63)); }
  3227. if ((NU)(((NI) 0)) >= (NU)((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0)){ raiseIndexError2(((NI) 0),((*n)._kind_6.sons ? (*n)._kind_6.sons->Sup.len : 0)-1); }
  3228. if (!(((TM__uRgrUHgaDgkYkoMPsaodqw_57[(NU)((*(*n)._kind_6.sons->data[((NI) 0)]).kind)>>3] &(1U<<((NU)((*(*n)._kind_6.sons->data[((NI) 0)]).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_58)); }
  3229. T5_ = ((*(*(*n)._kind_6.sons->data[((NI) 0)])._kind_4.sym).magic == ((tyEnum_TMagic__shZhZOdbVC5nnFvcXQAImg) 15));
  3230. LA6_: ;
  3231. if (!T5_) goto LA7_;
  3232. result = NIM_TRUE;
  3233. }
  3234. goto LA3_;
  3235. LA7_: ;
  3236. {
  3237. result = NIM_FALSE;
  3238. }
  3239. LA3_: ;
  3240. }
  3241. break;
  3242. default:
  3243. {
  3244. result = NIM_FALSE;
  3245. }
  3246. break;
  3247. }
  3248. return result;
  3249. }
  3250. N_LIB_PRIVATE N_NIMCALL(void, symTabReplaceRaw__78XM8LhJNkBJHwAWBX5Rog)(tySequence__DfgJFJEYoj4YBAHLZPl5lQ** data, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* prevSym, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* newSym) {
  3251. NI h;
  3252. NI T5_;
  3253. { {
  3254. if (!!(((*(*prevSym).name).h == (*(*newSym).name).h))) goto LA3_;
  3255. failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_110));
  3256. }
  3257. LA3_: ;
  3258. T5_ = (((*data) ? (*data)->Sup.len : 0)-1);
  3259. h = (NI)((*(*prevSym).name).h & T5_);
  3260. {
  3261. while (1) {
  3262. NI T12_;
  3263. if ((NU)(h) >= (NU)((*data) ? (*data)->Sup.len : 0)){ raiseIndexError2(h,((*data) ? (*data)->Sup.len : 0)-1); }
  3264. if (!!(((*data)->data[h] == NIM_NIL))) goto LA7;
  3265. {
  3266. if ((NU)(h) >= (NU)((*data) ? (*data)->Sup.len : 0)){ raiseIndexError2(h,((*data) ? (*data)->Sup.len : 0)-1); }
  3267. if (!((*data)->data[h] == prevSym)) goto LA10_;
  3268. if ((NU)(h) >= (NU)((*data) ? (*data)->Sup.len : 0)){ raiseIndexError2(h,((*data) ? (*data)->Sup.len : 0)-1); }
  3269. asgnRef((void**) (&(*data)->data[h]), newSym);
  3270. goto BeforeRet_;
  3271. }
  3272. LA10_: ;
  3273. T12_ = (((*data) ? (*data)->Sup.len : 0)-1);
  3274. h = nextTry__9bzOSawou0eb9apAqvIEoEGgastalgo(h, T12_);
  3275. } LA7: ;
  3276. }
  3277. {
  3278. if (!NIM_TRUE) goto LA15_;
  3279. failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__uRgrUHgaDgkYkoMPsaodqw_111));
  3280. }
  3281. LA15_: ;
  3282. }BeforeRet_: ;
  3283. }
  3284. N_LIB_PRIVATE N_NIMCALL(void, symTabReplace__mq4tDXMjV9aoOV0jJhDFqKA)(tyObject_TStrTable__f07aOS3dr28kGa5wcE29aFA* t, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* prevSym, tyObject_TSym__JpsEh5i1AcKChGYbg7aV4w* newSym) {
  3285. symTabReplaceRaw__78XM8LhJNkBJHwAWBX5Rog((&(*t).data), prevSym, newSym);
  3286. }